article titles

hi how do I change the number of characters in the title, and that there are only 64 characters

Quote · 18 May 2016

That limit would likely be set in the database table referring to the Article title.

You'd need to find that table, maybe using phpmyadmin, and look at extending it there.

Do this in a test environment and see the result.

Quote · 18 May 2016

ALTER TABLE `bx_arl_entries` CHANGE `caption` `caption` VARCHAR( 64 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT ''

ALTER TABLE `bx_arl_entries` CHANGE `uri` `uri` VARCHAR( 64 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT ''

 snippet length:

/modules/boonex/articles/classes/BxArlConfig.php

 

$this->_iSnippetLength = 1000;

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 18 May 2016

I update the value in the table here

ALTER TABLE `bx_arl_entries` CHANGE `caption` `caption` VARCHAR( 100 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT ''

ALTER TABLE `bx_arl_entries` CHANGE `uri` `uri` VARCHAR( 100 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT "

It did not help as the character was 64 in the title and left, cache cleaning. What have I missed?

Quote · 19 May 2016

Have you modified the module at any time ?  I cant seem to find a hard coded value for it... 

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 20 May 2016

it could be controlled by:

/inc/classes/bxDolTextData.php 

 

'caption' => array(

                    'type' => 'text',

                    'name' => 'caption',

                    'caption' => _t("_td_caption"),

                    'value' => '',

                    'required' => 1,

                    'checker' => array (

                        'func' => 'length',

                        'params' => array(3,64),  //min - max  this will be site wide i think though .....  

                        'error' => _t('_td_err_incorrect_length'),

                    ),

                    'db' => array (

                        'pass' => 'Xss',

                    ),

                ),

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 20 May 2016

Thanks bro changed the value in the file everything works ok

Quote · 20 May 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.