This is a discussion on Displaying all subcategories & adding a separator within the HTML, CSS, and Design Help forums, part of the General category; I need help to show all the subcategories (below the main category). I would also like each category to be ...
|
|||||||
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
I need help to show all the subcategories (below the main category). I would also like each category to be separated by commas.
Currently, only 3 subcategories are displayed with no separator. Please go to http://www.njhomeguide.com/pros to see what I'm talking about. Any help with this would be greatly appreciated.
__________________
Maria Sherow http://www.NJHomeGuide.com NJ's Ultimate Home Resource! ----------------------------------- Current Version: V3.0.15 Developer |
|
#2
|
||||
|
||||
|
You would have to manually change this in the index.php file.
If you open it and locate this: PHP Code:
PHP Code:
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | Submit a Ticket |
|
#3
|
||||
|
||||
|
Thank you for the comma separator.
How do I show all the subcategories (below the main category)? Only 3 are displaying now and I want all of them to display.
__________________
Maria Sherow http://www.NJHomeGuide.com NJ's Ultimate Home Resource! ----------------------------------- Current Version: V3.0.15 Developer |
|
#4
|
||||
|
||||
|
Just above that change is a sql query:
PHP Code:
PHP Code:
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | Submit a Ticket |
|
#5
|
||||
|
||||
|
Thanks Eric.
Now I have another problem. I am trying to make formatting changes to the main categories on the index page. When I FTP the file categories/maincategories.tpl.php - the changes don't show up. I don't understand, it worked yesterday. I have already cleared the compiled templates and the templates_c folder is empty.
__________________
Maria Sherow http://www.NJHomeGuide.com NJ's Ultimate Home Resource! ----------------------------------- Current Version: V3.0.15 Developer |
|
#6
|
||||
|
||||
|
That is strange.
Here are a few things you could try: 1. Physically open the file off the server and see if it does include your changes. 2. Make sure you are not getting any ftp errors like "over disk space" etc. 3. Try to add something like <h1>TEST</h1> and see if that shows. 4. Make sure you are uploading it to the correct template folder.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | Submit a Ticket |
|
#7
|
||||
|
||||
|
I know, it's driving me crazy. It's definently going in the right folder. The changed file (maincategories.tpl.php) is on the server, but it seems the classifieds software is not using it.
Is there a setting somewhere in the program causing this?
__________________
Maria Sherow http://www.NJHomeGuide.com NJ's Ultimate Home Resource! ----------------------------------- Current Version: V3.0.15 Developer |
|
#8
|
||||
|
||||
|
Can you give me a link?
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | Submit a Ticket |
|
#9
|
||||
|
||||
|
Eric,
I'm still on the same page: http://www.njhomeguide.com/pros/index.php I just replaced maincategories.tpl.php with the original file and nothing happened. I checked the server and the new file is there, but when I reload the page and check the source - it's not there.
__________________
Maria Sherow http://www.NJHomeGuide.com NJ's Ultimate Home Resource! ----------------------------------- Current Version: V3.0.15 Developer |
|
#10
|
||||
|
||||
|
Here's more info: when I make changes to:
subcategories.tpl.php - the changes show up maincategories.tpl.php - the changes DON'T show up It's odd that the system would process one file but not the other?
__________________
Maria Sherow http://www.NJHomeGuide.com NJ's Ultimate Home Resource! ----------------------------------- Current Version: V3.0.15 Developer |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Viewing ads from subcategories in Main Categories browse view | SilverMicro | v3.1 Questions & Support | 11 | 05-26-2007 04:39 PM |
| Showing the number of ads in subcategories on main page | pat01 | v3.1 Modules & Modifications | 6 | 07-19-2006 04:24 PM |