Using Archiver module for Version Control purposes

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
citizenine

Using Archiver module for Version Control purposes

Post 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.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Using Archiver module for Version Control purposes

Post 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
Last edited by Nullig on Tue Jul 10, 2007 3:37 am, edited 1 time in total.
citizenine

Re: Using Archiver module for Version Control purposes

Post 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
essexboyracer
Forum Members
Forum Members
Posts: 85
Joined: Wed Jun 20, 2007 5:40 pm

Re: Using Archiver module for Version Control purposes

Post 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!
Last edited by essexboyracer on Tue Jul 24, 2007 8:18 am, edited 1 time in total.
essexboyracer
Forum Members
Forum Members
Posts: 85
Joined: Wed Jun 20, 2007 5:40 pm

Re: Using Archiver module for Version Control purposes

Post 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?
Last edited by essexboyracer on Tue Jul 24, 2007 5:02 pm, edited 1 time in total.
Locked

Return to “CMSMS Core”