PDA

View Full Version : Add Text to Index


Think
01-05-2007, 09:56 PM
How do I add text to the index page like you have on the demo directory? Which files do I need to edit? I want to put the text below the title, but above the categories.

Thanks,

Garey

bunny
01-05-2007, 10:18 PM
open >template>yourtemplate>header.tpl file .

Locate

<div class="search-form">

Put this code above that line:

{if $tab eq 'home'}
{include file="headlines.tpl"}
{/if}

Remove
{if $tab eq 'home'} and {/if} if you want to display text on all pages.

Upload attached file to that template folder and edit the text to your liking.

Enjoy

Greg
01-06-2007, 01:00 AM
Or the easiest way is to:
This is for ProVersion 2.0
In admin panel click on "Browse Categories" on left side menu.
You're now at Browse Click edit button (second box at the top from the left)
You'll now see - Description: - Meta-description: - Meta-keywords:

Fill those fields in and click save changes.

When you fill in the "Description" field that's what will show on your index page.

You can do the same with all categories. Just click on the category you want to add info to.

Welcome to the forums Garey :)

bunny
01-06-2007, 08:24 PM
Yo greg, but would you be able to use html and ads code in that box, would that work ?

Greg
01-06-2007, 08:28 PM
Yo greg, but would you be able to use html and ads code in that box, would that work ?

Yep You can use html

bunny
01-06-2007, 08:31 PM
Yep You can use html

But will ad codes work like the ones provided by google and clicksor, that use javascript ?

Greg
01-07-2007, 12:20 AM
But will ad codes work like the ones provided by google and clicksor, that use javascript ?

I haven't tried that. But if you do use javascript you have to surround the code with "literal" tags.
http://www.esyndicat.com/forum/showthread.php?t=7439&highlight=literal