By cyprien2 on
Hi,
i've create my own content type with CCK and all my fields have an empty $node->field_myfield[0]['view'] in my template file.
$node->field_myfield[0]['value'] is working but for image and email fields, i prefer to use the view.
Any ideas ? (i think it's the fault of my theme)
Thanx
Comments
Yes, it works fine with
Yes, it works fine with garland and not with my own theme...
What functions do you have in
What functions do you have in the theme's template.php file? One of them could be the cause. Either that or a tpl.php file your theme defines.
I've only one function :
I've only one function : function get_user_login_form()
For changing the login form...
I just disable this function
I just disable this function and it still doesn't work...
The other choice would be a
The other choice would be a custom tpl.php file in your custom theme.
The other possibility that comes to mind is if your theme name is the same a module name.
Ok ! I've found the problem
Ok ! I've found the problem !
i've enabled CCK Content permissions and the permissions for the anonymous users was of !!!
Sorry for that and thanks Nevets for helping me..