[First issue report, sorry if anything's in the wrong place]

I managed to make a badly formatted template which won't allow the nodes of a particular type to view, and I can't access the template page either - it gives a blank page.

It would be helpful to see a 'reset template' option on the admin/node/template page. In mean time, is there a way of reseting a template without going into it?

Comments

jjeff’s picture

Hi Rob,

Go into your database and remove the appropriate row from the "contemplate" table.

That should set you straight.

-j

jrglasgow’s picture

Status: Active » Postponed (maintainer needs more info)

Does this solve your problem?

jrglasgow’s picture

The ability to delete the template from /admin/content/templates is in 5.x-1.9 releasing tonight. I am not planning on porting this back to 4.7.

rob101’s picture

Yes, the original solution solved the problem. I'm certainly more comfortable manually meddling with databases now than I was 14 months ago.
I'm all about D5 now, so not too worried if this doesn't get backported to 4.7.

Thanks all,
Rob

jrglasgow’s picture

Status: Postponed (maintainer needs more info) » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.