Text only design

I thought that i had seen a post on the forum somewhere with a link to the squiz designed text only design. If anyone knows where i can get a text only design, i would greatly appreciate it. Thanks

I've attached one for you. :slight_smile:
associated_files.tar.gz (299 Bytes)
parse.html (2.79 KB)

How can this be applied to an existing site and then switched to?


Create a new design. Import the parse file that Avi gave. Then upload that .tar file as an associated file and then the design will be ready to go. Then, you can change to that design on the settings screen of your site or page. Or, add a user customized design, and add ?SQ_DESIGN_NAME=<design name> to the end of your URL.

What he said. :)

Check the Designs Manual for more information about User Specified Designs and how to switch to them on-the-fly.

Thanks


If you are applying something like a text only design its possible that you want it to remain as the active design as you navigate around the site. Do do this simply append &SQ_ACTION=set_design_name to the end of the SQ_DESIGN_NAME query string.

example: www.mysite.com?SQ_DESIGN_NAME=text_only&SQ_ACTION=set_design_name

Then in your text only design you can provide a link to exit text mode and the link simply needs to refresh the current url and append ?SQ_ACTION=clear_design_name which will reset the design to the default system defined design. We use this very technique on the Matrix site for our text only which we call the "Essential Image Mode".

Our text only design is caching and "normal" pages are being served up as the text-only version. Owen from Squiz has been looking into this for us and has provided a solution which we will soon implement, however out of curiosity I was wondering if any other sites have experienced this. We have a Squid caching server which is causing the issue.


Yes, there are -- we have held off implementing alternative text-only designs on certain sites until we could find a solution to Squid caching the wrong design. Now I get to bug Owen to tell me what his solution is. :)

Would be interested to know what Owen's solution is.

I think the correct solution is to have an Etags config option for Matrix so you can set which parameters are used to construct the etag hash on page rendering (eg design, user, browser etc). Obviously you would have to know which parameters are affecting page rendering.

Justin

Is Owen or anyone else going to post the solution on the forum or is this something we need to engage squiz support for?


We don't have a portable solution yet, we are still working on this issue.

How about a stylesheet switcher that uses javascript+cookie?


See this page for an example… http://www.griffith.edu.au/preferences


Lovely, but not accessible, because it doesn't work when JavaScript is disabled.