Quote from: Dimmy at Jul 28, 2005, 02:41 PM
Quote from: aNoble at Jul 28, 2005, 01:21 PM
In your post you said that you replaced [*loNgtitle*] with [#logtitle#] (no N). Is that just a typo in the post? You may want to check that.
thats a post typo sorry
I have overwritten the files with your files on a updated modx TP3.1 instalation. will try again
[edit]
I have renamed the files and copyed your files in there place but still not working
do you not need to change the index.php in the root? cause only the index in the manager is changed but you acces the index.php in the root if you want to display a page.
at this moment the only thing i see after I changed the template is [#content#] instead of the content and again there is no edit button.
[/edit]
Has anyone else had a problem with this?
You may want make sure that the page isn’t being cached. That may be causing problems. I hadn’t thought about how caching would affect it, I’ll have to test that out tonight.
The /index.php file does not need to be changed at all. Getting the edit button to render is completely handled in the document.parser.inc.php file. The other three files are for the editing and the saving. So your problem should lie in there somewhere if it’s not a caching issue. If you are seeing the [#content#] then it probably means that the mergeFrontendEditableContent function is not getting called at all.
Check for this code in the document.parser.class.inc.php file.
// HACK - Adam Crownoble 7/20/2005
// Combine frontend editable document variables with the template
$source = $this->mergeFrontendEditableDocumentContent($source);
// END HACK
Sorry for all the hassle. I hope it’s not giving everybody this much trouble.