[SOLVED] Questions for setting up site
[SOLVED] Questions for setting up site
I am a newbie to cms and am wondering how to set up my site. I have loaded cmsmadesimple and have my template working. My question is:
I will have multiple areas on a page that need to be editable and multiple images. How do I set up these areas in my html to be able to see them and edit them in cms?
This may be a very simple question or not. I am clueless. I used the {content} tag in an area and it works fine. But like I said, I have multiple areas.
The page can be found at khcreativemedia.com/cms.
The area under the left menu is set up as the content area. I need to be able to change the area under "current exhibition" including the text and image. I would like the image area to be separate from the text area in the admin area.
Thank you,
Keith
I will have multiple areas on a page that need to be editable and multiple images. How do I set up these areas in my html to be able to see them and edit them in cms?
This may be a very simple question or not. I am clueless. I used the {content} tag in an area and it works fine. But like I said, I have multiple areas.
The page can be found at khcreativemedia.com/cms.
The area under the left menu is set up as the content area. I need to be able to change the area under "current exhibition" including the text and image. I would like the image area to be separate from the text area in the admin area.
Thank you,
Keith
Last edited by hig on Tue Jan 15, 2008 4:11 am, edited 1 time in total.
Re: Questions for setting up site
You can use the following:
Throw that in your template as many times as you like and when you edit your pages you will see multiple WYSIWIG blocks which you can then fill out. For example, I have a site that uses {content block='sidebar'} and {content block='pictures'}
Hope this helps.
Code: Select all
{content block='block_name'}
Hope this helps.
Re: Questions for setting up site
If you go to Extensions > Tags > content you will see the parameters it takes...
Re: Questions for setting up site
I knew it had to be easy. Thanks.
I still have to have the {content} selector first, correct?
Thanks again,
Keith
I still have to have the {content} selector first, correct?
Thanks again,
Keith
Re: Questions for setting up site
Yes, as I said this is the use of the tag:
You just need to replace block_name to whatever you want yours to be called
Code: Select all
{content block='block_name'}
Re: Questions for setting up site
The {content} tag is most often used where the main Content will be, if it is removed from a template it will still show when editing/adding a page, but if you do and then add text to it it won't show on the page...
Any name you use for the secondary content blocks will show with uppercase first letter...
Any name you use for the secondary content blocks will show with uppercase first letter...
Re: Questions for setting up site
Terrific. I am going to give it a go. So far....I am loving cmsmadesimple.
Thanks,
Keith
Thanks,
Keith
Re: Questions for setting up site
O.K., so I know that this will click one day and everything will make sense. Until then, I have to lean on you guys. So, sorry about all the questions.
I have added additional blocks in my template and I see them in the content / pages area. But when I add content to my second block, I see nothing in the preview. And when I preview site, I am getting text in the content area that I am not sure where it is coming from. It looks like content from one of the templates.
Could someone please assist?
Thanks again,
Keith
I have added additional blocks in my template and I see them in the content / pages area. But when I add content to my second block, I see nothing in the preview. And when I preview site, I am getting text in the content area that I am not sure where it is coming from. It looks like content from one of the templates.
Could someone please assist?
Thanks again,
Keith
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Questions for setting up site
Additonal content blocks don't show in the preview.... save the page and see what happens.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Questions for setting up site
Got it. I deleted and reloaded and everything is working. I forgot to delete the install directory and I believe this was causing problems.
Only question left is:
I can't leave content blank because it is requiring info. I use a space and it works. Can I just leave it blank?
Only question left is:
I can't leave content blank because it is requiring info. I use a space and it works. Can I just leave it blank?
Re: Questions for setting up site
You can leave it blank, but then again what's the point of having a content block if it's gonna be empty? 

Re: Questions for setting up site
Well I thought I had to have a {content} selector if I was going to have multiple content areas. I found I can delete {content} out of my template and solve the problem. The site I am working on has many areas that need content, so I didn't want the one generic one. I want to be able to make specific blocks.
So not having a {content} selector solved my problem.
Thanks
Keith
So not having a {content} selector solved my problem.
Thanks
Keith
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: [SOLVED] Questions for setting up site
Put it back in 
if you don't have a generic (default) content block somewhere in your template, many modules won't be able to output their code.
Most module actions will replace {content} with their results by default....

if you don't have a generic (default) content block somewhere in your template, many modules won't be able to output their code.
Most module actions will replace {content} with their results by default....
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.