Starting a site under NCCommunities
These instructions are for members of NCCommunities who want their own Drupal and, optionally, CiviCRM site operating under the nccommunities.org software installation. Your site will inherit the modules and some of the configuration of nccommunities.org. These instructions will help you get started.
When your site is ready to use, your home page will contain something like:
I think I need to do this so that I can run update.php after updating Drupal. So we'll want to create an administrator role for other administrators.
Under Primary links, cleck Add item. Title: Log out, no description, Path logout. "Log out" now displays in the top right of each page. Add item Home, description Home page, path frontpage.
Notice "directory" in the left sidebar. Scroll down and to the right of "directory," click disable.
Enabling a new module may add new items to the menu.
To activate a disabled item, in the dropdown menu, select a region where you want to place the item. To disable an item, select the region "none."
Go ahead and edit your content types now. Be aware that adding new modules can sometimes create new content types, and they will default to "Promoted to front page" unless you go in and edit them.
But NOT Image Import. Read the descriptions next to each item and decide which ones you want.
Click Save configuration. You will see a couple of messages at the top of the page.
The way a Drupal site looks comes from which "theme" is selected. There are a handful of themes that are included with the default installation, and many more that can be installed. (Apparently there are potential security risks associated with poorly coded themes; I will need to look into this further before recommending where and how people can get additional themes.)
If you are logged in as an administrative user, you can select "Administer" from the sidebar, then select "Site Building" then "Themes". You will see a list of available themes, which can be selected and adjusted via the "configure" button.
You can set an overall default theme for your site, but administrative users can select a different theme. When logged in as an administrative user, select My Account then click the edit tab. In the Account Setting section, there is a header for Theme Configuration. Expand that to see a list of enabled theme. Click in the "select" radio button alongside the theme you want to set that theme.
My Scrap Exchange site is set to have a default theme of Chameleon, but for Admin, I've selected the Garland theme, so when I'm working on the site as an administrator and looking at it in another window as a user, it's clear which is Admin and which the user.
Within the configure Theme panel there is a place where you can select a logo for your page and also the "favicon" logo that appears in the URL bar.
Home > Administer > Site Building > Themes/configure.
The default logo is the scary Drupal alien waterdrop.
I tried without success to get my Scrap Exchange logo in the title bar. I could not get what I wanted sized properly and in the proper position. The icon appears as the actual file size, there is no way to adjust once it's been placed. I may decide to try again once the rest of the site is set up, but had to give up for the time being.
I did get our logo to work in place of the scary waterdrop in the URL bar. For that, the image is auto-sized properly.
You just have to upload your logo file and it will appear. If it doesn't come in right, you can clear out the URL where it's looking for the logo and save settings to put it back to being blank.
This really isn't a good way to have this discussion... Will work to clean it up later... - nes
5. Configure user management
User settings
Q: What does "e-mail confirmation" mean if users must be created by the admin? Anything?
* I don't think it does anything. When you create a new user you have the opportunity to send them email or not. -- JHH 10/24/08
Roles
Q: Is each user assigned exactly one role? No. The roles are cumulative and so can be set up as a role (set of permissions) for different tasks, and then when a user is created he can be assigned multiple roles.
* I haven't worked much with roles. Did you find somewhere that a user can be assigned multiple roles? -- JHH 10/24/08
** Yes -- nes 11/5
Q: What does "locked" mean in the anon and authenticated user roles? [I inadvertently changed the authenticated user roles without any problem.]
* I think it means that you cannot you can't edit the role so you cannot delete it. -- JHH 10/24/08
** ? I'd believe "cannot delete" but I did say I was able to edit the roe -- nes 11/5
6. Site configuration
Q: Does the link indicated for /admin/settings work before "clean urls" are enabled? It works after they're enabled then disabled, so what does "clean urls" mean? Does it just mean that clean URLs will be generated? Or does it also mean that this has to be selected at least once before they'll be recognized. [I'm assuming that setting them changes .htaccess as well as an option in the code on how to generate urls -- does disabling it unset the .htaccess change?]
* See http://hallman.nccommunities.org/glossary#cleanurl. I guess I should copy the Glossary to the Drupal resources section. I'll just put in a link for now. I don't know how it interacts with .htaccess if at all -- JHH 10/24/08
** Yes, I understand clean urls in principle. But next time you set up a site, see if /admin/settings/ works before you enable clean URls. Maybe they're okay in the admin area "out of the box". -- nes 11/5
Q: Time zone. Does Drupal automatically adjust for DST?
* Yes, I'm pretty sure it does. -- JHH 10/24/08
** It didn't appear to do the switch automatically -- and since I can't find a configuration option to choose the DST algorithm, that's not surprising. For sites where all the users are going to be in the same timezone, I'd suggest (on /admin/settings/date-time) disabling the "users can set their time zone". Then the administrator just has to do it once for the site instead of each user doing it. [See http://drupal.org/node/11077 discussion from 2004, but it doesn't seem to have been cooked yet. It may be on the roadmap for v7, but we're still v5.x, right?] This may be one reason for the preference for "amount of time ago" messages instead of specific dates/times. But still... [To be fair, if you'll let me use the W word, WP doesn't handle it automatically either ...] -- nes 11/4
15. Configure TinyMCE
Q: How come the Firefox spell chk doesn't work in this TinyMCE windo ? http://drupal.org/node/135150
Q: Do all the roles need to be checked or would authenticated user apply to all others. [See above.]
* Hum... I've been checking all the roles, but if you create a new role, you wouldn't necessarily think to come here and add the new role. -- JHH 10/24/08
* Be careful when editing a profile -- I accidently clicked delete instead of edit and my profile was deleted immediately. -- JHH 10/24/08
21. Image and Inline
Q: Near the end there's a reference to "inline image" but it looks like just "inline" to me. I'm not sure what that's supposed to do since it indicates it's not
* I need to go back and rework the image stuff. What I had earlier is more complicated than needed. -- JHH 10/24/08
Other things
* Good. Can you add some links? When I asked the CTCNet list, they said to use GIMP. -- JHH 10/24/08
** Google "image crop resize". The first link, http://www.drpic.com/, seems reasonable, but I didn't test it or check other options. I still use an ancient copy of PaintShop, so I'm not too motivated to investigate. Maybe another query to another list? Idealware hasn't addressed this, have they? -- nes 11/4
A B
C D
E F
but it doesn't account for the fact that A/B, C/D, E/F are not pairs of the same length so the eye needs to bounce around to follow the order. What's up with that?
* Yes. It's a little hard to follow. Perhaps they've improved it in Version 6. -- JHH 10/24/08
There are places when submitting a form from the admin theme displays the results (still admin info, to my mind) in the user theme. Is this a bug?
I'm trying to figure out the Drupal notion of a "book".
My initial impression was that by "collaborative writing effort" was something like a wiki.
As noted on the parent page, one feature of a wiki that seems to be missing is the automatic generation of a table of contents based on the headings in the page.
* That would be nice. I haven't seen anything that does it. I found http://api.drupal.org/api/file/modules/book/book.module/5 which contains: "book_toc, Returns an array of titles and nid entries of book pages in table of contents order" so maybe there is a way to do this. JHH 10/24/08
I'm also wondering if a "book" is fundamentally linear or if can be seen as a hierarchy. I think this page is part of a book, so obviously there's a hierarchy. But in outline dialog, there's the notion of the parent page and a weight that seems to have a single level of content.
* Yes, it's hierarchy. The left sidebar navigation bar shows it. Weight allows changing order in a list from alphabetical. I don't understand "outline dialog." JHH 10/24/08
Refs for more reading:
http://www.darcynorman.net/2006/05/24/wiki-vs-drupal-book/ -- one takeaway is that while MediaWiki will generate the TOC from the semantic information on a page, a Drupal book will generate a TOC from the hierarchical arrangement of the pages in a book.
Judy said:
I've installed CCK 5.x-1.9 -- http://drupal.org/project/cck
You should now see a section for it (content, content type, field group,
...) in admin/build/modules
There's documentation at http://drupal.org/node/101723
Note "Getting Started with CCK" at http://drupal.org/node/162242
I needed to go to admin/build/modules to enable CCK (of course) before editing/adding new content types.
Okay, I've enabled CiviCRM. Will keep notes here.
I tried to import NCWU individual records, but got an error that seemed to be permissions. Will start with John Kenyon's notes and do things in order to see if I have better success
In various places in CiviCRM there are icons that look like they might be links to help -- but they don't do anything when I click them (either Firefox 3 or IE 7). Code behind the display is something like: <span dojoType="dijit.form.DropDownButton" class="tundra"> or <span dojoType="dijit.form.DropDownButton" class="tundra">.
There's a very complex "views" dialog that pops up in some contexts. I haven't figured out anything about it yet. Will post here as I learn things.
I'm working on the usability of my site and changed the order of the Primary Links menu items (which on NC Communities are in the upper right corner: Logout, Home, About, Help).
In the Chameleon theme, those links appear on the left side, above the navigation bar. I wanted to put an "Add Information" link there for people who want log in and cut to the chase.
Under Administer > Site Building > Menus, you can change pretty much everything about the menus: the order in which they appear (using the weight feature, -10 [top/left] to 10 [bottom/right]), the menu names, and the tool tip popup text. (Also in the same place, you can change the Menu Items in the navigation list, and change the placement (left side vs. right side) and order of navigation menu items.)
I added "Add Information" as a new menu in the Primary Links section and put in the full URL http://scrapexchange.nccommunities.org/node/add. Worked great.
I did a bunch of other things then logged out to make a comment on this site, then logged back in and noticed that "Add Information" showed up on my login page. Oops, don't want that. Users can't click to Add Information on my site before they're logged in, they get an "Access Denied" page.
After a fair amount of bouncing around trying to figure out what controls that, discovered that putting in just the relative URL -- node/add -- as the Path makes it not show up until the user is logged in.
Don't know if that comment is useful or not but the solution was not obvious so wanted to mention it.
Rebecca, I'm surprised that your addition to the primary menu showed up on the login page and that just changing it to a relative URL fixed it.
Just so you know in case you see anything else strange with your login page -- I set up your site using the front page module -- see /admin/settings/front. Anonymous users see the page http://scrapexchange.nccommunities.org/front_page (note the underscore). Authenticated users see http://scrapexchange.nccommunities.org/frontpage.
It was the very first page you get to when you go to http://scrapexchange.nccommunities.org, the login screen. I guess that would be the anonymous user page? Since you haven't logged in yet.