-
☆ A M B ☆
- 1,231 Posts
Hello, I need some help with editing my RSS template so the titles have this attribute included.
onclick="return rsstick_onclick(this.href);"
I want it to be similar to this
<div class="rsstitle">
<a onclick="return rsstick_onclick(this.href);" href="myrss">NEWS</a>
</div>
I have searched through all the modx files using dreamweaver to see if I can find anything remotely similar to the links displayed on my page and I can’t find it.
I’m using this for the ditto template
<item>
<title>[+rss_pagetitle+]</title>
<link>[(site_url)][~[+id+]~]</link>
<description><![CDATA[ [+content+] ]]></description>
<pubDate>[+rss_date+]</pubDate>
<guid isPermaLink="false">[(site_url)][~[+id+]~]</guid>
<dc:creator>[(site_name)]</dc:creator> [+tagLinks+]
</item>
I’m not very familiar with rss and ditto so excuse my lack of knowledge on this one! Thanks.
You need to edit the rss format file in the ditto folder. I dont think that the header is TPLable so the only way is to edit the rss.format.inc.php file directly.