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

Is it Possible

Is it possible to define specific php template for a specific user's profile page?

I have a user profile page template for users but i want to show the profile page different for user id = 1

How can i do this?

i18n for 4.7.0-beta4

Hello,

I was wondering if it's possible with have the internationlization (i18n) function in 4.7.0-beta4?

JonasB

Permissions for Forums

Hello!

I'd like to know if there is a way of setting permissions on forums so that only certain users can post topics on particular forums. At our university, we are using drupal to build a community-like site, and at the moment, any user that is authenticated and allowed forums permission can post to any forum. Any help would be appreciated!

Regards,
Maha

Create subdomain forum.drupal.site for /drupal.site/forum

Hello,

I have my froum at /drupal.site/forum. I created subdomain forum.drupal.site via dreamhost panel. What magic should I do to apear my /drupal.site/forum content at the new forum.drupal.site?

The more detailed instruction for dummies you can provide,the less questions I'll ask. I'm complete novice in subdomain issue, especially in Drupal. Thx.

HDI create a 'what's related' structure

Hi there

I'd like to create a framework for 'What's Related' structure on a site. For example a page node is displayed about a town somewhere, let's call it Drupalville, and then next to that in a side bar is displayed all related nodes, such as Holidays offered to Drupalville, historical information about Drupalville, people that live there etc.

Taxonomy / SQL Statement Help

I am writing a block to display Inside Tips (FAQ's) related to the current page being viewed. Setup a book with the FAQ's (for cross-node use), and using a taxonomy to tie the current page to relevent entries in the FAQ. I want to add a second block with a new book of "what not to ask" and reuse the taxonomy.

My issue is: I only want to display in the block the book page nodes that relate to the specific book parents (faq or what not to ask) - I can make it work by returning everything in the taxonomy and use a complex if clause, but would prefer to only return the correct records in my SQL call. How to reference the book nodes parent in SQL gets me there I think...


//Variable declarations
$block_content = ''; // content variable that will be returned for display
$book_InsideTip = 12; //node 12 = Insider Tips Book.
$content_type = 'book'; //resrict to just books (not really needed)
$listlength="6"; //length of list in block
$node_id = getnid(); //get the currently displayed node (will be procedure page)
$curNode = node_load(array('nid' => $node_id)); //generate node
$taxo_id = $curNode->incNid; //Get the taxonomy term ID for this node

//setup SQL statement ---THIS IS THE SECTION I NEED HELP ON---
//Note: I tried adding this to the WHERE --- AND term_node.parent = $book_InsideTip ...errors.
$result1 = pager_query(db_rewrite_sql("SELECT n.nid, n.created FROM {node} n INNER JOIN term_node ON n.nid = term_node.nid WHERE n.type = '$content_type' AND term_node.tid = $taxo_id AND n.status = 1 ORDER BY n.created DESC"), $listlength);

Pages

Subscribe with RSS Subscribe to RSS - Post installation