Customizing the new OPAC (Version 3.0.4 Release 1)

classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

Customizing the new OPAC (Version 3.0.4 Release 1)

pedroparkero
Good day!

Can I have instructions on how to make a certain field visible in the OPAC during the viewing of the catalog record (for example, field 533 or Reproduction note)?

Also, I noticed that there's a placeholder for a picture beside the "Welcome to... " message in the bottom part of the OPAC (see below). Where should I place the picture file so it can be seen instead of an invisible image?
bottom part of OPAC needs a picture
-------------------------------------------------
With great knowledge comes great responsibility.
Reply | Threaded
Open this post in threaded view
|

Re: Customizing the new OPAC (Version 3.0.4 Release 1)

Verus Open Source Support
If you want to put any image here, then
1. In C:/NGL3/apache-tomcat---/webapps, create a directory called myImages.
2. In the above folder, put an image file that you wish to display. Let me say it is abc.jpeg
3. Now open LibraryHome.ftl and go to line 54 (Must have changed in your case). But see the below line
<img src="images/pic.jpg" alt="alignleft" class="alignleft" />
The above line must be changed to
<img src="/myImages/abc.jpeg" alt="alignleft" class="alignleft" />

On 09/04/2012 04:16 PM, pedroparkero [via NewGenLib] wrote:
Good day!

Can I have instructions on how to make a certain field visible in the OPAC during the viewing of the catalog record (for example, field 533 or Reproduction note)?

Also, I noticed that there's a placeholder for a picture beside the "Welcome to... " message in the bottom part of the OPAC (see below). Where should I place the picture file so it can be seen instead of an invisible image?
bottom part of OPAC needs a picture
-------------------------------------------------
With great knowledge comes great responsibility.



If you reply to this email, your message will be added to the discussion below:
http://forums.newgenlib.org/Customizing-the-new-OPAC-Version-3-0-4-Release-1-tp7573064.html
To start a new topic under NewGenLib, email [hidden email]
To unsubscribe from NewGenLib, click here.
NAML


-- 
Regards
NewGenLib Open Source Support Team

NewGenLib Open Source Support
Verus Solutions Private Limited
www.verussolutions.biz
Reply | Threaded
Open this post in threaded view
|

Re: Customizing the new OPAC (Version 3.0.4 Release 1)

pedroparkero
I have now successfully placed a picture there. Thank you.
Now what about making other information visible in the catalog view? If we want to have more fields displayed in the catalog record, what shoud we do?
-------------------------------------------------
With great knowledge comes great responsibility.
Reply | Threaded
Open this post in threaded view
|

Re: Customizing the new OPAC (Version 3.0.4 Release 1)

Verus Open Source Support
1. Do you want to show it in Search results or in a single record view?
2. If it is Search results you must edit Search.ftl. If it is Single record view, then it is General.ftl in RecordTemplates directory
3. You need to know about Freemarker template engine to edit these files by your self
4. However if you send us the MARC tag, we will send you an edited file



On 09/04/2012 05:03 PM, pedroparkero [via NewGenLib] wrote:
I have now successfully placed a picture there. Thank you.
Now what about making other information visible in the catalog view? If we want to have more fields displayed in the catalog record, what shoud we do?
-------------------------------------------------
With great knowledge comes great responsibility.



If you reply to this email, your message will be added to the discussion below:
http://forums.newgenlib.org/Customizing-the-new-OPAC-Version-3-0-4-Release-1-tp7573064p7573070.html
To start a new topic under NewGenLib, email [hidden email]
To unsubscribe from NewGenLib, click here.
NAML


-- 
Regards
NewGenLib Open Source Support Team

NewGenLib Open Source Support
Verus Solutions Private Limited
www.verussolutions.biz
Reply | Threaded
Open this post in threaded view
|

Re: Customizing the new OPAC (Version 3.0.4 Release 1)

