Hello again,
I'm trying to use the global content block for the address and footer in my layout ( play man ia tam pa .com), but whenever I do so, what displays is a generic version of the HTML. I've searched, but I can't figure this out.
For example, in the footer, I put this:
{global_content name='footer'}
And then the text in the global content block is this:
© PlayMania Tampa
How do I make it obey the CSS rules?
TIA!
Edit to add: I'm using version 1.2.3
[solved] Global content blocks not working for me
[solved] Global content blocks not working for me
Last edited by SusanN on Tue Feb 12, 2008 8:08 pm, edited 1 time in total.
Re: Global content blocks not working for me
Add your CSS code in a style associated with your template (Layout > Stylesheet)SusanN wrote: How do I make it obey the CSS rules?
Alby
Re: Global content blocks not working for me
Thanks so much for your reply. I added the style to a stylesheet associated with the template and I placed {stylesheet} in the . It still isn't working for me. What information do you need to help me figure this out?
Thanks again!!
Thanks again!!
Re: Global content blocks not working for me
- check in html source is load: <link rel="stylesheet" type="text/css" ......SusanN wrote: Thanks so much for your reply. I added the style to a stylesheet associated with the template and I placed {stylesheet} in the . It still isn't working for me. What information do you need to help me figure this out?
- check if your stylesheet is associated properly
- check your CSS sintax with a w3c validator
Alby
Re: Global content blocks not working for me
I only have two templates, and the stylesheet is associated with both templates. I know the syntax is correct because the page validates prior to being in the cms. But I'm not sure what you mean by this:
I've looked at another cms ms site (a friend of mine is building one) and it looks like I've done everything the way he did. I don't understand why it's not working for me.
(I put some spaces in the url to keep it hidden)- check in html source is load:
I've looked at another cms ms site (a friend of mine is building one) and it looks like I've done everything the way he did. I don't understand why it's not working for me.
Re: Global content blocks not working for me
Ok, I see your code (html source):SusanN wrote: href="http:// www.playm aniatamp a.com/stylesheet.php?templateid=21&mediatype=screen" />
It's not CSS problem but html encode.<div id="footer">
<p>© PlayMania Tampa</p>
</div>
Alby
Re: Global content blocks not working for me
Thanks for sticking with me so far. 
What should I be putting in the global_content window? Shouldn't I put what I normally would put in the html to make the footer show?
Right now, I only have the name of the website down there and it's still not working correctly. So confused.

What should I be putting in the global_content window? Shouldn't I put what I normally would put in the html to make the footer show?
Right now, I only have the name of the website down there and it's still not working correctly. So confused.

Re: Global content blocks not working for me
Turn off WYSIWYG editorSusanN wrote: What should I be putting in the global_content window? Shouldn't I put what I normally would put in the html to make the footer show?
Alby
Re: Global content blocks not working for me
That did it! Thanks so much!!!!Turn off WYSIWYG editor