Welcome, Guest. Please login or register.
Did you miss your activation email?
Oct. 11, 2008, 02:09:26 PM
47672 Posts in 10455 Topics by 5339 Members
Latest Member: phamlehoaian
News: Share your PRADO experience with other PRADOers by commenting on the QuickStart Tutorial.
 
The PRADO Community » Prado v3.x » Feature Requests » A bread crumbs component « previous next »
Pages: [1] Print
Author Topic: A bread crumbs component  (Read 1590 times)
p_e_t_e_r
Junior Member
**

Karma: 0
Offline Offline

Posts: 6


View Profile
« on: Jun. 30, 2007, 10:47:54 AM »

Hi,

In .net 2.0 we have a nice component which show where you are like:

home -> users -> edit user

This component can be placed everywhere i want to, for example in master page at the top of the screen.
every part of bread crumbs is clickable, so i can navigate where i want.
it has to support i18n.
A configuration is in xml file where you can find mappings from url's to human readable names

any plans to provide such a component ?

greets !
Logged
tof06
PRADO v3.x Developer
Platinum Member
*****

Karma: 66
Offline Offline

Posts: 733



View Profile
« Reply #1 on: Jul. 02, 2007, 07:05:18 AM »

Hi p_e_t_e r, and welcome to the forums.

Interesting idea. I don't really  know .NET and its components, but the idea of XML file to map url and "human path" is good.
I will try to make a such component. Shouldn't be too difficult with TXmlDocument, and a css customized TBulletedlist.

As soon as I got something working, I will share it.

Cheers,

Edit: If you have a link to the .Net component doc, just to see how is structured the xml file...
« Last Edit: Jul. 02, 2007, 09:45:45 AM by tof06 » Logged
p_e_t_e_r
Junior Member
**

Karma: 0
Offline Offline

Posts: 6


View Profile
« Reply #2 on: Jul. 02, 2007, 10:58:22 PM »

Sure, here you go: http://weblogs.asp.net/scottgu/archive/2005/11/20/431019.aspx

i hope this helps you, and i agree this wouldn't be too difficult.
I think when you finish this could become one of the core prado components..

please, figure out how i18n works in this component, im not sure how it is done in .net at the moment..


good luck, waiting for some results

best regards !
Logged
tof06
PRADO v3.x Developer
Platinum Member
*****

Karma: 66
Offline Offline

Posts: 733



View Profile
« Reply #3 on: Jul. 10, 2007, 03:25:45 PM »

Hello,

Have a look to this

Wink

Logged
p_e_t_e_r
Junior Member
**

Karma: 0
Offline Offline

Posts: 6


View Profile
« Reply #4 on: Jul. 10, 2007, 06:48:32 PM »

Great job !
i'll have a look tommorow.

im impressed how fast you did it.

btw. how about internationalization ?
is it supported ?

greets. !!
Logged
tof06
PRADO v3.x Developer
Platinum Member
*****

Karma: 66
Offline Offline

Posts: 733



View Profile
« Reply #5 on: Jul. 11, 2007, 05:42:29 AM »

Every "title" and "descriptions" properties are translated using prado::Localize when they are used.
So, if you have a I18N manager defined in you application.xml, all texts will be translated using it. Otherwise, they will be shown as-is.

I think I will move the localisation part into the CSitemapManager module, when the xml file is read, instead of doing it in each component...
Logged
Pages: [1] Print 
« previous next »
Jump to: