Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-02-20 22:37:20
- rirby_2
- New Member
- Registered: 2008-02-06
- Posts: 3
rss_suparchive & problem with offset, date format
Hello all,
I’m having an issue with rss_suparchive where the “offset” attribute doesn’t work at all, and the “dateformat” attribute only works if I use the PHP values.
The rss_suparchive code is as follows:
<txp:rss_suparchive section="news" class="archive_list" dateformat="%B %Y" showsubdate="1" />
You’ll see that I’m using “%B %Y” instead of “F Y”.
The error generated by inserting the offset attribute (with any numeric value) is:
<pre>Tag error: <b><txp:rss_suparchive offset=”5” section="news" class="archive_list" dateformat="%B %Y" showsubdate="1" /></b> -> <b> Textpattern Notice: Unknown tag attribute: offset on line 653</b></pre>
<pre style="padding-left: 2em;" class="backtrace"><code>textpattern/lib/txplib_misc.php:653 trigger_error()
textpattern/lib/txplib_misc.php(574) : eval()'d code:124 lAtts()
textpattern/publish.php:970 rss_suparchive()
processTags()
textpattern/publish.php:929 preg_replace_callback()
textpattern/publish.php:466 parse()
index.php:40 textpattern()</code></pre>
Any help would be appreciated.
Thanks!
Offline