![]() |
|
Setting Zenpage Homepage on zpMobile - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Setting Zenpage Homepage on zpMobile (/thread-10206.html) |
Setting Zenpage Homepage on zpMobile - risottto - 2012-07-15 I have my website functioning perfectly using a modified zenpage theme for desktop browsers, now I am just trying to get it to work on mobile devices using the zpMobile theme. I have almost everything done except for one issue I can't quite figure out: on the desktop theme, I have a unpublished page called "home" which is the splash page I have set as the Homepage under Custom Theme Options under Zenpage. I am trying to duplicate the same behavior in zpMobile. I tried using the code from the zenpage index.php in zpmobile: ` ` Thanks for the great work, I am slowly getting a handle on theming with jQuery mobile, but that's a whole other story. Setting Zenpage Homepage on zpMobile - acrylian - 2012-07-16 I have not setup the theme for that at all but actually that code should work. Besides that jquerymobile is a bit special regarding html5 setup it is just a theme. But sometimes its own js cache causes issue (for example it is not possible to link to anchors within the same page). Did you clear the browser and if used the html cache of ZP (although the latter is not active if your are logged in). You could also manually modify the index.php to use the page in question using the object model. You also could open a ticket for this homepage feature for 1.4.4. Setting Zenpage Homepage on zpMobile - risottto - 2012-07-18 Figured it out: went into zpMobile themeoptions.php and added:
to the function Themeoptions and
to the getoptionssupported function then threw in
All that did not work exactly, it printed a list of my pages on the splash page... until I figured out that I had to get rid of this code from pages.php ` ` I figure someone could use this in the future. It was all theme tweaking, basically stealing from zenpage. Setting Zenpage Homepage on zpMobile - acrylian - 2012-07-18 This is how thtemes are meant, to be modified if needed. If you like to see this an official feature please open a ticket. Otherwise it most likely gets forgotten. |