the mobile homepage is really becoming a nightmare for me. However I think I made some progress in terms of deciding how to go about this.
First thing I need to emphasize – it was not a good idea to call this “mobile” version simply because it is not really for “mobile phones”, but rather devices with very small screens. Majority of today’s high-end smartphones will display the desktop version just fine, or at least in landscape mode (and you really cannot expect the page look good in portrait if you have two or three blocks next to each other containing a webcam image, graph etc.).
The mobile menu is working fine, in the next version I will only add a feature that will let you add your own external links to it.
The problematic part is the content section of the mobile homepage. I have recently asked you if you could help me out and several of you offered help. I also asked some of my friends who work as professional web developers and do this for living. The conclusion of this all is that in the current state of things, the small-screen homepage will never be nicely responsive. It is like asking someone “can you design me a responsive page”, they answer “ok” and you say, ok do it and when you are done, let me know and I will tell you how I want that webpage to look like and what I want it to include… I hope you get my point. I got several people sending me the CSS setting that best worked for them and as expected, each was different and when viewed on a different device it didnt look good again – simply because it really is impossible to design a page about which you know practically nothing 😀 Which is the situation there is now… I do not know what your page layout is, what the content is (which blocks you chose) and what screen size you are using…
So the bottom line is that the mobile homepage (small-screen homepage… or simply “lite version of the page”) needs completely different concept. First I thought about having some fixed layout, in other words I would define a fixed layout and block arrangement, which everyone would use, but where I would know exactly what I am working with and so be able to optimize it to look nicely on various screen sizes – just like you do a responsive page in general when you are making your own page or when a web designer makes a webpage for a client.
The problem with the above solution is that you would all have to have these blocks somehow pre-installed and obviously it would be very hard to find a combination that would more or less suit everyone. So this is also not an option.
Then I thought about yet a different solution. Keep the block selection to you just like now, but have either:
- one column where the blocks are below each other, you would be able to choose which blocks you want and the order, and they would display in this order below each other
- have some sort of a select box at the top, where you can select from the blocks you defined and that particular block will load either below (just like in a menu block) or load as a fullscreen popup (just like the fullscreen blocks on the desktop homepage)
At the top there would be the header, the current mobile menu and below this dynamic block (or just the selection if using the popup) there will be some sort of optimized footer.
Also, I would probably make the desktop load by default because in most cases it works fine and bypassing the redirection script will significantly speed up the initial loading time of the homepage. Most devices will simply always use the desktop and the few that cannot display it even in landscape will click to go to lite version and that could maybe be saved as a cookie for that particular device, so next time they will go directly to lite version.
This solution would therefore speed up homepage, solve the “mobile” homepage issue and make it all more efficient.
The question now is if it is better to use the menu block concept (i.e. select box and selected block loading below this box and one loading by default) or the popup concept (list of all blocks on the homepage as just titles and clicking it triggering full-screen popup).
Most likely I will make a poll because from my perspective it is about the same amount of work and time.