ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Allow custom field to be either of 2 types?

October 04, 2011 7:19am

Subscribe [2]
  • #1 / Oct 04, 2011 7:19am

    JamesBrighton

    146 posts

    Can I make a custom field where the field type can be either or 2 options?

    Im maintaining a site I didnt build. For blogs the main text field has a type ‘EP Editor’. This is a wysiwyg text editor but I cant find any documentation on it. I need to allow certain html mark up (inline styles and classes are currently being stripped out) but it appears there is no way to do this.

    I dont want to change the filed type for this custom field as presumably it will mess up all the existing content. However I do need to change it for new content, so I can use no wysiwyg or a one that allows this markup that I need.
    Thanks

  • #2 / Oct 04, 2011 12:38pm

    Mark Bowen

    12637 posts

    Hi James,

    There is currently no way of doing what you are asking I’m afraid.

    Doing a quick search for that add-on with Google brings me to this page - http://labs.electricputty.co.uk/epeditor although there isn’t actually any information listed there about it.

    Have you tried contacting the author directly about this as I’m afraid we’re not able to support 3rd party add-ons directly here.

    Thanks,

    Mark

  • #3 / Oct 05, 2011 4:40am

    JamesBrighton

    146 posts

    Yes, ive contacted the author directly. Thanks anyway.

  • #4 / Oct 06, 2011 11:22am

    Mark Bowen

    12637 posts

    Hi James,

    No problem. They would definitely be the best person to hear back from on this one as they will know whether you can directly change those fields for a different field type without there being any problems further on down the line.

    I’m going to close this one out now but if anything else crops up then please don’t hesitate to post again as needed.

    Cheers,

    Mark

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases