梦想梦圆的博客

记录下来别忘了

joomla!的controller竟然有两类

Introduction In Joomla! 2.5 and 3.x, lots of MVC improvements were added. These improvements make a developer's task easier. In Joomla! 1.5, there...

2017-03-16 14:23:55

阅读数:1567

评论数:0

Joomla升级到3.5后,k2后台设置参数出错的问题

Joomla升级到3.5后,K2的后台选项总是会报个警告,如下: Strict standards: Declaration of K2Element::render() should be compatible with JFormField::render($layoutId, $data ...

2016-04-20 16:55:28

阅读数:1330

评论数:0

如何手动更新Joomla!

Joomla!的更新国内就是下不下来,不知道被啥墙了,就是没速度。但是老是不更新也不行啊。怎么办?手动更新 1、首先去Joomla!的github的网站上去下源码,https://github.com/joomla/joomla-cms/,选择tag中比较稳定的版本,下载; 2、下载下...

2016-03-25 18:38:52

阅读数:625

评论数:0

Joomla K2获取目录或项目的地址

使用的类是:JPATH_SITE.DS.'components'.DS.'com_k2'.DS.'helpers'.DS.'route.php'种的K2HelperRoute 获取目录地址JRoute::_(K2HelperRoute::getCategoryRoute($cid)) 其他递推

2016-02-05 15:56:46

阅读数:544

评论数:0

Joomla!上传中文文件

国外的CMS系统一大问题就是上传中文附件。要么不支持上传,要么传上去不支持链接。 Joomla使用jce可以解决这个问题。 通过jce上传文件时,自动重命名,去掉中文即可。 在Joomla\components\com_jce\editor\libraries\classes\brow...

2016-01-04 10:18:00

阅读数:1143

评论数:0

How is current FC menu item decided & selected ?

The order in which Joomla menu items are selected and activated is for item view: 1. menu item pointing to current FC item  2. menu item pointin...

2015-12-25 15:36:32

阅读数:311

评论数:0

How to create a customized field value by executing PHP code

This is an example of how to create a new field type that automatically creates a customized field value by executing PHP code duplicate text fiel...

2015-12-25 15:33:14

阅读数:301

评论数:0

How to generate FLEXIcontent SEF URLs in custom code

function getItemRoute($id, $catid = 0, $Itemid = 0, $item = null) function getCategoryRoute($catid, $Itemid = 0, $urlvars = array()) Above are th...

2015-12-25 15:31:40

阅读数:271

评论数:0

Password protecting your Joomla administrator folder for FLEXIcontent

You may want to protect your joomla administrator folder via a password to make your site security more tight Create your .htaccess  & . htpas...

2015-12-25 15:26:29

阅读数:314

评论数:0

How can i batch copy/process categories

Go to Joomla plugin manager and filter by "System" Type, click to edit plugin: FLEXIcontent - System edit parameter: Exclude fro...

2015-12-25 15:16:18

阅读数:370

评论数:0

Can I change the order of items in category views?

Of course it is ;-) By default the order is disabled. To enable it simply click on the "Order" word. This will enable the move option as...

2015-12-25 15:14:22

阅读数:343

评论数:0

How to move items to another category

The action to move items only is a little tricky as the term I've choosen (secondary categories) is not accurate. I should be called in fact "Al...

2015-12-25 15:08:27

阅读数:320

评论数:0

How to use an FC category as Homepage / Frontpage

It is possible to create a FLEXIcontent category to replace the frontpage (com_frontpage). Like this: Create a category e.g. called "Front...

2015-12-25 15:04:07

阅读数:395

评论数:0

How to make multiple Featured Categories

It is possible to create multiple Featured Categories with FLEXIcontent, e.g. J1.6+ olny as a single Featured property Like this: Create a catego...

2015-12-25 14:52:04

阅读数:343

评论数:0

My articles changed appearance after installing FLEXIcontent

A short answer: -- To change apperance of your articles (now called items), go to Template manager and edit the item layout of 'default' template,...

2015-12-25 14:48:41

阅读数:293

评论数:0

Starting with FLEXIcontent (Basic usage)

-- Basic usage of FLEXIcontent is intuitive, -- Try playing with the component to build your content and also educate yourself into using FLEXIconte...

2015-12-25 14:47:39

阅读数:171

评论数:0

joomla如何通过目录的id获得文章列表

<?php require_once JPATH_SITE . '/components/com_content/models/articles.php'; $articles = new ContentModelArticles(); $articles->se...

2015-12-21 16:10:32

阅读数:1064

评论数:0

Joomla获取某项目录的地址

通过id获取某项目录的地址:  JRoute::_(ContentHelperRoute::getCategoryRoute($item->id));

2015-12-18 09:19:34

阅读数:275

评论数:0

Joomla 2.5 MVC剖析

这是目前搜到的最有用的中文Joomla MVC的讲解,虽然很多不太对,很多已过时,很多你不懂时就是看不懂,但中文就这一篇了。留存。备改。 原文地址:http://www.cnblogs.com/catcat811/archive/2012/07/13/2590738.html ...

2015-12-10 14:47:13

阅读数:402

评论数:0

jdoc语句

jdoc语句广泛应用与模板中,用来指示Joomla其他部分或者扩展的输出应该放在整个页面的什么位置。 一个典型的jdoc语句如下:<jdoc:include type="component" /> jdoc:include  <jdoc:...

2015-07-09 15:04:40

阅读数:545

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