J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
Re:20 Tags Max? (1 viewing) 
Go to bottom
TOPIC: Re:20 Tags Max?
#6363
Terrance Bussinger
Fresh Boarder
Posts: 5
User Offline
[SOLVED] 20 Tags Max? 5 Months, 2 Weeks ago Karma: 0  
I have created 40-plus tags for use in my store, but the tag select on each item only displays the first 20.

I did not see any place in the settings to extend this amount, however, I am comfortable modifying the core files if someone could just point me to which one controls this input.

Thanks!
 
Logged Logged  
 
Last Edit: 2017/01/06 11:23 By teryakisan. Reason: solved
  The administrator has disabled public write access.
#6364
Terrance Bussinger
Fresh Boarder
Posts: 5
User Offline
Re:20 Tags Max? 5 Months, 2 Weeks ago Karma: 0  
For those who run up against this problem in the future, the relevant code is at...

administrator/components/com_instantpaypal/framework/tags.php

Line 59

'limit' => 20,

Modify the 20 to whatever you need.

Now that you have all of our tags visible, lets open up that select so we can see them all at once....

administrator/components/com_instantpaypal/views/items/tmpl/default_edit.php

Line 181

<select id="instantpaypal_items_tags" name="instantpaypal_items_tags\[\]" multiple="multiple" style="height: 200px">

Modify the height: 200px to a height that's comfortable for your tags.

IMPORTANT: An update will probably over-write all of this.
 
Logged Logged  
 
Last Edit: 2017/01/06 11:21 By teryakisan.
  The administrator has disabled public write access.
#6365
John Dagelmore
Admin
Posts: 3178
User Offline
Re:20 Tags Max? 5 Months, 2 Weeks ago Karma: 70  
Thank you for reporting this, although the height of the select should not be increased, the limit of 20 tags should not apply at all.
This will be fixed in the next release probably out within few days. So you want have the problem of over-writing and lose your changes.
 
Logged Logged  
  The administrator has disabled public write access.
Go to top