Can anyone suggest a way to link to categories automatically based upon the category name (or better yet, part of the category name)? I need to have many categories and want to link to them without needing to look up the ID for each category, e.g.
Category Name 1 (ctgy1)
Category Name 2 (ctgy2)
Category Name 3 (ctgy3)
Category Name 4 (ctgy4)
...
Category Name 100 (ctgy100)
I'd like to be able to link to each category from another script, just handing it the ctgy# value but this value will not be the same as the ID used in phpmyfaq. I realize I can get close by using an individual keyword
for each entry in a particular category but I'd rather be able to link directly to a category, not the search results.
Linking to categories
Moderator: Thorsten
Hi,
we could add something like the internal links function in the editor. Is this something you need?
bye
Thorsten
we could add something like the internal links function in the editor. Is this something you need?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Something like that. Essentially I'd need to be able to replace this:
http://www.mydomain.com/faq/index.php?action=show&cat=2
with
http://www.mydomain.com/faq/index.php?a ... ame=myCat1
where "myCat1" is a unique identifier I've used in the category name field (i.e. it's not the entire name. Using the entire name could be trippy if the name contained various html confounding characters but it would still get me a lot closer)
http://www.mydomain.com/faq/index.php?action=show&cat=2
with
http://www.mydomain.com/faq/index.php?a ... ame=myCat1
where "myCat1" is a unique identifier I've used in the category name field (i.e. it's not the entire name. Using the entire name could be trippy if the name contained various html confounding characters but it would still get me a lot closer)
Hi,
we could provide the first solution, the second one could be a hack...
bye
Thorsten
we could provide the first solution, the second one could be a hack...
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist