Hi Everyone,
Please see the attached TP3.3 files for testing before release.
List of changes
* update snippet and plugin to use word wraping on textarea
* update chunks, template to use FCK’s RTE
* BUG #84 - Fixed login captcha bypass (Mark)
* NewsFeed now defaults to &makerss=1
* update NewsListing with news features (Ryan & Greg)
* #msg6246 - update NewsFeed to support valid RSS2.0 tags (Mark)
* add &linktext support to NewsListing snippet
* add &tpl (chunk name) template support to NewsListing snippet. Fields - [+title+],[+summary+],[+author+],[+date+],[+linkurl+]
* load gd2 dynamically when using captcha
* fix cache path bug in cache_sync.class.processor.php
* add &aliastitle to NewsPublisher
* fix:#64 - makeURL is acting up when aliases are on and off.
* prevent duplicate alias when importing html
* fix bug when saving web user
* remove .cgi files from manager\media\browser\mcpuk\connectors\php\Commands\helpers
* fix TV checkbox delimiter bug
* add &groups parameter to WebSignup Snippet
* add Manager Interface Access to to manager user settings
* add Manager Login Startup to manager user settings
* update quickedit module
* update fckeditor
Please remember to test the installer against previous installs (upgrade process)
Raymond,
One quick long question about the usage of the OnBeforeDocFormSave event in the QuickEdit module. I noticed that you had changed the $value_prep variable to $content, presumeably so that a plugin could manipulate the saved values, which makes sense. However, if a plugin manipulates the $content variable when we’re editing, pagetitle, longtitle or another TV then they might get unsuspected results. It seems to me that if we use the OnBeforeDocFormSave event then we’ll have to duplicate the entire variable structure of the save_content.processor.php file which means using $pagetitle, $longtitle, $content, $intotext, $tmplvars, etc. which could complicate things a good bit.
Anyway, this is my dillema. Am I understanding this correctly? I can duplicate the save_content.processor.php files vairables and save all of the document variables and each of the documents TVs content if that’s what it takes but it seems like there should be a better way.
Do you think it would be acceptable to just deal with the content at hand, that shouldn’t be too hard. In other words, define a $longtitle variable if we’re editing the longtitle or a tmplvars[1]=’tv value’? If someone had a plugin that was meant to manipulate some other content other than what was being edited it wouldn’t have any affect but maybe that’s okay.
What do you think?
Hi Adam,
I don’t recall making any updates to the qe other than the cursor stuff. I’ve downloaded QEv6 and updated the module accordingly.
I noticed that you had changed the $value_prep variable to $content, presumeably so that a plugin could manipulate the saved values, which makes sense. However, if a plugin manipulates the $content variable when we’re editing, pagetitle, longtitle or another TV then they might get unsuspected results. It seems to me that if we use the OnBeforeDocFormSave event then we’ll have to duplicate the entire variable structure of the save_content.processor.php file which means using $pagetitle, $longtitle, $content, $intotext, $tmplvars, etc. which could complicate things a good bit.
Changed $value_prep to $content?? Where??
Not sure I’m following you here.
Will grab this one and update nice work
I used the diff files and rerun the installer all looked nice until the last screen from the installer
getting this error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/kinghosting.nl/subdomains/modx/httpdocs/install/setup.info.php on line 115
Quick edit "No record found for id 0" error came back.
Hi Dimmy,
Thanks for the feedback. I’ve fixed the bug and have updated the first post.
Note: this update does not include QEv7. I’ll be waiting for Adam’s updates to the css links stuff