![]() |
|
|||||||
| Register | Projects | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| v3.1 Questions & Support Help and support for 68 Classifieds v3.1.x |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Im using the Developer Version and 68gren template, where can i go in and make it so that in the indes, the feature box is listed on top (over the catagories box) and how can i give the feature box a name for example the categories have "Browse Categories" How can i give the featue box a name with that line accross?
Thank You |
|
#2
|
||||
|
||||
|
Check out some of the stickies in the template forums. It really helps to have an understanding of how the different templates interlock and work together to build a complete page.
Having said that, the body for the main page is home.tpl.php and the featured listings are created by the smarty function feature_listings_horizontal. This is called at the bottom of the home.tpl.php file with the following line. {feature_listings_horizontal number=8 cols=3 table_attr='width="100%" style="border: 1px solid #000;"' td_attr='valign="middle" align="left"'} You can move that to the top of the file to display it before the categories. To add a header to it you will need to modify the function itself and that is /includes/classes/smarty/plugins/function.feature_listings_horizontal.php
__________________
Larry. |
|
#3
|
|||
|
|||
|
so in order to move it to the top, i should valign="top"
|
|
#4
|
|||
|
|||
|
nvm, ignore the last comment i wasnt thinking straight, but what code or what should i add to that page in order to get a header in that features box
|
|
#5
|
|||
|
|||
|
Any idea on how to insert that header into the feature box?
|
|
#6
|
|||
|
|||
|
Here you go...
Regards
__________________
V3.1.10 Developer |
|
#7
|
|||
|
|||
|
i got that par, but how do you modify it?
|
|
#8
|
|||
|
|||
|
Hi comcoach,
It's a combination of php, smarty and html -- If the contents of that function file don't make sense perhaps you know someone who can help. The lines that begin with '$output =' build the table. I suggest keeping a clean unaltered copy of the file so you can revert to it if it gets too messed up (I speak from experience!!) Regards, Jim
__________________
V3.1.10 Developer |
|
#9
|
|||
|
|||
|
any suggestions on where i should start? do i also have create that code in language/english file?
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Change Bold feature to TOP of the list | luisram | v3.1 Modifications | 5 | 04-13-2007 12:20 AM |
| Bold listing feature? | Mike-N-Tosh | v3.1 Questions & Support | 11 | 03-20-2007 09:36 AM |
| Upload File Feature does not work | sporthorsebreeder | v3.1 Questions & Support | 10 | 08-16-2006 10:39 AM |
| File Upload Feature Problem | sporthorsebreeder | v3.1 Questions & Support | 9 | 07-27-2006 09:34 AM |