Results 1 to 6 of 6
  1. #1
    Junior Member jaspherissac's Avatar
    Joined
    Jul 2012
    Posts
    9
    Thanks
    Received:1
    Given: 1
    Version
    1.2.0

    Adding home page only link - Which file to edit?

    Hi,

    Just read about how to add home page only links through Home page link only

    However I am not aware what file to edit. I want this for my site Prmsp - Fullfill your socialbookmarking needs and I want to add links below Top Tag widget on side bar. Please let me know which file to edit.

    Thanks.

  2. #2
    Junior Member jaspherissac's Avatar
    Joined
    Jul 2012
    Posts
    9
    Thanks
    Received:1
    Given: 1
    Version
    1.2.0
    And if anyone could point out which section of the code, I have to add the below coding, it would be of great help. Thanks a lot.


    {if $pagename == 'index' && count($templatelite.get) == 0} Homepage Content {/if}

  3. #3
    Pligg Founder/Coder/Designer Yankidank's Avatar
    Joined
    Dec 2005
    Location
    San Francisco, CA
    Posts
    5,531
    Thanks
    Received:88
    Given: 14
    Site
    http://pligg.com/demo/
    Could you point out where on your homepage you want the content to display? Then I could make a recommendation as to what template file you should add it to.
    The Facebook Module for Pligg CMS!
    Register, Login, and Submit Stories with Facebook. An absolute MUST HAVE for all Pligg sites!

  4. #4
    Junior Member jaspherissac's Avatar
    Joined
    Jul 2012
    Posts
    9
    Thanks
    Received:1
    Given: 1
    Version
    1.2.0
    Yankidank, thanks once again for your prompt response.

    Please see my site -> Prmsp - Fullfill your socialbookmarking needs

    Here I would like to add html codes to display a banner on the right widget under the Upcoming News section (Of course after the 5 news links). I mean I wanted to create a section namely, sponsors and want to list a banner down there. Please help and let me know what files and where I have to edit.

    As always, I am highly thankful to you for your support.

  5. #5
    Junior Member jaspherissac's Avatar
    Joined
    Jul 2012
    Posts
    9
    Thanks
    Received:1
    Given: 1
    Version
    1.2.0
    Could someone please help me out on this?

  6. #6
    Pligg Founder/Coder/Designer Yankidank's Avatar
    Joined
    Dec 2005
    Location
    San Francisco, CA
    Posts
    5,531
    Thanks
    Received:88
    Given: 14
    Site
    http://pligg.com/demo/
    Have you tried inserting the ad code into the sidebar.tpl or sidebar2.tpl files?

    Make sure that you start any JavaScript with {literal} and end with {/litearl} tags
    The Facebook Module for Pligg CMS!
    Register, Login, and Submit Stories with Facebook. An absolute MUST HAVE for all Pligg sites!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg