1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Change form.tpl

Discussion in 'Templates, HTML, CSS, and Design Help' started by darkqueen, Apr 16, 2013.

  1. darkqueen Customer

    Hi. Does anyone know if the price text in the form displayed when you select a package , can be made bold and what page has to be edited. Price is bold but not the number. Thank you.
  2. freeze2 Super Moderator

    I believe you would find this in the checkout/step2.tpl

    You could simply wrap the data that you want bold within the following tags <strong>Data Here</strong>
  3. Mike-N-Tosh Owner

    You need to learn to use the smarty debug. This will allow you to determine what template file is being used on any page on your site as well as all the variables, etc... Use the online documentation.

    This is step 2 of the checkout.
  4. darkqueen Customer

    Much obliged. How do I use the Smarty debug? Its not me,the customer wants theses changes. She also does not like the way the categories line up under the category image instead of the text. I have tried to explain that it is not like word to no avail. Can you tell me if that can be done?
  5. darkqueen Customer

    Ok I see how to use debug now. Thanks.
  6. freeze2 Super Moderator

    You can accomplish just about anything style wise, depending how deeply you want to modify the template files and CSS.

    Here's a post on how I changed up some of the user admin areas with some CSS

    http://www.68classifieds.com/forums/threads/tutorial-take-control-of-your-site-with-css.11339/
  7. Mike-N-Tosh Owner

    I've never liked the default for the browse by category. I don't like the way that it is set to default to only show 3 subcategories as well as just dump them as one long text string instead of individually... Oh well, I digress.

    Without knowing the size of the images or actually seeing the page at the site it would be difficult to give you advice on how to correct it. As freeze2 has already indicated and as you've seen from my beta gadget site, you can do just about anything that you'd like with a little CSS. None of the design of that site has any php code changes to the 68 Classifieds files (except one change to the smarty plugin for listings, to allow my quick cheat, "Similar ads" in the viewlisting page).

    If you're refering to this here: browse

    Try this:
    HTML:
    <table width="100%">
    {section name=tr loop=$data step=$cols}
        <tr>
            {section name=td start=$smarty.section.tr.index loop=$smarty.section.tr.index+$cols}
            <td width="33.33%" valign="top">
            {if $data[td]<>""}
                {$data[td].start_link}<img src="{$data[td].image}" border="0" alt="{$data[td].name}" /></a>&nbsp;
                {$data[td].start_link}<strong>{$data[td].name}</strong></a>
                {if $data[td].total <> ''}
                ({$data[td].total})
                {/if}
                <br />
                <!--{$data[td].subcats}-->
                <span style="padding-left:38px;">{$data[td].description}</span>
            {/if}
            &nbsp;
            </td>
            {/section}
        </tr>
    {/section}
    </table>
    Hope that helps!
  8. darkqueen Customer

  9. Mike-N-Tosh Owner

    The concepts are still the same. The fastest way to do it would be to simply wrap the anchor element of the category name within an inline-block div.

Share This Page