Page 1 of 1

[solved] Global content blocks not working for me

Posted: Tue Feb 12, 2008 3:11 am
by SusanN
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

Re: Global content blocks not working for me

Posted: Tue Feb 12, 2008 8:47 am
by alby
SusanN wrote: How do I make it obey the CSS rules?
Add your CSS code in a style associated with your template (Layout > Stylesheet)

Alby

Re: Global content blocks not working for me

Posted: Tue Feb 12, 2008 10:50 am
by SusanN
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!!

Re: Global content blocks not working for me

Posted: Tue Feb 12, 2008 12:42 pm
by alby
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 in html source is load: <link rel="stylesheet" type="text/css" ......
- check if your stylesheet is associated properly
- check your CSS sintax with a w3c validator

Alby

Re: Global content blocks not working for me

Posted: Tue Feb 12, 2008 1:23 pm
by SusanN
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:
- check in html source is load:
(I put some spaces in the url to keep it hidden)

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

Posted: Tue Feb 12, 2008 2:15 pm
by alby
SusanN wrote: href="http:// www.playm aniatamp a.com/stylesheet.php?templateid=21&mediatype=screen" />
Ok, I see your code (html source):
<div id="footer">
<p>&copy; PlayMania Tampa</p>
</div>
It's not CSS problem but html encode.

Alby

Re: Global content blocks not working for me

Posted: Tue Feb 12, 2008 2:27 pm
by SusanN
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.  ???

Re: Global content blocks not working for me

Posted: Tue Feb 12, 2008 2:44 pm
by alby
SusanN 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?
Turn off WYSIWYG editor

Alby

Re: Global content blocks not working for me

Posted: Tue Feb 12, 2008 3:38 pm
by SusanN
Turn off WYSIWYG editor
That did it!  Thanks so much!!!!