ext.faviconFx = adminIcon
; ext.favicon = false ; custom favicon for ext based (backend) pages
kwc.favicon = /assets/web/images/favicon.ico
I put favicon.ico file into root of the app and into /images/ folder of the app and tried to play around it but could not set custom favicon. But your kwf-newsletter-demo app somehow sets it correctly.
--
You received this message because you are subscribed to the Google Groups "Koala Framework Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to koala-framework...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
By default this->favicon has value:/assets/fx_adminIcon/web/images/favicon.ico
In config.local.ini:
>*all* requests go to bootstrap.php, none access the filesystem directly.>in this case the assets loader translates /assets/web/ to the web itself.Why not make the string concatenation in KWF? I spent a lot of time until you told me that the part "/assets/web" is required, but is not a folder. I think many people have a habit of writing the path from the root =)
>the only thing that you need config.local.ini for is to set passwords that you don't want end up in your git repository. (config.local.ini is in .gitignore)Do you mean that all changes must be in config.ini and only static values (db and other settings) must be in config.local.ini?
>But what exactly do you mean by string concatenation - where should that happen?I mean that for user is more convenient to write config lines from root folder. String concatination can be made in the core of kwf-lib.eg.:$fullpath = '/assets/web' . config.ini->ext.favicon;// system var = core part + user path from config.ini (from the root directory) <---- concatenationIt's clear now? =)