pedroparkero
Okay, as I need an example on how to do it for any field. Can you give me an edited file for MARC tag 533 with default subfields a, n, & 3? Thank you.
-------------------------------------------------
With great knowledge comes great responsibility.
Reply | Threaded
Open this post in threaded view
|

Re: Customizing the new OPAC (Version 3.0.4 Release 1)

Verus Solutions Support
Do you want it to be named a "Reproduction note?"
On 09/04/2012 05:13 PM, pedroparkero [via NewGenLib] wrote:
Okay, as I need an example on how to do it for any field. Can you give me an edited file for MARC tag 533 with default subfields a, n, & 3? Thank you.
-------------------------------------------------
With great knowledge comes great responsibility.



If you reply to this email, your message will be added to the discussion below:
http://forums.newgenlib.org/Customizing-the-new-OPAC-Version-3-0-4-Release-1-tp7573064p7573074.html
To start a new topic under NewGenLib, email [hidden email]
To unsubscribe from NewGenLib, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Customizing the new OPAC (Version 3.0.4 Release 1)

rsgiri
In reply to this post by pedroparkero
 I have some suggestion on OPAC Layout attached as .png files

Can multiple books on topic wise be saved in the favourite ? For instance I have two prefferd books on Thermodynamics and three books on Digital Image processing. how could it be save?

Regards
Reply | Threaded
Open this post in threaded view
|

Re: Customizing the new OPAC (Version 3.0.4 Release 1)

Verus Open Source Support
In reply to this post by pedroparkero
In Search results or Single record view?

On 09/04/2012 05:13 PM, pedroparkero [via NewGenLib] wrote:
Okay, as I need an example on how to do it for any field. Can you give me an edited file for MARC tag 533 with default subfields a, n, & 3? Thank you.
-------------------------------------------------
With great knowledge comes great responsibility.



If you reply to this email, your message will be added to the discussion below:
http://forums.newgenlib.org/Customizing-the-new-OPAC-Version-3-0-4-Release-1-tp7573064p7573074.html
To start a new topic under NewGenLib, email [hidden email]
To unsubscribe from NewGenLib, click here.
NAML


-- 
Regards
NewGenLib Open Source Support Team

NewGenLib Open Source Support
Verus Solutions Private Limited
www.verussolutions.biz
Reply | Threaded
Open this post in threaded view
|

Re: Customizing the new OPAC (Version 3.0.4 Release 1)

Verus Open Source Support
In reply to this post by rsgiri
The queries are answered below
1. May we the version of Internet Explorer being used. However the new OPAC is tested for Firefox, Google Chrome and Opera. It will work on other browsers, however the look and feel and behaviour will change.
The problem of display of multiple classification number is rectified at the time test sever itself. Please check if this is happening for all the records. If yes, we check your database for this issue

2. Login link an be changed by you through editing LibraryHeader.ftl. This is in C:/NewGenLibFiles/OpacTemplates/default directory. ftl files are nothing but html code. However in future versions we will consider this issue

Facebook and twitter accordion panes will open up on clicking them. However if you want to have them display all the time with out the necessity of accordion pane please edit LibraryHome.ftl in the directory mentioned in Point 2

"Welcome to Learning and .." displays a brief welcome message of the library. Please go to Administration->Configure System->OPAC->Library to edit its content. However if you want to remove it completely you can do it from LibraryHome.ftl in

3. Other books in the rack shows fine in the above mentioned browsers. Please check

4. Keep clicking on any number of books to add them to the favourites. You can view them from My Library -> My favourites


On 09/04/2012 05:31 PM, rsgiri [via NewGenLib] wrote:
 I have some suggestion on OPAC Layout attached as .png files

Can multiple books on topic wise be saved in the favourite ? For instance I have two prefferd books on Thermodynamics and three books on Digital Image processing. how could it be save?

Regards


If you reply to this email, your message will be added to the discussion below:
http://forums.newgenlib.org/Customizing-the-new-OPAC-Version-3-0-4-Release-1-tp7573064p7573077.html
To start a new topic under NewGenLib, email [hidden email]
To unsubscribe from NewGenLib, click here.
NAML


