Layout issue

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Xanthouos
Regular
Posts: 115
Joined: Wed Mar 02, 2005 6:59 pm
Contact:

Layout issue

Post by Xanthouos »

It looks too me that S9Y is the answer to several sites I maintain, which now the client can maintain and update as needed. Thankyou S9Y!


My problem:
I included a table for layout and the information introducing a site, but for some reason iit leaves a big gap from the top of the page, and I can not figuir out why it does it and how to fix it. It might be the simplest thing, but I am mssing it.
Please look at http://www.tfi.adomains.biz to see what I mean.

Thank you so much for help and input.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Layout issue

Post by garvinhicking »

The error comes because of additional <br />s placed after </td> and <table> tags. Browsers will throw those <br />s at the top of the first table.

The solution is to either deactivate the NL2BR plugin in Serendipity, or make sure that you do not have any linebreaks in your HTML code, which could be translated into <br />s.

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/
Xanthouos
Regular
Posts: 115
Joined: Wed Mar 02, 2005 6:59 pm
Contact:

Thanx

Post by Xanthouos »

:wink: Thank you Garvin for your prompt answer. t's nice to have developers so quick to help out. I for one am making widespred use of s9y, deploying it on several different sites.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Thanx

Post by garvinhicking »

Great to hear that - I really enjoy hearing/reading that!

Have fun,
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/
Xanthouos
Regular
Posts: 115
Joined: Wed Mar 02, 2005 6:59 pm
Contact:

how to's, and why

Post by Xanthouos »

I have version 8 installed and the latest contact/tpl files installed, but I get the following error when trying too use the contact form:

http://www.familyafrica.com/pages/contact.htm

Code: Select all

Fatal error: Cannot redeclare smarty_core_load_plugins() (previously declared in /home/family/public_html/bundled-libs/Smarty/libs/core/core.load_plugins.php:16) in /home/family/public_html/bundled-libs/Smarty/libs/internals/core.load_plugins.php on line 16

~In the "Static Pages" and if you click on a category it doesn't have the Header like the main page.
~When clicking on a article, I get the following error:


http://www.familyafrica.com/archives/7- ... oject.html

Code: Select all

Fatal error: Cannot redeclare smarty_core_load_plugins() (previously declared in /home/family/public_html/bundled-libs/Smarty/libs/core/core.load_plugins.php:16) in /home/family/public_html/bundled-libs/Smarty/libs/internals/core.load_plugins.php on line 16
Did something go wrong with the upgrade of S9Y?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: how to's, and why

Post by garvinhicking »

Xanthous,

it seems that your installation is really somehow strange. It seems to me you have activated the 'embed' directive but are loading some files twice?!

Check how your template is configured, please. The documentation on www.s9y.org should help you to see how a smarty-enabled template should look like. It seems you have manually modified a template, and you are not using the default template, is that true?

Also see if you have certain event plugins installed twice. And tell me which event plugins you've installed.

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/
Xanthouos
Regular
Posts: 115
Joined: Wed Mar 02, 2005 6:59 pm
Contact:

Post by Xanthouos »

For failer to RTFM, I was editing the templates in the templates_c dir, so I think is what was causing the mixup.
:idea: I am going over the STYLES readme, and hopefully can do a propper job this time and avoid un-needed errors.

Again, thank you Garvin for all your help.
Post Reply