|
|
#1 |
|
Member
Join Date: Oct 2006
Posts: 31
Rep Power: 11 ![]() |
If I have a good html template design how do I integrate the 68 classifieds page information, is it just a matter of using the $variables I need into the template or does smarty code need to go somewhere and what should the new template file be saved as?
|
|
|
|
|
|
#2 |
|
Moderator
|
Just be sure you move all the smarty code to your html template, then just rename it layout.tpl.php.
|
|
|
|
|
|
#3 |
|
Member
Join Date: Oct 2006
Posts: 31
Rep Power: 11 ![]() |
Hi John
Thanks for the heads up, now I think you know what the next question will be,........ where is the smarty code? If I look at the default layout.tpl I see what looks like smarty code, can you post exactly what I need please. Thanks in advance Brian |
|
|
|
|
|
#4 |
|
Moderator
|
smarty code looks like this:
{something} {$something} {if $something} something {/if} If you are afraid you'll miss something it might be better to move you template into layout.tpl.php. The most important part is the metatags and {include file=$body} These will allow your title, keywords, description to be generated as well as load the classifieds into the page. I believe the rest of the smarty code is for the links. |
|
|
|
|
|
#5 |
|
Member
Join Date: Oct 2006
Posts: 31
Rep Power: 11 ![]() |
Hi There John
I guessed it had to be between the head tags so just replace them from the default template layout.tpl template into my new template dir to get me going and hey presto. Can you take a look at http://www.boatsandjetskis.co.uk and let me know how to align the folders or images that they sit in an even row, probably needs a top align tag or something but cant figure it out. Or how do you get rid of the text links from the subcatagories, that may be a better option the site is only in embrio stages but you will get the idea thanx |
|
|
|
|
|
#6 |
|
Moderator
|
Open templates/default/home.tpl.php, this is where all that on your home page is coming from.
You can remove this to get rid of the subcat text: Code:
[[subcats]] Code:
html_table_adv loop=$data cols=$cols table_attr='width="100%"'} |
|
|
|
|
|
#7 |
|
Member
Join Date: Oct 2006
Posts: 31
Rep Power: 11 ![]() |
Hi Again
On this page, http://www.boatsandjetskis.co.uk/cat...type=16&sec=18 can you tell me how to show the short description field? Thanks |
|
|
|
|
|
#8 |
|
Member
Join Date: Oct 2006
Posts: 31
Rep Power: 11 ![]() |
Found solution from previous post
cheers |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Smarty Templates and You. Posted BY Lhotch | Eric Barnes | HTML, CSS, and Design Help | 13 | 10-02-2007 08:06 AM |
| Free Template? | FlyingBee | HTML, CSS, and Design Help | 4 | 12-08-2006 10:17 AM |
| Renewal E-mails... HTML or Plain Text? | flyingpylon | v3.1 Questions & Support | 2 | 11-01-2006 03:24 PM |
| Will 68 support html ads | manilaboy | v3.1 Questions & Support | 2 | 10-22-2006 08:59 PM |
| Dreamweaver Template in 68classifieds | sporthorsebreeder | HTML, CSS, and Design Help | 3 | 04-23-2006 10:34 AM |