Thank you and questions

17 views
Skip to first unread message

Brian Ray

unread,
Jul 28, 2011, 3:01:09 PM7/28/11
to jresearc...@googlegroups.com, br...@nheri.org

Dear Luis, Florian, and Carlos,

 

J!Research (ver. 1.2.2 Stable) is looking to be great for our small nonprofit research institute. Thank you so much for your work on this! I am very new to using J!R but I want you to know I have searched online for answers to a couple of things before I bothered you with a few questions. I am also a medium-tech type of person when it comes to using Joomla components (definitely not high-tech).

 

Might you help me  little?

 

At the Publications main page:

 

1.      Is there a way to add a dropdown menu, such as for Keywords, to the default dropdown menus (i.e., Authors, Year, Select State, Type …, and Research Area)? I sure hope so. If so, would you please tell me how?

 

2.      When I import from RIS format to the “Note” field in J!Research, quote marks and apostrophe marks are converted to question marks. I am importing Text format (and I have tried both Text-MSDOS and Text-Windows and neither works correctly). It is a bit frustrating. Can you tell me how to keep the quote and apostrophe marks?

 

3.      Every time I click on any one of the publication titles in our list, the following error message shows up at near the top of the screen:

Notice: Undefined variable: tpl in /home/hsstars/public_html/administrator/components/com_jresearch/views/publication/view.html.php on line 93

Can you tell me why?

 

 

Thank you so very much for you kind help.

 

--Brian

 

~
Brian D. Ray, Ph.D.
President
National Home Education Research Institute (NHERI)
Editor in Chief
Home School Researcher (academic refereed journal)
PO Box 13939
Salem OR 97309 USA
phone (503) 364 1490
www.nheri.org & ma...@nheri.org
Brian Ray for research & personal br...@nheri.org

Luis Galárraga

unread,
Aug 1, 2011, 6:53:51 PM8/1/11
to jresearc...@googlegroups.com, br...@nheri.org
Dear Brian:

First of all, thanks for your interest in J!Research. Regarding your questions:

1. It is possible but we need a sort of hack. I can give you an idea on how to do it but I am not sure whether it will work since you have stated not to be a high-tech but anyway I will do a try:

The keys are the files administrator/components/com_jresearch/views/publicationslist/view.html.php components/com_jresearch/helpers/html/jresearch.php and administrator/components/com_jresearch/models/publications/publicationslist.php. The first renders the output. The relevant code starts at line 182 with the function _setFilter() which calls the function publicationfilter located in the second file. You will have to modify that function to add your keywords filter by reading all rows of the keyword column in publications and store them in a array you will use to render the list. Remember they are not normalized, therefore every row in the publications table contains a list of keywords separated by commas which you have to extract using PHP . In the same way, the function _buildQueryWhere in the third file has to be modified to use the selected keyword (selected by the user) to modify the query. I think you can understand the idea if you have a look at the other filters because they are implemented in the same way.

2. Maybe those characters should be escaped somehow ( \" instead of " ). Could you try this? Unfortunately we use an external tool (Bibutils) for conversions, so we cannot do too much if it is a bug.

3. It is a little issue I have already solved. Please replace the aforementioned file with the attached copy.

Feel free to contact us whenever there is an issue.

Regards,
Luis

2011/7/28 Brian Ray <br...@nheri.org>
view.html.php

Luis Galárraga

unread,
Aug 2, 2011, 6:15:46 PM8/2/11
to Brian Ray, jresearc...@googlegroups.com
Hi Brian:

My apologies.. I tried this file in my latest code which includes some differences from official release. This new file should work.

Cheers,
Luis

El 2 de agosto de 2011 22:34, Brian Ray <br...@nheri.org> escribió:

Dear Luis,

 

Thank you so much for your personal attention and help.

 

#1. We (my techno man) will try this later once we have other things on our website done.

 

#2. I will try that soon.

 

#3. My techno man replaced (today) the old file with the one you attached and now things are much worse. I just went into J!Research, then Publications, clicked on one of the records to view it and all I got was a big mess (see messaged below) and could not look at the record. I asked my tech man to restore things to the original; I hope he can. Any ideas about this?

 

Thank you.

 

--Brian

 

Warning: Missing argument 1 for JResearchAdminViewPublication::_displayPublicationForm(), called in /home/hsstars/public_html/administrator/components/com_jresearch/views/publication/view.html.php on line 33 and defined in /home/hsstars/public_html/administrator/components/com_jresearch/views/publication/view.html.php on line 42

Notice: Use of undefined constant JRESEARCH_COMPONENT_ADMIN - assumed 'JRESEARCH_COMPONENT_ADMIN' in /home/hsstars/public_html/administrator/components/com_jresearch/views/publication/view.html.php on line 43

Warning: require_once(JRESEARCH_COMPONENT_ADMIN/tables/member.php) [function.require-once]: failed to open stream: No such file or directory in /home/hsstars/public_html/administrator/components/com_jresearch/views/publication/view.html.php on line 43

Fatal error: require_once() [function.require]: Failed opening required 'JRESEARCH_COMPONENT_ADMIN/tables/member.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/hsstars/public_html/administrator/components/com_jresearch/views/publication/view.html.php on line 43

view.html.php

Brian Ray

unread,
Aug 2, 2011, 4:34:20 PM8/2/11
to Luis Galárraga, jresearc...@googlegroups.com

Dear Luis,

 

Thank you so much for your personal attention and help.

 

#1. We (my techno man) will try this later once we have other things on our website done.

 

#2. I will try that soon.

 

#3. My techno man replaced (today) the old file with the one you attached and now things are much worse. I just went into J!Research, then Publications, clicked on one of the records to view it and all I got was a big mess (see messaged below) and could not look at the record. I asked my tech man to restore things to the original; I hope he can. Any ideas about this?

 

Thank you.

 

--Brian

 

Warning: Missing argument 1 for JResearchAdminViewPublication::_displayPublicationForm(), called in /home/hsstars/public_html/administrator/components/com_jresearch/views/publication/view.html.php on line 33 and defined in /home/hsstars/public_html/administrator/components/com_jresearch/views/publication/view.html.php on line 42

Notice: Use of undefined constant JRESEARCH_COMPONENT_ADMIN - assumed 'JRESEARCH_COMPONENT_ADMIN' in /home/hsstars/public_html/administrator/components/com_jresearch/views/publication/view.html.php on line 43

Warning: require_once(JRESEARCH_COMPONENT_ADMIN/tables/member.php) [function.require-once]: failed to open stream: No such file or directory in /home/hsstars/public_html/administrator/components/com_jresearch/views/publication/view.html.php on line 43

Fatal error: require_once() [function.require]: Failed opening required 'JRESEARCH_COMPONENT_ADMIN/tables/member.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/hsstars/public_html/administrator/components/com_jresearch/views/publication/view.html.php on line 43

 

 
Sent: Monday, August 01, 2011 3:53 PM
Subject: Re: Thank you and questions
 
Reply all
Reply to author
Forward
0 new messages