Understanding hooks please help.

Guys i have created a simple page of movies (inside the movie content are node references of casts). Now i am instructed to display the number of casts in a movie using nodeapi hooks. I have no idea how to do that. im so new to drupal by the way. But i know how to manual code it in PHP. anyone can guide me tru this? I have to understand this hook concept of drupal.

Items to Display link in the calendar page view is not allowing you to restrict the number of event items to display

I am developing a calendar view to put on my homepage and want to restrict the amount of events displayed on the homepage to 2. However when I put 2 in Items to display link in the calendar page view, it i not restricting the amount of events displayed on the homepage to 2. Any suggestions?

module_invoke to get a view using a 'display as block'

I've misunderstood something.

I've used this successfully:

     <?php $block = module_invoke('block', 'block', 'view', '15');
       print $block['content']; ?>

But now, I need to include a view with a display 'view as block' so upon hovering over that block, I get:

admin/build/block/configure/views/sc_file_view-block_4

so I tried:

Cutting Drupal PHP Churn

Hi All,

I've got one complex page which loads slowly, load times being:

FULL "node-rest-body.tpl.php" file
Authenticated User: 20.2 sec., 19.5 sec. (first run, second run)
Anon User: 5.4, <1

EMPTY "node-rest-body.tpl.php" file
Authenticated User: 19.4, 19.0
Anon User: 5.3, <1

All my other pages load within a second. I had been concerned my custom php file might be contributing to this as it does a lot of background wizardry prior to displaying page contents, but as you can see, by me making that file negligible "print 'hello';" total load times were cut down by less than a second, meaning 95% of the time is spent with Drupal php churning through the page code.

I also ran the page through Webpagetest several times and found that the Time to First Byte is about 5-6 seconds, with the page first displaying at about 9-10 seconds, a separate issue I am trying to address.

This page is composed of about 200 cck text fields, but otherwise it is not remarkable.

English contact person see only the English users.

Hello,
I have one problem. Now i create one multilanguage page. I have 4 language.
When the user register he can choose her country. And i have four contact persons. My goal the English contact person see only the English user.
And the Hungary contact person see only the Hungarian members.

single sign on between different drupal versions (6.x and 7.x)

Sorry if that question has been posted before but, is it possible to have this module working with different drupal versions? We some big projects in Drupal 6 and we want to start with a migration plan. Without being able to migrate parts of our sites, the task is much more complex than being able to do small migrations and tests.

Thank you very much in advance

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x