I have a file containing links and images for marketing and SEO that I pop into the backend of all my sites using the following syntax...
However, in CMSMS isn't liking that. Can someone point me at where I can research how i should be doing this in CMSMS.
Thanks!
Scotch
Using a <?php include ();?> - how?
-
cyberman
Re: Using a <?php include ();?> - how?
Create a user defined tag named myfile with
inside (admin panel -> extensions). Now you can call it on every page with {myfile}
Code: Select all
include (http://.mywebsitename/myfile.php);-
cdstg
Re: Using a <?php include ();?> - how?
Hi I guess if its working for your existing site as include (http:// eg http then you have url fopen enabled
Anyway in anwser to your guestion go to
Extensions then
* User Defined Tags
make a new tag but don't put the in that tag just the include (http://www.yourdomain.com/page.htm);
then in your template for the site that you are using place {yourtagname}
that way it will call you tag on everypage if its just on one page you need that then don't do it in the template just in the page itself
The other option would be to make a Global Content Block under content menu and place the content not the php include in there eg if its stuff that does not change then in your template enter {global_content name='Name of Global Content Block'}
hope that helps
Anyway in anwser to your guestion go to
Extensions then
* User Defined Tags
make a new tag but don't put the in that tag just the include (http://www.yourdomain.com/page.htm);
then in your template for the site that you are using place {yourtagname}
that way it will call you tag on everypage if its just on one page you need that then don't do it in the template just in the page itself
The other option would be to make a Global Content Block under content menu and place the content not the php include in there eg if its stuff that does not change then in your template enter {global_content name='Name of Global Content Block'}
hope that helps

