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.

embed not working inside single entry page

February 03, 2011 2:13am

Subscribe [2]
  • #1 / Feb 03, 2011 2:13am

    TinyBrands

    23 posts

    Ok, I’m going to do my best to explain what is happening.

    1. I have a template group called “includes”
    2. I have a template called “about_me” inside “includes”

    3. I have another template group called “site”
    4. I have an index file with this code {embed="includes/about_me"}. This works like a charm!

    5. I have a single entry page called “post” inside the “site” group
    6. I also have {embed="includes/about_me"} but this doesn’t parse.

    When I look at the source, none of the html is there. Its like it doesn’t exist. What is even more strange is that if I write the code directly into the “post” template, it still does NOT work, but if I change the channel=“about_marty” to something else like “blog”, then the template parses out and spits out blog entries, but nothing from the “about_marty” channel.

    What would cause this to work in the index page and not in the single entry page?


    Also, the permission of my templates are being reset automatically. I set them to 777 and after a while, they will go back to 645 (I think, or something similar). Any thoughts?

  • #2 / Feb 03, 2011 2:55am

    TinyBrands

    23 posts

    Dynamic=“off” solved it!

  • #3 / Feb 03, 2011 3:36pm

    Ingmar

    29245 posts

    Excellent 😊 (it’s actually dynamic=“no” now, JFYI.) Please post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases