I'm trying to implement two device profiles (Phone, Tablet) and I've most likely found a guide that matches my needs, but I have trouble following this guide with Architect. The article I talk about is this one:
I wonder why some configuration properties like "profiles", which are I guess often used, are not showing up in Architect. Am I missing something?
After manually adding that property, setting its type to Array, i get code that looks like in the guide:
Not that much of a big deal so far. But my real problem is how to create the
1) "folders"/"packages" where all my profile data should be in. I mean 'app/profile/' and then i.e. 'app/profile/tablet/' for the tablet views). The guide suggests the 'Mail.profile.tablet'. I'm quite stuck on how to get it like that, because I can only add things into Controllers, Views, Models and Resources?
2) profiles (i.e. app/profile/Phone.js). I thought about adding a new class, edit the "extend" property to 'Ext.app.Profile'. Then again manually adding the "config" property and also a function (isActive) inside the class.
I'd like to know whether my approach is correct or this guide is already outdated. Or if there are another, better/easier approaches to this common functionality, please let me know. Probably I'm just missing something trivial again...