Adding an image field.

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.
Locked
Sean

Adding an image field.

Post by Sean »

I'm wondering how I can add a field for my client to upload an image to and then I can have that image strictly show up in one location in the template.

You can see the page here to get a better idea of what I'm talking about.

http://www.beroofing.com/cmsmadesimple- ... msms-works

- Sean
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Adding an image field.

Post by Dr.CSS »

Two ways...

{content block="image"} shows up as Image: like Content: which will give a full wysiwyg toolbar to use for image browsing...

{content block="image" oneline="true"} give a single edit block w/o toolbar so you could make it...

then they just put the name of the image, but it has to reside in the folder and they have to know the name of it like buggy...
Sean

Re: Adding an image field.

Post by Sean »

Thanks so much! Is there a way to exclude the text box and other formating options, so it's just the picture icon to upload and choose your picture?
cb2004
Power Poster
Power Poster
Posts: 317
Joined: Wed Jul 04, 2007 3:39 pm

Re: Adding an image field.

Post by cb2004 »

Is this the official way to do things? Can CMSMS not handle this in another way like other CMS systems?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Adding an image field.

Post by Dr.CSS »

No official way to do just one of many, how would you like it to work...

I've looked at other CMS' but never used them as I think CMSMS is the absolute best... IMHO... ;)
cb2004
Power Poster
Power Poster
Posts: 317
Joined: Wed Jul 04, 2007 3:39 pm

Re: Adding an image field.

Post by cb2004 »

Like news 2.6 where you can just select a file field and you are presented with the browse button.
Locked

Return to “CMSMS Core”