-- 
Regards
NewGenLib Open Source Support Team

NewGenLib Open Source Support
Verus Solutions Private Limited
www.verussolutions.biz
Reply | Threaded
Open this post in threaded view
|

Re: Customizing the new OPAC (Version 3.0.4 Release 1)

Verus Open Source Support
In reply to this post by rsgiri
We will be glad to set the changes for you
Regards
NewGenLib Open Source Team
On 09/04/2012 05:31 PM, rsgiri [via NewGenLib] wrote:
 I have some suggestion on OPAC Layout attached as .png files

Can multiple books on topic wise be saved in the favourite ? For instance I have two prefferd books on Thermodynamics and three books on Digital Image processing. how could it be save?

Regards


If you reply to this email, your message will be added to the discussion below:
http://forums.newgenlib.org/Customizing-the-new-OPAC-Version-3-0-4-Release-1-tp7573064p7573077.html
To start a new topic under NewGenLib, email [hidden email]
To unsubscribe from NewGenLib, click here.
NAML


-- 
Regards
NewGenLib Open Source Support Team

NewGenLib Open Source Support
Verus Solutions Private Limited
www.verussolutions.biz
Reply | Threaded
Open this post in threaded view
|

Re: Customizing the new OPAC (Version 3.0.4 Release 1)

pedroparkero
In reply to this post by Verus Open Source Support
Yes, let's call it "Reproduction Note" please. And only in the Single View. Thank you.
-------------------------------------------------
With great knowledge comes great responsibility.
Reply | Threaded
Open this post in threaded view
|

Re: Customizing the new OPAC (Version 3.0.4 Release 1)

pedroparkero
In reply to this post by rsgiri
rsgiri wrote
I have some suggestion on OPAC Layout attached as .png files [...]
Hi, rsgiri!

For twitter & facebook widgets, there are instructions on the other recent thread on how to edit it: http://forums.newgenlib.org/NewGenLib-at-your-service-Version-3-0-4-Release-1-is-now-ready-to-serve-you-tp7573032p7573050.html

