Dynamic navigation links

I have a site where ever user has their own page that shows just their posts by using a view. The view is a page set to /staffpages/%user where %user is whatever name you type in there. I need to make a link in my navigation menu that links to a certain %current_user 's page.

In other words, whoever is currently logged in, I need the navigation menu to dynamically change the link to view their page. (/staffpages/%current_user)

Reducing views result, or SQL mastery

I have a view which lists node NIDs by some criteria. What I'd want is to reduce the list of nids by a set of conditions that are completely unrelated to the original list. Imagine the view creates a node list with nids from 1 to 100. I can produce another view (or SQL query) that produces a list of, say 10 numbers between 1 and 100, and I'd like to reduce the first view to not include those numbers.

URGENT HELP NEEDED - how to print theme_function in theme layer??

Say there is a module, in the site/all/module there is a function theme_abc (&$var). (In my case, it is int module gmap_location.module) and the function is "theme_gmap_location_node_page".

How can I use this function in my theme layer in page.tpl.php? Can I do

print theme_gmap_location_node_page($variable);

Please help!

contact form basic

A complete newbie question. I know a little about enabling and and configuring contact forms. Can someone please tell me how to get the form itself to appear on the page?
Thanks ahead of time,.
sifaka

Ignite Drupal - Drupal with embedded CodeIgniter

Drupal Module: ignite_drupal


Download Version 1.0 from Ownalbum.com:
http://www.ownalbum.com/files/download/fa2c84fad29772f621f60162d3be07fe....

WARNING: You must have a bit of CodeIgniter and MVC/OOP knowledge to be able to read the following

Ever since I was literally forced to work with drupal, I have always wondered about the following:

  1. What if I would be able to call CI controllers directly from my drupal functions/hooks, etc.
  2. What if I would be able to load anything I want into drupal and everything that's in the CI autoload automatically ?
  3. What if I would not change anything to the CI core so that CI may be uupdated at all times ?
  4. What if I would be able to call any Drupal API function inside my CI controllers ? Any Drupal function.
  5. What if I would be able to manage URI routing using both CI and Drupal.
  6. What if I would be able to setup a Drupal hook_menu() item, and that menu item's path would automagically call one of my CI controllers/method ?

Now all that, and more in this simple drupal module (see attachment)

How to use it ?

Step 1: Installing the drupal module.

Login issues. Returns a page with nothing but a 0 on it

I have just recently installed Drupal 7.4 using Godaddy's hosting control center. After a default install (only changing directory installed to and passwords.) I am unable to sign into my drupal page at work.

If I give incorrect credentials it will tell me they are wrong and ask me to try again.
If they are correct it takes me to a white page with a single '0' in the upper left hand corner.

I tried to view page source but all it shows is a 0 at line 1.

At home I can login and start configuring the site without issue. Have loaded a new theme and everything.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x