Page 1 of 1

Comment form changes

Posted: Mon Jan 17, 2005 8:26 pm
by NorthWind
I've searched through the topics and haven't seen anything regarding this yet. I'm using version 0.7.1

I need to make some changes to the comment form. I'd like to remove the Homepage text box, Remember Information option, and the text: "Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images."

I've tried to exit commentform.tpl in the template folder for the template I'm using but nothing happens.

Thank you.

Re: Comment form changes

Posted: Mon Jan 17, 2005 8:31 pm
by garvinhicking
Version 0.7.1 doesn'T yet support the concept of *.tpl files - where did you get that from?

Please use the 0.8 Snapshot build, there you can change exactly what you wanted to do. :)

Regards,
Garvin

Posted: Mon Jan 17, 2005 8:38 pm
by NorthWind
The .tpl file was in the templates/default/ folder. I copied that folder to make my own template.
I've already configured the software a great deal so far, so I'm not sure that starting over with a new version is a good idea. I'm also under a very tight deadline by my client.

Since the .tpl file seems to be irrelevent, how would I change this?

I also need to change the text "Comments (0)" under the entry to "Click Here to Add a Comment". I changed the COMMENTS constant in the language file but this also changes the Comments title when you view an individual entry.

I would also like to make it so that when someone views an individual entry there would be the following text directly after the entry "Scroll down to add a comment".

Thank you.

Posted: Mon Jan 17, 2005 8:41 pm
by garvinhicking
What you want to do really requires Serendipity 0.8 - the .tpl files work there, and what you plan to do is bad for Serendipity 0.7...

We've done the hard work on Serendipity 0.8 because exactly of your needs...so it would be sad if you don't use it. :))

Regards,
Garvin

Posted: Mon Jan 17, 2005 8:49 pm
by NorthWind
Ok, I'm going to try version 0.8. How do I make those changes in that version?

Posted: Mon Jan 17, 2005 8:57 pm
by garvinhicking
There you do the changes to *.tpl files like you already tried to...only that it'll work this time. :-D

Regards,
Garvin

Posted: Thu Feb 10, 2005 10:28 am
by robbie
in wich tpl-files exactly? i just can't seem to find it... and why don't you just include this in the language file?

Posted: Fri Mar 11, 2005 6:01 pm
by Guest
bump

Posted: Sun Mar 13, 2005 1:27 pm
by garvinhicking
entries.tpl and comments.tpl.

Or what was the question?

Regards,
Garvin

Posted: Tue Mar 15, 2005 11:15 am
by robbie
The question was, how to remove or alter the text:
"Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like and are converted to images."
I can't find this text in any of the tpl or language files...

Posted: Tue Mar 15, 2005 1:01 pm
by garvinhicking
This text is outputted by Markup plugins "emoticate" and "s9ymarkup".

You can edit the plugin config and set "Comments" to "No" and then the information will not appear.

Regards,
Garvin