Two sites, one responsive template, ajax
Posted: Thu Dec 25, 2014 8:43 pm
Recently launched two sites:
https://tinyurl.com/q3dyq5s
https://tinyurl.com/pg3emld
Template is bought for 14$ and named 'Metrika'. It's customized to look and work like it does now. I found out it was a lot of work to make some small changes. Changing the margin between the tiles had to be checked and altered for every media query. Some javascript had to be changed too.
The website is 'ajaxified'. That is, when clicking the tiles, content is loaded via ajax request and displayed without reloading the page (and stored in case visitor 'opens' pages more often during one session).
Though the menu is ajaxified, the pages are reachable by their regular urls. I thought this would be good and simple for SEO as e.g. Google can index all pages by their urls (and it seems to work). It was however pretty difficult (and ugly) to find a way that the page template served both partial pages (content only for ajax requests) and full pages (including head and body tags etc for direct page requests).
Further, both sites are managed by one CMSMS instance. Note that it's not supported and I wouldn't recommend it anyway. I had to overcome some small 'multi-domain issues' and couldn't solve all of them.
Nice feature of this website is the color that can be set by the editor per page. It reflects the color of the menu tile as well as the background of the page itself. I used the ECB module for it.
CMSMS 1.11.10
Extra modules:
CGExtensions 1.38.5
CGSimpleSmarty 1.7.2
ECB 1.5
ps. Merry christmas
https://tinyurl.com/q3dyq5s
https://tinyurl.com/pg3emld
Template is bought for 14$ and named 'Metrika'. It's customized to look and work like it does now. I found out it was a lot of work to make some small changes. Changing the margin between the tiles had to be checked and altered for every media query. Some javascript had to be changed too.
The website is 'ajaxified'. That is, when clicking the tiles, content is loaded via ajax request and displayed without reloading the page (and stored in case visitor 'opens' pages more often during one session).
Though the menu is ajaxified, the pages are reachable by their regular urls. I thought this would be good and simple for SEO as e.g. Google can index all pages by their urls (and it seems to work). It was however pretty difficult (and ugly) to find a way that the page template served both partial pages (content only for ajax requests) and full pages (including head and body tags etc for direct page requests).
Further, both sites are managed by one CMSMS instance. Note that it's not supported and I wouldn't recommend it anyway. I had to overcome some small 'multi-domain issues' and couldn't solve all of them.
Nice feature of this website is the color that can be set by the editor per page. It reflects the color of the menu tile as well as the background of the page itself. I used the ECB module for it.
CMSMS 1.11.10
Extra modules:
CGExtensions 1.38.5
CGSimpleSmarty 1.7.2
ECB 1.5
ps. Merry christmas
