community.egroupware.org: Community wiki

  
Community wiki
SiteMgrFAQs

Frequently asked questions about SiteMgr

  • How can I move the generated website in the docroot?
    • copy the sitemgr-site directory to your docroot, eg. cd egroupware/sitemgr/sitemgr-site; cp -r * ../../..
    • edit the copied config.inc.php file in the docroot and change phpgw_path to point to your eGW install dir, eg. 'egroupware'
    • go to SiteMgr -> define website and edit the existing website (or create a new one) to use the URL '/' or 'http://mydomain/' and as path use the path to the docroot

  • How can I have the nice URLs with only the page-names instead of index.php?pagename=XYZ
    • edit the config.inc.php file in your sitemgr-site directory (or whereever you copied it) and set htaccess_rewrite to True,
    • rename the 'htaccess' file in the same dir to '.htaccess' and
    • configure the webserver to read .htaccess files and AllowOverride FileInfo for that directory

  • SiteMgr first page or I dont want to have an automatic site index on my startpage / homepage
    • What you can do is create a page (in whatever category) and assign it as startpage (page to use if no page is requested). This is done in the site-configuration (admin-only).
    • That page can have only a HTML module, with not automatic index. But it will have all site-wide modules, atm. you cant suppress them. Each page has the site-wide module, the modules of its category (and and all its parent categories) plus the modules of the page.

  • Can I have multiple site in Sub-dirs, eg. http://domain.com, http://domain.com/site-A/ and http://domain.com/site-B/
    • You can do this with sitemgr, but its a litle tricky: the site handling the root-dir has to be the last one created, as it's URL would also match the URL's of the other sites. Atm. there is no other way to influence the searching.
    • An other way to handle that situation is assigning each of this sub-sites an own category and giving that user / group edit-rights only for that category. Only drawback, atm. categories cant have nice URL's. I'm already thinking about changing that, like its done with the page-names.

  • Anonymous access to a SiteMgr site
    • you need to create a user WITH a password (it does NOT work without!!!) and enter that user's name & pw when you define or edit the website. Setup creates a user named 'anonymous' in group 'NoGroup?' for that purpose.
    • the anon user need to have access to 'sitemgr-link' application (NOT sitemgr)
    • the anon user needs to have read-access to the parts of the site he should be able to see!!!

  • How is it possible to share an user calendar on the sitemgr?
    • Give the anon user read access to the user's (or group's) calendar. Do NOT give access to the calendar application to the anon user (or else, everyone will be able to file events).
    • Within the web site, add a block calendar_list for a calendar list or calendar month for a grid (register the modules in sitemgr they are not selectable)
    • Configure the new module to your needs, e.g. by selecting the user (or group) whose calendar should be shown.
    • For calendar_list, adapt your website's stylesheet. Refer to file calendar/sitemgr/class.module_calendar_list.inc.php which includes an example style sheet.

If you don't find the answer here, look in the ManualSitemgr or add your questions here or mail them to RalfBecker, I will answer them here for everyone.



Back to eGroupWare applications / SiteMgr
You are here