Jump to content

Comments going to wrong page


Brett
 Share

Recommended Posts

Hello!

I am trying to get multiple comment submission forms onto the same page using the standard renderForm().

<?php
// Begin the project loop
$projects = $pages->find("template=project-page, sort=-modified");
foreach ($projects as $project) {
?>
// A WHOLE bunch of code, but basically has this as well:
<?php echo $project->comments->renderForm(); ?>
<?php
// End the project loop
}
?>

The problem is that the first page that the array returns is always the one that gets the updated comment no matter what you actually comment on.

I have tried to copy+paste the HTML code specifically for each of the comment forms on each of the items, but that has not worked either.  Any insight would be greatly appreciated!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...