Article MOD (Add unique content to your pages)

Discussion in 'Directories' started by Freewebspace, Aug 16, 2007.

  1. #1
    Here is the new Article MOD for PHPLD 3.2

    By this you can write article by yourself and you can add some unique content to each of your categories and pages

    STEPS TO INSTALL

    a)back up your files index.php and articlelink.tpl

    b)In the file// index.php

    FIND THIS LINE:
    REPLACE WITH THESE LINES:
    d)Then open articlelink.tpl of the current template (in the folder /templates/templatename/ e.g templates/default/)


    FIND THIS LINE

    REPLACE WITH THESE LINES

    examples:

    http://www.hillpanthers.com/Computers_and_Internet/Internet/

    http://www.hillpanthers.com/Business/Accounting/Expert_Witnesses/

    http://www.submit-url.info/Arts___Humanities/

    http://www.submit-url.info/Arts___Humanities/visual_arts/

    The difference is it will display the original(full text of the article) on the page itself rather than description

    http://www.hillpanthers.com/articles/article-1.html
     
    Freewebspace, Aug 16, 2007 IP
  2. jl255

    jl255 Well-Known Member

    Messages:
    2,762
    Likes Received:
    211
    Best Answers:
    0
    Trophy Points:
    185
    #2
    Very nice. Think I will include this in the Comprehensive List of Mods ;)

    do you have a particular page where this mod is posted to link to?
     
    jl255, Aug 16, 2007 IP
  3. Dubz

    Dubz Peon

    Messages:
    1,859
    Likes Received:
    156
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Quite cool :D.

    Thanks for sharing I have someone looking for this!
     
    Dubz, Aug 16, 2007 IP
  4. pipes

    pipes Prominent Member

    Messages:
    12,766
    Likes Received:
    958
    Best Answers:
    0
    Trophy Points:
    360
    #4
    Excellent Freewebspace, thanks very much for sharing it, very useful.
     
    pipes, Aug 16, 2007 IP
  5. Razvan

    Razvan Well-Known Member

    Messages:
    712
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    160
    #5
    Thanks for posting this! Now I need articles.. :D


    ~ Razvan
     
    Razvan, Aug 16, 2007 IP
  6. jg123

    jg123 Notable Member

    Messages:
    6,006
    Likes Received:
    387
    Best Answers:
    0
    Trophy Points:
    295
    #6
    I thought version 3.2 included articles and doesn't it place a preview (intro) to the articles on the category page chosen?
     
    jg123, Aug 16, 2007 IP
  7. ! Ask !

    ! Ask ! Peon

    Messages:
    3,282
    Likes Received:
    260
    Best Answers:
    0
    Trophy Points:
    0
    #7
    ! Ask !, Aug 16, 2007 IP
  8. Best Domain

    Best Domain Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    dear, would you please tell me how to do with free version?
     
    Best Domain, Aug 16, 2007 IP
  9. mywebsearches

    mywebsearches Peon

    Messages:
    764
    Likes Received:
    116
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Thanks for the mod, I will certainly make use of it.
     
    mywebsearches, Aug 16, 2007 IP
  10. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #10
    Freewebspace, Aug 16, 2007 IP
  11. ! Ask !

    ! Ask ! Peon

    Messages:
    3,282
    Likes Received:
    260
    Best Answers:
    0
    Trophy Points:
    0
    #11
    ! Ask !, Aug 16, 2007 IP
  12. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #12
    Yes,it is only for categories First let me clear you

    In PHPLD3.2 only title and descriptiion of the articles are displayed
    by this mod you can display the entire article in the page itself


    In detail pages ,the entire article is displayed so they do n't need a modification.
     
    Freewebspace, Aug 16, 2007 IP
  13. jg123

    jg123 Notable Member

    Messages:
    6,006
    Likes Received:
    387
    Best Answers:
    0
    Trophy Points:
    295
    #13
    Ah the entire article...now I understand. But what happens if you have multiple articles per category? Do they all have to be displayed in full or can you control the number?

    thanks
     
    jg123, Aug 17, 2007 IP
  14. malcolm1

    malcolm1 Prominent Member

    Messages:
    7,148
    Likes Received:
    758
    Best Answers:
    0
    Trophy Points:
    310
    #14
    aha ... thx for this as im upgrading stock and will have one off the guys
    look to see if it can added threwout...

    many thx
    malcolm
     
    malcolm1, Aug 17, 2007 IP
  15. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #15
    you can control the number

    if you want to have multiple articles

    just replace 0,1 with 0,3

    So 3 articles will be displayed!
     
    Freewebspace, Aug 17, 2007 IP
  16. malcolm1

    malcolm1 Prominent Member

    Messages:
    7,148
    Likes Received:
    758
    Best Answers:
    0
    Trophy Points:
    310
    #16
    Hello...

    I was wondering if its possible to add article to other versions of Phpld?
    or is thier only for 3.2?

    Reason i ask is i dont want to get rid of my 3.06 and wondering if a compatible mod is available?

    thx
    malcolm
     
    malcolm1, Aug 17, 2007 IP
  17. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #17
    Yes it's possible ,but we need to copy the javascripts from PHPLD 3.2 to PHPLD3.0
    and then all the files related to the articles
     
    Freewebspace, Aug 17, 2007 IP
  18. designerz

    designerz Banned

    Messages:
    669
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #18
    Is it possible to use this software even if I dont ave webspace or website of my own...Can someone explain me?:(
     
    designerz, Aug 17, 2007 IP