Yii Framework Forum: How to publish jqueryui.js in the same way as what yii does for jquery.js? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How to publish jqueryui.js in the same way as what yii does for jquery.js? Rate Topic: -----

#1 User is offline   liang 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 73
  • Joined: 26-June 10

Posted 26 July 2010 - 04:02 PM

Thanks.
0

#2 User is offline   omko 

  • Advanced Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 75
  • Joined: 13-July 10
  • Location:Київ - мать городов русских.

Posted 28 July 2010 - 03:24 AM

Some little like this

<?php
Yii::app()->clientScript->registerCoreScript('jquery');
?>

<script type="text/javascript" src="<?=Yii::app()->request->baseUrl; ?>/js/jquery.scrollTo.js"></script>
<script type="text/javascript" src="<?=Yii::app()->request->baseUrl; ?>/js/jquery.cycle.all.min.js"></script>
etc...


1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users