For call numbers, if your MARC files contain more than one, then DDC, LoC, etc. will be listed. But you can edit it to display only one or arrange its order of display in (C:\NewGenLibFiles\OpacTemplates\default)Search.ftl and (C:\NewGenLibFiles\OpacTemplates\default\RecordTemplates)General.ftl . Just look for the lines that look like this one:

                                                                <#if record.Fields.T050 ?? || record.Fields.T055 ?? || record.Fields.T060 ?? || record.Fields.T061 ?? || record.Fields.T070 ?? || record.Fields.T080 ?? || record.Fields.T082 ??>
                                                                        <strong>${LocalMessages.CallNumber}: </strong>
                                                                        <#if record.Fields.T082 ??>
                                                                                        <#list record.Fields.T082 as val><a class="CALLNUMBERSEARCH" id="CALLNUMBER_${PreviousValues.FormName}_<#list val.a as data>${data}</#list>" href="<#list val.a as data>${data}</#list>"> <#list val.a as data>${data}</#list><#if val.b ??><#list val.b as data> ${data}</#list></#if>;</#list>
                                                                        </#if>                                                                       
                                                                        <#if record.Fields.T050 ??>
                                                                                        <#list record.Fields.T050 as val><a class="CALLNUMBERSEARCH" id="CALLNUMBER_${PreviousValues.FormName}_<#list val.a as data>${data}</#list>" href="<#list val.a as data>${data}</#list>"> <#list val.a as data>${data}</#list><#if val.b ??><#list val.b as data> ${data}</#list></#if>;</#list>
                                                                        </#if>
                                                                        <#if record.Fields.T055 ??>
                                                                                        <#list record.Fields.T055 as val><a class="CALLNUMBERSEARCH" id="CALLNUMBER_${PreviousValues.FormName}_<#list val.a as data>${data}</#list>" href="<#list val.a as data>${data}</#list>"> <#list val.a as data>${data}</#list><#if val.b ??><#list val.b as data> ${data}</#list></#if>;</#list>
                                                                        </#if>
                                                                        <#if record.Fields.T060 ??>
                                                                                        <#list record.Fields.T060 as val><a class="CALLNUMBERSEARCH" id="CALLNUMBER_${PreviousValues.FormName}_<#list val.a as data>${data}</#list>" href="<#list val.a as data>${data}</#list>"> <#list val.a as data>${data}</#list><#if val.b ??><#list val.b as data> ${data}</#list></#if>;</#list>
                                                                        </#if>
                                                                        <#if record.Fields.T061 ??>
                                                                                        <#list record.Fields.T061 as val><a class="CALLNUMBERSEARCH" id="CALLNUMBER_${PreviousValues.FormName}_<#list val.a as data>${data}</#list>" href="<#list val.a as data>${data}</#list>"> <#list val.a as data>${data}</#list><#if val.b ??><#list val.b as data> ${data}</#list></#if>;</#list>
                                                                        </#if>
                                                                        <#if record.Fields.T070 ??>
                                                                                        <#list record.Fields.T070 as val><a class="CALLNUMBERSEARCH" id="CALLNUMBER_${PreviousValues.FormName}_<#list val.a as data>${data}</#list>" href="<#list val.a as data>${data}</#list>"> <#list val.a as data>${data}</#list><#if val.b ??><#list val.b as data> ${data}</#list></#if>;</#list>
                                                                        </#if>
                                                                        <#if record.Fields.T080 ??>
                                                                                        <#list record.Fields.T080 as val><a class="CALLNUMBERSEARCH" id="CALLNUMBER_${PreviousValues.FormName}_<#list val.a as data>${data}</#list>" href="<#list val.a as data>${data}</#list>"> <#list val.a as data>${data}</#list><#if val.b ??><#list val.b as data> ${data}</#list></#if>;</#list>
                                                                        </#if>
                                                                        <br/>
                                                                </#if>



If you want to display only one call number, then just replace the above with this:

                                                                <#if record.Fields.TXXX ?? >
                                                                        <strong>${LocalMessages.CallNumber}: </strong>
                                                                        <#if record.Fields.TXXX ??>
                                                                                        <#list record.Fields.TXXX as val><a class="CALLNUMBERSEARCH" id="CALLNUMBER_${PreviousValues.FormName}_<#list val.a as data>${data}</#list>" href="<#list val.a as data>${data}</#list>"> <#list val.a as data>${data}</#list><#if val.b ??><#list val.b as data> ${data}</#list></#if>;</#list>
                                                                        </#if>
</#if>


where XXX = tag number of the call number you want to display.


I also recommend updating your Internet Explorer or what's better is just uninstall it and use a free & more modern and capable internet browser like Google Chrome & Mozilla Firefox.
-------------------------------------------------
With great knowledge comes great responsibility.
Reply | Threaded
Open this post in threaded view
|

Re: Customizing the new OPAC (Version 3.0.4 Release 1)

Verus Open Source Support
In reply to this post by pedroparkero
Hi
Place the attached file in
C:/NewGenLibFiles/OpacTemplates/default/RecordTemplates/
replacing the old General.ftl

On 09/05/2012 07:12 AM, pedroparkero [via NewGenLib] wrote:
Yes, let's call it "Reproduction Note" please. And only in the Single View. Thank you.
-------------------------------------------------
With great knowledge comes great responsibility.



If you reply to this email, your message will be added to the discussion below:
http://forums.newgenlib.org/Customizing-the-new-OPAC-Version-3-0-4-Release-1-tp7573064p7573081.html
To start a new topic under NewGenLib, email [hidden email]
To unsubscribe from NewGenLib, click here.
NAML


