Is there an easy way of creating additional fields for a content-page, so users can edit these through the ususal edit-content page?
I guess i have to create a module myself that creates a custom content-type (like the catalog module)?
Any other ways to do this?
greetings,
Ramon van de Laar
www.seriousmedia.nl
custom content fields
-
- Forum Members
- Posts: 116
- Joined: Mon Jul 28, 2008 4:48 pm
- Location: Cambridge, UK
Re: custom content fields
Just add this to your template:
and then any page you edit using that template will have an extra content area.
Nick
Code: Select all
{content block="somename"}
Nick
-
- Forum Members
- Posts: 11
- Joined: Thu Jan 31, 2008 12:39 pm
Re: custom content fields
Great,
is there any way to type (single line input-field) the fields of is it always a textarea?
is there any way to type (single line input-field) the fields of is it always a textarea?
-
- Forum Members
- Posts: 116
- Joined: Mon Jul 28, 2008 4:48 pm
- Location: Cambridge, UK
Re: custom content fields
Yes (and I learnt something new too).
Read the help for the content tag - "Extensions - Tags - Content" in the admin menu. Set the parameter to =1 or ="1" to set it to true.
Nick
Read the help for the content tag - "Extensions - Tags - Content" in the admin menu. Set the parameter to =1 or ="1" to set it to true.
Nick
-
- Forum Members
- Posts: 11
- Joined: Thu Jan 31, 2008 12:39 pm
Re: custom content fields
Found it! 
{content block='block name' oneline=true} should work fine!
greetings,
Ramon van de Laar
www.seriousmedia.nl

{content block='block name' oneline=true} should work fine!
greetings,
Ramon van de Laar
www.seriousmedia.nl
Re: custom content fields
Really if you would have just read the content of every page in the default install you would have found all this and more...
WHY oh why, can anyone tell me, does it seem like no one reads all the pages that come with a default install, it talks about all the modules, tags, menus, all kinds of stuff about cmsms that I see questions about daily...
They might as well just fill the pages with lipsum corum....
WHY oh why, can anyone tell me, does it seem like no one reads all the pages that come with a default install, it talks about all the modules, tags, menus, all kinds of stuff about cmsms that I see questions about daily...
They might as well just fill the pages with lipsum corum....