CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Can I use Menu Builder with my custom Style and Internationalization?

Print topic Send  topic

Author Message
joejac

Posts: 242
Posted: 03/12/2009, 11:20 AM

Can I use Menu Builder with my custom Style and Internationalization?

I reviewed the help but I did not found the information, what I need is:

1.- To find the way to customize only the style of the menu generated by Menu Builder, like width, height, each state image (link, visited, hover, active) with the colors, effects, images and sizes I want, etc. not with the ones that comes with the Style Builder. This builder is very nice but I have not found a way to use my styles with the menu builder.

2. I need Internationalization resources, I mean each menu item word has to be in its respective language.

How can I do these 2 things?

Thanks a lot for your help.
Best regards
joejac


View profile  Send private message
lfernand

Posts: 19
Posted: 03/12/2009, 12:40 PM

Menu static or from database?
View profile  Send private message
joejac

Posts: 242
Posted: 03/12/2009, 12:41 PM

Hello Ifernand,
In both cases.
Regards
joejac
View profile  Send private message
lfernand

Posts: 19
Posted: 03/12/2009, 12:55 PM

joejac, To use internationalization with static menus you should put the name of the menus and sub-menus and by clicking the button right-side you put the name you choosen into the translation.

Or put the translation key directly into the menu's name textbox.

The database menu and the first question I dont know.
View profile  Send private message
joejac

Posts: 242
Posted: 03/12/2009, 4:44 PM

Hello lfernand, and thanks for your help.

1.- Static Menu:
At first I did not get what you said. And I figured out a way: to place inside the Caption the translation resource in this way: {res:menu_category} and then create that resource in the Resource-Locale text file for each language with the corresponding translation, and it worked! CCS4 is great for this.
Then I realized what you mean, it is really easy.

2.- Database menu.
I guess we have to follow jjrjr1 recommendations, on this Topic:
http://forums.yessoftware.com/posts.php?post_id=103166
I will try to see how to adapt this solution to the menu builder and I will post.
Best regards
Joejac
View profile  Send private message
joejac

Posts: 242
Posted: 03/12/2009, 4:47 PM

Any idea on my first question: the Style Customization is very welcomed.
Regards
Joejac
View profile  Send private message
damian

Posts: 838
Posted: 03/12/2009, 8:42 PM

in ccs4 there are a number of different style sheets for each style/theme - you may not be editing the right one for the menus - or you havent fully grasped how the style is actually built up and so your changes are not displaying the way YOU expect them too....?
_________________
if you found this post useful take the time to help someone else.... :)
View profile  Send private message
joejac

Posts: 242
Posted: 03/12/2009, 8:56 PM

Thanks, Damian.

I saw all the potential of the Style Builder, it has many options and a lot of nice features to configure, easy and fast per each style, but I did not find the way to use my own images, for the menu in particular cases. I want to avoid manually changing the generated styles.

Is there a way to provide my own images to the Style Builder?
Thank you
Regards
joejac
View profile  Send private message
damian

Posts: 838
Posted: 03/12/2009, 9:18 PM

errr - i dont know - i modify the generated style sheets myself....
becareful when doing so i that sometimes your modified ones get overwritten - so always make a backup of your modified ones :)

_________________
if you found this post useful take the time to help someone else.... :)
View profile  Send private message
joejac

Posts: 242
Posted: 03/13/2009, 8:08 AM

Precisely Damian, I want to avoid my work been overwritten, so there is no known way to do that for the moment?,
Thanks a lot
Regards
joejac
View profile  Send private message
joejac

Posts: 242
Posted: 03/13/2009, 2:59 PM

Hello,

To center the menu enclose it in a division with the width of the menu and the style margin: 0 auto

Best regards
joejac
View profile  Send private message
SteveG

Posts: 56
Posted: 05/19/2009, 4:47 PM

I've tried a few things to get the menu to behave too, here is the one that, so far, works best (putting the menu in an old-fashioned table):

<div align="center">
<table border="0" cellpadding="3" cellspacing="0" id="table1">
<tr>
<td>
& nbsp;</td>
<td>

... Menu html ...

</td>
<td>
& nbsp;</td>
</tr>
</table>
</div>

... without splicing the "& nbsp;", as this gets hidden in the ccs forums.
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.