-- 
Regards
NewGenLib Open Source Support Team


General.ftl (19K) Download Attachment
NewGenLib Open Source Support
Verus Solutions Private Limited
www.verussolutions.biz
Reply | Threaded
Open this post in threaded view
|

Re: Customizing the new OPAC (Version 3.0.4 Release 1)

pedroparkero
Thank you. I tried to edit the lines to include subfields n & 3:

                <#if Fields.T533 ??>
                        <strong>Reproduction Note: </strong>
                        <#list Fields.T533 as val>
                                <#if val.a ??><#list val.a as data>${data}</#list> </#if><#if val.n ??><#list val.n as data>${data}</#list> </#if><#if val.3 ??><#list val.3 as data>${data}</#list> </#if>
                        <br/>
                        </#list>                                                                       
                </#if>

But when I refreshed the single view page, an error that starts with the line below occurs. Where did I go wrong?
 Error parsing included template RecordTemplates/General.ftl Encountered "3" at line 146, column 156 in RecordTemplates/General.ftl. Was expecting one of: "false" ... "true"
-------------------------------------------------
With great knowledge comes great responsibility.
Reply | Threaded
Open this post in threaded view
|

Re: Customizing the new OPAC (Version 3.0.4 Release 1)

pedroparkero
Also, because it is possible that different copies of the same item can have varying call numbers when they are in different locations, is it possible to bring back the call number column, and list each call number of copies just in case?

bring back call number column
-------------------------------------------------
With great knowledge comes great responsibility.
Reply | Threaded
Open this post in threaded view
|

Re: Customizing the new OPAC (Version 3.0.4 Release 1)

Verus Open Source Support
Yes, will be added

On 09/05/2012 03:51 PM, pedroparkero [via NewGenLib] wrote:
Also, because it is possible that different copies of the same item can have varying call numbers when they are in different locations, is it possible to bring back the call number column, and list each call number of copies just in case?

bring back call number column
-------------------------------------------------
With great knowledge comes great responsibility.



If you reply to this email, your message will be added to the discussion below:
http://forums.newgenlib.org/Customizing-the-new-OPAC-Version-3-0-4-Release-1-tp7573064p7573095.html
To start a new topic under NewGenLib, email [hidden email]
To unsubscribe from NewGenLib, click here.
NAML


-- 
Regards
NewGenLib Open Source Support Team

NewGenLib Open Source Support
Verus Solutions Private Limited
www.verussolutions.biz
Reply | Threaded
Open this post in threaded view
|

Re: Customizing the new OPAC (Version 3.0.4 Release 1)

pedroparkero
Thank you. How about my other problem I posted earlier?
Edit in General.ftl gives error
From what I understand from the error (it says Encountered "3"), it seems it is forbidden to display a subfield which is not a letter but a number. Is there a workaround to this?
-------------------------------------------------
With great knowledge comes great responsibility.
Reply | Threaded
Open this post in threaded view
|

Re: Customizing the new OPAC (Version 3.0.4 Release 1)

Verus Open Source Support
In reply to this post by pedroparkero
Can you please remove the last sub field (3)
<#if val.3 ??><#list val.3 as data>${data}</#list> </#if>

Because freemarker does not accept numeric fields. We will develop a
work around for this numeric sub fields

On 09/05/2012 02:29 PM, pedroparkero [via NewGenLib] wrote:

> <#if Fields.T533 ??>
>                         <strong>Reproduction Note: </strong>
>                         <#list Fields.T533 as val>
>                                 <#if val.a ??><#list val.a as
> data>${data}</#list> </#if><#if val.n ??><#list val.n as
> data>${data}</#list> </#if><#if val.3 ??><#list val.3 as
> data>${data}</#list> </#if>
>                         <br/>
>                         </#list>
>                 </#if>


--
Regards
NewGenLib Open Source Support Team


NewGenLib Open Source Support
Verus Solutions Private Limited
www.verussolutions.biz