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.

assign_variable from embedded page to rest of page

October 23, 2009 9:09am

Subscribe [1]
  • #1 / Oct 23, 2009 9:09am

    100hertz

    8 posts

    ok: here’s the deal.

    I’ve got a template called ‘langfile’. This contains if/if statements to set the vars for several languages. The langfile needs to be embedded in the top of my page so i can show the menu-items etc in the correct language (if segment_1=en than assign the vars with english lang). When i hard code the ‘assign_variable’ at the top of my page it works like a charm, but if i use {embed="site/langefile"} it doesn’t work. It loads the file though, but it doesn’t parse the vars to the rest of the page…

    wrrhhhaaaaaaa!!!!!

    Is there something i’m missinge here?

    thanx

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

ExpressionEngine News!

#eecms, #events, #releases