As I am sure you all have encountered, there are often problems when you want permissions based on each taxonomy term. I tried a few of these access control modules, but I came to feel that, for my site at least, it made more sense to make a custom node type, and create a vocabulary that only uses that node type. For example, I have user news, and site news. I didn't want regular users to use the site news term, but despite clear instructions, unless it's not available, they will anyway.
Is there a "preferred" way to dynamically change the theme being used by a site using custom PHP code?
By "preferred", I think I have in mind approaches which are not resource intensive and are also reliable (i.e., not dependent on quirks of Drupal's current core code, which could change sometime in the future).
Is it possible to have the content of the "access denied" page displayed by LoginToboggan use a different theme than the default theme?
I've looked at the code for the module, and there are suggestions that this is possible. But, as a relatively new user, I'm not able to establish how to use this functionality (if it's present).
Hi
I'm working with Apache 2.2.2, MySQL 5.0.19 and PHP 5.1.2
I have a default site http://abcd
This works fine.
Now i would like to enable a site http://abcd/def which will have its own tables, users, modules, themes - basically a site by itself.
I have been struggling to implement the form api for quite a few days. But I cant seem to get through. I just need to know the basics as in
for a simple form of the type
user - textname for userfield
submit button.
When user enters name and clicks on submit button his name should go to a page where in a php code will print the content of the get or the post array.
Please can someone post a small code desciribing this. It would be of great help for the beginners to build upon. thanks a million in advance