Three instances of Drupal.
Each with their own Database
For those users who exist in each database (identified by unique email) I would like to log them into ALL instances when they log into one
With logic I imagine to look like this:
#Login this user, set sessions
#For each other instance this member belongs to log them in too
db_set_active('Second_DB');
#Login this user, set session info for that instance
Having been searching these forums for the past couple of days and can't seem to get anything working.
I am trying to add accesskeys to the $primary_links menu.
I am using phptemplate.
I have seen a few methods how to amend things /add your own variables to phptemplate,
but I can't get anything to work...
From a snippet shown on these forums, (sorry don't have link) I have copied code / amended slightly,
but doesn't make any difference. In template.php I have the following.
NB: the $type variable does get created and does work - it the primary links thing I can't fathom out.
I've googled and all that, seen some interesting relevant material but either too much or too little detail.
All I want to do is programmatically create a user with a given plaintext password and ideally I
would set them to belong to a given already-existing group.
Anybody got a list of steps?
I know it is theoretically very simple, but grepping and googling so far has not revealed the steps I need to take.
Many thanks
Russ Welti
IRIS Consortium
Seattle, WA, USA
I have found that '#value' attribute of a button is responsible for its text (which is visible to a user).
Also, '#value' attribute is used to determine which button has been pressed on the form.
I have installed drupal on my local machine say http://localhost:9090/otg and i want to create a multisites domain say http://abc.localhost:9090/otg.For that i have made a copy of default folder(settings.php) and i have changed the folder name to abc.localhost.otg and the $base_url = http://abc.localhost:9090/otg .But when i tried to access the url it will shown the error page.Pls let me know if i missed out someth
I would like to insert some code into the RSS generated by node/feed.
What module generates this and how do I change it?
The purpose is to insert ypn ad code.
This feature is already supported by the atom module per default, which leads me to believe it should be possible with the standard rss code as well.