Author Topic: new free template  (Read 36182 times)

0 Members and 1 Guest are viewing this topic.

Offline kishoreonwork

Re: new free template
« Reply #130 on: 11. March 2011, 10:04:49 »
Remove below code from sobi2.vc.tmpl.php file
Code: [Select]
<ul>

            <li class="first_li"> <!--<a href="#" >Email</a> -->
  <?php echo sobiHTML::emailCloaking($fieldsObjects['field_email']->data,1,"Email",0);?>

</li>
    <?php
if($fieldsObjects["field_website"]->data){
 echo  
'<li><a href="'.$fieldsObjects["field_website"]->data.'" >Visit Website</a></li>' ;
 }
 
?>
   
            <?php
  
   $link sobi2Config::sef("index.php?option=com_sobi2&sobi2Task=tellFriend_listing&sid={$id}&Itemid={$config->sobi2Itemid}");
?>
      <li> <a href="<?php echo $link?>" >Tell a Friend</a></li>
<?php 

$link sobi2Config::sef("index.php?option=com_sobi2&sobi2Task=report_listing&sid={$id}&Itemid={$config->sobi2Itemid}");
?>
      <li class="last_li"><a href="<?php echo $link?>" >Report Listing</a></li>
   </ul>

Thanks
Kishore
Follow me on twitter  http://twitter.com/kishore_gcr
Country: India India |  OS: Windows XP Windows XP |  Browser: Firefox 3.6.15 Firefox 3.6.15 | View Profile gcrinfotech.com

Offline easterns

  • Sobi Newbie
  • *
  • Posts: 4
Re: new free template
« Reply #131 on: 13. March 2011, 00:14:36 »
Hello kishoreonwork:

Can you tell me how to get the map to show up? 

Thanks for all the work.
Country: United States United States |  OS: Windows XP Windows XP |  Browser: Firefox 3.6.13 Firefox 3.6.13 | View Profile

Offline cdwc

  • Sobi Newbie
  • *
  • Posts: 2
Re: new free template
« Reply #132 on: 13. March 2011, 04:13:44 »
Thanks a lot Kishore for your help.
So if i just want to keep the 'Visit Website' link, do i leave the following?:
------------------------------------------------------------------------------------------
 </li>
             <?php
if($fieldsObjects["field_website"]->data){
 echo  '<li><a href="'.$fieldsObjects["field_website"]->data.'" >Visit Website</a></li>' ;
 }
 ?>   
---------------------------------------------------------------------------------------------------------------
Country: Ireland Ireland |  OS: Windows XP Windows XP |  Browser: Firefox 3.6.15 Firefox 3.6.15 | View Profile

Offline kishoreonwork

Re: new free template
« Reply #133 on: 13. March 2011, 18:31:40 »
I believe yes
Thanks a lot Kishore for your help.
So if i just want to keep the 'Visit Website' link, do i leave the following?:
------------------------------------------------------------------------------------------
 </li>
             <?php
if($fieldsObjects["field_website"]->data){
 echo  '<li><a href="'.$fieldsObjects["field_website"]->data.'" >Visit Website</a></li>' ;
 }
 ?>   
---------------------------------------------------------------------------------------------------------------
Follow me on twitter  http://twitter.com/kishore_gcr
Country: India India |  OS: Windows XP Windows XP |  Browser: Firefox 3.6.15 Firefox 3.6.15 | View Profile gcrinfotech.com

Tags: