4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: Eagle Eye on May 01, 2006, 08:42:43 PM
-
I was looking for a way to show the category and subcategories shown on the homepage on other pages such as details.html and categories.html
I tried a lots with experimenting but hard luck…. :( any way to achieve this? :|
-
Me too
-
I don´t really understand what you are looking for ...
Do you mean something like this: http://www.berlin-in-bildern.de/kategorien.php :?:
-
I don´t really understand what you are looking for ...
Do you mean something like this: http://www.berlin-in-bildern.de/kategorien.php :?:
yes if it was possible to show this on the details page....
-
in details.php below:
"clickstream" => $clickstream,
insert: "categories" => get_categories($cat_id),
Then you can use {categories} tag in details.html template
-
in details.php below: "clickstream" => $clickstream,
insert: "categories" => get_categories($cat_id),
Then you can use {categories} tag in details.html template
:( not working....
-
its working fine on a fresh 4images.
-
@Kleiner Hobbit: Ja genau so etwas suche ich, was man dann halt includen kann.
Wärst du so nett, und würdest den Code und Template zur Verfügung stellen?
Vielen Dank, Konradin
-
Yes its working on a fresh gallery...
but on my site its not working :( can it be due to other mods? like sitemap? i have the tag {categories_list} in my details.html page.. :?
-
as long as your changes in details.php dont alter $cat_id variable, it should work just fine.
-
:oops: :oops: :oops: got the problem.. This one only shows sub-category if there is any further below the image that is being viewed...
What I wanted to show actually in the details.html page was, then entire category and sub-category as show in homepage on all detalil.html page... like showing the entire category structure shown in homepage
:)
-
then replace $cat_id with 0 ;)
-
@Kleiner Hobbit: Ja genau so etwas suche ich, was man dann halt includen kann.
Wärst du so nett, und würdest den Code und Template zur Verfügung stellen?
Vielen Dank, Konradin
Sorry, das komplette Template gebe ich nicht raus ... , das habe ich in stundenlanger Arbeit durch rumprobieren selber erstellt 8)
Viele Grüße
Claudia
-
then replace $cat_id with 0 ;)
WOW! it did the trick.. thank you very much v@no
:D
-
Hello, is there a possibility to include the category-dropdown-form from another pages? - I mean not from a 4images Page?
Hallo, kann man das Kategorien-Dropdown-Formular auch von anderen nicht zu 4images gehörenden Seiten includen? Würde ich gerne auf meiner generellen Startseite anzeigen lassen...
Vielen Dank, chao Konradin
-
you can include dropdown from any other pages...what is your question?
-
you can include dropdown from any other pages...what is your question?
how?
(include("/4images/dropdownform.php"))...?
-
hello it's worked for me fine 8)