In this step, we will display the keyword rich description in the details page.

1. in detail.tpl
FIND: around line 36

<tr>
<td class="label">{l}Description{/l}:</td>
</tr>
<td class="smallDesc" align="left">{$DESCRIPTION|escape|trim}</td>

AFTER it, ADD

<tr>
<td  class="label"><strong>Additional Information:</strong></td>
<td class="smallDesc" align="left">
{if $DESCRIPTION1}{$DESCRIPTION1}&nbsp;
{/if}

{if  $TITLE1 && $TITLE1 neq 'http://'}
<a href="{$URL1}" target="_blank" class="title">{$TITLE1}</a>&nbsp; 
{/if}

{ if $DESCRIPTION2}
{$DESCRIPTION2}&nbsp;
{/if}

{if $TITLE2 && $TITLE2 neq 'http://'}
<a href="{$URL2}" target="_blank" class="title">{$TITLE2}</a>&nbsp;  
{/if}

{ if $DESCRIPTION3}
{$DESCRIPTION3}&nbsp;
{/if} 

{ if $TITLE3 && $TITLE3 neq 'http://'}
<a href="{$URL3}" target="_blank" class="title">{$TITLE3}</a>&nbsp;
{/if}

{ if $DESCRIPTION4}&nbsp;
{$DESCRIPTION4}.
{/if}  

</td>
</tr>

2. in /detail.php
FIND:

$data['META_DESCRIPTION'] = $rdata['META_DESCRIPTION'];

BELOW it, ADD:

$data['TITLE1']    = $rdata['TITLE1']; 
$data['URL1']    = $rdata['URL1']; 
$data['TITLE2']    = $rdata['TITLE2']; 
$data['URL2']    = $rdata['URL2']; 
$data['TITLE3']    = $rdata['TITLE3']; 
$data['URL3']    = $rdata['URL3']; 
$data['DESCRIPTION1']    = $rdata['DESCRIPTION1']; 
$data['DESCRIPTION2']    = $rdata['DESCRIPTION2']; 
$data['DESCRIPTION3']    = $rdata['DESCRIPTION3']; 
$data['DESCRIPTION4']    = $rdata['DESCRIPTION4'];

By Step 3, your directory is set to accept contextual deep links and display them in a keyword rich paragraph in the details page. The last step, we will modify the admin template files to allow preview/editing of the contextual deep links from the admin panel.

If you liked this MOD, and want to show your appreciation, you can link back to
rakCha : http://www.rakcha.com
or
enQuira : http://www.enquira.com