Troubleshooting for the current version

#505 – 3 questions

Posted in ‘Support’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 10 January 2019 19:11 CET
silverman
Hello!

I have some issues I need help with.

1: I have a multicheckboximage-field with 1 image that I want to be searchable in the Adsmanager "Search page". But if I try to do a search in frontend and check the checkbox to search for all multicheckboximage-fields it doesn't work. It shows all ads, also those with no check in the checkbox. Can this be fixed?

2. In the page where you post ad there is a CSS error I think. If you try and use it on mobile, or make the page small, the "Accept general terms and conditions" checkbox is strange. (See image)

3. When I create I new ad and save it, it shows the Invoice-page (where you choose payment). In the column "Description" it shows "Category", and the fieldname that the user picked (Field: ad_fieldname). (See my image)
How can I change this text to something better? Like "One standard ad" instead of "Category". And "Extra images pack" instead of "Field: ad_fieldname".

Best regards
Custom Fields
Joomla Version
3.91
PHP Version
7.1.22
Product
AdsManager
Product Version
3.2
Attachment
Thursday, 10 January 2019 19:27 CET
silverman
Sorry for the spam of support-tickets :-) I got a errorpage every time I tryed to post my ticket. Please delete my other tickets.
Friday, 11 January 2019 16:12 CET
loic
Hello,

1. I will make a test on my test site.

2. I will ask the web designer to take a look.

3. The translation string for the category keyword is PAIDSYSTEM_ORDER_CATEGORIES and PAIDSYSTEM_ORDER_FIELD for the field one.

Best regards.
 
Monday, 21 January 2019 19:44 CET
silverman
Hello,

Any update? Did you find any answers to question 1 and 2.
I notice by the way that the checkbox is centered for all the checkbox-fields, not only the accept Terms checkbox.
Tuesday, 22 January 2019 13:02 CET
loic
Hello,

Sorry about the delay, it will be done this week :/

Best regards.
 
Wednesday, 23 January 2019 13:10 CET
loic
Hello,

1. There is an issue here, I will fix that quickly.

2. I asked the web designer to fix that one.

Best regards.
 
Wednesday, 23 January 2019 20:30 CET
silverman
Great! Thank you.
Let me know when you have the fix ready
Friday, 25 January 2019 08:14 CET
loic
Hello,

I will try to fix that this week end, or Tuesday.

Sorry about the delay, we had a lot of unscheduled task this week.

Best regards.
 
Friday, 25 January 2019 12:15 CET
juloaadmin
Hello,
we have indeed omitted the checkbox settings in the latest version of Joomla, so I completed in CSS what was missing (as well as other aspects of the form "post an announcement" in responsive), waiting for the next version template update.
Here are the lines of code to insert at the very end of templates / adsclarity / css / template.css:

<!-- SOLVE EDIT FORM -->

.juloawrapper .form-horizontal .radio,
.juloawrapper .form-horizontal .checkbox {
padding-left: 25px;
}

.juloawrapper .controls input[type="radio"],
.juloawrapper .controls input[type="checkbox"],
input[type="radio"],
input[type="checkbox"]{
min-height: inherit;
width: 16px;
}

.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
position: absolute;
top: 0;
left: 20px;
}

.juloawrapper .controls input[type="button"]{
width: auto;
}

.juloawrapper .currency-symbol {
height: 38px;
padding: 0;
line-height: 38px;
width: 38px;
}

.juloawrapper .input-append button:after {
line-height: 38px;
background: #ccc;
height: 38px;
width: 38px;
position: relative;
top: -1px;
right: 5px;
}

#row_ad_checkboximages td {
display: inline-block;
margin-bottom: 8px;
margin-right: 8px;
}

@media(max-width: 767px){
.form-horizontal .form-group {
margin-right: 0;
margin-left: 0;
}

.juloawrapper .form-group > *{
width: 100%;
padding: 0;
}
}

<!-- END -->

Feel free to come back to us with screenshots if the css does not solve the problem,
Best regards,
Clara
 
Friday, 25 January 2019 17:27 CET
silverman
Hello.

This works! It fixes the issues with the checkboxes.

Another thing I see is that on some screen-sizes (450px-750px wide), all textfields have no end. See the screenshot. On the right edge, the fields should not be wider than the screen.

And loic, no problem with the delay with the multicheckboximage search function. It's no hurry, you can fix it next week.

Best regards
Friday, 25 January 2019 17:30 CET
silverman
screenshot
Attachment
Wednesday, 30 January 2019 14:48 CET
loic
Hello,

Here is the solution for the search issue.

Open administrator/components/com_adsmanager/models/field.php, line 337, change this :
case 'multicheckbox':
case 'multiselect':


To have this :
case 'multicheckbox':
case 'multicheckboximage':
case 'multiselect':


And line 363, this :
case 'checkbox':
case 'radio':
case 'select':	


To have this :
case 'checkbox':
case 'radio':
case 'radioimage':
case 'select':	


Best regards.
 
Wednesday, 30 January 2019 17:09 CET
silverman
This works perfectly! Now the search is functioning. Thanks!
Thursday, 31 January 2019 11:25 CET
loic
No problem :)

The fix is also implemented in the base component for the next version.
 

Please rate this ticket

Help us improve our support services by rating this ticket from one to five stars, according to how much you are satisfied from the handling of this ticket, one being not satisfied and five being very satisfied.