Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Template design and Front-End Code

Post Reply
 
Thread Tools
  #1  
Old 10-30-2005, 08:16 PM
empiryk's Avatar
empiryk Offline
forum loafer
 
Join Date: Sep 2005
Location: Poland/Cracow
Posts: 15
comments content not in pop-up - how?

I'de like to show comments content not in pop-up window, but directly in page under given image.
Yes, I know my question is lame ... but any tips/link will be appreciated.
Thx in advance.
__________________
[ I apologize for my poor english ]
(head)log http://born66.net
Reply With Quote
  #2  
Old 10-30-2005, 09:03 PM
empiryk's Avatar
empiryk Offline
forum loafer
 
Join Date: Sep 2005
Location: Poland/Cracow
Posts: 15
I already know the answer. I apologise for my stupid question.
__________________
[ I apologize for my poor english ]
(head)log http://born66.net
Reply With Quote
  #3  
Old 11-05-2005, 09:46 AM
Trae Offline
forum loafer
 
Join Date: Nov 2005
Posts: 1
Perhaps you could share with me then?
Reply With Quote
  #4  
Old 11-05-2005, 12:49 PM
empiryk's Avatar
empiryk Offline
forum loafer
 
Join Date: Sep 2005
Location: Poland/Cracow
Posts: 15
Quote:
Originally Posted by Trae
Perhaps you could share with me then?
Faq ... just faq.
Here:
http://www.pixelpost.org/faq/faq.php...tegory_id=3#11
Tag <IMAGE_COMMENTS>
__________________
[ I apologize for my poor english ]
(head)log http://born66.net
Reply With Quote
  #5  
Old 11-08-2005, 01:42 AM
wr7259 Offline
forum loafer
 
Join Date: Oct 2005
Location: TOKYO JAPAN
Posts: 4
>I'de like to show comments content not in pop-up window

so do i!
and a still have not found the answer.

<IMAGE_COMMENTS> shows all commnet, right?
but i do not know how to replace it.
replace <COMMENT_POPUP>?
Reply With Quote
  #6  
Old 11-08-2005, 05:15 AM
Connie
Guest
 
Posts: n/a
please! Compare some of the templates which come with PixelPost!

In one of the templates the popup is used, and in the light-template you see the following:

Code:
<div id="comments">
<a href='#addcomment' onclick="flip('add-comment'); gotocomments(); return false;">Add Comment</a>
<IMAGE_COMMENTS>
</div>
<div id="add-comment">
 <script type='text/javascript'>
 <!--
 function gotocomments()
 {
	document.location = '#addcomment';
 }
 -->
 </script>
<script language='javascript' type='text/javascript'>flip('add-comment');</script>
<form method='post' action='index.php?x=save_comment' name='commentform' accept-charset='UTF-8'>
<a name="addcomment">Message:</a><br />
<textarea name='message' rows='2' cols='40'></textarea><br />
<label for="name">Name:</label><br />
<input type='text' name='name' class='input' value='<VINFO_NAME>' id="name"/><br />
<label for="url">Website URL, if any:</label><br />
<input type='text' name='url' class='input' value='<VINFO_URL>' id="url"/><br />
<label for="email">Email (not visible to others):</label><br />
<input class='input' type='text' name='email' value='<VINFO_EMAIL>' id="email"/><br />
<input type='checkbox' value='set' name='vcookie' id="saveinfo" />Save User Info<br /><br />
&nbsp;&nbsp;<input type='submit' value='Add' />
<input type='hidden' name='parent_name' value='<IMAGE_NAME>' />
<input type='hidden' name='parent_id' value='<IMAGE_ID>' />
<input type='hidden' name='parent_name' value='<IMAGE_NAME>' />
</form>
</div>
<IMAGE_COMMENTS> + <form..> do it without popup
Reply With Quote
  #7  
Old 11-08-2005, 07:00 AM
wr7259 Offline
forum loafer
 
Join Date: Oct 2005
Location: TOKYO JAPAN
Posts: 4
thank you Connie !
i tryed this code that you showed.

but i want to make like this ,
All comment are not visible at first, and if it clicks, a comment will appear.
i checked some of the templates but, i culdn't find out!
sorry, about this question...
Reply With Quote
  #8  
Old 11-08-2005, 07:04 AM
empiryk's Avatar
empiryk Offline
forum loafer
 
Join Date: Sep 2005
Location: Poland/Cracow
Posts: 15
Quote:
Originally Posted by wr7259
>I'de like to show comments content not in pop-up window

so do i!
and a still have not found the answer.

<IMAGE_COMMENTS> shows all commnet, right?
but i do not know how to replace it.
replace <COMMENT_POPUP>?
No, don't have to replace. I put <IMAGE_COMMENTS> tag in /simple/image_template.html. Example:
------------
<div id="image-info">
<span class="addcomment">+ <COMMENT_POPUP> [<IMAGE_COMMENTS_NUMBER>]</span>
<IMAGE_COMMENTS>
<span class="title"><IMAGE_TITLE></span> - <IMAGE_DATETIME>
------------
__________________
[ I apologize for my poor english ]
(head)log http://born66.net
Reply With Quote
  #9  
Old 11-09-2005, 03:18 AM
wr7259 Offline
forum loafer
 
Join Date: Oct 2005
Location: TOKYO JAPAN
Posts: 4
thank you empiryk!
i did put the code , it's OK!
but i still wanted to hide all comment at first...
Reply With Quote
  #10  
Old 11-09-2005, 07:25 AM
empiryk's Avatar
empiryk Offline
forum loafer
 
Join Date: Sep 2005
Location: Poland/Cracow
Posts: 15
Quote:
Originally Posted by wr7259
but i still wanted to hide all comment at first...
Use CSS - for example look here: http://thebat.pl - right column (red/gree switches).
__________________
[ I apologize for my poor english ]
(head)log http://born66.net
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 07:23 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs