Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#577 2008-10-07 11:39:47

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,373

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

the_ghost wrote:

I think, the problem is that global variable $thisarticle (or some others too) are reassigned forever.

Yikes…!

Offline

#578 2008-10-21 18:09:20

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355
Website

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

section bug too… :(

——-code—-
<txp:section />
<txp:rss_uc_article_list limit=“20” section=“section2” form=“tf_excerpt” />
<txp:section />

—-output——
section1

[skip out]

section2
————————


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#579 2008-10-21 19:24:35

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355
Website

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

fast fix my problem, SORRY, it’s my stupid code…
————-
function rss_unlimited_categories_article_list($atts) {
global $s, $c, $pg, $prefs, $thisarticle, $id, $has_article_tag;
$thisarticle22=$thisarticle; $s22=$s; $c22=$c; $pg22=$pg; $prefs22=$prefs; $id22=$id; $has_article_tag22=$has_article_tag;
—————

and before every return
——
$thisarticle=$thisarticle22; $s=$s22; $c=$c22; $pg=$pg22; $prefs=$prefs22; $id=$id22; $has_article_tag=$has_article_tag22;
——

Last edited by makss (2008-10-21 19:25:21)


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#580 2008-10-30 20:34:27

ecklesroad
Plugin Author
From: Bemidji, MN
Registered: 2008-02-22
Posts: 119
Website

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

http://www.ecklesroad.com

I have the <code><txp:rss_unlimited_categories_list break=“li” wraptag=“ul”></code> running on the left column, but I can’t figure out why the list stops after 10 categories (i have close to 50). I want that list to show ALL the categories.

This is an awesome plugin by the way!

I removed the plug in because while I can add multiple categories to an article, when I got to that categories page the article tagged with rss_unlimited doesn’t show up.

Last edited by ecklesroad (2008-10-31 13:29:52)

Offline

#581 2008-11-05 18:25:50

ellen
Member
From: Switzerland
Registered: 2006-04-18
Posts: 41

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

Unfortunately, the plugin (rss_unlimited_categories_article_list) doesn’t support the listform attribute. It would be really useful if it did ;-) Could you add this feature in the next release?

Offline

#582 2008-11-10 16:30:40

ellen
Member
From: Switzerland
Registered: 2006-04-18
Posts: 41

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

Hello,

After install the rss_unlimited_admin_tab won’t appear. I’ve tried again in another TXP installation but it definitely doesn’t. It only says „Restricted Area”. How can I solve this?

Kind regards,

ellen

Offline

#583 2008-11-10 21:52:07

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

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

ellen wrote:

Hello,
After install the rss_unlimited_admin_tab won’t appear. I’ve tried again in another TXP installation but it definitely doesn’t. It only says „Retricted Area”. How can I solve this?
Kind regards,
ellen

This add_privs() effect. Try to use search this thread – the unswer was here


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

#584 2008-11-11 10:30:15

ellen
Member
From: Switzerland
Registered: 2006-04-18
Posts: 41

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

Thank you for hinting me at this! I had already tried adding

if (txpinterface == ‘admin’) {
add_privs(‘event’, ‘1’); @

but wasn’t aware that is has to be

if (txpinterface == ‘admin’) {
add_privs(‘rss_unlimited_admin_tab’, ‘1’); @

Offline

#585 2008-11-11 10:47:13

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

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

event is not correctly what whould be inserted, instead of this should be name of event this plugin can have access.


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

#586 2008-11-12 09:29:30

Si
Member
From: Kiev
Registered: 2008-08-31
Posts: 45
Website

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

I’d appreciate any help on making rss_unlimited_categories work with MLP! Basically it’s the category names that I need to be able to translate
Thanks!

upd. my problem solved, thanks!

Last edited by Si (2008-11-17 15:27:53)

Offline

#587 2008-11-13 11:54:21

m4rtin
New Member
Registered: 2008-11-13
Posts: 1

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

Is there a way to get a set of options in a select to link to a page which would be used to show just one category?
This is the best I came up with but there’s no value for the option so therefore the form won’t be able to work.

In Page:
<form action=”“>
<select id=“selector”>
<txp:article form=“Select-Category” />
</select>
</form>

Form:
<txp:rss_unlimited_categories_filedunder break=“option” linktosection=“my-section” />

And the output is:

<form action=”“>
<select id=“selector”>
<option>
<a href=“http://www.example.com/job-vacancies/cat-01” title=“Cat 01”>Cat 01</a>
</option>
<option>
<a href=“http://www.example.com/job-vacancies/cat-02” title=“Cat 02”>Cat 02</a>
</option>
</select>
</form>

I think the output I want would be:

<form action=”“>
<select id=“selector”>
<option value=“cat-01”>
Cat 01
</option>
<option value=“cat-02”>
Cat 02
</option>
</select>
</form>

Offline

#588 2008-11-21 16:30:52

souzou
New Member
Registered: 2008-11-21
Posts: 1

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

Hi all,

I’ve installed and setup the plugin successfully, and got rss_unlimited_categories_list working correctly in my sidebar, but I’m having problems with rss_unlimited_categories_article_list – basically when you click on a category link it is not showing the list of articles in that category (it’s not showing anything). I’ve tried replacing the txp:article tag with the rss_uc_article_list tag but I’m not having any joy – I get an error message saying “Page template default does not contain a txp:article tag on line 474”.

My default page template is:

<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="<txp:css />" type="text/css" media="screen" />
<title><txp:page_title /></title>
</head>
<body>
<div id="content">
<div id="head">
<img src="http://showmethework.com/tp/gfx/SMTW_logo.png" width="150" height="62" alt="showmethework.com" />
</div>		

<div id="box">	
	<div class="entry">
	<txp:article limit="3" />
		<txp:if_individual_article>
			<p>
			<txp:link_to_prev><txp:prev_title /></txp:link_to_prev>
			<txp:link_to_next><txp:next_title /></txp:link_to_next>
			</p>
		</txp:if_individual_article>
		<txp:if_article_list>
			<p>
			<txp:older>Previous</txp:older>
			<txp:newer>Next</txp:newer>
			</p>
		</txp:if_article_list>	
	</div>

<div id="sidebar">
<!-- sidebar content here -->
<h3>About me</h3>
<p><txp:output_form form="about" /></p>
<div class="sidebarspacer"></div>
<h3>Categories/tags</h3>
<a href="http://www.showmethework.com/tp" />Home</a>
<txp:rss_unlimited_categories_list linktosection="category" />
<div class="sidebarspacer"></div>
<h3>Recent posts</h3>
<txp:recent_articles break="li" label="(latest work/projects)" limit="6" section="articles" sort="Posted desc" wraptag="ul" />
<div class="sidebarspacer"></div>
<h3>Links</h3>
<txp:linklist form="Links" limit="10" sort="date desc" wraptag="ul" break="li" />
<div class="sidebarspacer"></div>
<h3>Contact</h3>
<p><txp:output_form form="contact" /></p>
<div class="sidebarspacer"></div>
<!-- end of sidebar -->
</div>


</div><!-- end of box -->

<div id="footer">
<!-- change footer content in the appropriate form -->
<txp:output_form form="footer" />
</div>	

</div>
</body>
</html>

I’ve tried replacing all of the code in the “entry” div with:

<txp:if_article_list>
	<txp:rss_unlimited_categories_article_list  />
</txp:if_article_list>

<txp:if_individual_article>
	<txp:article />
</txp:if_individual_article>

_________
EDIT: fixed

Error was using “category” in the linktosection instead of the actual section, “articles”.
Knew it was something simple!!

-Matt

Last edited by ruud (2008-11-21 19:42:52)

Offline

Board footer

Powered by FluxBB