Difference between revisions of "How to output listing url in the theme files"
From JReviews Documentation
Line 1: | Line 1: | ||
− | Relative | + | Relative URL to the listing: |
<source lang="php"> | <source lang="php"> | ||
Line 6: | Line 6: | ||
− | Absolute | + | Absolute URL to the listing: |
<source lang="php"> | <source lang="php"> | ||
<?php echo $Html->sefLink("",$listing['Listing']['url'], array('return_url'=>true, 'abs_url'=>true));?> | <?php echo $Html->sefLink("",$listing['Listing']['url'], array('return_url'=>true, 'abs_url'=>true));?> | ||
</source> | </source> |
Latest revision as of 08:39, 8 June 2015
Relative URL to the listing:
<?php echo $Html->sefLink("",$listing['Listing']['url'], array('return_url'=>true));?>
Absolute URL to the listing:
<?php echo $Html->sefLink("",$listing['Listing']['url'], array('return_url'=>true, 'abs_url'=>true));?>