Hi
How are the links of the categories designed? and where are this links stored in the mysql database?
on my website, i have links to the categories of my blog. these categories are getting too much, to be linked manualy. so i'd like to write this links automaticaly with php in my menu of my website. but where can i find this links in the database?
thanks for helping me
cu, hawa
Generate Links to categories
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Generate Links to categories
Hi!
Apart from that, Serendipity category links are created using the functions in include/functions_permalinks.inc.php.
Regards,
Garvin
Through the setup of the "Permalinks" of the serendipity configuration.How are the links of the categories designed?
If they are using %id% they are stored nowhere. Only if you use custom permalinks without %id% in the URL, the serendipty_permalinks database table is used.and where are this links stored in the mysql database?
Apart from that, Serendipity category links are created using the functions in include/functions_permalinks.inc.php.
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/
manually display multiple categories?
I have a similar question. I know I can display many categories at once by choosing them with the Category module. Say, 1, 2, 3, 4
But how is a (manual) link to multiple categories designed? Say, I want to display 2 and 3 through a "hard" link?
Thanks so much!
But how is a (manual) link to multiple categories designed? Say, I want to display 2 and 3 through a "hard" link?
Thanks so much!
Post-apocalyptic Jugger sports: What is Jugger? Video I Free ebook on the sport
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: manually display multiple categories?
Hi!
You would use something like:
http://yourblog/index.php?serendipity[category]=2;3
(seperate them with ";")
I haven't tried this, but you should also be able to use:
http://yourblog/categories/2;3-multiple-categories.html
(if you use URL rewriting)
HTH,
Garvin
You would use something like:
http://yourblog/index.php?serendipity[category]=2;3
(seperate them with ";")
I haven't tried this, but you should also be able to use:
http://yourblog/categories/2;3-multiple-categories.html
(if you use URL rewriting)
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/