New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditional Logic Involving Tags May Not Be Evaluated Properly #1

daveaiello opened this Issue Sep 25, 2012 · 0 comments


None yet
1 participant

When using Template Profiler with index templates that contain template modules that are used with different template types, logic like this:

<mt:If tag="CategoryDataSocial_media_youtube_embed_code"> <$mt:CategoryDataSocial_media_youtube_embed_code setvar="youtube_embed_code"$> <mt:Else tag="PageDataSocial_media_youtube_embed_code"> <$mt:PageDataSocial_media_youtube_embed_code setvar="youtube_embed_code"$> <mt:Else> <mt:SetVarBlock name="youtube_embed_code"><object width="235">A bunch of stuff<br /> <embed src="" type="application/x-shockwave-flash" width="235" allowscriptaccess="always" allowfullscreen="true"> </embed></object></mt:SetVarBlock> </mt:If>

Results in the following error:

Context error: Are you sure you have used a 'pagedatasocial_media_audio_url' tag in the correct context? We could not find the page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment