Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#205 2007-01-26 20:03:59
Re: [Archived] stw_category_tree
OK, so I’m sorry about all the fuss. Looks like it can’t be done with a stock install. You might check out the built in functions “stw_get_parent” or “stw_get_lineage”. Undocumented, butu perhaps useful?
Sorry I couldn’t help more…
Offline
#206 2007-01-26 20:43:14
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: [Archived] stw_category_tree
mrdale schrieb:
Sorry I couldn’t help more…
thanks anyway, dale. I’ll look what i can do with these, but i fear i have to switch to another plugin.
or has anyone else an idea of how to achieve level indicators for hierarchic categories? (description 1 and 2, take a look at an example page)
Last edited by uli (2007-01-26 21:04:12)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#207 2007-02-14 16:29:57
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: [Archived] stw_category_tree
alright, i’m still with stw_categorytree, there seems to be no other plugin that comes closer to suiting my needs.
and i still couldn’t solve my problem which is to only mark the category the user actually clicked, neither parent categories nor nested categories, that become revealed at this moment. has anybody found out a way to neutralize the active classes that aren’t necessary for this purpose?
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#208 2007-02-14 16:42:08
Re: [Archived] stw_category_tree
> Santheo…
Any chance you could shed a little light on how one might use the following functions? I have several instances where I’d like to output a category’s ‘parent’ or ‘root ancestor’. I’d love it if you could bust out some new tags that would simply use these functions to achieve that.
- “stw_get_parent”
- “stw_get_lineage”
Offline
#209 2007-02-15 18:58:33
Re: [Archived] stw_category_tree
I’m getting errors with later 4.04 builds:
tag_error <txp:tsw_sec_list disptext=‘title’ wraptag=‘li’ curclass=‘selected’ orderby=‘title’ deftitle=‘home’ exclude=‘sections,listed,here’ /> -> Notice: Use of undefined constant siteurl – assumed ‘siteurl’ on line 96
Doesn’t effect anything, but errors nonetheless…
Last edited by mrdale (2007-02-15 18:59:02)
Offline
#210 2007-02-19 18:38:45
Re: [Archived] stw_category_tree
>santheo
Any chance this plugin could be adapted to output a link-less category tree, that is, with attributes link=“0” wraptag=” “ break=”,” output would look like…
categoryA,categoryB,categoryB1,categoryB2,categoryb2a,categoryB3,categoryC
This would work wonders when used with asy_wondertag and other plugins that are not subcategory aware.
Last edited by mrdale (2007-02-19 18:40:10)
Offline
#211 2007-02-21 17:07:59
- adnanoner
- Member
- Registered: 2007-01-01
- Posts: 20
Re: [Archived] stw_category_tree
Hey guys, I’m having a problem.
My page turns blank/404 even when I use the basic stw_category_tree plugin. I think it has got something to do with the “sgb_url_handler:“http://forum.textpattern.com/viewtopic.php?id=6810&p=30 , because when I used it my whole website turned blank. I now deinstalled and deleted it, but my stw_category_tree still seems not to work.
Anybody got an idea on how to fix it? Or is there a plugin that does the same as the stw_category_tree plugin?
Thanks in advance!
Offline
#212 2007-02-21 17:17:36
Re: [Archived] stw_category_tree
I can’t answer your question about why stw_category_tree isn’t working but I know sgb_url_handler is no longer supported and there is a fantastic replacement out there called gbp_permanent_links if you want to try it out.
Refresh Dallas and other Refreshing Cities.
Offline
#213 2007-02-21 17:30:42
Re: [Archived] stw_category_tree
The two are probably not related.
Although sgb_url_handler is not supported, it still works well for me, and will keep using it till greame’s excellent plugin to support image categories.
You can turn off “sgb_url_handler’s” dependence on “sgb_error_handler” and also tell it not to do any error redirects by editing some lines at the top of the plugin.
// Include sgb_error_documents
//include_plugin(‘sgb_error_documents’); <—Comment out this line, like this$config[‘send_errors’] = 0; // bool <— change the one to zero
// Send 301 redirects? $config[‘send_301’] = 0; // bool <— change the one to zero
// Send 404 not founds? $config[‘send_404’] = 0; // bool <— change the one to zero
Offline
#214 2007-03-17 10:17:21
- avetma
- Member
- Registered: 2006-03-11
- Posts: 28
Re: [Archived] stw_category_tree
I am using txp:stw_category_tree tag, and I have problem with URL’s. They doesn’t contain section but only category. Is there any way to put section in url too? (s=something&c…)
Thank you
Offline
#215 2007-03-17 10:35:50
- Joey
- Member
- From: Netherlands
- Registered: 2005-01-19
- Posts: 257
Re: [Archived] stw_category_tree
Use the section
attribute, see the first post for details.
Regards,
Joey
Offline
#216 2007-03-17 11:49:18
- avetma
- Member
- Registered: 2006-03-11
- Posts: 28
Re: [Archived] stw_category_tree
Thank you, that’s it ;)
Offline