How do I prevent the comments/trackback box from displaying?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
alphastocks.com
Regular
Posts: 10
Joined: Fri Oct 19, 2007 3:13 pm

How do I prevent the comments/trackback box from displaying?

Post by alphastocks.com »

How do I prevent the circled box from displaying?

Image[/url]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: How do I prevent the comments/trackback box from display

Post by garvinhicking »

Hi!

First thing: Check your first left sidebar HTML nugget. It has this content:

Code: Select all

<a onclick="javascript:urchinTracker('/extlink/www.alphastocks.com/');" title="Home" href="http://www.alphastocks.com/"><strong><font face="arial,helvetica,sans-serif" size="3">AlphaStocks Home </font></strong></a></td />
This makes your left sidebar look ugly. Instead it should look like this:

Code: Select all

<a onclick="javascript:urchinTracker('/extlink/www.alphastocks.com/');" title="Home" href="http://www.alphastocks.com/"><strong><font face="arial,helvetica,sans-serif" size="3">AlphaStocks Home </font></strong></a>
(Without the </td />!)

Now to your other problem. Edit the style.css file that is inside the templates/carl_contest/ directors. At the bottom, add this:

Code: Select all

.serendipity_entry .serendipity_entryFooter {
  display: none; 
}

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/
alphastocks.com
Regular
Posts: 10
Joined: Fri Oct 19, 2007 3:13 pm

Post by alphastocks.com »

Thank you, fixed it.

Now, another problem I have is that when I install a new sidebar plugin I can't control where it goes. I used to be able to choose left or right side bar and so on. Now any front end plugin goes automatically in the right sidebar.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!
Now, another problem I have is that when I install a new sidebar plugin I can't control where it goes. I used to be able to choose left or right side bar and so on. Now any front end plugin goes automatically in the right sidebar.
Sidebars plugin always were installed to the right side, you could only after installation move them.

If your browser supports javascript, you see some pixels on the top left corner of each plugin box. You can click+drag that to the left side of the sidebar plugins, so that it gets there. If you'd rather like the old method of moving, you can go to your personal preferences and disable the option to use "fancy/enhanced javascript effects".

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/
alphastocks.com
Regular
Posts: 10
Joined: Fri Oct 19, 2007 3:13 pm

Post by alphastocks.com »

Thank you, u da man!!!
francistill
Regular
Posts: 30
Joined: Mon Apr 17, 2006 4:45 am
Location: Wellington New Zealand

Same problem

Post by francistill »

I've got a user who doesn't want to enable comments, which is fine, but he also does not want the comment fields to show. I've tried your CSS fix but it doesn't work on this template - Plain Vanilla. Any other ideas? I'd really appreciate your help.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Same problem

Post by garvinhicking »

Hi Francistill!

Have you looked at the s9y.org FAQ? There are some pointers on how to remove comment sections.

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/
francistill
Regular
Posts: 30
Joined: Mon Apr 17, 2006 4:45 am
Location: Wellington New Zealand

Post by francistill »

you're a genius, thanks! commented out parts of the entries.tpl file, as suggested in the FAQ. still can't figure out how to achieve the same effect with CSS, though - but if I do, I'll post the solution here, for future reference.
Post Reply