Shape5 RSS template self feeding [solution]

You should use an RSS module in relevant position if you want to render a third party feed, or grab one from a different part of the same website in question.

To show a relevant page feed (auto-feed articles on your own site), do this:

Add this to the template RSS parameter settings:-




!important. Then edit index.php in the template, usually found at /root/templates/my_template_name/index.php

Find the following line (approx. line 176):

<div id="s5_rss" onclick="'/<?php echo $s5_rss; ?>')"></div>

and change it to...

<div id="s5_rss" onclick='"<?php echo $s5_rss; ?>")'></div>

The PHP variable comes as a multi char string, so you need double quotes. I just swapped them around, no harm, no foul, but you could also just change to double quotes and escape them.

Hit Ctrl + F5 to refresh a page with a menu setup as category blog type for best results.

See an example on for a large website example, feed icon at the top right, using the new_vision template on J2.5.x.

Hope this helps someone.

Share on Myspace

Shopping cart

Your cart is empty.

Latest News

CHMOD file only in subdirectory

[FYI] Do this...

Start with directories if you are changing them for the web server first, this will change files too:

$ find images -type d -exec chmod 755 {} +

Then run it again to change files, with the different switch:

$ find images -type f -exec chmod 644 {} +

I recommend adding a recursive (-R) switch along with a verbose output (-v):

$ find images -type f -exec chmod -Rv 644 {} +

You may need to use super permissions to action this. Be warned, this can lock you out.

Joomla 3 - Add language file support for plugins

Do this...

* Load the language file on instantiation.
* @var    boolean
* @since  3.1
protected $autoloadLanguage = true;

Generic domains names now available

Here's a full list of "Generic" domain names you probably never thought were available (register at

Login Form