{$raw_data}
{$raw_data}
Hey guys,
I noticed that since a week or something the {$raw_data} string below the footer in my index.tpl file caused an unwanted break/hard enter in my layout. I moved the {$raw_data} thing to the sidebar.tpl because i thought it may be important and there its invisible. Now im wondering why it didnt caused the break before, but now did. I am using the extended visitor statistics plugin for a week or something. Has this something to do with {$raw_data}, or is it something else.
Greetz,
Jeffrey
I noticed that since a week or something the {$raw_data} string below the footer in my index.tpl file caused an unwanted break/hard enter in my layout. I moved the {$raw_data} thing to the sidebar.tpl because i thought it may be important and there its invisible. Now im wondering why it didnt caused the break before, but now did. I am using the extended visitor statistics plugin for a week or something. Has this something to do with {$raw_data}, or is it something else.
Greetz,
Jeffrey
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: {$raw_data}
Hi!
You can't move around $raw_data to other files because it might not be assigned in those.
Could you change it to read:
and then give us the URL to your blog? Then we could check what's in that field and why it's causing a break?
Regards,
Garvin
You can't move around $raw_data to other files because it might not be assigned in those.
Could you change it to read:
Code: Select all
<div id="raw">{$raw_data}</div>
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/
# 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/
Sure,
The url is http://www.jeflog.nl/serendipity/.
The unwanted break occurs at the bottom of the page. I know its just a small thing but it annoys me. Firefox displays it correctly, but IE doesnt.
Greetz,
Jeffrey
The url is http://www.jeflog.nl/serendipity/.
The unwanted break occurs at the bottom of the page. I know its just a small thing but it annoys me. Firefox displays it correctly, but IE doesnt.
Greetz,
Jeffrey
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Ah, I see. You should be able to fix that if you remove all unnecessary padding in index.tpl:
BTW - You removed the original credit. This is not allowed, please put Bex' link back in there, unless you personally agreed with here to leave that information out.
HTH,
Garvin
Ah, I see. You should be able to fix that if you remove all unnecessary padding in index.tpl:
Code: Select all
<!-- ***** FOOTER AREA ***** -->
<div id="footer"><p>Design by <a href="http://www.bexology.com">Bex</a> & <a href="http://www.carlgalloway.com">Carl</a></p></div>{$raw_data}</div>
</body>
HTH,
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/
# 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/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
$raw_data in your case is empty, so actually it should have always been like that. It might be related to some other CSS change or new plugin addition or maybe even because of some entry?
Somehow the IE interprets that there should be more space at the end, and I thought it was because of the empty linebreaks...
However, when I look at your HTML output, I still see linebreaks that you should be able to remove in your index.tpl file! There should be no linebreaks after the <div id="footer">...
Regards,
Garvin
$raw_data in your case is empty, so actually it should have always been like that. It might be related to some other CSS change or new plugin addition or maybe even because of some entry?
Somehow the IE interprets that there should be more space at the end, and I thought it was because of the empty linebreaks...
However, when I look at your HTML output, I still see linebreaks that you should be able to remove in your index.tpl file! There should be no linebreaks after the <div id="footer">...
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/
# 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/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
You must remove the newline using an editor! Is is inside the file, it does NOT come from $raw_data.
Make sure you save your file with UNIX line encoding and upload the file as binary.
Best regards,
Garvin
You must remove the newline using an editor! Is is inside the file, it does NOT come from $raw_data.
Make sure you save your file with UNIX line encoding and upload the file as binary.
Best 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/
# 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/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
You should use a text editor software like UltraEdit or Notepad+ and upload the file via FTP. Do NOT use that webbased editor, it looks like the root of your problem in first instance![Smile :)](./images/smilies/icon_smile.gif)
Best regards,
Garvin
You should use a text editor software like UltraEdit or Notepad+ and upload the file via FTP. Do NOT use that webbased editor, it looks like the root of your problem in first instance
![Smile :)](./images/smilies/icon_smile.gif)
Best 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/
# 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/
Well, I edited the file with NotePad+, and uploaded it with FTP (binary). But still in IE the newline-sign appears.
You can check it for yourself. http://www.jeflog.nl/serendipity/templa ... /index.tpl is correct.
You can check it for yourself. http://www.jeflog.nl/serendipity/templa ... /index.tpl is correct.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Ah!
We got it. It's a UTF-BOM. That is a sequence which denotes a UTF-8 file, but no serendipity files are allowed to be saved with that.
You will sadly have to go through the *.tpl files you edited again, in one of them you saved the file as UTF-8 format. You need to save it in ISO-8859-1 or as UTF-8 without BOM...
HTH,
Garvin
Ah!
We got it. It's a UTF-BOM. That is a sequence which denotes a UTF-8 file, but no serendipity files are allowed to be saved with that.
You will sadly have to go through the *.tpl files you edited again, in one of them you saved the file as UTF-8 format. You need to save it in ISO-8859-1 or as UTF-8 without BOM...
HTH,
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/
# 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/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
That BOM () is still inside the file, so there must still be a file that is saved as UTF-8 BOM. It must not be the index.tpl, it can be any other of the .tpl files you have edited at any point...
Best regards,
Garvin
That BOM () is still inside the file, so there must still be a file that is saved as UTF-8 BOM. It must not be the index.tpl, it can be any other of the .tpl files you have edited at any point...
Best 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/
# 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/