Hi,
Can I use different layouts? For example,
sponsored listing -> layout 1
basic listing -> layout 2
Hi,
Can I use different layouts? For example,
sponsored listing -> layout 1
basic listing -> layout 2
Yes
Edit the appropriate files. For sponsored listings edit sponsored_rows.html, for premium listings edit premium_rows.html
for detail page?
What about the detail page?
Edit the two files mentioned above and also browse.html where indicated for sponsored and premium.
I want to use different layouts for detail page.
Example; http://dizin.acenteonline.com/detay/...danismani.html
Layout and content can be different for listing type?
Modify the files above as I stated.
editing those files wont do anything for the detail page...
load up detail_link.html
use <% if $sponsored %>
sponsored layout element
<%else%>
normal layout
<%/if%>
you can that multiple times to display different bits, or jsut put hte whole layout code in the first bit, and duplicate it in the second... thats the basics, make it up as you want to use it.
Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )
thanks inspiremeThat's ok. So premium listing?
<% if $sponsored %>
sponsored layout element
<% if $premium %>
premium layout element
<%else%>
normal layout
<%/if%>
I think it's not correct?
Edit: It's ok now.
<% if $sponsored %>
sponsored layout element
<% elseif $premium %>
premium layout element
<%else%>
normal layout
<%/if%>
If sponsored and premium have the same element you can use
<%if $sponsored==1 | $premium==1%>
do this
<%/if%>
Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )