General Community > WebsiteBaker Website Showcase
New restaurant Website
crnogorac081:
like it, very nice design
Flogag:
Very nice design,... technical i would like to preload the hover-images. Otherwise it looks a little bit irritating ;)
crnogorac081:
Hi,
Could you please tell us how you did the mobile version.. ? Is the content same , from same sections, for mobile and regular view ?
cheers
Xagone:
yes, mobile version is the same "menu du jour" (daily menu) and contact for each restaurants
it's a separate section of the site :
french
-- menu 1
-- menu 2
-- menu 3....
english
-- menu 1...
m (only m for mobile)
-- french
-- -- restaurant 1
-- -- restaurant 2
-- -- ...
-- english
-- -- ...
the mobile "template" is the difference, we can't use a lot of HTML and css in a mobile template, but we manage...
we use "section picker" to get the content of the real site, since the "menu du jour" change a lot.
the webmasters can't access the mobile section, only full admin can.
the "m" is hidden, so it wont show in the menu or site map (even sitemap.xml)
we used http://detectmobilebrowsers.mobi/ in the main template, so if you go to the site with a mobile phone, you get redirect to the /m/ site
i've modified the index.php in /m/ to redirect to the french mobile part so ppl do not have to type /m.html
I think it should be a feature that a folder can access the "default" content of it, like when you get multilingual website, we should be able to call http://www.mywebsite.com/en/ and not en.php
crnogorac081:
Cool,
Great explenation :) Very helpfull for mobile phone sites..
Tnx a lot
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version