Mathew Lenning wrote On 06.05.2013 14:08:
> 1. Ability to have the admin controls and the content in different
> languages.
> 2. The ability to view content under different personas (guest,
> public, registered, etc...)
> 3. Real content previews (I hate having to open two browser tabs to
> see the results of my work)
> 4. Progressive enhancement from start to finish. (removing as many
> dependencies on JavaScript as humanly possible)
>
First - I'm of course pro a smother integration of the User-/Admin areas.
If your 1. - 3. could be solved without sessions it would be great.
You mentioned ini. language files. Yes it's a big issue by itself. Make
them more reusable would e.g. be to use more common strings especially
in forms. But this would be very hard work. I've seen extensions that
use a copy of the backend .ini for the frontend. Maybe you can load the
backend .ini within your fronte-end. Not tested! I'm not sure if size of
code on the server and in requests has any relevance in those days. It
changed over time from KB to MB to GB.
Sorry. want to mention this even if it has nothing directly to do with
this thread but worth to keep in mind.
I'm not a "session-specialist" so if someone with better knowledge make
thoughts on sessions : With the best regards from the IT responsibles
within the European Union - Please add functionality for opt-in to
Sessions (read Session Cookies). Without a working Plug-in Joomla! is
not conform with legislation within EU. You can find at least one
working Plug-in on the JED (a commercial one I have tested that really
blocks the session cookie and not deletes it after setting it in the
first place)
Even Google has gone the half way on european landing pages and at least
inform you about what they are doing for their living - collecting
cookies. "We take help of cookies to ... OK-button Read-More" Though
the cookies are allready set.
@ John
As I think it's important that the possibility of working with at least
2 different "settings" (now = sessions) in one browser not get lost,
I'll try to explain what you can do today.
If you are using multi language or another language than english in
frontend you can test it with languages. If not you can test it with an
Article shown only for Guest accounts. In the "Guest case" do not log in
on frontend especially not as Super Admin as he/she should "see it all"
1. Go to your backend and before you log in choose language english on
the log in page.
2. Open a new tab or window in your browser and go to your frontend.
3. Now you can work in english in backend and see your changes in frontend.
4. You can open as many tabs or windows as you like but they will be in
the same language/same user. If you for some reasons want to extend this
you have to open another browser and go through step 1. and 2 once again.
Hope this reduces your confusion.
Ove