Hi Helen,
the aim of a package such as FlexWiki is to deliver whatever the customer
wants, within reason, that requires no customization of code such that a new
version requires modification of the code before it is useful for the
customer.
To this end, we create variable in the flexwiki.config file that are not
overwritten between versions. flexwiki.config.template documents these
variables. The one you probably want is called
<OverrideStylesheet>.....</OverrideStylesheet>
Use of this variable should override the value found in
PageUtilities.cs::MainStylesheetReference() and use the value you provide to
your css in App_Themes, without customization.
Can you try this and let me know if it does what is required?
Thanks
John Davidson
On Fri, Jul 25, 2008 at 1:08 AM, Helen Ersando <[EMAIL PROTECTED]> wrote:
> Hi John,
>
> what we need to do is to propagate the theme "set" on the root app to the
> sub apps, as such is the flexwiki...
>
> okay... let me just describe to you the approach that we have undertaken...
> we make use of the aspnet themes... we already have the class that would
> get and set the themes from/to the database...
>
> so what i did is... in flexwiki, i added up the reference that would get
> the theme being set on the root app...
>
> then i copied and pasted the wiki.css to each of the sub folder in the
> App_Themes folder of the root app... and modified or customized some styles
> to fit with the root app's themes (then i just retained the wiki's
> stylesheet classes and elements)...
>
> then in the PageUtilities.cs, umm.. i just commented out the codes in the
> InsertStylesheetReferences(), and provide a code that would point to the css
> in the themes folder of the root app (as what has been returned from our
> "GetTheme" mehod...)
>
> so that does it...
> please let me know what do you think about our approach... did we or will
> we be breaking something... or just anything...
>
> thanks and regards,
> helen
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Flexwiki-users mailing list
> Flexwiki-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flexwiki-users
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users