Hi Ken, I would like to add this file of web tags to one template webpage
its called CUrxtra.php where is the best spot to include it?
do i need to change the format so there is not a conflict?
thanks beau
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
would like to add this to one page?
Moderator: saratogaWX
-
- Posts: 845
- Joined: Sun 10 May 2009 8:52 pm
- Weather Station: davis vp2 Serial datalogger
- Operating System: Windows 7 64-bit
- Location: Springfield, IL
would like to add this to one page?
You do not have the required permissions to view the files attached to this post.
Re: would like to add this to one page?
I would add it as below as you only require it one page. You could also add the code to do a check for the file existence if you like. Don't forget once it's been processed it's .php not .txt.
Code: Select all
############################################################################
require_once("Settings.php");
require_once("common.php");
require_once("CUextra.php");
############################################################################
Re: would like to add this to one page?
Assuming you upload the file to your Saratoga directory, if not you'll need to change the path as appropriate.
Code: Select all
require_once("../some_directory/CUextra.php");