Versioning for 1.6 and general preview

2 views
Skip to first unread message

alanski

unread,
Nov 24, 2009, 5:42:14 PM11/24/09
to Joomla! CMS Development
I noticed some talk of Andrew considering version control [http://
joomlacode.org/gf/project/vscontrol/] in 1.6

I had a client request version control and then realised that for many
casual users or hands off managers they want to see the web monkeys
hard work in a preview, in context, on the site in order to approve
it.

The alpha of version control is brilliant - fantastic features (maybe
a bit confusing as to where you are in articles or versions). One
thing it lacks and one thing Joomla lacks is this ability to show
someone a new page/link of an unpublished article in the context of
the frontend template view, ie in the context of the site. Now I know
what I am asking is potentially tautological in Joomla speak -
"Please can I see a an unpublished article in the front end" - but I
was wondering if we have a version system running - ie a copy(s) of
article from com_content - then can this draft version be exposed in
the front end for real previews in context?

As an idea has it got legs?

alan

Omar Ramos

unread,
Nov 24, 2009, 5:52:28 PM11/24/09
to joomla-...@googlegroups.com
Having this as a core feature in Joomla 1.6 would be fantastic (especially for us at the college). Victor put together some great work during the GSoC so I would think it's inclusion in 1.6 might be a definite possibility.

I also vouch for the ability to have an "in-context" preview of an article within the frontend of the site as well.

Sometime ago I had studied (or at least observed) how it was accomplished in Wordpress. My memory is probably a little fuzzy but I remember that you could click on the preview button within Wordpress, which would bring up the frontend version of the page, the only difference between this URL and the final URL was that this one had an additional variable tacked onto the end of the URL (something like "preview=1" or so). I know it was as simple as adding the variable to the URL (I'm sure Wordpress performed some additional checks...like perhaps seeing if the user performing the preview was the same one that was currently editing the article), but I thought it was something that would be useful in Joomla too though I never did attempt to implement it. Probably to make it more Joomla specific, in addition to the theoretical "Preview in Frontend" link I'm trying to describe, it might also be useful to have the ability for the preview to integrate an ItemId that would get tacked onto the end of the preview URL so that associated modules would be displayed alongside the content as well, if desired.

Web Wizard Will

unread,
Nov 25, 2009, 1:17:04 AM11/25/09
to Joomla! CMS Development
Ok I am a little dated on some things so if I am not on the same page
please help get there.

(I will be trying the component mentioned in the near future)

First I think the idea of version control for Joomla content in
general is a superior idea.

As for the preview the variable "preview=1" I think is not a bad
idea. Though I have a couple of suggestions for the authentication
and how to structure it.

When
(preview=true||1||ON )

Super Users can view any saved article.
(parameter chosen level) Users and high can see any article
if Users under (parameter chosen level)

(preview=username)
user can preview self owned items

Else

permission denied


Hope that makes enough sense.

Andrew Eddie

unread,
Nov 25, 2009, 2:47:37 AM11/25/09
to joomla-...@googlegroups.com
The Release Team thought it best we leave that for 1.7. With 1.6
*really* cleaned up it's going to make a difference to our release
cycle so won't be as long a wait. We'll probably talk more about this
next Sunday in New York if you are there :)

Regards,
Andrew Eddie
http://www.theartofjoomla.com - the art of becoming a Joomla developer




2009/11/25 alanski <in...@joomkit.com>:

Web Wizard Will

unread,
Nov 25, 2009, 2:50:08 AM11/25/09
to Joomla! CMS Development
I wish i could be there...if I had the budget I would be.

On 25 Nov, 02:47, Andrew Eddie <mambob...@gmail.com> wrote:
> The Release Team thought it best we leave that for 1.7.  With 1.6
> *really* cleaned up it's going to make a difference to our release
> cycle so won't be as long a wait.  We'll probably talk more about this
> next Sunday in New York if you are there :)
>
> Regards,
> Andrew Eddiehttp://www.theartofjoomla.com- the art of becoming a Joomla developer
>
> 2009/11/25 alanski <i...@joomkit.com>:

Andrew Eddie

unread,
Nov 25, 2009, 2:51:13 AM11/25/09
to joomla-...@googlegroups.com
:)

Where are you Will?

Regards,
Andrew Eddie
http://www.theartofjoomla.com - the art of becoming a Joomla developer




2009/11/25 Web Wizard Will <wil...@webwizardwill.com>:

Web Wizard Will

unread,
Nov 25, 2009, 2:55:28 AM11/25/09
to Joomla! CMS Development
Columbus, Ohio


On 25 Nov, 02:51, Andrew Eddie <mambob...@gmail.com> wrote:
> :)
>
> Where are you Will?
>
> Regards,
> Andrew Eddiehttp://www.theartofjoomla.com- the art of becoming a Joomla developer
>
> 2009/11/25 Web Wizard Will <will...@webwizardwill.com>:
>
>
>
>
>
> > I wish i could be there...if I had the budget I would be.
>
> > On 25 Nov, 02:47, Andrew Eddie <mambob...@gmail.com> wrote:
> >> The Release Team thought it best we leave that for 1.7.  With 1.6
> >> *really* cleaned up it's going to make a difference to our release
> >> cycle so won't be as long a wait.  We'll probably talk more about this
> >> next Sunday in New York if you are there :)
>
> >> Regards,
> >> Andrew Eddiehttp://www.theartofjoomla.com-the art of becoming a Joomla developer

Andrew Eddie

unread,
Nov 25, 2009, 5:01:48 AM11/25/09
to joomla-...@googlegroups.com
Not as far as I have to come :)

Regards,
Andrew Eddie
http://www.theartofjoomla.com - the art of becoming a Joomla developer


2009/11/25 Web Wizard Will <wil...@webwizardwill.com>:
Reply all
Reply to author
Forward
0 new messages