BookCat Explorer View

Customizing the explorer module (all products).

BookCat Explorer View

Postby VonRocko » Sun Jun 26, 2011 2:25 pm

In the 'database information' area of the Explorer View I would like to add under 'Books', a field that was created in the book entry area.

In the Form Design area and clicking on the properties the control Name of this field is called 'custom 11' and the field name is 'Book Read'

I tried adding to the 'Database Information' area of the xsl template

<B>Books: </B><XSL:Value-of select="Recordcount/Book Read"/>
<BR/>

and also tried

<B>Books: </B><XSL:Value-of select="Recordcount/Custom 11"/>
<BR/>

Neither works..
Need some help
Thanks
VonRocko
 
Posts: 129
Joined: Tue Dec 07, 2004 6:58 am

Re: BookCat Explorer View

Postby FredrikN » Sun Jun 26, 2011 3:28 pm

VonRocko wrote:In the 'database information' area of the Explorer View I would like to add under 'Books', a field that was created in the book entry area.

In the Form Design area and clicking on the properties the control Name of this field is called 'custom 11' and the field name is 'Book Read'

I tried adding to the 'Database Information' area of the xsl template

<B>Books: </B><XSL:Value-of select="Recordcount/Book Read"/>
<BR/>

and also tried

<B>Books: </B><XSL:Value-of select="Recordcount/Custom 11"/>
<BR/>

Neither works..
Need some help

This is not available in the xml data file. Use the Count command instead to get the value:

Code: Select all
##CMD:Count:Book,Custom11=True##
FredrikN
Site Admin
 
Posts: 13732
Joined: Fri Nov 22, 2002 3:52 pm

Re: BookCat Explorer View

Postby VonRocko » Sun Jun 26, 2011 3:43 pm

Ok appears to work, but want to make sure ive got it right just in case.

This is what I have
<B>Books Read: </B>##CMD:Count:Book,Custom11=True##
<BR/>

Thanks
VonRocko
 
Posts: 129
Joined: Tue Dec 07, 2004 6:58 am

Re: BookCat Explorer View

Postby FredrikN » Sun Jun 26, 2011 4:06 pm

VonRocko wrote:Ok appears to work, but want to make sure ive got it right just in case.

This is what I have
<B>Books Read: </B>##CMD:Count:Book,Custom11=True##
<BR/>

Thanks

Yes, that is correct.
FredrikN
Site Admin
 
Posts: 13732
Joined: Fri Nov 22, 2002 3:52 pm


Return to Explorer Templates