• Home
  • Get help
  • Ask a question
Last post 2 hours 23 min ago
Posts last week 89
Average response time last week 30 min
All time posts 67739
All time tickets 10468
All time avg. posts per day 21

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#6289 – How does wbAMP work with templates?

Posted in ‘Pre-sale questions’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Wednesday, 06 April 2016 18:40 UTC
klmgraphics
I am curious about this extension but I am unable to locate any details about how it works with the existing sites template, or if it ignores the mobile views all together and needs to be styled interdependently. Will wbAMP honor the templates responsive design or am I going to have to setup custom styles?
Wednesday, 06 April 2016 19:03 UTC
wb_weeblr
Hi,

Not only do we not use the site template, but wbAMP actually comes with its own template, so as to be able to nuke all template overrides from your template and come back to joomla default output. We also do not render any module, and most plugins are not rendered either.
This is required to achieve AMP compliance.

For instance, your template responsive code cannot be used for AMP pages. Because AMP does not allow external CSS, so it's not allowed to use your template CSS.

You will have to restyle (by using wbAMP input for CSS), but that's relatively simple because you cannot use:

- any JavaScript
-any external CSS
- limited fonts
- no form or any kind of input

Rgds
 
Wednesday, 06 April 2016 19:26 UTC
klmgraphics
Thanks for the fast reply, I thought that was going to be the case but was not sure.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.