Page 1 of 1

Using Archiver module for Version Control purposes

Posted: Tue Jul 10, 2007 3:13 am
by citizenine
As Cyberman suggested last August (http://snipr.com/cybermanarchiver) the Archiver module can be used as a means of obtaining CMSMS version control. Thank you, Cyberman!

I installed version 0.2 with no problem, but on reading the Help material I find I'm unclear as to where to apply the following:

Any admin who has "Manage Archives" permission may go into the archive admin, and set Archive expiration parameters. in the "Archive Preferences" page. This should be self-explanatory.

I'm the admin. Where do I go to be sure I have "Manage Archives" permission? (I don't find it in the Archive Manager Module, Global Settings, My Account, or User Preferences. Clearly I am not looking in the right place.)

Or does the fact that I am able to open Content > Archive Manager Module and set the expiration parameters mean that I already have this permission and I needn't worry about it?

Thanks for reading and for any clarification.

Re: Using Archiver module for Version Control purposes

Posted: Tue Jul 10, 2007 3:26 am
by Nullig
Under Users & Groups, select "Group Permissions" from the Menu.
Choose the Admin group (or whatever group you wish to give the access to) from the popup list.
Click on "Select Group".
You will be presented with a long list of 'actions' and 'permissions'.
Check to make sure youhave the proper permissions.

Also, there was a mistake in the Archiver.module.php file. Make sure you edit it and to reflect the following...

function VisibleToAdminUser()
{
return $this->CheckPermission('Manage Archives'); <-- this was missing
}

Nullig

Re: Using Archiver module for Version Control purposes

Posted: Tue Jul 10, 2007 12:09 pm
by citizenine
Ah, Nullig, yet again I find myself thanking you and bumping your karma skyward.  :D

Stupid of me not to have found the Group Permissions, right there under my nose.  Well, under Users and Groups' nose, at least.

But here's what confuses me still, while I have installed Archiver v. 0.2 and have it running as far as I can tell, I don't see a subdirectory for it within the modules directory and I can't find Archiver.module.php anywhere.

Again, I'm sure it's lurking about under somebody's nose, but I'm sure not seeing it. Then again, as my ex-wife used to say, I am "blind as a bat, but twice as smart." :P

Re: Using Archiver module for Version Control purposes

Posted: Tue Jul 24, 2007 6:21 am
by essexboyracer
Same here. I am trying to edit the template with the <style tag that needs removing for this module to work in IE. I can find the Archiver directory via FTP in /modules/ but there are no files in there.

listarchives.tpl
Line 3 with <style needs removing
Cant fond the file though!

Re: Using Archiver module for Version Control purposes

Posted: Tue Jul 24, 2007 8:40 am
by essexboyracer
Got it, dont install the module vis the module manager interface, upload the files to the modules directory via ftp instead, then install via Modules.

This is a great addon which needs expanding. How would you do a snapshot of the entire site?