PDA

View Full Version : How do i edit an index page to write my own text in?


otk567
11-14-2006, 07:51 PM
Hi there,

I really LOVE this software! Really! Now i am starting to get used to it i love the way it works. I just have one question and observation though? I cant seem to figure out a way in which I can edit the index of the directory? Ive tried going into the templates directory for the template i was using and editing index.tpl but that doesnt seem to work? It doesnt seem to save to the index but i do seem to be able to save text to just below links on category pages?

I wonder...would it be possible to have the templates like this loaded into the admin so that we could edit them within the admin area like we can with the news page and about us page and so on?

If you can let me know how to edit the actual index of the directory you will make my whole week! :-)

Andy.

subseo
11-14-2006, 08:42 PM
try this

yourdirectory.com/admin/edit-category.php?id=0

that's for short,
otherwise just browse categories, and right while in top level, click on edit button

otk567
11-14-2006, 11:34 PM
try this

yourdirectory.com/admin/edit-category.php?id=0

that's for short,
otherwise just browse categories, and right while in top level, click on edit button

Oh yes! Cool! :) Yes that DOES seem to work. Is there a way i can place the text below the categories list though rather than above?

Andy.

Simon Gooffin
11-15-2006, 04:00 AM
Hi Andy,
Sure there is a way. Manually modify your index.tpl file. Find there the following code:

{if $category.description}
<div class="box" style="border: none;">{$category.description}</div>
{/if}

And place it after categories box.

otk567
11-24-2006, 11:08 PM
Ahhhh cool! :-)) Thanks ever so much! Yes im starting to see how it works now :-)

Yes I love that :-))

Thanks :)