Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Nice module presenting the mobile website
  • Demo including jquery mobile

What I did

I tried few workarounds:

  • Removed useless areas directly from the scripts (like promos, extras)
  • Simplification of the stylesheet and of the layout

Extended dialogs
I added two properties in the page info of the home page

  • mobile logo, provide a logo only for the mobile website
  • hide in mobile navigation, a page can be remove from the mobile navigation

I created stkHomeExt template which extends the stkHome template and provides a new dialog.
To display correctly the mobile logo, I created a new model class extending STKTemplateModel. This class has a method providing the link of the mobile logo.
As I modified the Template model of the Home page, if I want to display the logo on every pages, I have to extend the original templates by adding this new model class.

Problems

  • vertical nav

What's next?