Recent Posts

Pages: [1] 2 3 ... 10
1
Ecco il risultato nell'allegato:
2
Abbiamo risolto: nel File \components\com_abook\layouts\category\items.php

Sostituire riga 70
<?php if ($params->get( 'show_year',1 )==1 || $params->get( 'show_bookcat', 1 )==1||$params->get( 'show_cat_tags', 1 )==1||$params->get( 'show_hits',1 )==1||$params->get( 'view_rate',1 )==1||$params->get( 'display_category_comments',1 ) == 1||$params->get('show_catalog', 1)==1) {?>

Dopo la riga 74
<?php } ?>
<?php if ($item->catalogo!="" && $params->get('show_catalog', 1)==1){ ?>
<dd>
<strong><?php echo JText::_('COM_ABOOK_CATALOG');?>: </strong><?php echo $item->catalogo;?>
</dd>
3
Supporto (Support) / Custom Field
« Last post by Banino on 13 December 2018, 15:50:14 »
Hey

I would like to use some custom fields for a book. Is that possible?


Regards
4
Supporto (Support) / Importing csv file
« Last post by dimpap on 09 December 2018, 22:00:33 »
An error has occurred.

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ';subtitle;alias;id editor;price;pag;user id;user alias;description;path image;pa' at line 3

I cant understand where is the problem!

I also notished that field names in "administrator/components/com_abook/assets/samples" file and in Alexandria Book Library: Import/Export Manager page are slightly different.
5
Richieste (Requests) / Visualizzazione del numero di catalogo nella lista libri
« Last post by melomitru on 05 December 2018, 16:06:26 »
Ciao a Federica, piccola richiesta:
รจ possibile inserire anche il numero di catalogo nella visualizzazione della lista dei libri?
Ti invio una immagine per farti capire cosa intendo.
Grazie di tutto!
6
Ok I agree to keep "state" field.

Quote
But I propose you to fix a little "copy-paste" bug in the install.sql
Sure!  :-[ Horrible error!
7
Hi federica,

You are welcome, I respect your work!

As I think it is more than enough if you make this fix setColumnAlias() and no need to rename state to published. There are a lot of third party components with state field.

But I propose you to fix a little "copy-paste" bug in the install.sql at #82.

Please change this:

Code: [Select]
KEY `idx_idauth` (`idtag`)
to this:

Code: [Select]
KEY `idx_idtag` (`idtag`)
Have a nice December!
8
Hi iberan,
thank you very much!!! I will apply this fix in the next version.

In your opinion is it better I rename "state" field in both database and code?
In joomla documentation it is unrecommended to use "state" field but in #__content table there is "state" field instead of "published".
9
Experienced this strange surprise after upgraded Joomla to 3.9.1: you can't use some important actions (ie. publish/unpublish, delete items) in books list.

After a couple of days I'd localize the reason: there is a new getColumnAlias() method in /libraries/src/MVC/Model/AdminModel.php core file at #1065:

Code: [Select]
// Prune items that are already at the given state

if ($table->get($table->getColumnAlias('published'), $value) == $value)

{
unset($pks[$i]);

continue;

}

}

Resolved via Joomla Documentation Wiki (https://docs.joomla.org/Column_alias) you may enter setColumnAlias() method at the beginning of /administrator/components/com_abook/tables/book.php:

Code: [Select]

class AbookTableBook extends JTable
{
public function __construct(&$db)
        {
        parent::__construct('#__ibfolktrack', 'id', $db);

$this->setColumnAlias('published', 'state');
       }
.
.
.

I hope it helps someone.
10
Experienced this strange surprise after upgraded Joomla to 3.9.1: you can't use some important actions (ie. publish/unpublish, delete items) in books list.

After a couple of days I'd localize the reason: there is a new getColumnAlias() method in /libraries/sec/MVC/Model/AdminModel.php core file at #1065:

Code: [Select]
// Prune items that are already at the given state

if ($table->get($table->getColumnAlias('published'), $value) == $value)

{
unset($pks[$i]);

continue;

}

}

Resolved via Joomla Documentation Wiki (https://docs.joomla.org/Column_alias) you may enter setColumnAlias() method at the beginning of /administrator/components/com_abook/tables/book.php:

Code: [Select]

class AbookTableBook extends JTable
{
public function __construct(&$db)
        {
        parent::__construct('#__ibfolktrack', 'id', $db);

$this->setColumnAlias('published', 'state');
        }
.
.
.

I hope it helps someone.

Pages: [1] 2 3 ... 10