Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#157 2006-05-23 11:01:34
- michaelwinter
- New Member
- Registered: 2006-05-22
- Posts: 9
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Dear Rob,
there is something wrong running your unlimited category-plugin within IE6/IE7
I made some investigations,
there is a javascript using the ‘innerHTML’ – Statement.
it produces an “uncaught runtime error”
This doesn’t work ! There are a lot of discussions about it found in the web
Is there a workaround ?
best regards, Michael
Offline
#158 2006-05-23 16:51:19
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Looks like I’ve just found a simple solutions to the IE problem. After a brief search on google based on the michaelwinter insight, i changed a few lines of the code. Go where there is this code in the rss_admin_catlist function:
<code>
var p = document.createElement(‘p’);
p.innerHTML = ‘$catsel’;
ps [1] .appendChild(p);
</code>
(without spaces in the last line) And change to this:
<code>
var div = document.createElement(‘div’);
div.innerHTML = ‘$catsel’;
ps [1] .appendChild(div);
</code>
(without spaces in the last line) And you’re done. Everything now working in IE6. As you can see it’s just a matter of changing the select container element from p to div (that is also semantically better…). Some reference here.
Test this extensively and use at your own risk. If everything’s ok, maybe Rob would release a new version of the plugin without the bug.
Hope this may be useful. Bye
Z-
Offline
#159 2006-05-23 17:15:17
- jriemerm
- New Member
- Registered: 2006-04-17
- Posts: 9
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Bang. There it is. Thanks!
Offline
#160 2006-05-23 21:02:20
- michaelwinter
- New Member
- Registered: 2006-05-22
- Posts: 9
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
that’s crazy, crazy, crazy.
I can’t believe but it works !!!Thanks zanza !
michael
Offline
#161 2006-05-24 09:53:18
- Algaris
- Member
- From: England
- Registered: 2006-01-27
- Posts: 572
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
What would be really nice would be an update, incorporating the tweaks and fixes that people have been making here into a new version. I’m not a programmer by nature and although I can hack away at some code with a small amount of knowledge, I wouldn’t feel comfortable doing so for the project that I need this plug-in for.
I would be particularly interested in having the IE and rss_unlimited_categories_article_list fixes, as this was the main reason for me installing the plug-in.
Offline
#162 2006-05-31 17:33:32
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
i have installed the unlimited categories plugin and see the list of categories when i write an article. however the categories do not get saved to the article after i select them and click ‘save’.
does this have something to do with db tables? how can i troubleshoot this? i know other people have posted similar issues in this thread but i have not seen any concrete answers.
any help is appreciated. thanks
Offline
#163 2006-06-01 14:35:12
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
alittle116 wrote:
i have installed the unlimited categories plugin and see the list of categories when i write an article. however the categories do not get saved to the article after i select them and click ‘save’.
does this have something to do with db tables? how can i troubleshoot this? i know other people have posted similar issues in this thread but i have not seen any concrete answers.
any help is appreciated. thanks
Hi,
I had exactley the same problem on my txp install: the plugin is installed correctly, no errors, but the category selection in the write tab didn’t stick. I was unable to run the mysql code provided with the plugin to copy the old category prefs to the plugin. Also no results were displayed using the rss_unlimited_categories_cloud tags in pages.
The problem is that the plugin apparently failed to create a new table in the txp database.
I’ve managed to create one manually with my dbmanager (phpadmin, provided with my domain) using the following mysql syntax found in the plugins’ php code:
<code>
CREATE TABLE `txp_textpattern_category` (`article_id` int(11) NOT NULL default ‘0’, `category_id` int(6) NOT NULL default ‘0’, PRIMARY KEY (`article_id`,`category_id`)) TYPE=MyISAM;
</code>
Just copy the code and run it from your database manager. This will create the appropriate table, textpattern_category, in your database. Now you should be able to save the prefs in the new category list under the write tab.
Cheers and good luck,
Sebastiaan
Last edited by Sebastiaan (2006-06-01 14:41:43)
“Bartender, a bit of advice. Always inspect a jukebox carefully.
These machines can be deadly.” — Adam West, the Original Batman
Offline
#164 2006-06-01 15:05:50
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I’m using wow_menu, a plugin that generates nested unordered lists based on the categories, so a css dropdown menu is possible.
Does anyone now if it’s possible to generate nested unordered lists with rss_unlimited_categories?
The html output should be something like this:
<code>
<ul>
<li>Parent category A
<ul>
<li>Child category 1</li>
<li>Child category 2</li>
</ul>
</li>
<li>Parent category B
<ul>
<li>Child category 3</li>
<li>Child category 4</li>
</ul>
</li>
</ul>
</code>
Thanx!
“Bartender, a bit of advice. Always inspect a jukebox carefully.
These machines can be deadly.” — Adam West, the Original Batman
Offline
#165 2006-06-02 09:45:07
- Algaris
- Member
- From: England
- Registered: 2006-01-27
- Posts: 572
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Well I tried downloading the recent update from Rob’s website to see if the IE and rss_unlimited_categories_article_list bugs had been fixed. After receiving the same issues as before I caved in and downloaded april19’s hack, (for the rss_unlimited_categories_article_list fix) and Zanza hack (for the IE fix). Everything then started working just the way I wanted it.
Thank you Rob for making this plug-in, and thank you april19 and Zanza for the fixes.
Offline
#166 2006-06-07 04:38:10
- mercury
- Member
- Registered: 2006-05-12
- Posts: 26
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
sorry guys, anyone here have working links generated by this plugin at all?
what they should look like?
<code>site.com/category/categorie1
site.com/category/example-categorie2</code>
? or
<code>site.com/section/category/categorie1
site.com/section/category/example-categorie2</code>
?
i have permlink mode set to <code>section/title</code>,
<code><txp:rss_unlimited_categories_article_list /></code> in my default article form
and i just get default pages without listing of any articles though i have some articles tagged with <code>categorie1</code> and <code>example-categorie2</code>
Offline
#167 2006-06-07 06:38:53
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Well, I’m not sure if I have it working the way you want, but I have it working, and working well from my perspective! ;-)
Cheers
Offline