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.

Safecracker head variable issue

February 25, 2011 6:37pm

Subscribe [4]
  • #1 / Feb 25, 2011 6:37pm

    Natetronn

    161 posts

    Is anyone else having issues with using safecracker_head variable?

    I added {safecracker_head} to one of my snippets and then tried it in an embed and it just echos itself as text.

    v 2.1.3
    build 20101220
    v 2.0.0

  • #2 / Feb 27, 2011 3:22pm

    Greg Salt

    3988 posts

    Hi Natetronn,

    The safecracker_head variable is not a global and must be used inside the safecracker tags. Just like any other embed it will be parsed separately and after the main template and that’s why you are seeing it echoed out.

    Cheers

    Greg

  • #3 / Feb 27, 2011 3:32pm

    Natetronn

    161 posts

    Thanks Greg for the reply.

    I am wondering why this even exists? To have it somewhere else in the Safecracker (where is already resides) versus at the bottom of the page or head tag where it belongs doesn’t make sense to me?

    Any chance is will be turned to a global in the future? (Feature Request?)

  • #4 / Feb 28, 2011 7:36am

    Sue Crocker

    26054 posts

    Hi, Nate. Feel free to add this as a Feature Request.

  • #5 / Feb 28, 2011 2:35pm

    Natetronn

    161 posts

    Thanks Sue, here it is.

  • #6 / Mar 01, 2011 3:49am

    John Henry Donovan

    12339 posts

    Natetronn,
    Thank’s for the FR. Closing this one out.

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

ExpressionEngine News!

#eecms, #events, #releases