We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25551 ☆ 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.
      Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
      AugmentBLU - MODX Partner

      BLUcart - MODX Revolution E-Commerce & Shopping Cart
      • 7231
      • 4,205 Posts
      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.
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don&#39;t know what it is.
        Do you, Mr. Jones? - [bob dylan]