[Solved]Header not reloading

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
Blikkie
Forum Members
Forum Members
Posts: 32
Joined: Sun Apr 15, 2007 12:06 pm

[Solved]Header not reloading

Post by Blikkie »

Searched the forum but could not find an answer.

How can I use or is it possible to use different templates without having to reload the header everytime.
I want to use a flash movie (spare me the comments on the use of flash please ) but prevent the thing from reloading everytime a new page is called.
In the "old"days I would do something with frames or perhaps an Iframe.

Basicly I want the content to be the only thing loaded.

Anyone?

Thanks

Erik
Last edited by Blikkie on Thu Nov 28, 2013 1:03 pm, edited 1 time in total.
Bob

Re: Header not reloading

Post by Bob »

In the "old"days I would do something with frames or perhaps an Iframe.

Basicly I want the content to be the only thing loaded.
You shouldn't need to make multiple templates... the template(s) give your site an overall look.

When you go to Content/Pages, and create a new page, you simply assign the template to that page you are creating. You can create as many pages as you want that are assigned to that one template. Then, if you decide you want to update your header or change the look of your navigation bars, you do within the CSS that is attached to your template, and it will affect every page that is asigned to that template. The template, for the most part, shouldn't hold all your "content"... that's what Content Pages are for.

This is the beauty of CMSMS... NO MORE FRAMES! :D I used to use Frames too until I realized the issues/problems involved wtih them. And I have a boss that continuously wants changes to his sidebar(nav-bar) and it's a major pain to make that change to every html page (over 100 pages)... CMSMS makes all that soooo easy.
Last edited by Bob on Mon Apr 16, 2007 1:00 am, edited 1 time in total.
Blikkie
Forum Members
Forum Members
Posts: 32
Joined: Sun Apr 15, 2007 12:06 pm

Re: Header not reloading

Post by Blikkie »

Hi Bob,

You're  missing my point.
Regardless the template, the header will reload everytime a content is called from the menu.

How do I only load and reload the content to enable my swf file to keep looping instead of restarting everytime.
In order to achieve that my header should stay fixed and only the content should load/reload.
Last edited by Blikkie on Sun Apr 15, 2007 6:00 pm, edited 1 time in total.
Bob

Re: Header not reloading

Post by Bob »

Sorry, I didn't totally get wehre you were going with your header issue.

Unfortunately, the way i see it... your right. The header in your template will keep reloading everytime it's called.. It could be a Flash file or an animated .gif.

The best I could think of, is creating 2 Flash files,... one is the INTRO with loops/static  for your home page for instance, the other is JUST the looped/static file, and then create a 2nd Template to hold the static/looped Flash file. So, you'll have two Templates (or more if that's what you need for other purposes)..
Assuming you can modify your SWF file, delete the intro part you don't want reloaded, save it as "header2.swf" for instance. Then copy all of the Template you're using, create a new template, (make sure you asign all the appropriate CSS) paste the info you copied, then change the "header.swf" file to "header.swf2". IF your placing your SWF in the CSS, then you'll need to copy/create a 2nd CSS with your 2nd SWF, and delete the other asigned CSS to that 2nd Template...

sorry, I don't know to much about using Flash other than simple animation stuff, but that's the best I can think of to fix your prob.
Blikkie
Forum Members
Forum Members
Posts: 32
Joined: Sun Apr 15, 2007 12:06 pm

Re: Header not reloading

Post by Blikkie »

That is how I did it now  :) but only works if the animation is short, mine was a loop with action scripting enabling me to have a slow and constant animation in the header (change every 30 or 60 seconds)
Now trying to work around somewhat with changing header images connected to which part of the content from the menu is called or perhaps use the random image tool for it....

Still I can see some benefit in enabling a "static" header (and perhaps footer) to be defined and only have call and load the content. Saves some loading time and enables you to play around with animations for the sides that want it like bands, artist and "designer" sites like to do.
Last edited by Blikkie on Tue Apr 17, 2007 7:59 am, edited 1 time in total.
Post Reply

Return to “Layout and Design (CSS & HTML)”