Comment form changes

Having trouble installing serendipity?
Post Reply
NorthWind
Posts: 3
Joined: Mon Jan 17, 2005 8:21 pm

Comment form changes

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Comment form changes

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
NorthWind
Posts: 3
Joined: Mon Jan 17, 2005 8:21 pm

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
NorthWind
Posts: 3
Joined: Mon Jan 17, 2005 8:21 pm

Post by NorthWind »

Ok, I'm going to try version 0.8. How do I make those changes in that version?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
robbie
Regular
Posts: 5
Joined: Sat Jan 08, 2005 11:19 am
Location: the Netherlands
Contact:

Post 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?
Guest

Post by Guest »

bump
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

entries.tpl and comments.tpl.

Or what was the question?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
robbie
Regular
Posts: 5
Joined: Sat Jan 08, 2005 11:19 am
Location: the Netherlands
Contact:

Post 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...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply