[solved] Global content blocks not working for me

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
SusanN
Forum Members
Forum Members
Posts: 192
Joined: Wed Jun 13, 2007 5:57 pm

[solved] Global content blocks not working for me

Post 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
Last edited by SusanN on Tue Feb 12, 2008 8:08 pm, edited 1 time in total.
alby

Re: Global content blocks not working for me

Post 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
User avatar
SusanN
Forum Members
Forum Members
Posts: 192
Joined: Wed Jun 13, 2007 5:57 pm

Re: Global content blocks not working for me

Post 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!!
alby

Re: Global content blocks not working for me

Post 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
User avatar
SusanN
Forum Members
Forum Members
Posts: 192
Joined: Wed Jun 13, 2007 5:57 pm

Re: Global content blocks not working for me

Post 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.
alby

Re: Global content blocks not working for me

Post 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
User avatar
SusanN
Forum Members
Forum Members
Posts: 192
Joined: Wed Jun 13, 2007 5:57 pm

Re: Global content blocks not working for me

Post 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.  ???
alby

Re: Global content blocks not working for me

Post 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
User avatar
SusanN
Forum Members
Forum Members
Posts: 192
Joined: Wed Jun 13, 2007 5:57 pm

Re: Global content blocks not working for me

Post by SusanN »

Turn off WYSIWYG editor
That did it!  Thanks so much!!!!
Post Reply

Return to “CMSMS Core”