Drupal is up and running but how do I ...?

Give access to content based on duration of membership

Hi,

I guess this is not possible with the current drupal version / modules. But since drupal is so big I might have overlooked it, so I'd rather ask...

Is it possible to give access to content based on the duration of each users membership? So that a user who is registered 3 month can see more content than a user who is in his first month.

This would require to assign a specific timeframe (for the required duration of membership) to each piece of content. And it would require a function that then checks each users time of membership.

Making DSN change to civcrm resulted in fatal error

AFTER a cron run, got the following:

Fatal error: civicrm_menu() [function.require]: Failed opening required 'CRM/Utils/Menu.php' (include_path='.:/var/www/htdocs/civicspace/modules/civicrm:/var/www/htdocs/civicspace/modules/civicrm/packages:.:/usr/local/lib/php:/usr/lib/php') in /home/towninco/public_html/modules/civicrm/modules/civicrm.module on line 182

In attempting to create a test site (of which I am clearly incapable), I had changed the following key sections (by accidentally overwriting my live site's files) in the public_html/sites/default/civicrm.settings.php

<?php
/**
* CiviCRM configuration file.
*/

1. FIRST CHANGE:

/**
*
* Update the CIVICRM_UF_DSN setting to match your Drupal or Mambo database username, server and DB name.
* Database URL format:
* define( 'CIVICRM_UF_DSN', 'mysql://my_username:my_password@localhost/my_db?new_link=true');
*/

2. SECOND CHANGE:
/**
* Site URLs:
*
* This section defines absolute URLs to access the host CMS (Drupal or Mambo) and CiviCRM.
* IMPORTANT: Trailing slashes are required for CIVICRM_HTTPBASE and CIVICRM_RESOURCEBASE.
*
* EXAMPLE: if your Drupal site url is http://www.example.com/civicspace/
* these variables would be set as below. Modify as needed for your install. If you do not
* have clean url's turned on, make sure CIVICRM_MAINMENU is valid for your install.

'No input file specified.' (imagefield/imagecache combo) - can't even find .htaccess

After reading a great article over at Lullabot, on the various image/thumbnail/resize combos, I tried to get imagefield/imagecahe up and running. When I try to create an action (imagecache Administration), I'm prompted with a 'No input file specified.' message. I think it may have something to do me needing to modify the .htaccess file (per the readme in imagefield):

comment out RewriteEngine off
add +FollowSymlinks to the Options stanza.

Output custom menu items (not primary or secondary)

Using phptemplate, how do I loop through the items of a custom menu?

The following works for the "Primary links" and "Secondary links"...

if (isset($primary_links)) { print theme('links', $primary_links) }
if (isset($secondary_links)) { print theme('links', $secondary_links) }

But how do I ouput my "Footer links"? The following does not work and I do not know the syntax for passing the menu id (98)?

case tracker module: editing/assigning cases?

I have installed casetracker.module,v 1.68.2.2. Everything seems to be working as it should, except that even people I have given all available casetracker permissions to cannot edit or re-assign cases. It seems that right now I, as the overall admin, am the only one. I need for users with the role of "casetracker admin" to be able to edit and assign/re-assign cases after the cases are created, or the system is useless. It seems that there should be a way to do this. Is this a bug, or something I'm missing in the config?

Best way to use Drupal for document management?

Suggestions on best way to use Drupal for document management? We want a master document attached, discussions to ensue, and the ability for authorized accounts to update the master document. I don't think the revisions feature in core applies. Ideas?

Thanks!

--D

Pages

Subscribe with RSS Subscribe to RSS - Post installation