Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Placement of Comment Form / Comments

 
Reply to topic    Forum Index » Help View previous topic
View next topic
Placement of Comment Form / Comments
Author Message
Heya Im Me



Joined: 01 Feb 2006
Posts: 189

Post Placement of Comment Form / Comments Reply with quote
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 Smile



-HIM
Thu Mar 15, 2007 2:58 pm View user's profile Send private message
Guest








Please login to hide the ads.

Saszoo



Joined: 07 Jun 2006
Posts: 410
Location: Norway

Post Reply with quote
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 View user's profile Send private message Visit poster's website
Heya Im Me



Joined: 01 Feb 2006
Posts: 189

Post Reply with quote
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 View user's profile Send private message
Saszoo



Joined: 07 Jun 2006
Posts: 410
Location: Norway

Post Reply with quote
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 View user's profile Send private message Visit poster's website
Heya Im Me



Joined: 01 Feb 2006
Posts: 189

Post Reply with quote
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 View user's profile Send private message
Saszoo



Joined: 07 Jun 2006
Posts: 410
Location: Norway

Post Reply with quote
Yes, as I said you change the order of inclusion in show.inc.php.

Like this to have the comment form sho first:

Code:
   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 View user's profile Send private message Visit poster's website
Heya Im Me



Joined: 01 Feb 2006
Posts: 189

Post Reply with quote
Sorry for being such a hassle Embarassed 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 Very Happy



HIM
Thu Mar 15, 2007 6:59 pm View user's profile Send private message
Heya Im Me



Joined: 01 Feb 2006
Posts: 189

Post Reply with quote
Hey saszoo,



What if I did an include like this on my php page:



Code:
<?php include $cutepath.'/inc/show.commentform.php';?>


Code:
<?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 View user's profile Send private message
Saszoo



Joined: 07 Jun 2006
Posts: 410
Location: Norway

Post Reply with quote
Glad I can help Very Happy

For your last question, I'm not sure, never tested...

_________________
My cute.ru site
Thu Mar 15, 2007 7:27 pm View user's profile Send private message Visit poster's website
Heya Im Me



Joined: 01 Feb 2006
Posts: 189

Post Reply with quote
Nope, my suggestion didn't work Sad



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 View user's profile Send private message
Display posts from previous:    
Reply to topic    Forum Index » Help All times are GMT + 1 Hour
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.