Author Topic: catergories display  (Read 6399 times)

0 Members and 1 Guest are viewing this topic.

Offline gato2k

  • Pre-Newbie
  • Posts: 7
    • View Profile
catergories display
« on: January 22, 2003, 08:19:02 AM »
how can I make the catergories display in button instead of "," (as default) like this site? http://www.newman.d2g.com/index.php
Thanks

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
catergories display
« Reply #1 on: January 22, 2003, 03:16:13 PM »
Sorry, can you be more specific.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline gato2k

  • Pre-Newbie
  • Posts: 7
    • View Profile
catergories display
« Reply #2 on: January 23, 2003, 01:26:35 AM »
sorry here is what I mean. In default, Catergories in 4images are arranged like this: Main Category,Sub Catergory 1, Sub Cat2( all in a line)

but I want to make it like this ( in this case 2 main categories)

[button]Main Cat1                [button]Main Cat2
[button]Sub Cat1                 [button]Sub Cat1
[button]Sub Cat2                 [button]Sub Cat2

Is it possible?

Offline _Keith_

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • http://www.scikotics-ccc.com
catergories display
« Reply #3 on: January 23, 2003, 01:34:49 AM »
I would like to know this too.

If you look at the site he gave the example of you will understand. You click the button and it brings up the pictures.

Kind of like a expandable window.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
catergories display
« Reply #4 on: January 23, 2003, 02:08:50 AM »
Quote from: gato2k
sorry here is what I mean. In default, Catergories in 4images are arranged like this: Main Category,Sub Catergory 1, Sub Cat2( all in a line)

but I want to make it like this ( in this case 2 main categories)

[button]Main Cat1                [button]Main Cat2
[button]Sub Cat1                 [button]Sub Cat1
[button]Sub Cat2                 [button]Sub Cat2

Is it possible?

I dont see any subcategories on the site u showed.
but u can try:
open /includes/functions.php file
find:
Code: [Select]
       $sub_cat_list .= ", ";
replace with:
Code: [Select]
       $sub_cat_list .= "<br>";
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)