Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Odd Issue with Render Order


Reply


178 Views

Avatar
drscares

Community Member, 1 Post

9 July 2014 at 5:08am

Hi,

I have a plugin that loads content via ajax from a template file. Intermittently it's ONLY loading the content I'm pulling in through Ajax, not the parent template on initial load.

So, if I view the source, I'm not seeing any of the parent template's HTML, only the content from the file I'm including through JS.

This is only happening on my Dev and Production environments which are hosted through Media Temple, I can't recreate the issue locally. Also, this seems to have started occurring after I turned FastCGI on in my environments.

I'm very new to SilverStripe so I'm not as familiar with parsing order. Can anyone help shed some light on this issue?