This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Is it possible to split the comments and form?
#1

Hi All,

firstly thanks for the amazing script it really is fantastic Wink

i am curios to know if it is possible to split the comments and the form into two sections say have the form on the left and comments on the right so they are side by side and not underneath each other.

many thanks
Luke
Reply
#2

Hi,

Yes, it's possible. Someone asked the same question recently:
http://www.commentics.org/forum/showthread.php?tid=523

However, the solution (post #5) is for an older version of Commentics.

For Commentics v2.1, replace this:

PHP Code:
<?php 
if ($cmtx_settings->sort_order_parts == "1,2") {
require_once
$cmtx_path . "includes/template/comments.php"; //display comments
echo "<div class='cmtx_height_for_divider'></div>"; //display divider
require_once $cmtx_path . "includes/template/form.php"; //display form
} else {
require_once
$cmtx_path . "includes/template/form.php"; //display form
echo "<div class='cmtx_height_for_divider'></div>"; //display divider
require_once $cmtx_path . "includes/template/comments.php"; //display comments
}

With:

PHP Code:
<?php 
echo "<div style='float:left;width:40%;border-style:solid;border-width:1px;'>";
require_once
$cmtx_path . "includes/template/form.php"; //display form
echo "</div>";
echo
"<div style='float:left;width:59%;border-style:solid;border-width:1px;'>";
require_once
$cmtx_path . "includes/template/comments.php"; //display comments
echo "</div>";

Have you completed the interview?
Reply
#3

thanks mate i managed to figure it out, just playing around with the layout now to see what is possible Smile

thanks for your reply
Reply
#4

(17-Jul-2012, 08:49 PM)Steven Wrote:  Hi,

Yes, it's possible. Someone asked the same question recently:
http://www.commentics.org/forum/showthread.php?tid=523

However, the solution (post #5) is for an older version of Commentics.

For Commentics v2.1, replace this:


PHP Code:
<?php 
if ($cmtx_settings->sort_order_parts == "1,2") {
require_once
$cmtx_path . "includes/template/comments.php"; //display comments
echo "<div class='cmtx_height_for_divider'></div>"; //display divider
require_once $cmtx_path . "includes/template/form.php"; //display form
} else {
require_once
$cmtx_path . "includes/template/form.php"; //display form
echo "<div class='cmtx_height_for_divider'></div>"; //display divider
require_once $cmtx_path . "includes/template/comments.php"; //display comments
}

With:


PHP Code:
<?php 
echo "<div style='float:left;width:40%;border-style:solid;border-width:1px;'>";
require_once
$cmtx_path . "includes/template/form.php"; //display form
echo "</div>";
echo
"<div style='float:left;width:59%;border-style:solid;border-width:1px;'>";
require_once
$cmtx_path . "includes/template/comments.php"; //display comments
echo "</div>";


This option doesn't seem to be available in the latest version?
Is it still possible to have form and comments on different pages ?
Reply
#5

Hi,

This thread is about splitting the comments and the form to be side-by-side on the same page. I thinkĀ this thread is what you're looking for.

Have you completed the interview?
Reply
#6

That should do it, I did not find that thread.
thank you Steven.
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Tim
06-Jan-2021, 08:56 PM
Last Post by Tim
18-Oct-2019, 11:45 AM
Last Post by Gevill
23-Jul-2019, 01:17 AM
Last Post by Steven
16-Feb-2018, 09:15 AM
Last Post by Wendon
20-Nov-2017, 03:36 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)