My web design/development process:
» Right side of brain (intuition, creativity)
» Left side of brain (rationality, logic)
» Firebug
November 3, 2011 by admin
My web design/development process:
» Right side of brain (intuition, creativity)
» Left side of brain (rationality, logic)
» Firebug
Category css, design | Tags: | No Comments
November 3, 2011 by admin
Without requirements or design, programming is the art of adding bugs to an empty text file. — Louis Srygley
Category Uncategorized | Tags: programming quotes | No Comments
November 3, 2011 by admin
From working with other CMS like Joomla, Drupal and WordPress I’m used to have a certain logic to my template. Assuming a basic three column layout (left sidebar, main content, right sidebar) this is one approach which I will continue to refine in a later article – to only show an area if there is actual published content in this assigned to it.
So, consequently, you don’t have to manually assign a different layout to pages, post, articles, … but only fill the areas with content and the template will automatically adapt.
This snippet will only wrap an area if there is a published content element assigned to it.
temp.LEFTCONTENT < styles.content.getLeft temp.LEFTCONTENT.stdWrap { wrap = <div id="left"> |</div> required = 1 } temp.MAINCONTENT < styles.content.get temp.MAINCONTENT.stdWrap { wrap = <div id="main"> | </div> required = 1 } temp.RIGHTCONTENT < styles.content.getRight temp.RIGHTCONTENT.stdWrap { wrap = <div id="right"> | </div> required = 1 }
Assign the temp objects to available subparts in your HTML template file.
page.10 = TEMPLATE page.10 { workOnSubpart = document subparts.leftcontent < temp.LEFTCONTENT subparts.maincontent < temp.MAINCONTENT subparts.rightcontent < temp.RIGHTCONTENT }
More on styling these resulting areas soon …
Category typo3 | Tags: adaptive layout,typoscript | No Comments
November 3, 2011 by admin
I develop a lot of HTML Typoscript templates for Typo3, without Templavoila or any other fancy extensions. With the release of Typo3 4.5 and the introduction of Backend Layouts there have been a lot of improvements which make Templavoila obsolete in many scenarios.
I will post a few Typoscript snippets I use in a lot of projects over the next few weeks.
Basic configuration stuff
config { language = de locale_all = de_DE doctype = html5 htmlTag_setParams = lang="de prologue = none metaCharset = utf-8 htmlTag_langKey = de-DE linkVars = L sys_language_uid = 1 spamProtectEmailAddresses = 1 spamProtectEmailAddresses_atSubst = (at) }
What this does is to set the language to german, define language url parameters for a multi language setup and try to protect standard email addresses.
More to come soon …
Category typo3, Uncategorized | Tags: snippets,typo3,typoscript | 2 Comments
July 25, 2011 by admin
Theory is when you know something, but it doesn’t work. Practice is when something works, but you don’t know why. Programmers combine theory and practice: Nothing works and they don’t know why.
Category Uncategorized | Tags: programming quotes | 4 Comments
July 25, 2011 by admin
There are only two kinds of languages: the ones people complain about and the ones nobody uses
Category php | Tags: programming quotes | No Comments
May 31, 2011 by admin
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. — Brian Kernighan
Category Uncategorized | Tags: programming quotes | No Comments
May 31, 2011 by admin
From a few years ago, one of many presentations in university (unfortunately in german)
Category frameworks | Tags: ruby on rails | No Comments
May 31, 2011 by admin
The new frontier in web design 2011 – adaptive/responsive website layouts with CSS3 media queries mediaqueri.es
Category css, design | Tags: inspiration,showcase,web design | 1 Comment
May 31, 2011 by admin
Note to self – If you want to survive major version cms upgrades, always use theme inheritance and overwrite defaults of the default theme that comes with Magento. I wish I knew …
See also – Designer’s guide to Magento
Category css, php | Tags: magento,themes | No Comments