| Author |
Message |
Heya Im Me
Joined: 01 Feb 2006 Posts: 189
|
|
Placement of Comment Form / Comments |
|
Heya,
I was wondering, how can I put the comment form and comments in a specific spot and not right below the news post?
I need it to appear in a specific spot on my template so is there a type of include I could put?
Thanks as always for help
-HIM
|
|
| Thu Mar 15, 2007 2:58 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
Saszoo

Joined: 07 Jun 2006 Posts: 410 Location: Norway |
|
|
|
If you mean like just changing the order of how the different parts are included, take a look at inc/show.inc.php and change the order of how the parts are included:)
_________________ My cute.ru site |
|
| Thu Mar 15, 2007 3:13 pm |
|
 |
Heya Im Me
Joined: 01 Feb 2006 Posts: 189
|
|
|
|
Well, I need the form and comments to appear in a specific spot on the page.
Say my post is on the left side of my page and takes up half the space, I want the comment form to appear on the right side of it and the comments to appear below the form.
Is this possible going into show.inc.php?
-HIM
|
|
| Thu Mar 15, 2007 3:19 pm |
|
 |
Saszoo

Joined: 07 Jun 2006 Posts: 410 Location: Norway |
|
|
|
No, I don't think so.
Unless FI-DD have some genious idea, I'd say this has to be acomplished through extensive CSS. Take a look on floating to make them side by side as you want to.
_________________ My cute.ru site |
|
| Thu Mar 15, 2007 5:15 pm |
|
 |
Heya Im Me
Joined: 01 Feb 2006 Posts: 189
|
|
|
|
Doh.
Well, what about making the Comment Form always above the comments and not make it go below the last one? Can I do this in show.inc.php?
|
|
| Thu Mar 15, 2007 5:38 pm |
|
 |
Saszoo

Joined: 07 Jun 2006 Posts: 410 Location: Norway |
|
|
|
Yes, as I said you change the order of inclusion in show.inc.php.
Like this to have the comment form sho first:
 |  | if ($allow_comments and $allow_comment_form){
include $cutepath.'/inc/show.commentform.php';
}
if ($allow_comments){
include $cutepath.'/inc/show.comments.php';
} |
_________________ My cute.ru site |
|
| Thu Mar 15, 2007 6:50 pm |
|
 |
Heya Im Me
Joined: 01 Feb 2006 Posts: 189
|
|
|
|
Sorry for being such a hassle I don't get to work on my site or see the scripting until late afternoon/night so I post here what I couldn't figure out the day before in hopes of having a solution when I get back.
Thanks, saszoo I apppreciate the help
HIM
|
|
| Thu Mar 15, 2007 6:59 pm |
|
 |
Heya Im Me
Joined: 01 Feb 2006 Posts: 189
|
|
|
|
Hey saszoo,
What if I did an include like this on my php page:
 |  | <?php include $cutepath.'/inc/show.commentform.php';?> |
 |  | <?php include $cutepath.'/inc/show.comments.php';?> |
Would that work if the page being loaded is only displaying the full story version of a specific article? If so...I think my problem would be solved...
-HIM
|
|
| Thu Mar 15, 2007 7:02 pm |
|
 |
Saszoo

Joined: 07 Jun 2006 Posts: 410 Location: Norway |
|
|
|
Glad I can help
For your last question, I'm not sure, never tested...
_________________ My cute.ru site |
|
| Thu Mar 15, 2007 7:27 pm |
|
 |
Heya Im Me
Joined: 01 Feb 2006 Posts: 189
|
|
|
|
Nope, my suggestion didn't work
Guess I'll see what I can do through CSS; I'll post if anything good comes out of it.
-HIM
|
|
| Thu Mar 15, 2007 9:45 pm |
|
 |
|