Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 03-26-2008, 12:21 AM
lewinalan1 Offline
forum loafer
 
Join Date: Mar 2008
Posts: 10
About Page Problem

I am using the horizon template in the latest version of pixelpost. I am having a problem editing my about section. I will go into the horizon template folder and then edit the about_template.html with "text edit" on my mac and then overwrite the file and upload that single file to my ftp (the file being about_template.html) Then I lose the template style on that page. You can see here on my about page at alphoto.net Anybody know what I am doing wrong?
Thanks,
Alan
Reply With Quote
  #2  
Old 03-26-2008, 01:00 AM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
Looks like your html got converted to rich text maybe? I'm not sure how it happened because I didn't have any problems opening up the file in text edit. all declarations to the css files are gone and it points to file:// instead of urls on your server. Download the template again and replace the file.
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
  #3  
Old 03-26-2008, 03:43 AM
lewinalan1 Offline
forum loafer
 
Join Date: Mar 2008
Posts: 10
No, my file was still formatted as an .html And I redownloaded and did the same thing. Same terrible result. Tried different templates, still failure. Help?
Reply With Quote
  #4  
Old 03-26-2008, 01:14 PM
dhdesign's Avatar
dhdesign Offline
pixelpost guru
 
Join Date: Mar 2007
Location: Ohio
Posts: 431
I've just taken a look at the source code for your About page, and Kevin is correct with regards to the rich text issue and the file paths being stripped out. In fact all of the original PP code has been removed as well. It is HTML, but it is not the correct code for the About page.

Your source code is showing the doctype for the page as HTML 4.01, when it should be XHTML 1.0 Transitional. It has also inserted meta tags showing the code generator as Cocoa HTML Writer, which should not be there either. The style information in the head section is incorrect, as is the inline styling that has been inserted throughout the entire document.

You need to use a plain text editor to edit the about page, not an HTML editor.

Here is a look at the source code for the head section from your About page:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta http-equiv="Content-Style-Type" content="text/css">
  <title>&lt;SITE_TITLE&gt;</title>
  <meta name="Generator" content="Cocoa HTML Writer">
  <meta name="CocoaVersion" content="949.27">
  <style type="text/css">
    p.p1 {margin: 0.0px 0.0px 16.0px 0.0px; font: 24.0px Times; min-height: 29.0px}
    p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times; color: #001ee6}
    p.p3 {margin: 0.0px 0.0px 14.0px 0.0px; font: 18.0px Times}
    p.p4 {margin: 0.0px 0.0px 12.0px 0.0px; font: 12.0px Times}
    p.p5 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times; min-height: 14.0px}
    p.p6 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Times}
    span.s1 {text-decoration: underline}
    span.s2 {color: #001ee6}
    span.s3 {text-decoration: underline ; color: #001ee6}
    ul.ul1 {list-style-type: disc}
  </style>
</head>
Here is what the code should look like (taken from the Horizon template package) for the About page:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title><SITE_TITLE></title>
<!-- META -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="templates/horizon/styles/horizon.css" />
</head>
I don't have a Mac, so I'm unfamiliar with the program you are using, but you need to see if that program has a plain text edit mode, and use that to edit the about_template.html file.
__________________
My photoblog: KP Images
Reply With Quote
  #5  
Old 03-26-2008, 03:22 PM
lewinalan1 Offline
forum loafer
 
Join Date: Mar 2008
Posts: 10
Alright guys, that worked! Thanks a million.
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 02:23 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs