-1

I have a project where I can only access the giant environment. Desired in the project A function called preprocess_field will be written to the template.php file. This function is to check the site name and html tpl files into the script I want to fill the tag. Can you help with this.

Sample :

For Staging: Insert the following code into the of every page of your site, ideally before other scripts in this section.

Insert the following code just before the closing tag of every page of your site.

_satellite.pageBottom();

For Production: Insert the following code into the of every page of your site, ideally before other scripts in this section.

Insert the following code just before the closing tag of every page of your site.

_satellite.pageBottom();

into template.php :

function preprocess(&vars){ if (satage-abc.co.uk == domainname){

/*Insert the following code into the of every page of your site, ideally before other scripts in this section. */

}

if (dev-abc.co.uk == domainname){

For Production: /* Insert the following code into the of every page of your site, ideally before other scripts in this section. */

/*Insert the following code just before the closing tag of every page of your site. */

_satellite.pageBottom();

}

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.