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.

Global Variables in Entries

February 20, 2009 4:37pm

Subscribe [3]
  • #1 / Feb 20, 2009 4:37pm

    zencode

    7 posts

    Hi,

    is there any way to create a global variable that can be used in weblog entries?

    Thanks,
    David

  • #2 / Feb 20, 2009 5:03pm

    Chad Altemose

    44 posts

    Weblog entries aren’t parsed for EE tags. However, there is a plugin that allows EE tags in your weblog entries:

    http://expressionengine.com/downloads/details/allow_ee_code/

    I have not used it before and have no idea if it’s a good idea to do what you say using this method. I think it depends on what kind of system your using for weblog editors and permissions as far as whether or not you want to open up all blog entries to parsing any EE code.

  • #3 / Feb 20, 2009 5:21pm

    zencode

    7 posts

    Works beautifully - thanks. That’s exactly what I was after.

  • #4 / Feb 20, 2009 5:47pm

    bmovie

    619 posts

    Notes
    IMPORTANT DISCLAIMER: Allowing EE Code in entries or comments can present a LARGE SECURITY RISK. By using this plugin, ANYONE allowed to post entries or comments can submit ANY EE tag and it will be executed. Use this plugin only if you have very tight control over who can post data in the area where you are using it. Be Careful!!

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

ExpressionEngine News!

#eecms, #events, #releases