CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> IDE/GUI

 Custom Style Not Showing Changes

Print topic Send  topic

Author Message
maxhugen

Posts: 272
Posted: 03/28/2008, 8:54 PM

I've created a custom Style 'EIP', which was originally based on 'Compact'. No problem with that.

Then, using the Style Builder, I tried to change the Color Scheme - just the Page Backgound. This seemed to work OK, with it correctly displaying in the Style Builder's Preview screen.

However, none of my pages reflect the change. I have tried Project Settings > Styles > Rebuild, I've also re-published the Project.

Any suggestions, pls?
_________________
Max
www.gardenloco.com | www.eipdna.com | www.chrisarminson.com
View profile  Send private message
wkempees


Posts: 1679
Posted: 03/29/2008, 4:35 PM

Style Builder accepted your changes.
Project Setting->Styles->Rebuild will rebuild the style_*.css files for you in your project environment.
Next you need to 'Publish all files', radio button in Project Settings->Publishing, to have the new .css files copied to your publish environment.

It might, however, be needed to do the following:
In Project Explorer, right click a page->Change Style and (re)select your (changed) style.
If this is true and solves your problem, then do this for all pages.
This last advice is probably not needed, it might be the first solution that solves your problem.

HTH

Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message
maxhugen

Posts: 272
Posted: 03/29/2008, 6:30 PM

Hi Walter,

As per http://forums.yessoftware.com/posts.php?post_id=95476, I finally found that both Styles.css and Styles_doctype.css had been updated when I modified my custom style - except for the Color Scheme, which seemed to update only Styles.css. A bug perhaps?

Still confused as to which stylesheet I should be using in my pages....
_________________
Max
www.gardenloco.com | www.eipdna.com | www.chrisarminson.com
View profile  Send private message
wkempees


Posts: 1679
Posted: 03/30/2008, 6:15 AM

Could be, check in with support, and report back please.

_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message
maxhugen

Posts: 272
Posted: 03/30/2008, 4:16 PM

Have lodged a Support request, will advise when I hear back.

Walter, which stylesheet do you use?
_________________
Max
www.gardenloco.com | www.eipdna.com | www.chrisarminson.com
View profile  Send private message
wkempees
Posted: 03/31/2008, 4:59 AM

The _doctype one

"wkempees" <wkempees@forum.codecharge> schreef in bericht
news:447f0db357a58f@news.codecharge.com...
> Almost always:
> Style: Dynamic, Default: Basic
> Switching through either Styles in rightclick or programatically.
> No changes in the stylesheets done in CCS4 though.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
wkempees


Posts: 1679
Posted: 03/31/2008, 5:38 AM

Almost always:
Style: Dynamic, Default: Basic
Switching through either Styles in rightclick or programatically.
No changes in the stylesheets done in CCS4 though.
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message
maxhugen

Posts: 272
Posted: 03/31/2008, 3:14 PM

FYI, in response to my question to support:

Quote :
Customs stylesheets are not saving changes to Color Scheme. To replicate:

1. New project.
2. Select a style at Project Settings > Styles. <Save>
3. Project Settings > Styles > Style Builder. <Save As> new style.
4. Project Settings > Styles > Replace with New Style just created. <OK>
5. Project Settings > Styles > Style Builder > Color Scheme > Modify. Change page background to, say, BBBBBB. <Save As> new Color Scheme. Select new Color Scheme in Style Builder. <OK>

Open Style.css and Style_doctype.css, search for 'BBBBBB'. Not found - change wasn't saved.

Would you pls also advise what the difference is between these two stylesheets, their respective purposes, and which should be used in a Project? They appear to be identical, except that Style_doctype.css has html>body entries, whereas Style.css does not.

Support replied:

Quote :
The page background color is not saved in .css files. When you select a new page background color the <StyleName>/Images/PageBg.gif image is updated. The links to PageBg.gif image are stored in Style.ccs and Style_doctype.css files in “body” specification.

The Style.css file is loaded in case there’s no DOCTYPE tag in html code of relevant page. And Style_doctype.css is loaded if DOCTYPE tag exist. You can check it in HTML code of CCS pages.

I think is is only partly correct... my response to support was:

Quote :
The PageBg.gif is only present if a textured background has been selected. For example, styles Artless and Compact do not use a background image, and therefore do not have that file in /Styles/.../images.

It appears to me that if a background texture isn't used, .PageBgColor is applied, so I feel this should be updated in the stylesheet when the Color Scheme is modified, no?

BTW, thanks for the explanation of the 2 different stylesheets.

Aren't stylesheets fun? :-D
_________________
Max
www.gardenloco.com | www.eipdna.com | www.chrisarminson.com
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.