View Full Version : Why doesn'y my 'Styler' theme work?
DaveR
12-Jul-2024, 02:54 PM
I suspect this is me misusing the styler somehow. This is on a program that has a codejock skin (would that matter?) but the theme I created doesn't seem to get applied.
16961
16962
Dennis Piccioni
12-Jul-2024, 03:03 PM
Is this a FlexTron app? Yes, try it without the skin, but that should be unrelated for web views.
DaveR
12-Jul-2024, 03:13 PM
Thanks Dennis,
Yes, Flextron, having got past the brain-fart I'm trying to learn as much as possible before I forget where I started...
So I'll have to conditionally remove the cCJSkinFramework from my precompile, but do I understand correctly that Is$WebApp isn't set? Is there a 'standard' way to say 'is this is a Flextron program'?
DaveR
12-Jul-2024, 03:19 PM
Removing the skinframework doesn't appear to have any effect. :(
just saw I typed Doesn'y which could be an impersonation of Mike Peat... :p
I seem to have skinframework in loads of places, but after remming them all out nothing is changed. oh well...
any more ideas?
Dennis Piccioni
12-Jul-2024, 04:24 PM
This does work, but you have to set psTheme in the FlexTron container, e.g. cLocalWebAppHost or cLocalWebControlHost.
The Windows/Codejock theme or skin should be irrelevant, so you can comment it in again.
DaveR
12-Jul-2024, 04:35 PM
I was doing so.
At about the gazillionth attempt something changed and the skin came back (see the header bar) though not all the styling is working, for instance the list highlighted rows. I removed all but one use ccjframework.pkg as it was in more than one place.
16963
DaveR
13-Jul-2024, 11:17 AM
I was doing so.
At about the gazillionth attempt something changed and the skin came back (see the header bar) though not all the styling is working, for instance the list highlighted rows. I removed all but one use ccjframework.pkg as it was in more than one place.
16963
edit: The answer BTW was that under 24.0 I am compiling 64 bit and under 23.0 I am compiling 32 bit. As I said above I got it working by removing all but one inclusion of cCJFramework but I had missed a precompile so it was still being picked up more than once in that instance.
So skins DO interfere slightly with the psTheme, the weblist rows aren't themed as per the designer. OTOH they are picking up some styling, so more digging is required.
DaveR
19-Jul-2024, 12:47 PM
removed - not the styler's fault.
DaveR
19-Jul-2024, 02:18 PM
removed .. my colours weren't working very well
Dennis Piccioni
19-Jul-2024, 03:45 PM
So it's all working now?
DaveR
20-Jul-2024, 09:02 AM
So it's all working now?
yes, insofar as I have a working theme; though I do have one circumstance I haven't dug into very much.
I generated a theme that didn't work. I didn't close the styler. Then I regenerated the same theme with a different name all lower-case. This time it worked. Sounds odd, I know.
I deleted the non-working one after verifying that the generated folders had identical content and css.
I'll leave it there for now, but this is one fugly theme so it won't be long until I have to try again so I'll reopen this if I can repeat it.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.