Changing the way Content blocks look in Edit pages

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
Katya
New Member
New Member
Posts: 6
Joined: Tue Oct 21, 2008 7:42 pm

Changing the way Content blocks look in Edit pages

Post by Katya »

Hello,

I'm a newbie to CMS Made Simple and I'm wondering if in 'Edit pages' I can change the editing options on the content blocks to make the editing process simpler. Basically I'm just trying to make it as easy for my client as possible, as I decided to use a CMS so he wouldn't delete bits of important code! Here's what I want to do (hope it makes sense! If not, I've attached a pic)

My home page contains 5 content blocks:
1. Just contains a banner image
2. News piece one
3. News piece two
4. Main content
5. Secondary content

1. So the banner image is in a content block on its own with WYSIWYG editing options; I don't need any of that. Is it possible to just have an upload field where you can choose an image? That way my client can change the image as he wishes and won't get confused by all the other options.

2 & 3. The news pieces consist of a Title, short piece of text and a link to more on that story. I have the following code in my template:

{content block='news-1-title' oneline='true'}{content block='news-1-content' wysiwyg='false'}

So the client can easily edit the title and the news content. I have taken away the WYSIWYG for this, but that means I have around the text. What I really want is a field underneath where he can link to the story separately.

Last question: Within a WYSIWYG box, when you select a piece of text to link to an internal page, the text is replaced with some code that looks like this: {cms_selflink page="courses" text="Find out more about our courses"} Might be a dumb question, but is there a way to make this look friendlier?

IN THE EVENT THAT ALL THIS MAKES NO SENSE, I've attached a mockup of how I'd like these bits to look.

:) Thanks

Image
Attachments
CMS-screenshot.gif
Katya
New Member
New Member
Posts: 6
Joined: Tue Oct 21, 2008 7:42 pm

Re: Changing the way Content blocks look in Edit pages

Post by Katya »

I'm replying to my own post as I managed to find answers to some of my questions. Maybe other people will want to find out the same things.

Solved: Replacing cms_selflink links with proper hyperlinks - http://forum.cmsmadesimple.org/index.ph ... 105.0.html

I haven't tried this yet, but this is a post to how to create a content block that's just for an image - http://forum.cmsmadesimple.org/index.ph ... l#msg40020
Post Reply

Return to “Layout and Design (CSS & HTML)”