Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#529 2008-02-01 21:15:54
- yeahdisk
- Member
- Registered: 2006-01-23
- Posts: 17
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Hi- i love this plugin! but I have a problem with using OFFSET:
Here’s my code:
<txp:if_section name=“scotland”>
<txp:rss_unlimited_categories_article_list section=“article” category=“scotland” form=“PROMOTION” limit=“1” />
<txp:rss_unlimited_categories_article_list section=“article” category=“scotland” form=“PROMOTION2” limit=“2” offset=“1” />
<txp:rss_unlimited_categories_article_list section=“article” category=“scotland” form=“PROMOTION3” limit=“2” offset=“3” />
</txp:if_section>
As you can see, if we are in section ‘Scotland’ this is supposed to show 5 articles that have the category scotland…
The first one with the Form PROMOTION
The second two in PROMOTION2
The last two in PROMOTION3
The page has other code in it (if_section name=“ireland” etc.)
The thing is that while the first article works OK, the next part (i.e. the 2nd and 3rd articles that should be shown in form PROMOTION2) starts in the wrong place. It appears to be offsetting by too many?
I hope this hasn’t been covered before, I’d really appreciate a solution.
thanks all
Offline
#530 2008-02-02 21:37:06
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
As far as I could tell, this plugin doesn’t currently display “sticky” articles. I wanted to use this plugin more than I wanted to use “sticky” – but I had been partially relying on “sticky” for my meta tags (as described in the Textpattern Solutions book).
The code offered in the book is:
form: meta
<pre><code>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<txp:if_individual_article>
<txp:article form="meta_dynamic" />
<txp:else />
<txp:article status="sticky" form="meta_dynamic" />
</txp:if_individual_article>
<txp:output_form form="meta_static" />
</head>
</code></pre>
and
form: meta_dynamic
<pre><code>
<title><txp:custom_field name="meta_title" /></title>
<meta name="description" content="<txp:custom_field name="meta_desc" />" />
<meta name="keywords" content="<txp:keywords />" />
</code></pre>
I’m using this instead:
form: meta
<pre><code>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<txp:if_individual_article>
<txp:article form="meta_dynamic" />
<txp:else />
<txp:article form="meta_dynamic_if" />
</txp:if_individual_article>
<txp:output_form form="meta_static" />
</head>
</code></pre>
and
form: meta_dynamic_if
<pre><code>
<txp:if_first_article>
<title><txp:custom_field name="meta_title" /></title>
<meta name="description" content="<txp:custom_field name="meta_desc" />" />
<meta name="keywords" content="<txp:keywords />" />
</txp:if_first_article>
</code></pre>
Hope this helps someone else out. It took me trying a few different combinations with the conditional tags to get one that worked.
Swim Kitten, A Magento Site
When nothing but incredibly revealing dresses and swimwear will do
Offline
#531 2008-02-12 16:12:40
- amyng
- Member
- Registered: 2007-01-05
- Posts: 55
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Hi guys,
I’m looking through Google search of the site, but I can’t find any info on how to control the weight of the heaviest cloud / the smallest. Can anyone help me please, or point me to the right direction? I’m afraid the cloud I have will balloon out of proportion!
Thanks,
Amy
Offline
#532 2008-02-12 23:06:06
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
amyng wrote:
Hi guys,
I’m looking through Google search of the site, but I can’t find any info on how to control the weight of the heaviest cloud / the smallest. Can anyone help me please, or point me to the right direction? I’m afraid the cloud I have will balloon out of proportion!
Hi
To control the font size range, you could use the CSS for it, or if you look in the plugin code at the rss_unlimited_categories_cloud function you can find:
$max = max($catcounts); $min = min($catcounts); $x = 150; $y = 100; // 150%, 100%
where you can change the numbers accordingly. At least that is how I did it, I couldn’t find an attribute for it.
Offline
#533 2008-02-15 07:49:29
- amyng
- Member
- Registered: 2007-01-05
- Posts: 55
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Hi robertbruce,
EDIT Thanks, that worked perfectly — I had to remember to clear my cache though…
Best,
AMy
Last edited by amyng (2008-02-15 07:56:14)
Offline
#534 2008-02-29 15:30:01
- I_D
- New Member
- Registered: 2008-02-29
- Posts: 1
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Hi!
Help Street!
I have not worked on this plug-in version 4.0.6 TXP …
Give please, what should I do?
It simply is not fixed! (((
Sorry for my English)
Offline
#535 2008-02-29 17:03:02
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Try the compatibility advice given in the first post of this thread.
Offline
#536 2008-03-04 15:46:42
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I’ve experienced a problem with that plugin. I create an article in draft, select a category and save. Everything works fine. If a crate an article in live, select a category and publish, I get the following error:
Fatal error: Cannot redeclare page_title() (previously declared in /textpattern/publish/taghandlers.php:16) in textpattern/publish/taghandlers.php on line 42
Anyone else has this problem?? It’s very stupid … no categories are display onymore :(
Offline
#537 2008-03-05 19:51:48
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
freaky – are you sure problem is in rss_unlimited_categories? Does this problem appears only after described steps?
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
#538 2008-03-07 02:48:58
- Rimfya
- Member
- Registered: 2007-11-22
- Posts: 31
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
EDIT: Don’t mind me, move along.
Last edited by Rimfya (2008-03-07 06:37:11)
Offline
#539 2008-03-07 19:16:03
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
the_ghost wrote:
freaky – are you sure problem is in rss_unlimited_categories? Does this problem appears only after described steps?
Yes! The rss_unlimited_categories select disappears also :(
Offline
#540 2008-03-07 22:19:06
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
@freaky: What other plugins do you have installed and what version of Txp are you using?
You can find both pieces of information in your Txp diagnostics (Admin tab -> Diagnostics sub-tab).
Offline