R reddy ink Active member Oct 22, 2014 #1 How to increase the characters displayed on resource index. Appreciate the help
Amaury Well-known member Oct 22, 2014 #2 Try this: Code: .resourceListItem .main .tagLine { font-size: 15px !important; } Use whatever size you want. Upvote 0 Downvote
Try this: Code: .resourceListItem .main .tagLine { font-size: 15px !important; } Use whatever size you want.
R reddy ink Active member Oct 22, 2014 #3 I would like to increase the number of characters (text) displayed for each list item on resouce index (main resources). Thank you for the reply. I think your answer helps increase the size of the text. Upvote 0 Downvote
I would like to increase the number of characters (text) displayed for each list item on resouce index (main resources). Thank you for the reply. I think your answer helps increase the size of the text.
Amaury Well-known member Oct 22, 2014 #4 reddy ink said: I would like to increase the number of characters (text) displayed for each list item on resouce index (main resources). Thank you for the reply. I think your answer helps increase the size of the text. Click to expand... You'll have to wait for someone else to respond, then. We don't have the resource manager add-on. Upvote 0 Downvote
reddy ink said: I would like to increase the number of characters (text) displayed for each list item on resouce index (main resources). Thank you for the reply. I think your answer helps increase the size of the text. Click to expand... You'll have to wait for someone else to respond, then. We don't have the resource manager add-on.
P Paul B XenForo moderator Staff member Oct 22, 2014 #5 There is no option to change that. It is fixed in code and the database. Upvote 0 Downvote
R reddy ink Active member Oct 22, 2014 #6 Database can be changed Tag_line VARCHAR from 100 to 200. Where do I need to change in the code?? Thank you, Upvote 0 Downvote
Database can be changed Tag_line VARCHAR from 100 to 200. Where do I need to change in the code?? Thank you,
Chris D XenForo developer Staff member Oct 22, 2014 #7 The file to change is: library/XenResource/DataWriter/Resource.php Find: PHP: 'tag_line' => array('type' => self::TYPE_STRING, 'required' => true, 'maxLength' => 100, Change to: PHP: 'tag_line' => array('type' => self::TYPE_STRING, 'required' => true, 'maxLength' => 200, An add-on would be better for this but I'm not currently aware of one. You will also need to re-edit the code after each time you upgrade Resource Manager. Upvote 0 Downvote
The file to change is: library/XenResource/DataWriter/Resource.php Find: PHP: 'tag_line' => array('type' => self::TYPE_STRING, 'required' => true, 'maxLength' => 100, Change to: PHP: 'tag_line' => array('type' => self::TYPE_STRING, 'required' => true, 'maxLength' => 200, An add-on would be better for this but I'm not currently aware of one. You will also need to re-edit the code after each time you upgrade Resource Manager.