Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Comments
  • Posted: 25.03.2005, 06:09
     
    Thox
    rank:
    Freshman Freshman
    registered:
     February 2005
    Status:
    offline
    last visit:
    30.08.05
    Posts:
    10
    Hi,

    I have been trying for a couple of hours now to provide a link from a news item on the home page to the comments. Basically, what I am trying to achieve is to have the home page news items have a button to "Post Comments", as I will not be having a News-article page for news stories. All News Items will be on the home page in full, now read more links or clicking on the title to go to a seperate page, etc.

    I have managed to get most of this done, I have a button in the bottom right of the news item, with "Post Comments" on it. However, when I click on the button it goes to the Comments Page, which is great, but there is no News Item Title, no news item content, no news posted by, no title in the subject field, etc.

    Below is the code I am using in the News-index.htm file to provide a link to the comments: -



    <form action="index.php" method="get">
    <input type="hidden" name="name" value="Comments" />
    <input type="hidden" name="pid" value="$pid" />
    <input type="hidden" name="sid" value="$sid" />
    <input type="hidden" name="req" value="Reply" />
    <input type="submit" value="Post Comments" /></form>



    How do I call the information from the News item to be displayed in the comments section?

    Please Help, getting frustrated with this problem.

    Link to site with the news items and comments in place can be found here

    www.thox-design.co.uk

    Thanks in advance

    Regards

    Thox

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula