Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sacha

Pages: [1]
1
I want to show and edit comments on a different template from details.html. Therefore I copied and renamed details.php and details.html to new files. the comments show in the new template, but renaming the details.php seems to disable saving. But I can not find where saving comments (done in details.php if I am right) is refering to details.html except in the maintemplate var in the beginning.

Did I succed to explain what my problem is?

Any ideas?

2
Discussion & Troubleshooting / new template - comments show but do not save
« on: September 21, 2005, 04:14:43 PM »
I have made a new template, based on "details.html" and "details.php" that should show the comments for a picture only as detailed information.

I copied "details.php" and renamed it to "comments.php". This new "comments.php" is identical to details.php, except that it uses the new template. It works and it does show the image comments, but if I enter and post a new comment, it does not save it.


Can anybody help? Additional information needed?

3
well, I am getting there. I have a popup window and I can display details.php in that popup.

Now how can I link to an altered copy of details.php (say details1.php), including only the comments and picture title (details1.html). Without getting refered and ending up with the original details.php again. I am missing some link in the code that throws me back to the original details.php.

Alternative:
What would be the hyperlink to start details1.php with session id and picture id. If I just alter the browser link manually from

.../4images/details.php?image_id=294&sessionid=8cdaf5a55d6cb5b7443d8af16cb459f5

to

.../4images/details1.php?image_id=294&sessionid=8cdaf5a55d6cb5b7443d8af16cb459f5

it works fine. Now what would be the variable adress to start this hyperlink?

It would be great if anyone could answer this.

4
My problem:

I want to display the comments not in details.html but in a fresh popup window with a predefined size. The details.html page should only contain a link and in brackets how many comments there are already for this image. When you click this link, a new window should open, displaying a thumb of the image and the name on top and then the already posted comments, plus the field to fill in new comments.

I thought this should be an easy thing to do, but I am completely stuck. I have tried several approaches (e.g. the mod for image in new pop-up), but  I canīt get it to work. It would be great if someone can help.

Thanx a lot...

http://www.with-open-eyes.com

Pages: [1]