Unofficial patch: template preview
Posted: Sat Sep 22, 2007 4:12 pm
So you have a live site and you need to develop a new template for it but dont want to copy the content to a new server.
This patch allows you to view the page with different template (not a stylesheet swither only), of course its not perfect, multiple content blocks for example wont work correctly...
adds a new column to template list "view on site" which will show you (and only you) the preview of that template (you can still browse around the site as you want) when you want to return to "live" view just go back to templates page and either select another template to view or select the same template again.
or if you are not afraid of writing something on the url bar you can use
index.php?template_preview=TEMPLATE_ID to start preview
and
index.php?template_preview=off to end previewing.
Hope someone finds this usefull
ps. diff renamed to diff.txt
This patch allows you to view the page with different template (not a stylesheet swither only), of course its not perfect, multiple content blocks for example wont work correctly...
adds a new column to template list "view on site" which will show you (and only you) the preview of that template (you can still browse around the site as you want) when you want to return to "live" view just go back to templates page and either select another template to view or select the same template again.
or if you are not afraid of writing something on the url bar you can use
index.php?template_preview=TEMPLATE_ID to start preview
and
index.php?template_preview=off to end previewing.
Hope someone finds this usefull
ps. diff renamed to diff.txt