contemplate overwrite the title of some sites...
Lausch - September 22, 2007 - 16:38
| Project: | Content Templates (Contemplate) |
| Version: | 5.x-1.7 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
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

#1
There 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?
#2
hello,
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
#3
Please upload your template code and I'll take a look.
#4
inactivity.