Joomla
xueinsz
这个作者很懒,什么都没留下…
展开
-
Joomla跳转
$link = JRoute::_('index.php?option=com_content&view=article&id=69', false); 跳转的地址$link $this->setRedirect($link, $msg); 实现跳转原创 2010-02-21 16:29:51 · 163 阅读 · 0 评论 -
Joomla常用操作
加载Javascript代码: $doc =& JFactory::getDocument(); $doc->addScript("http://www.example.com/js/myscript.js"); 加载可见即所得编辑框 $editor=& JFactory::getEditor(); echo $editor->display( ...2010-08-26 14:15:47 · 96 阅读 · 0 评论 -
修改原代码
全局引进了jquery 文件路径:includes/application.php:dispatch函数内 $document->addScript("http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"); $document->addScript(JURI::root(true)."/modules/...原创 2010-09-08 09:41:46 · 85 阅读 · 0 评论