Display links to details page of last 5 approved submissions. 

Article Details

Web Directory

Search



Sponsors

Quality PR5 Web Directory
Strong web directory offering deep links with every submission.
PR5 Webmaster Directory
Quality well-promoted webmaster directory offers deep linking options.
Contact Lenses
Buy from Australia's leading Contact Lenses Distributor - OPSM Direct
Contact lenses buy online
Buy contact lens in Australia from the specialists - Webcontacts.
Submit your link here
If you would like to see your link here click the link below

SEO Links

Last 5 Approvals

Date Added: August 31, 2007 10:24:40 AM

Display links to details page of last 5 approved submissions.

With this mod you can have the last 5 submissions displayed on the homepage.

The mod at after5webdesign.com/pldmods.html allows you to have the last 5 links displayed with a direct link to the site, site description and a link to the category of the link.


The difference with this mod is that only a single link is displayed along with the title.

Rather than a direct link to the page of the listing. Each link goes to the details page of that listing.

This benefit of this is that each new listing will get a boost to the exposure of its details page, rather than the old way which will cause pr to drain from your home page.

If the listing has additional deep links this is another great reason to link to the details page.
 
Open init.php before the closing ?> enter this code:

$last5 = array();
$last5 = $db->GetAll("SELECT * FROM `{$tables['link']['name']}` WHERE `STATUS` = '2' ORDER BY `ID` DESC LIMIT 0,5");
$last5=addCategPathToLinks($last5);
$tpl->assign('last_5',$last5);
 
Open the .tpl file which you intend to display the last 5 links in and enter this code:
 
If you have installed rakCha's seo friendly details page mod use this code instead:
{section name=last_link loop=$last_5}
<div>
<a href="{$smarty.const.DOC_ROOT}/{$last_5[last_link].CATEGORY_URL}
{$last_5[last_link].TITLE|replace:' ':'-'}--{$last_5[last_link].ID}.html" title="{l}Read more about{/l}: {$last_5[last_link].TITLE}">{$last_5[last_link].TITLE}</a>
</div>
{/section}
 
If you have any questions or need any help you can contact me using the contact form.
You can see a demo of this mod in the left bar of this site. :)


Popular Categories

Partners

Random Featured Links