Hi,
I need to add 5 drop down boxes (which will be populated from a table in the database) to the form where you add a new page of content type 'content'.
When a user adds a page they should see the normal form plus 5 drop downs at the bottom allowing them to select certain includes for the page.
Could someone please tell me where in the code I need to add them?
thanks
Rachael
Add custom fields to content type content in admin area
-
- Forum Members
- Posts: 57
- Joined: Thu Jan 17, 2008 3:58 pm
-
- Forum Members
- Posts: 53
- Joined: Mon Jul 23, 2007 5:30 pm
Re: Add custom fields to content type content in admin area
I think this functionality would make a MASSIVE improvement to CMSMS. It's been my CMS of choice for a long time but lately I've had to use expression engine for a few projets as it makes it so much easier to add custom fields that really relate to the content type of a post. It would be great if you could build custom field sets to allow for drop down boxes, check boxes, or simple text fields etc. when adding a new page, and then associate those custom field sets with templates in the same way you do when you associate CSS pages with a template.
Alternatively, it could just be an extension to the content block tags that you use when you build your template.... so if you wanted to add a drop down field to a template for people to use when they add a new page, you could do something like this:
{content block="Choose a colour" type="dropdown" options="Red, Blue, Green"}
Anyone fancy taking it on?? ::)
Alternatively, it could just be an extension to the content block tags that you use when you build your template.... so if you wanted to add a drop down field to a template for people to use when they add a new page, you could do something like this:
{content block="Choose a colour" type="dropdown" options="Red, Blue, Green"}
Anyone fancy taking it on?? ::)
Last edited by rubberglover on Fri Feb 05, 2010 5:25 pm, edited 1 time in total.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Add custom fields to content type content in admin area
I have a module written that will do this for 2.0...
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: Add custom fields to content type content in admin area
Robert
Re: I have a module written that will do this for 2.0...
This will make a huge improvement to CMSMS. I just hope that the search module will be improved considerably as it needs to be so that e.g. for drop down blocks in a page are searchable categories.
Any idea as to when 2.0 is likely to be released as this has been talked about for a few years now?
Re: I have a module written that will do this for 2.0...
This will make a huge improvement to CMSMS. I just hope that the search module will be improved considerably as it needs to be so that e.g. for drop down blocks in a page are searchable categories.
Any idea as to when 2.0 is likely to be released as this has been talked about for a few years now?