Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
New to using Umbraco and would really appreciate some advice regarding embedding iFrames to a site.
I have the following to add to the < head >
Then this following to add to the < body >
< div id-"inrecruiting_announces">< / div>
Based on what I've researched so far I assume I need to add the < head > script in the relevant page template under settings, then create a partial view macro file for the body script to then reference as a macro. However I'm a bit lost in terms of how to format the partial view macro file or if there is a better way of doing it?
Thanks in advance, if any further detail helps just let me know.
I would create 2 fields on your doctypes both textareas, call one Head Scripts and one Body Scripts and then in your master template you can call each of them like so:
you can then add your scripts (in html script tags) into these fields in the backoffice and they will display on the site (dont forget to null check)
Thanks for your response, really appreciate it. I've added the script with the method you described, however upon previewing the changes I'm receiving the following error message where I expect to see the script result:
"Warning: vacancy not found"
Could you advise what could be causing that please?
looks unrelated, nothing with the code i specified would cause that error, assuming a normal umbraco setup
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted