The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Check in function
PostPosted: Sun Jan 16, 2011 3:37 am 
User avatar
I've been banned!

Joined: Sun Dec 19, 2010 1:26 am
Posts: 602
Location: Slovakia, Bratislava
Hi,

For what I need to use function ''Check in''
Also second question which parameter send that I need check article or menu item, or something and put button there

See pic.
Attachment:
article.jpg


You do not have the required permissions to view the files attached to this post.

_________________
I m Rebel ...


Top
 Profile  
 
 Post subject: Re: Check in function
PostPosted: Tue Jan 18, 2011 2:20 am 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Fri Aug 19, 2005 2:26 am
Posts: 2352
Location: Lancaster, Lancashire, United Kingdom
A very quick introduction to the concept of 'check out' and 'check in'.

Joomla is a multi user system meaning that more than one person can be in the system editing articles and changing other settings.

Imagine what would happen if 'User A' started to edit an article, and shortly after 'User B' starts to edit the same article. User A takes his time and does a major rewrite. Before he gets to save it - User B opens the same article and makes minor edits (perhaps correcting a typo in the original).

What would happen if User A saves his major edit - and then User B saves the minor edit moments later. You guessed it (hopefully) the final saved article would be User B's minor change and User A would be a little annoyed.

To prevent this - when someone starts to work on an article (and indeed many other 'objects' within Joomla) the system 'checks out' the item - marking it as being unavailable for anyone else to edit. The system 'checks in' the item, making it available to others, after it is saved - or if the user cancels his edit.

What if the person doing the edit never saves or cancels. Perhaps his session times out, or he loses his internet connection, or he hits the BACK button in his browser? The item stays Checked Out indefinitely. So allowing users to check-in items marked as being edited by themselves, or allowing Super Admins to Check-in items that they are reasonably sure are not actually still being edited by anyone allows normal operation of the site to continue.

Hope that explains what this feature is for.

Dean

_________________
Dean Marshall Consultancy - six Joomla experts - http://www.deanmarshall.co.uk/

Check whether your website is Hacked Or Not (beta): http://www.hackedornot.com/


Top
 Profile  
 
 Post subject: Re: Check in function
PostPosted: Tue Jan 18, 2011 2:27 am 
User avatar
I've been banned!

Joined: Sun Dec 19, 2010 1:26 am
Posts: 602
Location: Slovakia, Bratislava
Great, many thanks for your answer :pop

so if I will not check in after some changes and it shown that I need it do it, it will check in itself when I log out or never ? Bc. when I saved it, there is icon for showing me, that it need be check in, but it was already saved

_________________
I m Rebel ...


Top
 Profile  
 
 Post subject: Re: Check in function
PostPosted: Tue Jan 18, 2011 2:44 am 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Fri Aug 19, 2005 2:26 am
Posts: 2352
Location: Lancaster, Lancashire, United Kingdom
Saving, or cancelling out of the edit, should check the item back in - and remove any padlock from the screen. It may be (theoretically) possible (perhaps) that your server loaded the new page before the database finished saving the data back and you could see a padlock after you've saved - but this would mean you had a really slow database server.

If you navigate away from the article manager and then back - does the padlock still display?
If it does, you may have found a bug.

Dean

_________________
Dean Marshall Consultancy - six Joomla experts - http://www.deanmarshall.co.uk/

Check whether your website is Hacked Or Not (beta): http://www.hackedornot.com/


Top
 Profile  
 
 Post subject: Re: Check in function
PostPosted: Tue Jan 18, 2011 3:14 am 
User avatar
I've been banned!

Joined: Sun Dec 19, 2010 1:26 am
Posts: 602
Location: Slovakia, Bratislava
so I checked it, it will happens when I go edit erticle from frontend, then I logout or go somewhere without save, then padlock is displaying and I need check in or edit it

Edit: so you was right , it is ok, but now I m not sure if before was the same situation, but probably yes, bc. maybe I had opened some article from frontend and check it in backend.

Thank you

_________________
I m Rebel ...


Top
 Profile  
 
 Post subject: Re: Check in function
PostPosted: Tue Jan 18, 2011 11:33 pm 
User avatar
I've been banned!

Joined: Sun Dec 19, 2010 1:26 am
Posts: 602
Location: Slovakia, Bratislava
Hi again ;)

What does it mean ... I login to my admin, go to modules and there was padlock on breadcrums.
Ii is on localhost, so nobody do something with it and also I did not something with breadcrums today.
Why it can be marked with padlock, that it means, it need to be check in ?

Edit: now I m seeing, that, there is also date, time and user why it was check out ;) it was today, so probably I opened that, I dont know ;)

_________________
I m Rebel ...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 



Who is online

Users browsing this forum: No registered users and 46 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group