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.