Page 1 of 1

AdvancedContent - Newbie question

Posted: Thu Jul 14, 2011 2:33 pm
by mkrve
Hi List,

First off... yes i have read the documentation en read thru some forum discussions... but still, i hope someone can point me in the right direction.

I'm still quite new to CMSMS. And just developing my first site in it.
Everything is going great, and i am loving CMSMS after a few other cms's i tried (typo3/joomla/wp)

I realy would like to try the AdvancedContent module. But i miss a simple 'getting started' howto.

I would like to create a page-content with a few single line input fields, a large text field, a drop-down selection and (if possible) a file upload/link.

Can someone please point me in the right direction on how to acomplish this? What do i put in my template?
And what is a good position to place it in the template?
(all the way at the top?)

Thanks,

Martin

Re: AdvancedContent - Newbie question

Posted: Thu Jul 14, 2011 3:33 pm
by uniqu3
Fot these you can find help/description under "Extensions -> Tags -> content" and these come with core installation, no need for Advanced content.

Input:
{content block='one' label='My oneline input' oneline='true'}
Textarea:
{content block='text' label='My Textarea with WYSIWYG'}
Textarea no wysiwyg:
{content block='text_no' label='My Textarea without WYSIWYG' wysiwyg='false'}

AdvancedContent with dropdown:
{content block='dropdown' label='This is my nice dropdown' block_type='dropdown' items='Something|something else|and more'}

Actually this is also described in module help, "Extensions -> Modules -> AdvancedContent -> Help"

You can place these where you want their content to be shown in your Template.
If you want to use one block/content multiple times then you could put these on top of the template and assign a variable which can be used later on in the template.

For example after {process_pagedata} you could add {content block='one' label='My oneline input' oneline='true' assign='foo'}

Then you can reuse it anywhere in your template where you want it's content to be shown with {$foo}

Hope this get's you goin.

Re: AdvancedContent - Newbie question

Posted: Fri Jul 15, 2011 8:30 am
by mkrve
Hi Goran,

Thanks for your reply.

I found the help pages you described, but those describe all the options and give examples of the more advanced programming.

I was looking for a simple howto to get started with multiple content elements. And i could not find examples of them.

But i think your reply will get me going :)

thanks!