Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
raingerpete2005 #1
Users editing PHP variables or scripts
Hi, I have a PHP template that contains an include for a page header but this
script requires three variables that are pass to the header.php page to tell it
what menu's etc to present.
I can allow users to edit the body of a pages text using contribute but I
can't seem to make any part of the PHP source editable by adding template tags
inside or outside the php tag.
<!-- TemplateBeginEditable name="codeybits" -->
<?php
// Enter the file name or address of the next, previous and map pages.
$menu = "blog.php";
$section = "set12.php";
$map = "map.php";
//
?>
<!-- TemplateEndEditable -->
<?php require_once('template-header.php'); ?>
<?php
<div id="content">
<!-- TemplateBeginEditable name="main content" -->
Main content text....
raingerpete2005 Guest
-
How do I prevent users from editing certain portions ofa page?
Hi, I've created a site in DWCS3 using a template. However, I ONLY want my client to edit a few parts of the site and not everything in the... -
Win 2k3 newbie: Login scripts not applying to Win98SE users.
They apply to XP machines ok, but not 98. Microsoft client in Network Neighborhood is set to log onto domain. What else must I do? -- Dave... -
Users executing perl scripts
Hi people, I have finished some little perl scripts that gives basic infos to my users. I want to make these perl scripts available to all users... -
Passing variables between scripts
Hi there Director and Lingo beginner her, and I've googled for this in this group and others and on the web. I am not sure that what I want is... -
Notepad Bug when editing Perl scripts in Win XP?
Has anyone else tried editing perl scripts in notepad in XP? I am getting some characters inserted into the scripts..... ------------- -Randy -
jhutchdublin #2
Re: Users editing PHP variables or scripts
This is the whole purpose of Contribute, or at least I thought -- User's aren't supposed to gain access to the code that way they can't change it
jhutchdublin Guest



Reply With Quote

