I'm using the Books module and there are quite a few things I need to tweak.
-First, when there are multiple pages of books, I want the links to each page to appear at both the top of the list and the bottom. (It currently only appears at one or the other.) And when you get to a second page, you will see a previous link, but I want there to be a next link appearing on any page that has a page following. I don't know where to go to fix this. I've managed to tweak several of the problems on other areas of the site, although it's a learning process since I'm new to PostNuke and not a programmer.
-I would also like a way to sort the list of books by author, title, and username (person who added book)
-Can you get rid of the colored "New" images? I couldn't find this in the module - I'd like to keep the red image for "added today" but eliminate the green and blue images for "added in last 3 days" and "added in last week."
The site is http://www.recycledbookclub.com - if you go to the Recycled Books link you will see the Books module. Please help!
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Books Module
-
- Rank: Developer
- Registered: Feb 23, 2005
- Last visit: May 09, 2010
- Posts: 399
If you have a search in these forums there is a thread refering to an updated version of the books module. I'm pretty sure Jm Vedrine did it and has allowed some people to have it for beta testing. It's a lot better than the older version and might have some of the things you need. -
- Rank: Helper
- Registered: Jan 12, 2004
- Last visit: Jan 20, 2010
- Posts: 590
Hello,
Unfortunately most of the changes that you are interested in aren't in books .750. And currently these changes would require to make changes in the PHP code of the module.
An exception is the buggy code of the books .721 pager wich (I think) I have fixed in books .750 so it should behave as all pagers in other modules.
Among the changes that you are interested in the more diffilcult to do would be the ability to sort books by author or username of submitter because there would be quite a lot of lines to change due to the way sorting is done.
I will send you a mail explaining how to add a pager both at top and bottom and how to suppress green and blue images for new books.
--
Visit my live reef aquarium.
My Amazon wish list. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 40
jmvedrine helped me out on a gazillion issues I've been having with books module, but here's something new I need help with for anyone willing to help:
If you go to my site here: http://www.recycledbookclub.com/modules.php?op=modload&name=books&file=index&req=view_subcat&sid=24
you will see that it is set to sort by Title, Author, Submitter, and Date - only problem is, the Author and Submitter are sorting by title - this is because I copied the lines for title and inserted author and submitter in appropriate spots, but I can't figure out how to make the sort work. I updated pages bk-functions.php and bk-showcat.php but I'm obviously missing something. Anyone know what needs to be changed? -
- Rank: Helper
- Registered: Jan 12, 2004
- Last visit: Jan 20, 2010
- Posts: 590
books .750 is not yet released but I have updated all files in the sourceforge CVS.
--
Visit my live reef aquarium.
My Amazon wish list. -
- Rank: Helper
- Registered: Jan 12, 2004
- Last visit: Jan 20, 2010
- Posts: 590
nokturnalmuse
I'm obviously missing something. Anyone know what needs to be changed?
You asked me about that and I answered you "it is not so simple, and it would need quite alot of changes". When I said something, please beleive me. There is not a single thing to change but a lot ! for instance you need to modify all the convertorderbyin, convertorderbytrans, convertorderbyout, ... functions and a lot of other places.
--
Visit my live reef aquarium.
My Amazon wish list. -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 110
Are the files on sourceforge all updated to .750? I just downloaded them and tried to install them (on PN750) and got error:Code
books Module Table1 Creation Failed
Is this supposed to work on PN750? If not, where/how do I get a version that runs on PN750. Jmvedrine -- I emailed/PM'ed you a few times requesting to be a tester for your books mod. Are you not accepting new testers? -
- Rank: Helper
- Registered: Jan 12, 2004
- Last visit: Jan 20, 2010
- Posts: 590
Hello,
I am surprised because all the files in the sourceforge CVS are up to date and the module has not only be tested with PostNuke .750 but also with .760 RC2 and RC3
Also the message given by books .750 when something goes wrong during install is not the one you show it is
_CREATETABLEFAILED . " table <name of="of" table="table">: <mysql error="error" message="message">
(well there is obviously a language define missing somewhere but I didn't had time to fix that until now !!!)
So my guess is that there is obviously a problem with the files that you are trying to install
- did you use the old books 721 zipfile on sourceforge ? only the CVS is updated because the module is not yet released and files are changing very often so I didn't made a zipfile, you need to download files directly from the CVS
- did you read the docs ? the install/upgrade procedure has completely changed from books .721 and the install.php upgarde.php files are no more used and should be deleted if you had an old books version installed.
I am sorry for your beta testing request but I have a few of them pending this week because to send a zip file to testers I need to upgrade the one I used with all the last bugfixes and I had a lot of work in the last days but your request is queued and I will send you the zipfile. As you may know I work at the same time on several modules (phpcomic 2.0 was released this week and caused quite some supports requests !!) so I am in desesperate need of time !!!
--
Visit my live reef aquarium.
My Amazon wish list.</mysql></name> -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 40
jmvedrine
nokturnalmuse
I'm obviously missing something. Anyone know what needs to be changed?
You asked me about that and I answered you "it is not so simple, and it would need quite alot of changes". When I said something, please beleive me. There is not a single thing to change but a lot ! for instance you need to modify all the convertorderbyin, convertorderbytrans, convertorderbyout, ... functions and a lot of other places.
Well maybe this is something that can be added for a future release - because I'm sure I'm not the only person who would like the ability to sort by author. Not everyone has other users add books so not everyone will need the ability to sort by member name, but I think everyone can benefit from making it sortable by author. -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 110
OK, I got the updated books module from CVS and I am having problems getting the Look up at Amazon to work. I signed up and received my Dev. token from Amazon, plugged it in the bk-config.php and I am getting the following error in my Amazon cache directory.
Code
<?xml version="1.0" encoding="UTF-8"?><Errors><Error><Code>AWS.MissingServiceParameter</Code><Message>Your request is missing the Service parameter. Please add the Service parameter to your request and retry.</Message></Error></Errors>
I have tried installing just the CVS version and also tried installing old version and upgrading to the new. And I am sure I got the right files from CVS. Any ideas why I am unable to use the Look up at Amazon feature?
Thanks -
- Rank: Helper
- Registered: Jan 12, 2004
- Last visit: Jan 20, 2010
- Posts: 590
nokturnalmuse
Well maybe this is something that can be added for a future release - because I'm sure I'm not the only person who would like the ability to sort by author. Not everyone has other users add books so not everyone will need the ability to sort by member name, but I think everyone can benefit from making it sortable by author.
I must agree with you : the sort procedure need some work, but it's just there are so many other things to do on the module because a lot of people are waiting for a release compatible with PN .750 so my priority is to fix as much bugs as I can and finish the features planned for .750, and release but there surely will be a .751 and a .760 and ...
So please add this as a feature request to the Tracker here : http://sourceforge.n…d=46980&atid=448105.
--
Visit my live reef aquarium.
My Amazon wish list. -
- Rank: Helper
- Registered: Jan 12, 2004
- Last visit: Jan 20, 2010
- Posts: 590
brammerv
I have tried installing just the CVS version and also tried installing old version and upgrading to the new. And I am sure I got the right files from CVS. Any ideas why I am unable to use the Look up at Amazon feature?
Thanks
There is no need to install the old version and upgrade. I really don't understand the problem because the amazon_functions file is in fact a library released by somebody else. You are the first one to report the problem. I will try tio download the files from the CVS and install on a test site. Maybe something is wrong ?
--
Visit my live reef aquarium.
My Amazon wish list. -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 110
jmvedrine
There is no need to install the old version and upgrade. I really don't understand the problem because the amazon_functions file is in fact a library released by somebody else. You are the first one to report the problem. I will try tio download the files from the CVS and install on a test site. Maybe something is wrong ?
Actually, the amazon_function file wasn't in CVS so I had to use the one I found in the original books module. Do you suppose this could be the problem. Can you post or send me your amazon_function file.
Thanks
- Moderated by:
- Support
