close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Head template and MAIN template

Thread began 3/03/2010 10:39 am by larsentim278054 | Last modified 3/04/2010 10:35 am by Eric Mittman | 1058 views | 5 replies |

larsentim278054

Head template and MAIN template

Never mind the title. Wrong issue.

What I wanted to mention was the main template that ships with PS3 - it calls the admin.css file for some reason. It screws up the pages you create with the main template. Just fYI.

Edit: It also has home.css in the head portion as well. I don't understand why. But once you remove those two lines, it's back to normal (similar to the pre-made pages, like tos, and privacy, etc)

Sign in to reply to this post

carleneBeta Tester

Originally Said By: larsentim278054
  Never mind the title. Wrong issue.

What I wanted to mention was the main template that ships with PS3 - it calls the admin.css file for some reason. It screws up the pages you create with the main template. Just fYI.

Edit: It also has home.css in the head portion as well. I don't understand why. But once you remove those two lines, it's back to normal (similar to the pre-made pages, like tos, and privacy, etc)  



Can you elaborate on this a wee bit? You're referring to Main.dwt.php right?

How does it screw up the pages? I'm asking because I'm having problems getting my modifications to stick.

Thanks!

Sign in to reply to this post

larsentim278054

Yes, I'm referring to Main.dwt.php.

It just screws up the formatting of the page. By adding admin.css and home.css files in the head (as it does by default for some strange reason) - those files have tags that override the tags that are in content.css which are made for the main template pages. So once you remove those calls to admin and home css files - your pages will look similar to the pre-made pages (such as privacy_policy.php, and/or termofservice.php). That's assuming that you are creating the new pages similar to those pages (ie. using the div class contentBox).

It's just about the page format (where it places the background image for the main content - it's different when you have home.css in your head portion of the template). At least, it was for me.

Hope that helps.

Sign in to reply to this post

neilo

As far as I can tell, the only call to the admin.css stylesheet from the main template is:

#outerWrapper #contentWrapper #content {
margin-left: 0;
padding-left: 0;
padding-right: 0;
}

That sets zero left & right padding and zero left margin in the content area. What does it do to you page?

Sign in to reply to this post

larsentim278054

I don't really remember.. All I know is once I removed the "<link rel=stylesheet src=css/admin.css />" type line (I realize that's not the exact line but you get what I mean) - the page looked like it should. I didn't research which were the conflicting CSS tags.

It doesn't matter. That's a waste of bandwith anyways. You shouldn't be calling the ADMIN css file when you aren't using the ADMIN template.

Same goes for home.css.

Whether or not it was affecting anything (which is WAS) - doesn't even matter. It was something that was overlooked I assume, and it should be removed from future updates.

Sign in to reply to this post

Eric Mittman

Thanks for mentioning this and letting us know the details. I have logged this issue so it can be checked into.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...