|
PITS /
01005Summary: Publish button disabled if Drafts and PageTextVar() is used
Created: 2008-01-31 00:56
Status: Open
Category: Bug
From: Anke
Assigned:
Priority: 3
Version: 2.2.0-beta65
OS:
Description: If I have Drafts enabled, and added the following unrelated to that to config.php
$CommentPage = 'Comments-{$FullName}';
$compage = PageTextVar($pagename, 'CommentPage');
if(!$compage) $compage = $CommentPage;
$FmtPV['$CommentPage'] = "'$compage'";
After that, the Edit link is still present in pages editable for everyone when I'm not logged in, but on the edit form the Publish button is greyed out/disabled. The probem is definitive the PageTextVar(); if I replace that call with 'test' things work again. I did not set Neither did
The normal edit form without draft mode works. Hi! I had the same problem I solved it seconds ago and perhaps this could help you:
Make sure you DONT have any scripts included in your config.php wich set I had Sorry for my bad English. Simon |