Hi Sergio,

so, if you edit a component.. say, header.. and you accidentally put
in some broken html.. say, you forget to close out a tag..

when you do this, the whole site is rendered incorrectly..

this then means that the whole site is breaks, and you can't edit it,
or go back to a different revision...

This is one of the reasons for Pier-Admin - a separate admin interface that won't be effected by changes you make to the site.

However without Pier-Admin, I guess it depends on how your site is configured - in PRDistribution based sites there is a separate template/environment which is used for system tools - so that if you mess up the main site's environment you can still use the management tools - search for senders of PRDistribution>>metaEnvironmentPage

You could try using the Diff View to put back a previous version - but it will probably use you default environment (which appears to be broken)
eg:
http://localhost:8082/pier/system/components/header&view=PRDiffView

where /pier/system/components/header is replaced with: /apath/to/component/which/is/broken

Alternatively from an image you can navigate to any PRStructure instance within your kernel with something like:

(((WADispatcher default handlerAt: 'pier') configuration valueAt: #kernel) root lookupPath: '/system/components/header') contents

This will extract the kernel from the handler registered at /pier then lookup a path to a structure within the kernel at '/system/components/header' and display the contents. You can then replace the contents with:

(((WADispatcher default handlerAt: 'pier') configuration valueAt: #kernel) root lookupPath: '/system/components/header') contents: 'fixed header'

I'm sure with some experimentation you'll be able to fix it

Nick