eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > eSyndiCat Directory Software [FREE] > User interface > Existing Templates

Existing Templates Want to adjust logo or center some piece of text in your directory? Get advice on how to do it in this forum dedicated to pre-installed templates.

Reply
 
Thread Tools Display Modes
Old 04-16-2008   #1
sdawkins
 
sdawkins's Avatar
 
Join Date: Oct 2005
Posts: 601
sdawkins has disabled reputation
Send a message via AIM to sdawkins Send a message via Yahoo to sdawkins
Default

Quote:
Originally Posted by Michele View Post
Thought I would repost this with code that is working for me with 2.2.03.
Which file to add this too? Thanks for posting
__________________
Our Esyndicat Directories Directory Network
Rainbow Bridge
PHP Scripts
sdawkins is offline   Reply With Quote
Old 04-16-2008   #2
Greg
Super Moderator
 
Greg's Avatar
 
Join Date: Oct 2005
Location: (California)
Posts: 5,299
Greg is a jewel in the roughGreg is a jewel in the roughGreg is a jewel in the roughGreg is a jewel in the rough
Default

Quote:
Originally Posted by sdawkins View Post
Which file to add this too? Thanks for posting
Your template index.tpl file.

Code:
		<!-- listings box start -->
			<div class="listings">
			{if $config.mod_rewrite}{assign var="type" value=2}{else}{assign var="type" value=1}{/if}
			{navigation aTotal=$total_listings aTemplate=$url aItemsPerPage=$config.num_index_listings aListingsPerPage=5 aType=$type}
			<table cellspacing="0" cellpadding="0" width="100%">
			{foreach from=$listings item=listing}
				{include file="listing-display.tpl"}
			{/foreach}
__________________
Please don't ask me about script questions or sales issues through "Private Messages". Thanks!
Greg is offline   Reply With Quote
Old 06-24-2008   #3
Valona
 
Valona's Avatar
 
Join Date: Mar 2008
Location: Toronto
Posts: 197
Valona is on a distinguished road
Default

Quote:
Originally Posted by Michele View Post
Thought I would repost this with code that is working for me with 2.2.03.

Repeating the same code every 3 listing

replace:
{if $smarty.foreach.listings.iteration eq 5}

with:
{if ($smarty.foreach.listings.iteration eq 3) || ($smarty.foreach.listings.iteration eq 6)}

Hope it helps
Valona is offline   Reply With Quote
Old 01-27-2009   #4
littleblueroom
 
Join Date: Jan 2009
Posts: 11
littleblueroom is on a distinguished road
Default

Hi people,

I have tried this
Link: http://www.audiolinks.org/Audio-Tutorials/Monitoring/

but I'm only getting the links at the top of the page and not between the listings.
I aslo tried
if $smarty.foreach.listings.iteration eq 2 ||
$smarty.foreach.listings.iteration eq 5

etc.

but just get 2 blocks next to each other at the top of the listings.

I am using the version 2.2.06 pro

cheers

Richard
littleblueroom is offline   Reply With Quote
Old 01-29-2009   #5
Vladimir T.
 
Join Date: Nov 2007
Location: Earth
Posts: 973
Vladimir T. is on a distinguished road
Default

Hi littleblueroom,
Please look at this mod for 2.2.x here: http://www.esyndicat.com/forum/showthread.php?p=94874
Vladimir T. is offline   Reply With Quote
Old 01-29-2009   #6
littleblueroom
 
Join Date: Jan 2009
Posts: 11
littleblueroom is on a distinguished road
Default

thx, that worked a treat, richard
littleblueroom is offline   Reply With Quote
Old 10-03-2009   #7
marksentence
 
Join Date: Oct 2009
Posts: 1
marksentence is on a distinguished road
Default

adsense are all over really.

adsense template
free keywords tools
marksentence is offline   Reply With Quote
Old 05-04-2010   #8
truthonlytruth
 
truthonlytruth's Avatar
 
Join Date: Mar 2008
Posts: 307
truthonlytruth is on a distinguished road
Default

So I am on 2.3.03
Is this still working????

I use 5daysblack template
truthonlytruth is offline   Reply With Quote
Old 05-04-2010   #9
Michele
 
Join Date: Jun 2006
Posts: 274
Michele is on a distinguished road
Default

Hi Truth,

I'm working on upgrading to 2.3.03 and have not yet gotten to this customization. Will be doing it in the next few days and can let you know or you can jump in and give it a try. Just remember to move the modified copy of the template into the template folder and leave a clean original in the common folder. If anything goes too haywire you can just delete the modified copy and the software will automatically use the original one.

Michele
__________________
2 Great eSyndiCat Directories
Crafty Tips Arts & Crafts Directory & Pet Site Guides Pet Directory
Michele is offline   Reply With Quote
Old 05-04-2010   #10
wazza
 
wazza's Avatar
 
Join Date: Mar 2010
Location: Australia
Posts: 215
wazza is on a distinguished road
Default

{foreach from=$listings name=listing item=listing}
{include file="listing-display.tpl"}

{if $smarty.foreach.listing.iteration eq 3}
<tr><td>
PUT GOOGLE CODE HERE
</td></tr>
{/if}
{/foreach}


</table>

The above works
wazza is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 11:57 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Testimonials | Articles | Support | Documentation | Privacy Policy | License | Affiliates | Contact Us | SEO Resources