GoodPRLinks Review

Review on SEO and web evelpment tools and resources.

Link Detail Mod for PHPLD v2.0

May 24th, 2007 by Pankaj

I have made some modification in my previous LinkDetail mod for PHPLD v2.0. Now you can install it very easily.

Download updated version of Link Detail Mod for PHPLD v2.0

Here is instruction how to install it.

1. Copy link-detail.php to main folder
============================
2. copy link-detail.tpl to templates folder
============================
3. Open link.tpl add following line after {$link.DESCRIPTION}

- <a xhref="{$smarty.const.DOC_ROOT}/details/link-{$link.ID}">Read More</a>

==========================
4. Open .htaccess file

i) Add following line at top of the .htaccess file:

Options +FollowSymLinks

ii) After the line ‘RewriteEngine On’ add following line

RewriteRule ^details/link-([^/]+)/?$ link-detail.php?lid=$1 [QSA,L]

Now your .htaccess files first 3 lines should like this:

Options +FollowSymLinks
RewriteEngine On
RewriteRule ^details/link-([^/]+)/?$ link-detail.php?lid=$1 [QSA,L]
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • StumbleUpon
  • Technorati
  • Furl
  • DZone
  • BlinkList
  • Netscape
Posted in PHPLD Mod, Directory |

22 Responses

  1. M. Says:

    Hi,
    just added a category tree to your mod, do check it out at http://www.dir.vc/

    hope you’ll add it to your mod, (and note credit to me :P)

    Regards
    M.

  2. Pankaj Says:

    Thanks M.

    That is very useful improvment. I’ll update the mod very soon.

  3. ketan Says:

    Hi. Is there any mod where the link URL has Title in it.

    Also how to edit title of link-detail.php . Presently it gives default directory header title which is not correct,

  4. MalkEvange Says:

    Interesting article!
    Where can I find more on this theme?

  5. MyWebSearches.com » Blog Archive » Mywebsearches.com Complete List of Phpld Mods Says:

    […] Link Detail Mod for PHPLD v2.0 (goodprlinks.com): To add detail pages for each […]

  6. Jenny Pretty Says:

    It is a great mod. I used it for my directory. But when I added a .html right at the end of
    RewriteRule ^details/link-([^/]+)/.html?$ link-detail.php?lid=$1 [QSA,L]

    and
    Read More

    Then, it didn’t work.
    So I removed it.
    Anyway, thanks.

    Jenny.

  7. TrDizin Blog » Blog Archive » Phpld ( Php Link Directory ) Site Detay Sayfas? Says:

    […] /linkdetail/incelenen-site-ismi-id.html ?eklinde düzenleyece?iz. Öncelikle eklentinin sahibi; Googprlinks Eklenti indirme sayfas? Mod indir - Linkte Sorun Ya?arsan?z phpld link detail mod burdan […]

  8. me Says:

    Sorry i’m a n00b.
    Will this work for phpld 2.1.3?

  9. micheal Says:

    Many thanks to Pankaj for the great work and sharing of this mod!! My costumized phpld is gonna be so sweet when it’s done. but I still got a lot of work to do. cheers!

  10. Bidding Directory Says:

    Thanks for this mod. and all the others i am using them on many of my directories. thanks

  11. ahmershuja Says:

    I did all of those
    created detail folder
    updated .htaccess file
    upload bohat detail file .php and .tpl
    updated link.tpl

    but still when i click on detail link the page didn’t show and link goes to the front page…

    any solutions now…

    thanks in advance…
    dir.uuStuff.com

  12. TK Says:

    Works well.

  13. uuStuff.com Says:

    I add this mod to my phpLD v-2.1.3 directory, and now finally its working fine, but the problem is the detail page is not displaying the title page, do you have any suggestion how to fix that.

    also I want to change the link with the title page like link-343.html instead of detail/computer_sotre-34.html

    any help will be thankful..
    thanks

  14. Jatupong Says:

    Your mod is work fine for me.
    My site : http://www.maithai-exports.com/directory/

  15. Complete List of Phpld Mods Says:

    […] Link Detail Mod for PHPLD v2.0 (YIAM): To add detail pages for each […]

  16. Aycan.net | Ben giderim ad?m kal?r dostlar beni hat?rlas?n » Phpdl’de Site detay eklemek Says:

    […] ama hep yanl?? anlat?lm?? o yüzden düzenliyerek anlat?yorum Öncelikle eklentinin sahibi; Googprlinks Dosyalar? buradan indiriniz ?imdi genelim biz ne yapaca??z. Resimde görüldü?ü gibi […]

  17. Part 3: Phpld Mod Index Says:

    […] Link Detail Mod for PHPLD v2.0 (YIAM): To add detail pages for each […]

  18. john Says:

    Hi,

    I followed all your instructions. However, it didn’t work. Please check http://18h.info/details/link-9

    It would be great if you help me to solve this problem.

    thank you

  19. Movie Directory Says:

    Hi, my template default link.tpl ’s code is:

    {strip}

    {* show page rank *}
    {if $smarty.const.SHOW_PAGERANK}

    {include file=”pagerank.tpl” pr=$link.PAGERANK}

    {/if}


    {$link.TITLE|escape|trim}
    - {$link.URL|escape|trim}

    {$link.DESCRIPTION|escape|trim}

    {/strip}

    please tell me where to add the code “- Read More” THANKS..
    my site is :http://www.enturl.com/Movie_and_Film_Directory/

  20. Pankaj Says:

    {$link.DESCRIPTION|escape|trim}
    <a href="{$smarty.const.DOC_ROOT}/details/link-{$link.ID}" rel="nofollow">Read More</a>

  21. Mick Says:

    Hello, thanks for great mod :) Just one question, how to add to template file also link to correct category and correctly displayed date. Thanks for help.

  22. SEO URL's ? Says:

    Is it possible to have SEO friendly detail pages with version 2.2 ?

    Like this:

    detail/linktitle-link ID.html

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.