Having problems installing Drupal? See the Installation Guide for more information.

Problem with passing vars through a link to the same page

This is the situation:
I added a link by drupal l() function in file common.php, function link_page():

$links[] = l(t("new link1"), array("var1" => "1"), "index", "", "");

What have I to do if:

I want this link to detect what page was loaded and refer to the last node(module, index) that was loaded, I mean, the link must refer to the same page, just to pass variable var1 ?

AND THE OTHER PROBLEM:

By drupal l() function in file common.php, function link_page() I added two such links:

google.api

hi

i downloaded the google module.
i installed the latest and greatest php, soap, the works.

still i get the error
Warning: Failed opening 'SOAP/Client.php' for inclusion (include_path='') in /var/www/html/myblog/modules/google.module on line 5

could anyone point me out howto get thsi working without recompiling php?

End of summertime --> question

Hello!

In my country, austria, we changed back from CEST to CET this night.
I now witnessed in my drupal that if i create a new entry in my blog, in the editing screen i have 9:29 pm, but when i submit it it becomes 22:29, one hour later.

Where should i look for this? Is this a bug in the timesettings of the databaseserver of my provider (to which i have no shell access)?

Thanks,

Ciao,

Steve

Safe mode

Fatal error: Dynamically loaded extensions aren't allowed when running in SAFE MODE. in /home/sim/public_html/site/drupal/includes/xmlrpc.inc on line 44

how can i fix this?

Site Page as "Default Home Page"

I'd like the contents of my homepage to default to a specific site page. Since the site pages don't show up in the pull down list I'm looking for solutions.

One thought is to overide the site links in conf.php, but I guess I am hoping there is a better way.

Cheers,
- Joe

MySQL Threads

I've noticed that Drupal uses mysql_pconnect, and this creates a lot of sleeping threads. I can change the MySQL settings so that they will be garbage-collected more quickly, but I'd rather fix Drupal instead. Can I simply make Drupal's connect non-persistent? Or will this cause problems? Thanks!

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal