when i enable user relationship block it works quite well with theme registry enabled....when i turn of the feature of theme registry the block disappears in user pages.when i clear the cache it reappears..how to resolve this issue in production site where the cache will be on and theme registry will be turned of....

Comments

dhayalan_ms’s picture

there is realy no one to help me out!!!!!!

I have installed devel module to check wheter the page loads the Add relationship link .....yes it is.....when i check dev render it appears but doesnt appear in the page.......when i clear the page cache it appeaers.....other than it doesnt ......

MisterSpeed’s picture

Assigned: Unassigned » MisterSpeed

I will check whats the problem here

MisterSpeed’s picture

I have checked this and working fine for me user relationships actions block appears properly. If im not missing something can u pls tell me how you enable or disable theme registry

Thanks

askibinski’s picture

I've got the same problem, very weird. I've got loads of blocks in my theme but only UR seems to have this issue.

This is the theme_registry function: http://api.drupal.org/api/function/drupal_rebuild_theme_registry/6
which you can call through template.php

askibinski’s picture

I found what causes this behaviour:
It only seems to happen when you override user_relationships-blocks.tpl.php using the same file in your own theme folder.

alex.k’s picture

Status: Active » Closed (duplicate)