Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: rah_post_versions: Revision control for articles, forms and pages
Gocom wrote:
With 4294967295 revisions, you would have 8 terabytes of data stored.
I’ll get back to you then :)
Added diff tool.
Très cool!
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
the_ghost wrote:
In Diff tool when the first version of field didn’t contain anything it looks like i 2px line. Maybe it worth to add
min-height
to this blocks?
Good idea, but it’s not possible to make it as high as the line. Every browser handles line height differently and block elements do not scale according dpi/zoom setting set for fonts.
From my point of view, basically it now looks as good as it would look with min-height. The height would never be same as the line-height. It’s as usable and it reserves important space.
Only viable method is to add unbreakable space inside the blocks, or remove the blocks altogether if the older is empty.
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
OK, now this plugin officially spanks my butt and calls me Judy.
The only thing I could think of to make it better would be an accordion for contained revisions…
- Item 1 (+)
- Item 2 (-)
- Revision 1
- Revision 2
- Revision 3
- Item 3 (+)
+5 Finland. THANKS
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
Minor version 0.5 released. Makes no difference to anything, just clean code a bit. Changelog:
- Removed twice presented conditional.
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
I must say that this plugin is awesome and it is a great step forward for TXP itself! Filled a gap between other CMS. Thank so much!
Z-
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
Hi,
I don’t tried your plugin yet, but it seems a great and very useful one.
Do you think that it will be possible to work with multiple environment (dev, testing, production) thank to it? Or maybe did you plan a feature like this?
Last edited by Grégocentrique (2010-06-16 16:03:35)
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
Grégocentrique wrote:
I don’t tried your plugin yet, but it seems a great and very useful one.
I sure hope so :-)
Do you think that it will be possible to work with multiple environment (dev, testing, production) thank to it? Or maybe did you plan a feature like this?
Sorry, I’m not really following :-) Maybe I’m bit dummy and my eyes are transfering your question as mambo-jambo. Wouldn’t be the first nor the last time.
Are you asking if the plugin works in all production modes? Then yes. But I supose that wasn’t what you meant.
If you are asking if it allows you to run multiple enviroments of one install (site), then no. It’s a revision manager; it stores revisions and comes with a revision browser. That sort of development enviroment is not what the plugin is ment to do and is not planned.
If you are asking if saving revision could optinally turned off based on the production status, then why not. That can be implemented.
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
Hello and thank you for this great concept and plug in.
I’m getting these errors when I click on the “event” = “write” and I click on one of the instances…
Notice: Array to string conversion in /home/myDir/public_html/mysite.com/textpattern/lib/txplib_misc.php(594) : eval()'d code on line 1110
Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/myDir/public_html/mysite.com/textpattern/lib/txplib_misc.php(594) : eval()'d code on line 1120
Anyone else getting this?
Thank you in advance.
TJ
“…freely ye have received, freely give.” | www.PublishingAWebsite.com
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
TJ wrote:
Hello and thank you for this great concept and plug in.
Thanks you, TJ :-)
I’m getting these errors when I click on the “event” = “write” and I click on one of the instances…
What are you meaning exactly? What is the URL requested (/textpattern/?foo=bar) when that happens, or could take screenshot, so I could get a clearer look of what you’re meaning. I will be happy look at it as soon as I know where it happens.
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
Hi!
OK, when I click on Extensions/Post Versions/ I see the list of saved versions.
When I click on a saved version that is in the “Write” category (as opposed to “Forms” for example) and then click on any of the saved versions, I receive the errors I posted before.
The errors show up on the top of the screen above the menu bar.
Here is a couple of address bar locations.
textpattern/?event=rah_post_versions&step=rah_post_versions_view&group_id=3&id=36
and another…
textpattern/?event=rah_post_versions&step=rah_post_versions_view&group_id=2&id=2
Thanks.
TJ
Last edited by TJ (2010-06-20 01:16:00)
“…freely ye have received, freely give.” | www.PublishingAWebsite.com
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
TJ wrote:
When I click on a saved version that is in the “Write” category (as opposed to “Forms” for example) and then click on any of the saved versions, I receive the errors I posted before.
I see. Then that probably means that the revision somehow saved an array, which means that the form had an array in it (inputs with name="foo[]"
).
What plugin you have installed?
Anyway, I probably have to add check if the post data contains an array, and if so, loop that too.
Offline
Re: rah_post_versions: Revision control for articles, forms and pages
OK. I’ll get you a list of the plug-ins…
aam_zcr_clearcache
ajw_comment_alt
ajw_comment_num
ajw_if_comment_owner
aks_header
arc_twitter
arc_youtube
asy_jpcache
asy_wondertag
bot_show_image
gbp_admin_library
gbp_permanent_links
hak_tinymce
jbx_multiple_image_upload
jmd_sitemap
mem_postmaster
mem_postmaster_library
rah_comments
rah_comment_spam
rah_metas
rah_post_versions
rss_auto_excerpt
rss_suparchive
rss_unlimited_categories
rvm_privileged
smd_lately
smd_prefalizer
upm_image
wet_haystack
wet_peex
wet_quicklink
wyn_recent_comments
zem_contact_lang
zem_contact_reborn
zem_nth
I know it’s a lot, but I can’t help myself…
You’ll probably want me to cycle through the plugins and see if I can find the “one” causing the array. And, yes, I’ll be happy to.
Thanks,
TJ
“…freely ye have received, freely give.” | www.PublishingAWebsite.com
Offline