Camera Icon

Got an event that needs shooting?  I've covered multiple events for marathon-photos.com and can capture the scenes & emotions that make your event unique.

Some samples of my own work are at Digital Formula on Flickr.

Wand Icon

Do you or your business need a website but you're unsure where to start?  Get in touch now and we'll get it sorted.

I focus on usable functionality & can setup smaller sites using Wordpress within hours of the order being placed.  Magic!

Globe Icon

So, you've already got a website but need help managing it?  I can help you.

Don't worry about knowing every single detail.  I'll find out the most important stuff and work with you to reach your goal, not someone else's.

said on twitter: LOL spammers really do bank on the ignorance of their targets huh? A file with a .jpg.exe extension ... really? http://t.co/0TgobjQc

 
Short URL
Warning: This article is older than 180 days and may contain inaccurate information.  Please use the information below at your own risk.

Allow EE code in EE with ‘Allow EE Code’

The Problem

One of the great features of ExpressionEngine is that you can change pretty much everything that affects layout. EE tags are a big part of this but I found that by default you can have EE tags inside templates, obviously, but not inside entries. Putting EE tags into entries will simply show the EE tags in the browser when viewing the entry - not good. So, how do we do this?

The first step is to download and install the 'Allow EE Code' plugin, a first-party plugin from the makers of ExpressionEngine. As always the best place to get info about the EE plugin manager is the EE documentation.

Without going into too much detail the remaining steps are as follows.

  • Edit your custom fields, in particular the ones you'll be using EE tags in. Edit the list 'Default Text Formatting for This Field' and make sure the option 'Allow EeCode' is set to 'Yes'.
  • Unless you set the default text formatting drop-down box on the previous screen to 'Allow Eecode" you'll also need to set 'Allow override on publish page?' to 'Yes'.
  • Next time you edit or publish an entry you'll be able to have EE tags in your entries IF you set the default text formatting option to 'Allow Eecode'. If not you'll have to change the default text formatting from 'XHTML' to 'Allow Eecode'. See the previous setup if you don't have that option available.

I was trying to do this so that I could use the Freeform plugin by Solspace inside an entry instead of inside a separate template.

Hope that helps someone. :)

» Tags: expressionengine, expression engine, ee code, allow ee code
DigitalFormula is an experiment in HTML5 and CSS3 design by Chris Rasmussen, an amateur/casual designer based in Melbourne, Australia. -37.813611 144.963056