Categories.

Started by Kepa, 08 April 2011, 21:39:46

Previous topic - Next topic
A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

Kepa

Hello again:

I'm getting an "error 500" message everytime I try to display the content (list of books) of a single category that I've created as a proof link at the main menu. 
Firstly I wondered it could be a kind of interference between the categories defined through the Category Manager of Joomla! and the categories defined through the Alexandria Book Library component, because in the beginning I did actually define the same categories both ways. So, just in case, I completely deleted all the categories, even from the bin, and restarted from the beginning, this time defining the categories only through com_abook. And then I introduced again the book details.
Finally I went to the Main Menu Item Manager and created again a proof link for displaying the contents of a single category through the Alexandria Book Library component. But I keep getting the same unexpected "error 500" with abookView.
In the other hand, there is no problem at all with the link that displays the list of all categories; again, the links  from this page to each category also yield the same "error 500" anyway.
I have checked the correctedness of the link syntax of the single categories, that reads, for example:

http://localhost/joomla15/index.php?option=com_abook&view=category&id=1&Itemid=17

in which the category identity number (id=1) and the menu item identity number (Itemid=17) do perfectly agree. So, despite the link is calling the right single category, Joomla! is unable to display it...

I'm using Joomla 1.5.22 + Xampp 1.7.4 + Windows XP SP3.

Any suggestion? Thank you very much in advance.

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

Kepa

Hi there!

I have just tried the most immediate and plainest of the solutions... and it's worked!

That is, I have installed Joomla! again from zero, installed the a_book component as well, and then enter all the sample data again through a_book component in this order: locations, libraries, editors, authors, categories and books. I have not defined any category nor section at all by means of the Category Manager or the Section Manager.

Through the Alexandria Book Library utility within the Menu Item Manager, I have defined on trial the next menu item types: a link for a single author, a link for a single book, a link for a single category and a link for all categories. I have also defined two single categories under the all categories item as a parent.

As I said before, all works just so fine.

Let's see now how the different modules work.




federica

Hello kepa,
the abook category items are in #_abcategories table and the joomla category items are in #_categories table. You can't create a category into joomla categories manager then use it on abook. The steps that you used in the second post are correct.

Bye bye
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]