Closed (fixed)
Project:
Content Templates (Contemplate)
Version:
5.x-1.7
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2007 at 16:38 UTC
Updated:
5 Nov 2009 at 12:45 UTC
hi guys,
i use a custom userprofile template the same for some content types.
i not use only contemplate also i use files. today i updated to the latest version of contemplate and i saw that contemplate will overwrite the title of my custom profile page (and also from other nodes and views)
for example before the update the title was firstname and lastname now its only user->uid
if i remove contemplate the title is correct.
so the bug is 100% in the new version of contemplate
greets
Lausch
Comments
Comment #1
jjeff commentedThere really isn't anywhere in ConTemplate that the node title would be affected. Is it possible that you are changing the node title in your template somewhere and/or are you using the drupal_set_title() function in the template?
Can you give more information and steps to replicate?
Anyone else having this issue?
Comment #2
Lausch commentedhello,
yes i use drupal_set_title i also included some views and use also node_load to get some fields from other nodes.
but listen.
if i use the 1.6 of contemplate the title will be correct. since i use 1.7 the title will manipulated by contemplate.
I'm 100% sure about. i took a look to the source and i don't found a logical reason why the title will change.
if i use drupal_set_title at the top of any template the title will wrong
if i use drupal_set_title at the end of any template the title will correct.
so it seems like the embeding of views or any other will overlap the title by contemplate.
greets
Lausch
Comment #3
jjeff commentedPlease upload your template code and I'll take a look.
Comment #4
mesh commentedinactivity.