Templating problems

Found a bug? Tell us!!
serendipity_low
Regular
Posts: 8
Joined: Wed Sep 24, 2003 3:01 am

Post by serendipity_low »

I don't think my stylesheet is being rendered correctly. When i visit :

http://mydomain.com/blog/serendipity.css.php i see this :

Code: Select all

a, a:visited { color: #993300; text-decoration: none; } a:hover { color: #cc3300; text-decoration: underline; } body { background-color: #f0f0f0; color: #000000; font-family: serif; font-size: 15.4px; line-height: 20px; margin-left: 0px; margin-right: 0px; margin-top: 0px; margin-bottom: 0px; } p, td, th, div, span { text-align: justify; vertical-align: top; } #serendipity_banner { background-color: #dddddd; width: 100%; border-bottom: dashed 1px #000080; } #serendipity_banner h1 { font-family: sans-serif; font-size: 18px; font-weight: bold; color: #666666; text-decoration: none; padding-left: 20px; padding-top: 5px; margin-top: 0px; } #serendipity_banner h2 { font-family: sans-serif; font-size: 18px; font-weight: bold; color: #aaaaaa; text-decoration: none; padding-left: 20px; } .serendipity_entry { background-color: #e6eaee; padding-left: 20px; padding-right: 20px; padding-bottom: 10px; display: block; width: 620px; } div.serendipity_Entry_Date { background-color: #e6eaee; border: 1px dashed #d0d0d0; padding: 10px; margin: 10px; width: auto; } #serendipityRightSideBar { width: 250px; background-color: #f0f0f0; border-left: 1px dashed #4068ab; border-bottom: 1px dashed #4068ab; padding: 20px; vertical-align: top; } #serendipityLeftSideBar { width: 200px; background-color: #f0f0f0; border-right: 1px dashed #4068ab; border-bottom: 1px dashed #4068ab; padding: 20px; vertical-align: top; } div.serendipitySideBarTitle { font-size: 12px; font-weight: bold; margin-bottom: 8px; } div.serendipitySideBarItem { background-color: #e6eaee; border: 1px dashed #d0d0d0; font-size: 12px; padding-left: 10px; padding-right: 10px; padding-bottom: 10px; margin-bottom: 12px; } #mainpane { width: 100%; } #content { width: auto; } .serendipity_title { font-size: 20px; color: #1a3c5a; font-weight: bold; border: 1px; padding-left: 20px; margin-bottom: 8px; margin-top: 8px; } .serendipity_title a:link, .serendipity_title a:visited { text-decoration: none; border: 0; color: #000000; } .serendipity_title a:hover { color: #cc3300; } .serendipity_date { text-align: right; display: block; width: 100%; color: #000080; font-size: 18px; font-weight: bold; } .serendipity_commentsTitle { display: block; background-color: #f2f4f6; width: 100%; border: 0px; color: #404040; font-size: 16px; padding-left:8px; } .serendipity_time { display: block; margin-top: 8px; font-size: 12px; font-weight: bold; } TD.serendipity_commentsLabel { font-size: 12px; font-weight: bold; width: 10%; vertical-align: top; } TD.serendipity_comment { padding-left:8px; font-size: 13px; margin-bottom: 12px; color: #404040; } .serendipity_comment_source { margin-top: 5px; } TD.serendipityEntriesBox { background-color: #ffffff; padding: 10px; margin: 10px; } TD.serendipity_admin { padding: 10px; } TABLE.serendipity_calendar TD { font-size:12px; padding: 3px; } TABLE.serendipity_calendar A { font-weight: bold; text-decoration:none; } TABLE.serendipity_calendar A:hover { text-decoration:underline; } TD.serendipity_weekDayName { background-color: #dddddd; font-size: 12px; font-weight: bold; } div.serendipityPlug, div.serendipityPlug A { font-size: 11px; } img.serendipityImageButton { cursor: hand; } div.serendipity_admin_title { font-size: 22px; font-weight: bold; margin-bottom: 12px; } div.serendipity_admin_list_title { font-size: 12px; font-weight: bold; margin-bottom: 8px; } td.serendipity_admin_list_item { padding: 15px; border: dotted 1px #d0d0d0; } div.serendipity_entryFooter { clear: both; color: #000000; font-size: 12px; padding-top: 5px; padding-bottom: 4px; } 
serendipity_low
Regular
Posts: 8
Joined: Wed Sep 24, 2003 3:01 am

Post by serendipity_low »

The thing now is the problem is even worse ... yesterday it was working after the hack now even the hack doesn't work !! I have eliminated the use of serendipity_genpage.inc.php by pasting whatever is in there and putting it on my layout.php :x
Guest

Post by Guest »

The latest changes for the "embed"-option don´t seem to work for me (PHP 4.2.3/Linux). The line

Code: Select all

if (!$serendipity['embed'] || $serendipity['embed'] == 'false' || $serendipity['embed'] === false) {
in layout.php and serendipity_genpage.inc.php.
The problem ist

Code: Select all

$serendipity['embed'] == 'false'
, which seems to validate to 'true' (I don´t know why...) - removing this part or changeing it to

Code: Select all

$serendipity['embed'] === 'false'
seems to solve the problem.

cu, Timo
Post Reply