Vox Populi(x) forum

Alexandria Book Library => Supporto (Support) => Topic started by: korbeny on 10 October 2019, 20:30:45

Title: Categories layout don't show in assignment menu options
Post by: korbeny on 10 October 2019, 20:30:45
Hello, first of all, thank you very much for this component, I'm testing it and it's very useful.
I have a problem, and is that the layout of "categories" can not be assigned to the menu, because it does not appear (attached image).

And this is the layout I need.

How can I fix it?

I tried to assign it through url (index.php?option=com_abook&view=categories) but it doesn't work.

Thank you very much
Title: Re: Categories layout don't show in assignment menu options
Post by: federica on 11 October 2019, 19:04:45
Hi korbeny,
check if exists the file components/com_abook/views/categories/tmpl/default.xml and if the websever can access to this file.
Which abook version are you using?
Title: Re: Categories layout don't show in assignment menu options
Post by: korbeny on 11 October 2019, 20:05:45
Thank you for answering.

I'm using the latest version (3.1.4).

And yes, the file exists and is accessible by the webserver.
Title: Re: Categories layout don't show in assignment menu options
Post by: federica on 11 October 2019, 20:15:02
You can try to install again abook 3.1.4 WITHOUT uninstall it.
Title: Re: Categories layout don't show in assignment menu options
Post by: korbeny on 11 October 2019, 20:49:53
I all ready done, and nothing happens...

well it say that the installation was successful; but the ABL list, show the same items and "categories" is still missing.
Title: Re: Categories layout don't show in assignment menu options
Post by: korbeny on 11 October 2019, 21:09:46
I can access to this layout from the direct url (http://site/index.php?option=com_abook&view=categories&id=0)

But, in this way, every link in the layout will open in the front page... and this is annoying

Title: Re: Categories layout don't show in assignment menu options
Post by: federica on 14 October 2019, 19:05:12
Php logs tell you anything?
Are you using a windows or linux server? If linux, at the moment, try to set 777 permissions both files and directories (all site). Now check if it is ok.
Try to go to http://yoursite.xx/components/com_abook/views/categories/tmpl/default.xml via browser, do you see the xml file correctly?
Title: Re: Categories layout don't show in assignment menu options
Post by: korbeny on 15 October 2019, 06:42:01
For your information:

I did a lot of tests and found that something is wrong with the translation es_es file.

Before I installed it, the categories option was shown -image attached 1-; but after the installation (es_es), categories not shown any more.

It seems that in the translation file, it given the same name of category (categoría), for category itself and for categories and then only show one of it in the joomla options menu item type.

After this, I only can see it again with one extension that can take the description for make the difference between them -image attached 2-.
Title: Re: Categories layout don't show in assignment menu options
Post by: federica on 15 October 2019, 10:57:14
Good!!!
Open administrator/components/com_abook/language/es-ES/es-ES.com_abook.sys.ini
search COM_ABOOK_CATEGORIES_VIEW_DEFAULT_TITLE
change transation from "Categoría" to "Categorías"
et voilà!
Title: Re: Categories layout don't show in assignment menu options
Post by: korbeny on 15 October 2019, 15:56:39
Quote from: federica on 15 October 2019, 10:57:14
Good!!!
Open administrator/components/com_abook/language/es-ES/es-ES.com_abook.sys.ini
search COM_ABOOK_CATEGORIES_VIEW_DEFAULT_TITLE
change transation from "Categoría" to "Categorías"
et voilà!

That line doesn't exist in the file .ini

I added that line, but nothing happens, in Joomla native options still only show the single category.

But, there is no problem, now I know how to select the categories item.  ;)
Title: Re: Categories layout don't show in assignment menu options
Post by: federica on 17 October 2019, 09:24:25
Last chance before you surrender: try to reinstall ES language you see here https://alexandriabooklibrary.org/en/downloads/22-translations.html
Title: Re: Categories layout don't show in assignment menu options
Post by: korbeny on 17 October 2019, 16:04:45
Quote from: federica on 17 October 2019, 09:24:25
Last chance before you surrender: try to reinstall ES language you see here https://alexandriabooklibrary.org/en/downloads/22-translations.html

It works!

So many thanks!
Title: Re: Categories layout don't show in assignment menu options
Post by: federica on 22 October 2019, 18:04:45
Now I can sleep quiet dreams ;D
I'm glad if you post a review on JED for my project Alexandria Book Library (http://"https://extensions.joomla.org/extension/alexandria-book-library/"). Thanks
Title: Re: Categories layout don't show in assignment menu options
Post by: korbeny on 23 October 2019, 01:30:23
I would love to write a review in JED, but something strange happens, that doesn't let me do it.

I get this error (image1) and I already created a new user, and I tried from different computers and places but it keeps coming out that message and I can not do the review.

But I'm 100% satisfied with it, again congratulations on this job.
Title: Re: Categories layout don't show in assignment menu options
Post by: federica on 24 October 2019, 09:41:30
Are you using PC through a VPN? If you try by 3G connection occurs the same error?
Title: Re: Categories layout don't show in assignment menu options
Post by: korbeny on 24 October 2019, 18:05:12
Quote from: federica on 24 October 2019, 09:41:30
Are you using PC through a VPN? If you try by 3G connection occurs the same error?

No, I'm not using a VPN and I don't have a server running on my computer. That problem in JED has already been reported by several users (https://github.com/joomla/jed-issues/issues/85)

I hadn't thought about using the cellular network!  :o

From my cell phone I was able to do the review. 5 stars!
Thank you.
Title: Re: Categories layout don't show in assignment menu options
Post by: federica on 25 October 2019, 19:08:22
Great! Many thanks!