We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Embedding a template is not working, what am I doing wrong?

Development and Programming

dmDev08's avatar
dmDev08
100 posts
9 years ago
dmDev08's avatar dmDev08

I’ve embedded a template in another and it’s not showing up when I view the main template in a browser.

index template (type=html, group=site):

{embed="site/header"}

header template (type=html, group=site):

header

Both templates show as files:

“/system/user/templates/default_site/site.group/index.html”

“/system/user/templates/default_site/site.group/header.html”

Under the access tab, both show as checked for every type of user.

What am I doing wrong?

       
dmDev08's avatar
dmDev08
100 posts
9 years ago
dmDev08's avatar dmDev08

This appears to be a weird issue when templates are set as files that can be edited. After doing that, if I edit the template in the control panel, the changes I make are not seen on the website. But if I edit the file in an external text editor, they are!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.