Seite 1 von 1

strip/chop characters

Verfasst: Mi 28. Dez 2005, 17:46
von ikbenivo
Hi
I've created a breadcrumb system by using
Code: Alles auswählen
<we:path index="index.php,index.html" field="location" home=" " doc="top" separator=" » " />
That works fine, the only thing I don't like is the extension of the file at the end of the breadcrumb. For example:

» ISAnet » organisatie » verslagen.php

Is it possible to remove the extension (.php)? I know php has some sort of chop function (rtrim) but I don't know how to use that in combination with the webEdtion tags.

Thanks in advance

Verfasst: Mo 2. Jan 2006, 13:46
von Ralf Pospiech
Hello Ivo,

the documents should contain a field "location" is this field included, we:path will show the content of this field, is it not included in the file, we:path will show the document name with extension.

Verfasst: Mo 2. Jan 2006, 17:45
von ikbenivo
thanks.
That worked.