Re: two editable areas

Christian Stocker <[email protected]>
Newsgroups gmane.comp.cms.bitflux.general
Organization Bitflux GmbH
Message-ID <[email protected]>

On 14.12.2005 9:31 Uhr, Adrian Nussbaum wrote:
> do i have to change the default.xml?
> 
> if i change the paths according to your example i get an error in the 
> bxe. he tells me that there is "no body element found in your  external
> xhtml"

it was just an example :)

Without knowing how your content looks like, I can't tell you how the
xpath has to be. You need to have 2 divs (or other elements) in your
xhtml file, which then can be referenced via xpath to be displayed and
edited independently in BXE.

chregu

> 
> ...
> 
> 
>>
>> On 14.12.2005 8:39 Uhr, Adrian Nussbaum wrote:
>>
>>>
>>>> Look for      <div id="content" bxe_xpath="/xhtml:html/xhtml:body">
>>>>
>>>> and just add another bxe_xpath to where you want your second   editble
>>>> area
>>>
>>>
>>>
>>> great.
>>> but what/which vaule could i enter as the bxe_xpath? there must be
>>> something different to "..../xhtml:body"... right?
>>
>>
>> the xpath to that element you want to edit.
>>
>> for example for box1
>>
>> /xhtml:html/xhtml:body/xhtml:div[@id="content"]
>>
>> for box2
>>
>> /xhtml:html/xhtml:body/xhtml:div[@id="box2"]
>>
>> chregu
>>
>>>
>>>
>>> adrian
>>
>>
>> -- 
>> christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
>> phone +41 44 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
>> http://www.bitflux.ch | [email protected] |  GPG 0x5CE1DECB
>>
>>

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 44 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | [email protected] |  GPG 0x5CE1DECB
-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.