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!
查看更多 →

Dreamhost下使用.htaccess控制目录访问权限

很多时候,为了保护网站的目录访问权限,可以使用.htaccess去进行目录保护 主要操作如下 要利用.htaccess对某个目录下的文档设定访问
查看更多 →

Resize images on the product detail page

Maybe it is an additional feature or just a correct working image-resizer in Virtuemart. But we have also extended it a bit for Virtuemart VMX… Normally, Virtuemart only uses the image-dimensions you have configured in the Virtuemart configuration. But often the images are needed in different sizes. Now you can do it without problems – and the best thing: the resize script is only called once per image. After the resized image is once created, our improved script recognizes this and directly creates a URL with the image filename.
查看更多 →

Magento增加或删除block

Magento默认的模板里面有很多的区块,我们有时候不想让他显示,或者添加新的区块,可以添加或者删除如下的code,就可以实现您需要的效果了
查看更多 →

Add static blocks to phtml or cms page

查看更多 →