This option "Site user list page title:" does not seem to be overriding the standard page title of "Site user list". My Drupal version is 5.2. The module version is: site_user_list.module,v 1.1.2.6.2.27 2007/06/22 15:57:41

Comments

pukku’s picture

Assigned: Unassigned » pukku

You may need to clear your caches to force the menus to rebuild themselves. You may also be able to do this by going to the admin/modules page and clicking submit.

HTH,
Ricky

langweer’s picture

I have the same problem. Admin can not override standard page title. It always is "Site user list".
I can't figure out how to solve this. Even hardcoding in site_user_list.module doesn't work.
Site cache is not active.
Any suggestions? :-)

pooneil’s picture

Assigned: pukku » pooneil

I am a new co-maintainer of this application. Ricky's suggestion of going to the admin/modules page and clicking submit should work. Please let me know if this did/does not work for you (you may not even be running Drupal 5 anymore!).

pooneil’s picture

Status: Active » Closed (fixed)
Cyrandir’s picture

I am having the same problem, am using the 6.x-1.0-beta1 release. Going to the modules page and re-saving did not help. No site cache here either.

pukku’s picture

There is a cache, even if page caching it turned off. If you go to admin/settings/performance, you can clear all cached data, which should force the menus to rebuild.

Ricky

Cyrandir’s picture

I tried that before looking there, and in fact just now did it again, but to no avail. The name is still not matching what I save in the configuration. What else can I provide you that would be helpful?

pukku’s picture

Do you have the devel module installed, or access to the database?

If you have the devel module installed, go to the variable editor, if only access to the database, look in the "variable" table. What is the value for the variable "site_user_list_title"? Does it match what you would like it to be?

pukku’s picture

Status: Closed (fixed) » Active
Cyrandir’s picture

Checked the db directly and found that it does match what I want, so that much is good :) Just have to figure out how to get it where it needs to go.

pukku’s picture

Hi! Sorry for the delay...

Just to double-check, if you go into site_user_list.module, around line 111, do you see:


  $items['site_user_list'] = array(
    'title' => variable_get('site_user_list_title', 'Site user list'),
    'page callback' => 'drupal_get_form',
    'page arguments' => array('site_user_list_form'),
    'access arguments' => array('view site user list'),
  );
  

If so, in the database, in the table 'menu_links', what do you get as a result of "SELECT * FROM menu_links WHERE link_path='site_user_list'"?

pukku’s picture

(Also, what about the appropriate query in the menu_router table?)

phdenis63’s picture

Version: 5.x-1.x-dev » 6.x-1.0-beta1

Answer to #11 (I'm using version 6.x-1.0-beta1 with patch 183379_0.patch concerning eval)

"Site user list page title" entered in the "User Interface Options" is not showed as page-title for the result list.

1) the lines below are ok
$items['site_user_list'] = array(
'title' => variable_get('site_user_list_title', 'Site user list'),
'page callback' => 'drupal_get_form',

2) SELECT * FROM menu_links WHERE link_path='site_user_list'" give me:

menu_name mlid plid link_path router_path link_title options module hidden external has_children expanded weight depth customized p1 p2 p3 p4 p5 p6 p7 p8 p9 updated
navigation 2346 0 site_user_list site_user_list Site user list a:0:{} system 1 0 0 0 0 1 1 2346 0 0 0 0 0 0 0 0 0

If i change manualy (in the table) the field link_title with the title I want, everything is ok: it is showed as page-title

pooneil’s picture

Status: Active » Fixed

I'm just noticing that some people are using the 6.x version with Drupal 5. This may be part of the issue as it seems to work fine in Drupal 6. Post #13 describes a manual fix for this if needed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.