Hello all and thanks in advance....
I'm using the regular Categories plugin, as well as the "start page categories" event plugin to do some category hiding.
I have 2 of 6 total categories hidden from my frontpage. I'd like to give the reader the option to see all categories at once, I just want their first pageview when they arrive at my blog to show 4 categories...
The problem is, the "Show all categories" link simply points to the frontpage (which has the 2 hidden cats). I can select all with checkboxes and select go but I don't know what url encoded command the form button is sending in order to retrieve every category. Can anyone tell me the format? or maybe have another method?
I don't mind making an "ALL" category, but then I'd want to remove the "Show all categories" button.
You can see what I am talking about at blog.LitStudios.com
Thanks. much appreciated.
Show all categories? Two is hidden from frontpage
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Show all categories? Two is hidden from frontpage
Hi!
Yes, the "Show all categories" link actually simply refers to what you defined as the startpage, so by hiding some categories you actually made the "all categories" refer to what you think are "all categories" on the startpage.
You could try to use index.php?serendipity[category]=all instead, this works as a shortcut to selecting really all categories?
HTH,
Garvin
Yes, the "Show all categories" link actually simply refers to what you defined as the startpage, so by hiding some categories you actually made the "all categories" refer to what you think are "all categories" on the startpage.
You could try to use index.php?serendipity[category]=all instead, this works as a shortcut to selecting really all categories?
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Thanks for the reply Garvin... I tried "index.php?serendipity[category]=all" but no dice... it's still acting the same way. What you describe is exactly the kind of thing I was hoping for. does the above quote look correct?
when i used http://blog.litstudios.com/index.php?se ... egory]=all, it failed to include http://blog.litstudios.com/index.php?/c ... Geeknology
Thanks
Alpay
when i used http://blog.litstudios.com/index.php?se ... egory]=all, it failed to include http://blog.litstudios.com/index.php?/c ... Geeknology
Thanks
Alpay
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Hm, okay - that link actually only displays all categories instead of the startpage category, EXCEPT the categories you have hidden.
To REALLY disable the whole logic of the plugin, you would need to use this URL:
http://blog.litstudios.com/index.php?se ... odule]=all
I'm not exactly sure though if this might create trouble when paginatiing through multiple pages...
Regards,
Garvin
Hm, okay - that link actually only displays all categories instead of the startpage category, EXCEPT the categories you have hidden.
To REALLY disable the whole logic of the plugin, you would need to use this URL:
http://blog.litstudios.com/index.php?se ... odule]=all
I'm not exactly sure though if this might create trouble when paginatiing through multiple pages...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Sorry to be a pest... I can't seem to find the categorytemplate plugin to edit the url... could you point me in the right direction please? I checked the plugins folder, everything is obviously named but I see nothing about categories - which is strange, i def see the categories plugin from the admin gui.
Thanks.
Thanks.
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
You're right! It was in there, took me a minute to find the right line but I got it working.
You guys are my hero's... for anyone searching for this in the future:
in file /include/plugin_internal.inc.php, i located
and changed it to
it looks like it's also an easy affair to make the form button (the Go! button) go to this url when no checkboxes are ticked, I left it as is however.
Thanks guys... as I continue to populate my blog, this will make me feel better about the way I'm presenting my DIY projects vs. blog links to other people's work.... Thanks again. thanks a million.
Alpay
You guys are my hero's... for anyone searching for this in the future:
in file /include/plugin_internal.inc.php, i located
Code: Select all
$serendipity['serendipityHTTPPath'] . $serendipity['indexFile'] . '?frontpage',Code: Select all
$serendipity['serendipityHTTPPath'] . $serendipity['indexFile'] . '?serendipity[adminModule]=all',Thanks guys... as I continue to populate my blog, this will make me feel better about the way I'm presenting my DIY projects vs. blog links to other people's work.... Thanks again. thanks a million.
Alpay