Developer forum

Forum » Feature requests » Separate device layout/paragraph folders

Separate device layout/paragraph folders

Jacob Bertelsen
Reply
Hi,

Choosing "Device layouts" for a given page, I would like to keep "Phone", "Tablet" and normal layout-files separated in folders, so it would be impossible to choose "Phone"-layouts for "Tablet", "Tablet"-layouts for "Phone", and so on.

Something like this:
/layouts/frontpage.html (desktop)
/layouts/phone/frontpage.html (phone)
/layouts/tablet/frontpage.html (tablet)

As I cannot choose a mobile or template template for a paragraph, the question above is also relevant in this case.

It would be nice, if the following paragraph-template
” StartSplash.html”,
for the device ”phone” would rendered with this template
”phone/Startsplash.html”
, and the tablet-version with this template:
”tablet/Startsplash.html”

Then it would be possible to differentiate the presentation on different devices.

Are there any plans to create functionality like this?
(Unless it is already made, and I just haven't been able to find documentation about it)

Kind regards
Jacob
No Zebra

Replies