![]() |
![]() |
![]() |
|
|||||||
| User interface Discuss eSyndiCat templates here. All the questions regarding eSyndiCat [FREE] Front end |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Join Date: Mar 2006
Posts: 7
![]() |
Hi,
Not sure if this is a "template" related question but how do I add some text to the home page (index)? (Example: like a "welcome this website is about..." above the "categories" section but below the "adsense" ads) I'm using eSyndicat 2.0.1 and the "Aqua" theme. Thanks. P.S. Thanks for quickly helping me out with my little "glitch" on mysite - do you ever sleep? :-) |
|
|
|
|
|
#2 |
|
Join Date: Sep 2006
Posts: 384
![]() |
Hi, jessica!
Welcome to our support forum! The easiest way to add the site description is to fill up the description of Root category. You should do it via admin panel: 1) Go to the http://www.your_site.com/admin/browse.php. You will see all your categories. Click the "Edit" icon on the right side of the page in order to edit the root category's properties; 2) Now you are in the "Edit Category" page. Fill in the description field with the description of your site. Last edited by Vasily B.; 02-21-2007 at 12:22 PM. |
|
|
|
|
|
#3 |
|
Join Date: Mar 2006
Posts: 7
![]() |
Thanks, it works and accepts html too! :-)
|
|
|
|
|
|
#4 |
|
Join Date: Mar 2006
Posts: 7
![]() |
Forgot to ask, (sorry):
I'm using the default "Aqua" theme in 2.0 - where do I change it so the category descriptions are "above" the category menus? The reason is that Adsense is getting a bit "confused" since it is directly above the many different category links I have - thus not displaying the right ads. I thought if I could move where the category descriptions appears - right below the default Adsense banners, then Adsense could "zero-in" on the pages' topic. Thanks. Jess P.S. its' the default template, where typically the adsens banner is in the center of the page, followed by the categories menu, then the category description. (I want to move the descriptions above the menu). |
|
|
|
|
|
#5 | |
|
Super Moderator
Join Date: Oct 2005
Location: Phoenix,Arizona (Valley of the Sun)
Posts: 5,358
![]() ![]() ![]() ![]() |
Quote:
Try this (make sure you back up the file just incase) Open index.tpl Find: Code:
{if $categories}
<div class="box-categories">
{if $breadcrumb}
{else}
<div class="box-categories-caption">{$lang.categories}</div>
{/if}
{$categories}
<div class="box-categories-footer-right">
<div class="box-categories-footer-left">
<div class="box-categories-footer"></div>
</div>
</div>
</div>
{/if}
{if $category.description}
<div class="box">
{$category.description}
</div>
{/if}
Code:
{if $category.description}
<div class="box">
{$category.description}
</div>
{/if}
{if $categories}
<div class="box-categories">
{if $breadcrumb}
{else}
<div class="box-categories-caption">{$lang.categories}</div>
{/if}
{$categories}
<div class="box-categories-footer-right">
<div class="box-categories-footer-left">
<div class="box-categories-footer"></div>
</div>
</div>
</div>
{/if}
__________________
Please don't ask me about script questions or sales issues through "Private Messages". Thanks! |
|
|
|
|
|
|
#6 |
|
Join Date: Oct 2006
Posts: 6
![]() |
thanks a lot for this I was racking my brain trying to figure out how to do it.
![]()
__________________
General Directory and Search Engine |
|
|
|
|
|
#7 |
|
Join Date: Feb 2007
Posts: 63
![]() |
Im trying to do this with version 2.1 but for some reason I cant use HTML has anyone else had that problem? I just get one continuous paragraph of text!
|
|
|
|
|
|
#8 |
|
Join Date: Jul 2006
Location: St. Petersburg
Posts: 2,567
![]() |
Mumszone,
***Open templates/yourTemplate/index.tpl and find code*** Code:
{if $category.description}
<div class="box">{$category.description|escape:"html"}</div>
{/if}
Code:
{if $category.description}
<div class="box">{$category.description}</div>
{/if}
|
|
|
|
|
|
#9 |
|
Join Date: Feb 2007
Posts: 63
![]() |
Thanks Sergey sorted this for me yesterday and a few other problems.
|
|
|
|
|
|
#10 |
|
Join Date: Feb 2007
Posts: 79
![]() |
Hi Dave,
Would this cause any security issues, ie would it allow people to use html when suggesting a category or anything? |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|