Hello!
I am working with CMSMS 1.6.6. I have my site quite ready but what I want is that every page has a different background.
I've been trying to do it with an IF statement but I can't work it out.
Can somebody help me?
Thanx!
every page a different background
-
- Forum Members
- Posts: 57
- Joined: Mon Mar 23, 2009 11:35 am
Re: every page a different background
Use something like....
http://forum.cmsmadesimple.org/index.ph ... l#msg91566
You will see that there is a $page_alias for the alias of the current-page. You can use that to select an image with that same name.
Ronny
http://forum.cmsmadesimple.org/index.ph ... l#msg91566
You will see that there is a $page_alias for the alias of the current-page. You can use that to select an image with that same name.
Ronny
-
- Forum Members
- Posts: 57
- Joined: Mon Mar 23, 2009 11:35 am
Re: every page a different background
I tried to get it work a couple times last week but I can not seem to get it to work.
Can you / or somebody else help me more with this?
Thanx!
Can you / or somebody else help me more with this?
Thanx!
-
- Forum Members
- Posts: 57
- Joined: Mon Mar 23, 2009 11:35 am
Re: every page a different background
Hello!
Still can not figger it out.
Spend quite some time on it but no result.
Anyone wants to help? I'll be willing to pay for it.
Thanx!
Still can not figger it out.
Spend quite some time on it but no result.
Anyone wants to help? I'll be willing to pay for it.
Thanx!
-
- Forum Members
- Posts: 57
- Joined: Mon Mar 23, 2009 11:35 am
Re: every page a different background
It's all solved.. was quite simple.. the first tip with the capture tag threw my off and thinking too difficult
The answer is:
you set the name of the page equal to the name of the image header_news is page news
thats all
The answer is:
you set the name of the page equal to the name of the image header_news is page news
thats all