PhotoPlog

PhotoPlog (http://www.photoplog.com/forum/index.php)
-   "How Do I..." Questions (http://www.photoplog.com/forum/forumdisplay.php?f=7)
-   -   Seperate Sub Categories (http://www.photoplog.com/forum/showthread.php?t=1880)

JimmyJames 11-01-2007 10:49 PM

Seperate Sub Categories
 
What template do I need to edit to put a break under each subcategory?

I want to separate and list them instead of having them list side by side.

link:
http://musicbygoat.com/photoplog/index.php

Morgan 11-02-2007 04:07 AM

Untested, but look for the following in the categories.php file and replace the &nbsp; with a <br /> tag or soft space:
Code:

                        $photoplog_catbit_info_temp[$photoplog_catbit_displayorder_temp] = "&nbsp;<img
Same goes for the index.php file. Replace the &nbsp; with a <br /> tag or soft space:
Code:

                                $photoplog_catbit_info[$photoplog_catbit_displayorder] = "&nbsp;<img

argus 12-25-2007 10:27 PM

Exactly what I was looking for. Helps clean up the subcategories on a narrow forum like mine. Btw, the first edit works great, but it is in listing.php not categories.php. Thanks for the code!

JimmyJames 04-27-2008 07:18 PM

Quote:

Originally Posted by Morgan (Post 14708)
Untested, but look for the following in the categories.php file and replace the &nbsp; with a <br /> tag or soft space:
Code:

                        $photoplog_catbit_info_temp[$photoplog_catbit_displayorder_temp] = "&nbsp;<img
Same goes for the index.php file. Replace the &nbsp; with a <br /> tag or soft space:
Code:

                                $photoplog_catbit_info[$photoplog_catbit_displayorder] = "&nbsp;<img

Thanks TAB...that did the trick!

JimmyJames 04-27-2008 07:19 PM

Quote:

Originally Posted by argus (Post 15227)
Exactly what I was looking for. Helps clean up the subcategories on a narrow forum like mine. Btw, the first edit works great, but it is in listing.php not categories.php. Thanks for the code!

There is no file called listing.php

Morgan 04-28-2008 02:11 PM

Check post two: http://www.photoplog.com/forum/showp...08&postcount=2

kewlkat 05-22-2008 04:44 AM

Hello,

I have tried both fixes, but none of them seem to work? Using Firefox.

Linky: http://www.elantraquebec.com/forums/photoplog/index.php

EDIT: never mind, worked!

On topic: Is there a way to get the listing to go inside of the little box of the main category?

Morgan 05-22-2008 01:15 PM

Move the following:
Code:

$photoplog_catbit_subcats
To after the following:
Code:

$photoplog_catbit_description
In the following template:
Code:

photoplog_cat_bit


All times are GMT. The time now is 05:54 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.