Creating a custom view-only pager override

Hello - I have created a override to the theme pager in my default theme template.php file i.e.

mytheme_pager($variables) { ... }

Which works great, but this overrides all pagers.

I have created a view called flickr and have created some template files for it i.e. views-view-fields--flickr.tpl.php, views-view--flickr.tpl.php which again work great.

What function name do I need to use to override just the pager for this view, not every single pager?

Trying to get the proprety of a non object..

Here is my code:

function THEME_preprocess_block(&$variables) {
    $variables['user_profile'] = menu_get_object('user');
}

Then i print it with this code :

print $user_profile -> name

and i get this error:

Notice: Trying to get property of non-object in include() (line 71 of SITE\sites\all\themes\parce\block--block--2.tpl.php).

So i assumed $user_profile was not an object and tried :

Errors in module flag

Module flag has error (Strict warning):

Error message:

Strict warning: Non-static method flag_flag::factory_by_row() should not be called statically в функции flag_flag::factory_by_row() (строка 1553 в файле /public/***/www/sites/all/modules/flag/flag.module).

Fix:
Add a keyword for the methods static, when vіzіvayutsya statically.

Please fix bug

Administrator menu module

Hello to all! Here is my question

I have a fresh install of Drupal 7. I try to install the Administrator menu module. Then i activate it and the problem appears which is:

The default drupal menu still appears on top of the Administrator menu module. Have any of you faced this problem too?

A tag word is constantly losing capitalization of first letter

It is a strange problem this I have encountered.

I made a few articles and taged them Seventies, Eighties etc. One of them went for Noughties, as the 2000-2009 decade is called.

But: After I save the article, again and again, Noughties will turn to noughties (first letter not capitalized). I constantly edit it to Noughties and then, again noughties is what I get. All other tag words keep correct.

Any suggestion?

How Can I Do Calculations On Fields In Views?

Hi, I'm new to Drupal and would like some guidance. I've got an installation of Drupal 7.2 with the Views module enabled and am loving what I can do with it! Very easy and very cool! But, I have run into a problem that doesn't have an obvious solution. I was hoping to be able to do calculations on certain view fields. For example: calculate the running balance of a table of bank transactions.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x