更改Virtuemart的分页数量
默认的Virtuemart安装之后,它的分页是按照5递增的,现在我们要把它改成按照15递增的,主要要编辑以下的一个文件 文件路径: administrator/components/com_virtuemart/classes/pageNavigation.class.php Replace <?php … for ($i=5;
Joomla模块样式介绍
在书写或更改Joomla模板的时候,很多时候我们会看到如下的代码 <jdoc:include type="modules" name="user1" style="custom" /> 这里有一个style的标签,它是用来定义该模块的样式结构的,以下是
使用Textmate开发Joomla模板
用到的Bundles有Zen Coding,960gs,joomla1.5,Zen CSS和Zen Html,使用这些可以使你的开发速度提高n个档
Joomla 1.5 Automatic Login after Registration
This change will log your Joomla 1.5 users in to your site as soon as they have completed the registration process.
Joomla 1.5 Automatic Login in after Registration This works only if the user doesn’t have to confirm his/her registration by email; In "Global Configuration " change "New User Account Activation" to "No"; The registration welcome email will still be sent to user.
Open file joomla_root/components/com_user/controller.php in any text editor and go to line 282.
Joomla add logout text link
If you search how to build the logout text link for the Joomla! then you are at the right place now. The answer is below
<a href="index.php?option=com_user&task=logout">Logout</a> Do you need to redirect user to the needed URL after logout? Then you have to add the parameter return=[your-base64-encoded-return-URL]. For example
<a href="index.php?option=com_user&task=logout&return=<?php echo $returnURL; ?>">Logout</a> where
<?php … $returnURL = base64_encode('URL to redirect'); … ?> Or if you need to redirect to the site root of your Joomla!