Posted by bradleyvance on October 20, 2010 at 10:19pm
3 followers
| Project: | Content Templates (Contemplate) |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Issue Summary
I installed Ubercart, made a couple of products, then installed ConTemplate and when tried to edit the template for that product. I got a partial crash, like the image attached below.
After a little experimenting, I found that if the product doesn't have any nodes (ie. you've setup the node type, but not "created" any content) then I can get to the expected edit template page, but as expected the variables text box is empty because there's no content to generate it.
| Attachment | Size |
|---|---|
| FirefoxScreenSnapz001.png | 30.32 KB |
Comments
#1
subscribing..
I am not getting a crash but I am not seeing the change I made on the body template.
#2
I guess that's because node-product.tpl.php exists in the theme.
#3
I tried to reproduce this error on current dev release but was unable to reproduce it.. (see screenshot attached)
I enabled ubercart and ubercart product but not created any nodes, which should trigger your error.
No node-product.tpl.php was in any of the themes or modules either.
mysql> select count(*) from node where type='product';+----------+
| count(*) |
+----------+
| 0 |
+----------+
1 row in set (0.00 sec)