Header - module. Is there one.
Header - module. Is there one.
Hi,
Just wondering if there was a CMSMS module for allowing the operator to easilly change and modify the header section without having to modify the template directly?
A module would allow for the header image to be changed and dimensions including background color etc to be adjustable and set as per preference. The module could also be used to set over all dimensions of the width of the site as well
any one care to advise?
Just wondering if there was a CMSMS module for allowing the operator to easilly change and modify the header section without having to modify the template directly?
A module would allow for the header image to be changed and dimensions including background color etc to be adjustable and set as per preference. The module could also be used to set over all dimensions of the width of the site as well
any one care to advise?
Re: Header - module. Is there one.
There are a few ways you can do this. What type of changes would they be making and can you use Global Content Blocks? If they are design related, try placing all design elements in that real estate into a GCB and then call it from them template.
Good luck
Good luck
Re: Header - module. Is there one.
Really I guess all I want to do is consider certain deisgn elements as variables and enter the required data via a form field.
ie: header height = pix
background color =
and
image src =
and let the form insert and create a style sheet for the header which canthenbe attached to the main stylesheet fro the template concerned.....or somethign like that.
Unfortunately I have no idea how to do this in script.
I cannot expect the customer to be able to tamper with a style sheet directly. And a form based input panel would be excellent.
ie: header height = pix
background color =
and
image src =
and let the form insert and create a style sheet for the header which canthenbe attached to the main stylesheet fro the template concerned.....or somethign like that.
Unfortunately I have no idea how to do this in script.
I cannot expect the customer to be able to tamper with a style sheet directly. And a form based input panel would be excellent.
Re: Header - module. Is there one.
You could put a content block in the header then they could use the WYSIWYG to add any image they want...
{content block="header"} will show up when editing page as Header:...
{content block="header"} will show up when editing page as Header:...
Re: Header - module. Is there one.
Good idea...easier for sure.Thanks
How does one edit the content block parameters such as "padding", size etc...?
How does one edit the content block parameters such as "padding", size etc...?
Re: Header - module. Is there one.
With CSS?...
Re: Header - module. Is there one.
Just that I tried using a banner in a block and found the block has inner padding that means the banner doesn't flush fit.
Obviously I don't know how to use the blocks properly but am willing to learn.
Maybe I should ask outright : " does the css file contain parameters for the global blocks installed within that section?"
Obviously I don't know how to use the blocks properly but am willing to learn.
Maybe I should ask outright : " does the css file contain parameters for the global blocks installed within that section?"
Re: Header - module. Is there one.
It depends if you are using a default install template or one of your own...
{content} & {content block="***"} has no inherent CSS per say, other than paragraph/p CSS that may be in you CSS, but if it's an image sometimes they have a default CSS that the browser puts in so you may want to add img {border: 0px; margin:0px;padding:0px} that way you can add CSS to individual ima tags in content etc...
{content} & {content block="***"} has no inherent CSS per say, other than paragraph/p CSS that may be in you CSS, but if it's an image sometimes they have a default CSS that the browser puts in so you may want to add img {border: 0px; margin:0px;padding:0px} that way you can add CSS to individual ima tags in content etc...
Re: Header - module. Is there one.
Mark Thanks,
So to clarify....
If I call up the block edit page and insert my image to flush fit I add to the block the {border: 0px; margin:0px;padding:0px}?
So to clarify....
If I call up the block edit page and insert my image to flush fit I add to the block the {border: 0px; margin:0px;padding:0px}?
Re: Header - module. Is there one.
You notice how the default {content} tag is in say the main div, {content} the styling for anything in the Content is controlled using the CSS call #main as in the p call "#main p {padding: 2px; margin: 5px 0px; color: #000; etc.}" so if you want to point at the image in the you use #header img {your style}...
What I was saying is to put...
img {border: 0px; margin:0px;padding:0px}
in the top of your style sheet then if you need some other image in a particular div to have margin or padding or etc. you would use the call I talk about above like...
#main img {your style}
What I was saying is to put...
img {border: 0px; margin:0px;padding:0px}
in the top of your style sheet then if you need some other image in a particular div to have margin or padding or etc. you would use the call I talk about above like...
#main img {your style}
Re: Header - module. Is there one.
So we set up a default fro the style sheet that disallows padding etc and when inserting an image elsewhere in the style sheet we are forced to provide details beyond the default, if that is what we want otherwise the default at the top of the page would hold true?
yes?
yes?
Re: Header - module. Is there one.
Yes...
If I had a way to view the site I could tell what the problem may be with more certainty...
If I had a way to view the site I could tell what the problem may be with more certainty...
Re: Header - module. Is there one.
I managed to get round it by working the header bg colours to match the body background thus concealing the margin at the top of the header block.
BTW the site in construction is at
http://www.bizzylink.com/indexx.htm
Yeah the index page has an extra "x" !
The old custom site has published priority at present. www.bizzylink.com
I'd be interested in your impressions....[or any one else of course]
You will note the extensive use of Iframes which I am yet to be convinced about the use of. However they offer significant benefit as well...sigh!
My biggest problem was site containment that means that it doesn't distort when the bowser is reduced 1/2 and that the height of the site is managed so that scrolling is kept to the minimum.
How ever I am still trialing it and am not yet sure to keep the use of Iframes or not.
If you are interested in getting in on the development of the scheme and making some money let me know.
BTW the site in construction is at
http://www.bizzylink.com/indexx.htm
Yeah the index page has an extra "x" !

The old custom site has published priority at present. www.bizzylink.com
I'd be interested in your impressions....[or any one else of course]
You will note the extensive use of Iframes which I am yet to be convinced about the use of. However they offer significant benefit as well...sigh!
My biggest problem was site containment that means that it doesn't distort when the bowser is reduced 1/2 and that the height of the site is managed so that scrolling is kept to the minimum.
How ever I am still trialing it and am not yet sure to keep the use of Iframes or not.
If you are interested in getting in on the development of the scheme and making some money let me know.
Re: Header - module. Is there one.
btw Mark, thanks for your tips, have already used them successfully with much benefit...thanks!