[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Find & replace on display


On Mon, 02 May 2005 16:25:45 +0000
"Sergei Voyakin" <suppressed> wrote:

> I am looking to change the way a field in a product database is displayed 
> when it's pulled up.  Instead of it having spaces, I would like to show it 
> as a dashes ("-").  Is this possible and if so, could I see the code?
> 
> For example:
> Stroed in database: Some Stuff Here, should be displaed as 
> Some-Stuff-Here...

Sergei,

Look at Interchange filters (code/filter/ directory in the distribution).

It should be trivial to create a filter of your linking (you can include
it in your catalog.cfg), let's say we name it "spaces_to_dashes", then
on the Interchange page you simply do this:

[filter spaces_to_dashes] .....   [/filter]

Enjoy,
-doc
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.