• Index
  •  » Support
  •  » show isbn in General panel for GCbooks.gcm GCmodel?

#1 2022-02-27 22:13:13

nobody
Member
Registered: 2021-11-07
Posts: 17

show isbn in General panel for GCbooks.gcm GCmodel?

hello,

hope all is well.

trying to get the ISBN to display in the General panel for the default GCBooks.gcm model.

added the following lines to GCBooks.gcm and the ISBN: label shows up, but no editable field or value is displayed (see attached image):

Code:

<item col="0" for="isbn" row="5" type="label" />
<item col="1" colspan="3" expand="true" for="isbn" row="5" type="value" />

here is full panel code:

Code:

<panels>
        <panel editable="true" label="PanelForm" name="form">
            <item type="line">
                <item for="isbn" type="value" width="13" nomargin="true" />
                <item expand="true" for="title" type="value" nomargin="true" />
                <item type="special" for="searchButton" nomargin="true" />
                <item type="special" for="refreshButton" nomargin="true" />
            </item>
            <item expand="true" type="notebook">
                <item expand="true" title="General" type="tab" value="main">
                    <item type="line">
                        <item for="cover" height="170" width="130" type="value"/>
                        <item cols="4" rows="5" type="table" expand="true">
                            <item col="0" for="publication" row="0" type="label" />
                            <item col="1" colspan="1" expand="true" for="publication" row="0" type="value" />
                            <item col="2" for="pages" row="0" type="label" />
                            <item col="3" colspan="1" expand="true" for="pages" row="0" type="value" />
                            <item col="0" for="publisher" row="1" type="label" />
                            <item col="1" colspan="3" expand="true" for="publisher" row="1" type="value" />
                            <item col="0" for="serie" row="2" type="label" />
                            <item col="1" colspan="1" expand="true" for="serie" row="2" type="value" width="5" />
                            <item col="2" for="volume" row="2" type="label" />
                            <item col="3" colspan="1" expand="true" for="volume" row="2" type="value" />
                            <item col="0" for="edition" row="3" type="label" />
                            <item col="1" colspan="1" expand="true" for="edition" row="3" type="value" width="5" />
                            <item col="2" for="rank" row="3" type="label" />
                            <item col="3" colspan="1" expand="true" for="rank" row="3" type="value" />
                            <item col="0" for="original" row="4" type="label" />
                            <item col="1" colspan="3" expand="true" for="original" row="4" type="value" />
                            <item col="0" for="isbn" row="5" type="label" />
                            <item col="1" colspan="3" expand="true" for="isbn" row="5" type="value" />
                        </item>
                        <item type="line" width="0"/>
                    </item>
                    <item type="expander" title="Authors" collapsed="%authors%" row="0" col="0" colspan="4">
                        <item type="value" for="authors"/>
                    </item>
                    <item type="expander" title="Genre" collapsed="%genre%" row="1" col="0" colspan="4">
                        <item type="value" for="genre"/>
                    </item>
                    <item cols="4" rows="3" type="table" expand="true">
                        <item col="0" for="description" row="0" type="label" />
                        <item col="1" colspan="3" expand="true" for="description" row="0" type="value" />
                    </item>
                </item>
                <item expand="true" title="Details" type="tab" value="bla">
                    <item cols="6" expand="true" rows="8" type="table">
                        <item col="0" row="0" colspan="1" for="read" type="value" />
                            <item col="2" row="0" for="location" type="label" />
                            <item col="3" row="0" for="location" width="13" type="value" />    
                            <item col="0" row="1" for="rating" type="label" />
                            <item col="1" row="1" colspan="3" for="rating" type="value" />
                            <item col="0" row="2" for="added" type="label" />
                            <item col="1" row="2" for="added" type="value" />
                            <item col="2" row="2" for="acquisition" type="label" />
                            <item col="3" row="2" for="acquisition" type="value" />
                        <item col="0" row="3" for="translator" type="label" />
                        <item col="1" row="3" for="translator" type="value" />
                            <item col="2" row="3" for="language" type="label" />
                            <item col="3" row="3" colspan="1" for="language" type="value" />
                            <item col="0" row="4" for="artist" type="label" />
                            <item col="1" row="4" for="artist" type="value" />
                        <item col="2" row="4" for="format" type="label" />
                        <item col="3" row="4" for="format" width="13" type="value" />
                        <item col="0" row="6" type="label" for="digitalfile" nomargin="true"/>
                        <item col="1" row="6" type="line" colspan="3">
                            <item type="value" for="digitalfile" expand="true" nomargin="true"/>
                            <item type="launcher" for="digitalfile" nomargin="true"/>
                        </item>
                        <item col="0" row="7" for="comments" type="label" />
                        <item col="1" row="7" colspan="3" expand="true" for="comments" type="value" />
                    </item>
                </item>
                <item type="tab" value="lending" title="PanelLending">
                    <item type="table" rows="3" cols="3">
                        <item type="label" for="borrower" row="0" col="0"/>
                        <item type="value" for="borrower" row="0" col="1"/>
                        <item type="special" for="mailButton" row="0" col="2"/>
                        <item type="label" for="lendDate" row="1" col="0"/>
                        <item type="value" for="lendDate" row="1" col="1"/>
                        <item type="special" for="itemBackButton" row="1" col="2"/>
                    </item>
                    <item type="label" for="borrowings" align="left"/>
                    <item type="line" expand="true">
                        <item type="box" width="64"/>
                        <item type="value" for="borrowings" expand="true"/>
                        <item type="box" width="64"/>
                    </item>
                </item>
                <item type="tab" value="tagpanel" title="PanelTags">
                    <item type="line">
                        <item type="value" for="favourite" />
                    </item>
                    <item expand="true" for="tags" type="value" />
                </item>
            </item>
            <item type="line" homogeneous="true">
                <item expand="true" for="web" type="value" />
                <item expand="true" for="deleteButton" type="special" />
            </item>
        </panel>

p.s. saw the isbn value displays in the read-only panel - is there any info on how to see this panel?

Offline

 

#2 2022-02-27 22:32:11

nobody
Member
Registered: 2021-11-07
Posts: 17

Re: show isbn in General panel for GCbooks.gcm GCmodel?

just noticed the ISBN shows up in the top left when available, the item had just imported with no associated ISBN. oops

Offline

 
  • Index
  •  » Support
  •  » show isbn in General panel for GCbooks.gcm GCmodel?



Should you have a problem using GCstar, you can open a bug report or request some support on GCstar forums.