Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#589 2009-07-24 15:52:26

magzalez
Member
From: Gainesville, FL, USA
Registered: 2008-09-09
Posts: 16
Website

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

jsoo, what would be an example of setting up the article forms/page to differentiate between /archive/, /archive/2009/, /archive/2009/06/ and /archvice/2009/07?

The plugin does it, but I’m trying to go plugin-less.

Offline

#590 2009-07-25 01:45:31

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

magzalez wrote:

jsoo, what would be an example of setting up the article forms/page to differentiate between /archive/, /archive/2009/, /archive/2009/06/ and /archvice/2009/07?

I don’t know that you’re going to find a no-plugin solution. The plugin does a bit of URL parsing on its own; in core Txp you only get this date-related URL parsing with individual articles in year/month/day URL mode (I think).


Code is topiary

Offline

#591 2009-08-26 11:25:00

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 619
Website

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

Hey I will like to know how can I do that in front page
it will display only articles from the current year (2009 for now) please ?

this is my code for now:

<txp:rss_suparchive section="agenda" form="agenda" timeframe="all" dateformat="%Y" />

maybe can you add an attribute like: fpmonth="<txp:php>echo date("Y")</txp:php>" ?

Last edited by THE BLUE DRAGON (2009-08-26 11:44:32)

Offline

#592 2009-08-26 12:55:07

THE BLUE DRAGON
Member
From: Israel
Registered: 2007-11-16
Posts: 619
Website

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

Ohh ok I got an Idea how to directly send the visitor to the current year archive by changing the link in my main menu:

<a href="/agenda/<txp:php>echo date("Y");</txp:php>">agenda</a>

so now it will automatically “update” the link to the current year (2009/2010/2011…) articles list under my agenda section =)

but if there is still a way to make the front page (/agenda/) to display only from the current year it will be nicer ;)

Offline

#593 2009-09-13 18:02:43

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 82
Website

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

Is it correct to state that this plugin does not work in 4.2.0?

Offline

#594 2009-09-13 18:41:40

photonomad
Member
Registered: 2005-09-10
Posts: 290
Website

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

I upgraded one of my sites to 4.2.0 and rss_suparchive is still working.

Offline

#595 2009-09-15 06:00:00

ragger
Member
From: Netherlands
Registered: 2005-04-10
Posts: 82
Website

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

I have got it working now too. The new 4.2.0 has got an ‘articles’ section whereas in in older versions it used to be called ‘article’. After making changes inside the plugin I have got it back working.

Offline

#596 2009-09-15 06:02:52

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

Maybe it would be useful to upload a rss_live_archive_for_4.2.x.txt file to download, even if the changes are so simple.

BTW, my rss_live_archive option page stopped working: the page http://mysite.com/textpattern/index.php?event=rssla doesn’t load (blank page) and I’m still using 4.0.8. Maybe someone knows any conflict with some other plugin (I’ve only added plugins and made no other changes)?

Found the problem: the conflict is caused by mem_postmaster.

Last edited by candyman (2009-09-15 07:07:02)

Offline

#597 2009-11-16 18:10:25

frickinmuck
Member
Registered: 2008-05-01
Posts: 118

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

I was just wondering – is it possible to use the rss_suparchive_menu to generate a pull-down menu rather than simply a list?


The AI does not hate you, nor does it love you, but you are made out of atoms which it can use for something else.

Offline

#598 2009-11-24 08:54:19

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

I can’t get my live archive working.

The files are generated but, loading http://mysite.com/archive/?larch=1 I get this:

Something has gone horribly wrong. The post cache cannot be opened. Make sure your file upload path is correct and writable – /var/www/vhosts/mysite.com/httpdocs/files

Can someone using the livearchive with 4.2.0 send me all the steps to get it working? I’ve controlled all infos many times and I can’t find the problem.

Maybe all the items inside the files directory should have 777 permissions too?

Thanks in advance.

Last edited by candyman (2009-11-24 08:55:18)

Offline

#599 2009-12-03 10:58:57

monicahu
Member
From: Sydney NSW
Registered: 2009-03-07
Posts: 69

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

Following is the excerpt on my TXP page, “archive”, which is linked to two TXP sections, “archive_topics” and “archive_dates”. The codes work if I set the site mode to “production”. While in “debug” mode I have errors (see example below the excerpt).

   <txp:if_section name="archive_dates">
        <p class="info">Browse by: Dates | <a href="/archive_topics/" title="Sort by topics">Topics</a></p>
        <txp:article status="sticky" form="simple_content" sort="posted asc" /> 
        <h2>Articles by Dates</h2>
        <txp:rss_suparchive section="blog" dateformat="%b %Y" showauthor="1" authorsep=" &raquo; by " showsubdate="1" class="rssDateList" limit="999" />
    </txp:if_section>
    <txp:if_section name="archive_topics">
        <p class="info">Browse by: <a href="/archive_dates/" title="Sort by dates">Dates</a> | Topics </p>
        <txp:article status="sticky" form="simple_content" sort="posted asc" /> 
        <txp:rss_suparchive_bycat section="blog" linktosection="archive_topics" showdate="1" datesep=" &raquo; " dateformat="%d %b %Y" showauthor="1" authorsep="&nbsp; &nbsp;  by " showheader="1" headerlabel="Articles By Topics" limit="999" sort="posted desc" /> 
    </txp:if_section>

Example of errors:

Tag error: <txp:rss_suparchive_bycat section=“blog,news” linktosection=“archive_topics” showdate=“1” datesep=” &raquo; “ dateformat=”%d %b %Y” showauthor=“1” authorsep=”&nbsp; &nbsp; by “ showheader=“1” headerlabel=“Articles By Topics” limit=“999” sort=“posted desc” /> -> Textpattern Notice: Unknown tag attribute: sort on line 699
textpattern/lib/txplib_misc.php:699 trigger_error()
textpattern/lib/txplib_misc.php(594) : eval()’d code:324 lAtts()
textpattern/publish.php:1106 rss_suparchive_bycat()
textpattern/publish.php:1028 processTags()
textpattern/publish/taghandlers.php:3082 parse()
textpattern/publish.php:1106 if_section()
textpattern/publish.php:1041 processTags()
textpattern/publish.php:506 parse()
index.php:45 textpattern()

Tag error: <txp:rss_suparchive_bycat section=“blog,news” linktosection=“archive_topics” showdate=“1” datesep=” &raquo; “ dateformat=”%d %b %Y” showauthor=“1” authorsep=”&nbsp; &nbsp; by “ showheader=“1” headerlabel=“Articles By Topics” limit=“999” sort=“posted desc” /> -> Notice: Undefined index: excerpt on line 474
textpattern/publish.php:1106 rss_suparchive_bycat()
textpattern/publish.php:1028 processTags()
textpattern/publish/taghandlers.php:3082 parse()
textpattern/publish.php:1106 if_section()
textpattern/publish.php:1041 processTags()
textpattern/publish.php:506 parse()
index.php:45 textpattern()

Tag error: <txp:rss_suparchive section=“blog” dateformat=”%b %Y” showauthor=“1” authorsep=” &raquo; by “ showsubdate=“1” class=“rssDateList” limit=“999” /> -> Notice: Undefined index: realname on line 252
textpattern/publish.php:1106 rss_suparchive()
textpattern/publish.php:1028 processTags()
textpattern/publish/taghandlers.php:3082 parse()
textpattern/publish.php:1106 if_section()
textpattern/publish.php:1041 processTags()
textpattern/publish.php:506 parse()
index.php:45 textpattern()

Last edited by monicahu (2009-12-03 11:08:05)


Monica
Life with God is the purpose.

Offline

#600 2010-02-10 20:34:09

catnip
Member
From: Sydney Australia
Registered: 2006-07-29
Posts: 58
Website

Re: [plugin] [ORPHAN] rss_suparchive - article archive list

I’m using the plugin with pagination (limit=“8” and a link to older articles). When clicking the “« older” link, the active article changes to the second in the list. Is there a way to make the first article remain active or make the 9th article (first on the second page) active?

The culprit is here
This is my code:

               <div id="sub-navigation">
<ul class="whatever">
<txp:rss_suparchive section="projects" form="title_list" limit="8" >
<txp:if_first_article><ul class="whatever"></txp:if_first_article>
		<li<txp:if_first_article> class="active"</txp:if_first_article>><txp:permlink><txp:title /></txp:permlink></li>
		<li<txp:if_article_id> class="active"</txp:if_article_id>><txp:permlink><txp:title /></txp:permlink></li>
		<txp:if_last_article></ul></txp:if_last_article>
	</txp:rss_suparchive>
</ul>
<small><txp:older>« previous</txp:older> <txp:newer>next»</txp:newer></small>
               </div>

Thanks!

Offline

Board footer

Powered by FluxBB