Ask a Question related to Macromedia Contribute General Discussion, Design and Development.
-
developerStu #1
PHP in links being editable by Contribute
I need a bit of help with Contribute editing links with PHP script in them,
because currently when one of the admin girls at work tries to deactivate a
link they get this message:
?you cannot perform this action in this region of the page?
the link is within a cell of a table and looks like this:
<a href="bookingform.php?coursecode=08-0340&coursename=WorkSafe Victoria
Approved Initial Level Course for HSR's, Managers and Supervisors (5
Days)&date=Tuesdays 15th, 22nd, 29th July, 5th, 12th August&location=<?php echo
$location;?>"_blank>BOOK</a>
when I change the script <?php echo $location;?> to what the variable
$location equals they are able to edit the link. To give an example,
when I change the link to this:
<a href="bookingform.php?coursecode=08-0340&coursename=WorkSafe Victoria
Approved Initial Level Course for HSR's, Managers and Supervisors (5
Days)&date=Tuesdays 15th, 22nd, 29th July, 5th, 12th August&location=107
Princes Hwy, Trafalgar"_blank>BOOK</a>
they can deactivate the link with out a problem. Is there any reason that a
link can?t have PHP script in it and be edited by Contribute?
Any help with this would be greatly appreciated.
developerStu Guest
-
User's Can't Create Links in Editable Regions
I'm using dreamweaver templates to manage a site with Contribute C3 v4.1. All of my users, even admin users, receive the error message 'you cannot... -
Making ASP pages editable by Contribute
Greetings! I have a Website that was written in ASP that is heavily reliant on "Webmaster" administration, where a single Webmaster creates and... -
Templates with non-editable links
In my template I use document relative links (e.g. "../newdir/something.htm") most of which get updated correctly when I create a new page based on... -
Contribute 2 can't make links in editable region
I get an error when I try to create a link in an editable region using contribute 2. "You cannot perform this action in this region of the page"... -
Problems making links within editable region
I'm reviewing Contribute for use on a wide scale ( a bunch of schools ) but it seems i'm running into some serious limitations. I'm using... -
radsraman #2
Re: PHP in links being editable by Contribute
Hi,
php scripts are identified by the tags. In the first case, the code has the
php tag, i.e you are fetching the location value using the php script and so
people would not be able to edit any of the regions involving php. The user
will be able to see the php shield. In the second case, its just another link
so the user will be able to edit the link etc as you have removed the php tag.
Go to administer website -> edit role settings -> editing, if you give allow
editing of forms php tags, then user will be able to delete the php shield
shown in the html while editing.
Thanks,
Radhika
radsraman Guest



Reply With Quote

