Hi,
How can I have in listing page different display and details for
premium and different for sponsored links ?
![]()
Hi,
How can I have in listing page different display and details for
premium and different for sponsored links ?
![]()
You can edit sponsored_rows.html and premium_rows.html to get a different look for them.
Hi,
I have already do that for row listing
I want to have and different listing in detail page I am try to have
different colors and and an <if> condition if is premium or sponsored to list
some field and the colors to be different.
Can also to display ONLY premium listings or sponsored as I do that from admin panel ?![]()
You can use
<% if $premium =='1'%> <- for premium only
<% if $sponsored =='1' %> <- for sponsored only
<% if $premium =='1' | $sponsored =='1' %> <- for sponsored AND premium
To display ONLY premium and/or sponsored listings you would remove the code for regular listings, but I dont suggest it as it really limites your directory size.
I am trying to have an image shown only if the listing is sponsored,
but when I use:
<% if $sponsored =='1' | $afbeelding2|file_exists%>
the image just shows as long as there is an afbeelding2 uploaded,
so it seems the | means "or" while I need it to be "and"
Does anybody know what symbol to use in the if statement to fix this?
Thx
weswa
Google is your best friend![]()
It would appear you would want to use "&&"
FSGDAG | IndexU Hosting | Owner
Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
Follow Us On Twitter | FaceBook Profile | YouTube Videos
Hi FSGDAG,
You are by far the most helpful and active member of this forum!
Thank you for that & cheers,
Wessel
You got the 'most active member' part right!But somehow I doubt I'm the most helpful
![]()
Glad it worked for ya![]()
FSGDAG | IndexU Hosting | Owner
Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
Follow Us On Twitter | FaceBook Profile | YouTube Videos