Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#181 2006-06-25 15:15:20

valmeria
Member
From: France
Registered: 2005-10-22
Posts: 46

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

@msteinruck

I have exactly the same problem and cuestion … Hope somebody will help us ;)

Offline

#182 2006-06-25 20:32:55

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

I don’t think I’ve got the hang of what you’re looking for yet, but I can’t help feeling its possible.

I’m currently using this plugin extensively on the redo of Pimp My Camino. It was Wordpress (I fancied a change), but its driving me mad, so it’s in the process of being converted to Textpattern: http://txp.pimpmycamino.com/

Is there anything I’ve done here that you’re looking for? If so, I can let you know what the template code looks like.


Cheers,
Jon VC#9

Offline

#183 2006-06-26 04:01:57

april19
Member
From: Sydney, Australia
Registered: 2006-03-15
Posts: 27
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

msteinruck and valmeria,

try using it within

<txp:if_individual_article>
<txp:else />
</txp:if_individual_article>

The <txp:rss_unlimited_categories_article_list /> tag will work without being in a category. When it is referenced from a category it will only display that category’s articles.

Last edited by april19 (2006-06-28 04:51:54)

Offline

#184 2006-06-26 07:48:36

valmeria
Member
From: France
Registered: 2005-10-22
Posts: 46

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Thx both for answering.

@jonhicks it seems you have the result I’m looking for when clicking on any category menu item (http://txp.pimpmycamino.com/parts/applications) by example, I would appreciate template yes ;

@april19, not sure to understand (maybe my english, I’m not fluently english speaking) : you say to change

<code>
<txp:if_category>
Viewing posts about <txp:category title=“1” />
<txp:rss_unlimited_categories_article_list form=“blogPosts” />
<txp:else />
<txp:article_custom form=“blogPosts” limit=“10” section=“blog” sortby=“Posted” sortdir=“desc” excerpted=“n” />
</txp:if_category>
</code>

by

<code>
<txp:if_individual_article>
Viewing posts about <txp:category title=“1” />
<txp:rss_unlimited_categories_article_list form=“blogPosts” />
<txp:else />
<txp:article_custom form=“blogPosts” limit=“10” section=“blog” sortby=“Posted” sortdir=“desc” excerpted=“n” />
</txp:if_individual_article>
</code>

I’ll try, but when you say “it will only display that category’s articles.”, this is exactly what I’m looking for …

Last edited by valmeria (2006-06-26 07:49:17)

Offline

#185 2006-06-26 11:54:51

msteinruck
Member
Registered: 2004-07-14
Posts: 44

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

april,
Thanks, but I just have one more question. If I want the “linktosection” section to be the default page, or home in this case, how do you set that? That’s where I set up the different line like valmeria where it reads “Viewing posts about…”

jon,
It looks like you figured out your question on how to get the post count outside of the href. Care to share the love?

Thanks everybody!
mark

Offline

#186 2006-06-26 12:05:03

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Of course, where are my manners! April19 helped me off-list. You need to change that line mentioned to this:

$row[] = tag(htmlspecialchars($b['title']),'a',' href="' . $path . '" title="' . htmlspecialchars($b['title']) . '"') . $count;


Cheers,
Jon VC#9

Offline

#187 2006-06-26 17:00:44

valmeria
Member
From: France
Registered: 2005-10-22
Posts: 46

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Hi again

@jon: maybe your template could help, I should appreciate ;)

@april, I tried the change you said, but result is not good … what I’m looking for is to get a simple list of all articles by cat using the plug-in instead of standard cat manager of TXP.

My code is :

<code>
<txp:if_category>
<h1>Articles de la catégorie <txp:category title=“1” /></h1>
<txp:article listform=“news” limit=99999 />
<txp:else />
<txp:if_search>
<h1>Résultats de la recherche</h1>
<txp:article listform=“search_results” sortby=“LastMod” />
<txp:else />
here is code of my standard output of default template
</txp:if_search>
</txp:if_category>
</code>
.
And :

  • if I change tag <code><txp:article listform=“news” limit=99999 /></code> for <code><txp:rss_unlimited_categories_article_list listform=“news” limit=99999 /></code> tag I have just a blank page :(
  • if I change tag <code><txp:if_category></code> for <code><txp:if_individual_article></code> I have my standard output instead of articles/cat list …

So, I’m a little bit lost …

Last edited by valmeria (2006-06-26 17:03:34)

Offline

#188 2006-06-27 00:33:09

april19
Member
From: Sydney, Australia
Registered: 2006-03-15
Posts: 27
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

valmeria,

i’m hoping this will output what you’re after. try this out before adding other tags like the <txp:if_search> etc

<txp:if_individual_article>
<txp:article form="form_for_single_article" />
<txp:else />
<txp:rss_unlimited_categories_article_list form="form_for_article_list" />
</txp:if_individual_article>

msteinruck,

if i understand correctly.. try linktosection=""?

Offline

#189 2006-06-27 13:35:51

valmeria
Member
From: France
Registered: 2005-10-22
Posts: 46

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

April, thanks, I’ll try asap (today or tomorrow) and let you know …

Offline

#190 2006-07-03 14:44:23

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Hi,

I have uninstalled this nice plug-in (i really wasn’t use it at all in one of my sites).
To uninstall it, I first dropped the database table (textpattern_category) and then I deleted the plug-in.

Is that all I have to do to do a clean uninstall? or there is any other step needed?

Thanks.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#191 2006-07-04 00:01:12

april19
Member
From: Sydney, Australia
Registered: 2006-03-15
Posts: 27
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

maniqui,

i would say you are correct.

Offline

#192 2006-07-04 13:39:51

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Does anyone have an idea of how to restrict the unlimited_list to a section? One thing I’d like to do output is a menu like this:

Posts to Section A by category:

  • Fliddles (3)
  • Floodles (8)
  • Middles (5)

Posts to Section B by category:

  • Nickety (4)
  • Nackety (16)
  • Noonoonoo (3)

Something like this (although this doesn’t work):

<txp:rss_unlimited_categories_list section="sectionA" linktosection="sectionA" />
<txp:rss_unlimited_categories_list section="sectionB" linktosection="sectionB" />

Last edited by jonhicks (2006-07-04 13:40:31)


Cheers,
Jon VC#9

Offline

Board footer

Powered by FluxBB