Absolute Beginner

I have an existing website which is updated by a number of users, most of which have little or no HTML expertise (they currently create and edit pages in microsoft word, then save as HTML!).
In an attempt to make things easier and more flexible I have installed Drupal on my website via my ISP control panel.
My website already has a 'index.htm' page which is the default page loaded from www.mydomain/
Drupal has installed a file 'index.php' If I load this it brings up the Drupal login page. My first question is 'what login name and password is it expecting?' Whatever username and password I enter, or even if I click on the 'create new account' or 'request new password' links I am taken back to my home page. The url in the address bar is something like www.mydomain/?q=node&destination=node - ie parameters but no page name, which is presumably why it is loading my deault web page! Assuming index.htm was causing the problem I renamed it to index2.htm and added a line in my .htaccess file -'DirectoryIndex index2.htm'. This made no difference - www.mydomain/ still loads the default home page (now index2.htm) and logging in on www.mydomain/index.php still brings up the default home page (index2.htm)

Where do I go from here?

What's the best way to allow access only to a specific part of a Drupal website using Drupal 7?

What's the best way to allow access only to a specific part of a Drupal website using Drupal 7? We're in a large corporate environment, and we will have an enormous "information architecture." Ideally, it would be nice if we could assign users to roles and any content a user creates is only editable by other users in that roll, and of course administrators. We're going to have about 50 of these roles. Content could include things like blog posts, basic pages, photo gallery pages (using image fields), etc. What's the best way to implement these kinds of permissions.

Taxonomy Links in Custom Field

*Premise*

I create a 4-checkbox list called "Type of Exercise" in my taxonomy, add it to the fields in Articles. Seems like everything's working. But when I check one or more boxes during the content creation, it doesn't show those '4-category-tags' as links that I can go to the other instances, just plain, non-link text. So I see after I post it that I've selected "Running" and "Cardio" as options, but I can't click through to them, or extract that link to build a menu on it. I'm still new to this. Please help! :)

Node ID Numbers

How can I see the node id's when working with my site contents?

Since most things are node id dependent it would really be a help to see article and content node id's.

Calling a Custom theme function from Theme settings form.

Hi,

I'm currently trying to convert my base theme Opengrid to D7, the problem I have is with a custom theme function that displays a group of fields in a table, I been reading about the changes in the theme_table and hook_theme functions in D7 but still I can't make it work. Here is my code:
This is placed in the theme_settings.php file, this is the call to the function,

<?php
    ...
    // Grids Fieldset
    $form[$key .'_layout']['grids_settings'] = array(
      '#type' => 'fieldset',
      '#theme' => 'grids_settings_table',
    );
...
?>

in the template.php file
hook_theme function,

/**
 * Implements HOOK_theme().
 */
function opengrid_theme(&$existing, $type, $theme, $path) {
  return array
  (
    'grids_settings_table' => array
    (
     'render element' => 'form',
    ),

  );
}

finally the theme function itself,

/**
* Returns a table to configure grid settings.
*/
function opengrid_grids_settings_table($variables){
$form = $variables['form'];
$rows = array();
$header = array (
t('Region'),
t('Width'),
t('Prefix'),
t('Suffix'),
t('Push'),
t('Pull'),
t('Extras'),
);

foreach (element_children($form) as $key) {
$name = $form[$key]['grid']['#title'];

Centralized content across a multi-site installation

Hello!

I'm building a multi-site installation that needs to share some centralized data between sites. Shared data includes users and *some* content types.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x