I have a content type, lets call it "type1"
I created a template for it, lets call it "template1"
I edited template1 many times successfully
then I removed some of the extra tags (auto-created div tags) from that template, but left the php intact
then I found I COULD NOT EDIT the template: click on "Edit Template"... looked like it was loading... forever...
so I removed the template,
but then could not re-create it: Click on "Create template" ... loading forever
So I ran a test:
I duplicated the content type, lets call it "type2"
created a template for it, lets call it "template2"
and template2 loads and edits fine!
So, please help...
What is stopping Contemplate from creating a template for my content type1 ?
Comments
Comment #1
joshbotnet commentedAnother way of asking the same question:
How do I completely delete a template so I can start again?
or... How do I check that a content type is "clean" ie. ready to have a template applied to it?
Comment #2
joshbotnet commentedBy the way, clearing the cache does not fix this..
I clear the caches in the following way:
<?
echo "This page runs a script that clears the main cache.
";
db_query("DELETE FROM {cache} WHERE 1");
db_query("DELETE FROM {cache_filter} WHERE 1");
db_query("DELETE FROM {cache_menu} WHERE 1");
db_query("DELETE FROM {cache_page} WHERE 1");
echo "It's clear now.
";
?>
So to clarify my question further: is there anything else that I can clear, or delete, or change, so that I can create a template for this one particular content type?
I can create templates for all the other content types, just not this one (I can even create a template for the EXACT DUPLICATE of this one).
Comment #3
jrglasgow commentedyou need to delete the row in the contemplate table for template1, this ability is being added to version 5.x-1.9
Comment #4
jrglasgow commentedversion 5.x-1.9 releasing tonight
Comment #5
jrglasgow commentedComment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.