On 3 April 2017 at 03:17, J.P. <
j.podh...@gmail.com> wrote:
> I have a questions from user & developer point of view with customizing
> Sahana.
Reiterating the fact that a detailed response would be significant
effort, I'll try & give a little more detail:
> Is there any basic or principal limitation or impossibility with customizing
> HTML templates and their CSS3 styles for Sahana?
No...given effort, everything is possible.
> For example:
> adding a true responsive behaviour to all main pages in modules for any
> screen resolution. Included size-changing fonts, live size-changing object,
> customizing UX for mobile devices & tablets. (Of course, with some
> acceptable limits)
The default template is already responsive.
We currently use Foundation 5 as our default environment, which is a
fully responsive framework.
We also support Bootstrap, which is also a responsive framework.
Given effort, it would be possible to support other frameworks or even
fully custom CSS
Of course, there may be individual pages with specific problems, for
wehich fixes are welcomed, and I'm sure there is potential for
enhancements across the board.
> - adding custom global CSS3 affect to any element on all module pages
Possible in a number of ways
> - reordering objects on page, reordering navigation menus, form items and
> navigaton items in the template with keeping their full functionality
All possible, the dfifficulty level ranges from very easy (menu item
reordering) to more complex.
There are plenty of examples of where this is done already
> - adding a better design for drop-downs, links or buttons in template to
> improove the UX, look and feel
'better' is a subjective term, but of course, all this is
cutomisable....as-always some things are easier, some are harder, but
if you have time & skills or money it can be done.
> - adding a new text hints inside existing textfields (if they are
> translatable, it will be better)
Yes, easy
> - adding extra margin for some active objects for better use on touch
> tablets and smartphones.
This is just CSS...should be relatively simple.
> - changing the buttons to custom image icon inside tables for better space
> management
Easyish...examples are there already
Easyish
> - changing screen behavior (not functionality) of some form elements, like
> color changing of required fields, checkboxes etc…
Shouldn't be too hard
> - changing dimensions of pop-up menus for better read the content without
> scrolling bars
Seems like 'just CSS' to me...if you're implementing your own theme,
then all this should be possible to tweak to your heart's content.
> - changing the wiew of full URL in the DB listing into the icon link
> (because URL are too long for listing)
Not sure what you refer to, but custom represents should be easy
> - reading simple /or tagged text from any part of database and use it in
> page layout depend on search query
Very vague question...sounds a bit harder but I'm sure it's possible
if enough effort is applied.
> Require the reordering or adding fields to table views huge impact to core
> Sahana, or just extensive changes the HTML template of Sahana?
Sometimes very simple, sometimes a little more complex...performance
can be an issue if the fields you want require extra joins or even
more complex queries.
However the performance penalty should be pretty small for paginated
views if implemented correctly.
> Have You any
> recommendation or straight not recommend edit and customizing the table
> views? for example: Is it possible read the images saved in DB straight from
> DB into cell of tables and prepare the custom view of table lists of data
> using AJAX instant switch? Or maybe exist better way to do something like
> that?
We already have examples of where images are displayed in table views,
no especial thing against that...of course performance is impacted a
little, but should be manageable.
> Is it possible adding OpenID autentification code to login/register form?
Yes, this is simple configuration
> Is it possible translate and customize confirmation email which sent from
> Sahana to new user?
Yes, examples exist already - simple customisation.
> Is it possible include the wysiwyg editor TinyMCE enwironment in some pages
> in some modules with preservation of GNU/GPL free of charge / Nonprofit use?
>
http://archive.tinymce.com/wiki.php/TinyMCE3x:License
> How difficult is that implementation? (easy-complicated?)
We already include CKEditor as a WYSIWYG editor.
Can't rmember what made us make that decision vs TinyMCE.
Am sure possible to add TinyMCE without too much effort if really required.
No idea about licensing.
> Is it possible update the QGIS window in Map module to the latest build to
> provide better functionality of tab interface? GUI with Sahana CSS
> templating?
QGIS window?
Sorry too vague to answer
> Is it possible change the functionality in the map window inside module
> pages, to better point and click interactivity with non-mouse devices
> (typially smartphones or tablets)?
Yes, this must be possible...it's been on my ToDo for several years
without anyone giving it sufficient priority for implementation.
> Is it possible revide funcionality of timeline widget simile in the module
> Warehouse?
We use Simile elsewhere...putting it into Warehouse seems fairly
easy...obviously would need proper requirements
> I think that actually not working properly.
?
> Is it available funcionality of managing user roles across modules as we
> can see on RMS-IFRC/Aidiq ? How to switch on, or use if Yes?
Yes,, see wiki & code
> Is it possible to add checkboxes into the table list-view on most of
> modules in Sahana for batch remove filtered data from DB? Functionality
> available just for administrators / owners of data.
Yes
> Is it possible change the query result in forms for dropdowns?
Don't udnerstand question, but I'm fairly sure it's a yes if we know
what you mean & you're prepared to put enough effort into the
implementation.
> Now drop-down Facilities belonging to the Organizations. Can I simply change
> behavior into the new functionality: Facilities belonging Offices Belonging
> Organizations? That will be much helpfull and user friendly because I shrink
> a thousands-item drop-down into the hundred-item drop-down menu.
Yes...often this is achieved through permissions, but can easily add
custom filters
> is there a custom breadcrumb code for navigating pages inside Sahana
> interface?
There is.
> If Yes, where I can switch on and use it?
Getting tired of typing currently... ;)
> is it possible unify and remove bugs from the Import/export templates for
> consistent Import XLS and exact export CSV? How deep and difficult is that
> intervention into core code? (Examples of inconsistency and outdated fiels
> in templates available)
'bugs' is unclear.
I hear you on the desire to have output XLS formats match import formats.
We have put effort into that at various places.
I would NOT look at core code for this but rather the specific
resource(s) you wish this for & then it can be done relatively
easily...although note that the export will not be as 'nice' then.
> is it possible to batch import of large sets (ten thousands) of small
> images/icons/QR codes 400x400 px / 60kb into DB for joining it with
> database items of Organisations, Offices, Facility based on their unique
> name and based on XLS template import with included unique name? for
> example: Organisation_name.png
> This single batch import can be used just for developing, not required in
> public functionality.
Never done before, but I'm sureit must be possible if enough effort is put in.
> is it possible to change template of PDF for volunteer leaflet to print
> better contact info, add QR code or image stored in DB?
Yes, all PDFs are fuly customisable
> Can be the custom template smoothly used with core Sahana in the future
> builds of Sahana?
No guarantees, no.
We are still at a pre-1.0 stage for such guaranteed API-level compatability.
However, we do put a lot of effort into not breaking downstreams...but
it helps *enormously* if we know about them...what modules they are
using, etc
> How much time-consuming would be future upgrade custom
> trunk of Sahana with the new core?
It depends a *lot* on what has been customised & what changed in core.
There are a few approaches:
* Upgrade Sahana core regurlarly to provide bite-sized changes which
can be reviewed easily & any necessary modifications made
* Don't upgrade Sahana core unless absolutely required & then look at
cherrypicking specific parts back
> I understand, that not be easy, but I
> see that the other project (RMS/IFRC-Aidiq) have old custom templates and
> new build of Sahana. How they do that fast and almost immediatelly?
We maintain the 2 together....since the custom templates are in the
core code then we can review the templates for issues & upgrade them
when required.
The core developers are also the same as the maintainers of the custom
templates so deep knowledge of the templates is there when changes to
core are considered, so we can avoid impacts where possible and where
not then we can implement necessary modifications quickly.
If you wish your custom template to have that same level of service
then it also needs to be maintained by the core developers.
For s simple template this is of course overkill, but for a very
complex template it might be the best option.
> Does the change type of database (MySQL to PgSQL) and webservices
> environments impact on customizing some functionality of Sahana (eg. query,
> or I/O data, or HTML/CSS design)?
To some extent of course, but generally we fully support MySQL &
PostgreSQL & Apache & Cherokee.
Other environments we don't test on.
The page is accurate
Not always...the TL site especially is very old & had a very
simplistic security model so a lot of the pages were done in a custom
manner bypassing the Sahana framework. If this approach works for your
needs, then it is an option.
To me the CRMT site shows up how much effort can be required to
implment a custom theme, and how little of that can be easily ported
back to the core.
In general, Sahanaaims to be a rapid application development
environment applicable to many very different usecases...new
requirements can be very quickly implemented. With a custom theme like
CRMT so much is hardcoded & needs editing individually that this model
is very much broken....hence it not being a useful approach to adopt
for the Sahana core.
So, yes, it is possible to create fully custom designed pages like
this, but it can take quite a bit of effort & it is harder to maintain
like that and much harder to make that reusable for other usecases.
> Is it possible to get demo login?
These sites are owned by the clients, so no....you should set up your
own demo server using the template...this can just be on your laptop &
isn't hard.
> Is it good idea run the Sahana on MySQL on the same web-server environments
> even with the lot of other software which completely runs on PgSQL? Or
> better run all the software on PgSQL on the same virtual image?
Too complex a question to be able to answer easily here...in general
you should do what is supportable.
If we are supporting your Sahana deployment, we would prefer to use
PostgreSQL, however if you are and your skills are in MySQL & you
don't plan on making use of Spatial queries then MySQL is perfectly
fine.
Never come across this before, so cannot answer
> , or for safe future You recommend only Sahana virtual
> image (Ubuntu/Debian/etc.. ) an its updates?
In general, any Linux is possible, but the one that we support is
Debian...the more you diverge from this the more you are on your own.
If you have time/skills to manage that then you can make that choice.
> Is it possible install a fresh build CAP broker into fresh build Sahana
> using Cascading template functionality?
> What next i set to get the CAP broker interface?
> Is it possible install a fresh build SAMBRO into fresh build Sahana using
> Cascading template functionality?
> What next i set to get the SAMBRO interface?
These are pretty much the same question...SAMBRO is the template which
uses the CAP module.
They are theoretically separable, although not obvious to me why you'd do that.
http://eden.sahanafoundation.org/wiki/DeveloperGuidelines/Templates
SAMBRO mobile is a hard-coded application to a very specific usecase.
If you have the same usecase then you can use this application with
your instance.
> When we expect next build of Sahana? This Year, or..?
We push new code almost every day.
We don't produce 'builds' as this implies a whole host of things like
upgradeability and since pretty much every serious Sahana deployment
is customised this is *very* hard to do properly.
> and last question: Can You give me rough estimate the complexity of that
> ideas and custom changes in relation with the common developing skills?
> Hundreds hours of developing, advanced skills.. totally impossible…. etc?
As-before, some things here are simple/standard, some will take more
effort....some a *lot* more effort.
Of course the more experienced the developers are with this
environment the less time it will take them.
I suspect it will take 100s of hours to do everything that you want
(it takes a long time even just to develop clear specifications and
then create detailed estimates)....but if you ruthlessly prioritise
what you want & are prepared to compromise then you can achieve some
results quickly.
Best Wishes,
Fran.