Hi,
Not sure if this is the right place for this request. But I saw a tutorial video using Contemplate in D5, and when clicking on the Body template text area to edit the output, the current output was shown. It seemed very easy to find the really long css tags or bits you didn't like and re-write them in the body.
In the D6 version this same body template area is blank. I assume this is a feature change, but I can't find any guidance on how to use it now. So I now have to write the whole output from scratch? It just seems a step backward, but I'm sure it's not.
Could someone explain or point me in the right direction? Many Thanks
S
PS. Had good success affecting the RSS to make GeoRSS and generate Google map points, for one of my CCK types, although I still need to understand how to use the D6 version better.
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | page_export.txt | 1.32 KB | danepowell |
| #14 | researchproject_export.txt | 9.02 KB | danepowell |
Comments
Comment #1
911 commentedI also have some trouble with the drupal 6 version of content templates. I had played around with drupal 5, the Content templates und amazon associate modules. This worked very well and I could easy modify my teaser and full node view.
Now I have a drupal 6 running on a local xampp and trying with the newest versions of content template and amazon modul but i cannot get it work. :(
Some variables effekt the output but the most are not rendered. I dont know why. I use the variables from teaser variables list for teaser output but it does not have any effekt.
Any Idea?
Comment #2
manne35 commentedHello,
with the 6.3 version of drupal
and
6.x-1.x-dev of the module
it is not possible to save the templates.
ALso the javascript make problems. - But this maybe is only a browser problem.
best regards
manfed
http://www.edelsteine.de/index.php http://www.chai-shop.de
Comment #3
MoonchildCH commentedI have recently (i.e. this week) newly installed the latest versions of both Drupal and the Content Templates module. I have uploaded ConTemplate twice (sites/all/modules/contemplate) and can't even get it to show up on the admin->modules pages so I can enable it. I've updated and 'cron'-ed and checked everything I can think to check.
Any suggestions on how I can at least get the module to where I can see something?
Comment #4
danepowell commentedI have also just installed Contemplate and noticed this behaviour- it is very frustrating and seems like it must be a bug rather than a feature change..
Comment #5
MoonchildCH commentedI discovered that once I visited the url {mysite.com/drupal/admin/content/templates} everything turned out fine. It even shows up in my Admin->Content Management menu now.
Comment #6
conniec commentedDitto here on not showing up anywhere including modules. I didn't have the joy of seeing this after going to mysite/admin/content/templates.
Connie
Comment #7
najibx commentedhmm.. same here, getting tough time, not just contemplate, I guess Views2 too :-(
In 5.x/Views 1.0, select teaser style in Views, then checked "Affect teaser output" in contemplate. So the teaser will be what you put in the textarea. If this is more to views2 issue, i am sorry, but related to contemplate.
Thank you.
Comment #8
danepowell commentedI have noticed that this issue only appears on content types with CCK fields. For instance, the "Body Template" field populates just fine for Story and Page content types. However, it is blank for both of my content types that have CCK fields (Node Reference and Text fields, specifically)
Comment #9
jrglasgow commentedTry out the new release (6.x-0.16) and let me know if you are still having problems.
Comment #10
danepowell commentedI have installed 6.x-0.16 and am still seeing the same behaviour.
Comment #11
jrglasgow commenteddanep
so you are saying that when you go to the create template page nothing is showing up in the body variables area? Is there a node of this type. This is the only way I have run into this problem.
Comment #12
danepowell commentedCorrect. On a fresh install of Contemplate, I go to /admin/content/types/template. I click "Create Template" and expand the "Body" fieldset. If the content type has custom CCK fields, the "Body Template" field is blank. If the content type does not have CCK fields, the "Body Template" has
<?php print $body ?>, as I'm assuming it should. All content types already have existing nodes of that type.Comment #13
jrglasgow commenteddanep,
Could you export your content type and upload a file. My problem is I have not yet been able to replicate the problem, which makes it harder to fix.
Comment #14
danepowell commentedI have attached two Content Type exports. The Page content type works fine and does not exhibit this behaviour. The Research Project content type exhibits the problem described.
Comment #15
danepowell commentedActually I have recently added a content type with only Embedded Media fields (CCK), and
<?php print $body ?>shows up just fine in the Body Template. So maybe it has something to do with specific CCK fields? Or it could just be complete coincidence.Comment #16
triversedesigns commentedim having the same issue as well, nothing showing up, and not being able to do anything in views 2 aswell, although I get script showing up I dont get my cck fields...could be a relation?
Comment #17
danepowell commentedI have determined exactly how to recreate this problem. You must have two or more CCK fields on a content type. As near as I can tell it doesn't matter which two. If only one CCK field is present, the body field still fills correctly.
Comment #18
Quixote22 commentedI am also getting blank content in "Body Template" field. I am also using CCK's.
Comment #19
tsvenson commentedSame here, empty textarea. Can anyone confirm this is how it works in Drupal 6 please.
Comment #20
jptavan commented(change issue title)
Comment #21
mcornes commentedIs there any work around for this? How can I go about styling Custom Content Types - I was hoping to use Contemplate as my starting block. What is the course of action now? Will the CSS be embedded in the theme style sheet, I just have to use cssedit.app to do it all manually ?
Thanks.
Comment #22
danepowell commented@jrglasgow: Have you been able to recreate this problem yet, following the tip in #17?
Comment #23
jrglasgow commented@danep
I can you replicate this in the most recent DEV version?
Comment #24
danepowell commentedActually the behavior seems to be fixed for me in today's 6.x-1.1 release. Thanks!
Comment #25
danepowell commentedI'm going to mark this as fixed unless anyone objects.
Comment #27
OnlineWD™ commentedHave this issue, there's only print body and nothing to edit though some types are populated!