Starquest321
asked on
Exception Listing
I need to modify the following code so that when it adds a new entry it will check for the following logic ...
If listing_catagory=portal then DO NOT display the price AND change the link to /site_detailbus.php?listin g=xxx
I have posted the code below and attached the original file. .
If listing_catagory=portal then DO NOT display the price AND change the link to /site_detailbus.php?listin
I have posted the code below and attached the original file. .
<td align="right" valign="top">
<div style="display: block;" class="slidingTabPanelWrapper">
<ul class="slidingTabPanel">
<li><a href="#" id="widgets" class="tabActive" title="Widgets">¿¿¿¿¿ ¿¿¿¿¿</a></li>
<li><a href="#" id="nutshell" class="tab" title="Spry in a Nutshell">¿¿¿ ¿¿</a></li>
</ul>
</div>
<div style="overflow: hidden;" tabindex="0" class="SlidingPanels" id="slidingPanel">
<div style="left: 0px; top: 0px;" class="SlidingPanelsContentGroup">
<div id="widgetsPanel" class="p2 SlidingPanelsContent"><div class="bTop"><img src="images/c1.jpg" alt="" align="left" /><img src="images/c2.jpg" alt="" align="right" /></div>
<div class="boxContent">
<h2 dir="rtl">¿¿¿ ¿¿¿ ¿¿¿¿¿¿: 072-241-8888</h2>
<div style="height:100%;">
{section name=var loop=$rlisting_id}
<p dir="rtl"><A href='{$rlisting_url[var]}'><strong>{$rlisting_title[var]}</strong><br/>{$rlisting_price[var]} ¿"¿</A></p>
<!-- <p>Check out the <a href="#">Spry Widget samples</a> </p> -->
{/section}
</div>
</div>
<div class="bBot"><img src="images/c3.jpg" alt="" align="left" /><img src="images/c4.jpg" alt="" align="right" /></div>
</div>
i think you are using smarty right?
ASKER
CORRECT :) HOW DID YOU KNOW?
and one more thing
in below section of code you want to check for listing category and based on that you need to display HTML? Please confirm,
{section name=var loop=$rlisting_id}
<p dir="rtl"><A href='{$rlisting_url[var]} '><strong> {$rlisting _title[var ]}</strong ><br/>{$rl isting_pri ce[var]} ¿"¿</A></p>
<!-- <p>Check out the <a href="#">Spry Widget samples</a> </p> -->
{/section}
in below section of code you want to check for listing category and based on that you need to display HTML? Please confirm,
{section name=var loop=$rlisting_id}
<p dir="rtl"><A href='{$rlisting_url[var]}
<!-- <p>Check out the <a href="#">Spry Widget samples</a> </p> -->
{/section}
ASKER
Correct. . .
Step 1. . check for listing catagory
Step 2 .. if =portal then
Step 3 . . Drop the listing price and display added in the portal section
Step 1. . check for listing catagory
Step 2 .. if =portal then
Step 3 . . Drop the listing price and display added in the portal section
ASKER
Do you need the back end php for that page?
yes please
ASKER
ASKER
Please please help . . .
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.