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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Odd Issue with Render Order


Go to End


556 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?