clem
Forum Replies Created
-
AuthorPosts
-
July 20, 2017 at 9:26 am in reply to: Date selection doesn't work from the frontend for french version #387807
Hi Kiran,
I did one test and yes it works 🙂
Great job !
Thanks!
A bit of design and I should be ready to launch this new fonction…
July 19, 2017 at 12:58 pm in reply to: Date selection doesn't work from the frontend for french version #387684This reply has been marked as private.July 19, 2017 at 12:30 pm in reply to: Date selection doesn't work from the frontend for french version #387678This reply has been marked as private.July 19, 2017 at 12:12 pm in reply to: Date selection doesn't work from the frontend for french version #387677This reply has been marked as private.July 19, 2017 at 11:47 am in reply to: Date selection doesn't work from the frontend for french version #387674This reply has been marked as private.July 19, 2017 at 11:44 am in reply to: Date selection doesn't work from the frontend for french version #387673This reply has been marked as private.July 19, 2017 at 11:26 am in reply to: Date selection doesn't work from the frontend for french version #387670Ok that’s weird, I tried with Chrome, Safari (mac) Chrome (android) Explorer (windows 10). I will do a video right now …
But can you please make another test with another date and also a end date ?
I send you the video in a few minutes
Thanks
July 19, 2017 at 10:35 am in reply to: Date selection doesn't work from the frontend for french version #387667Hi Kiran,
I think you did your tests by the backend, please try from the frontend and you should have the problem
(You can use the links for the add listing forms I sent you in the private message)
I just did many tests from the frontend with different devices and browsers and have the problem all the time…Thanks,
ClemJuly 18, 2017 at 11:46 am in reply to: Date selection doesn't work from the frontend for french version #387507This reply has been marked as private.Now it works !! 🙂
Thank you very much
Clem
Without the JS the value is 1 and 0 (eg package 17) The JS modify both claim imputs because they have the same name : jQuery(‘input[name=claimed]’).val(1)
I just tried on another website and same result
Actually I think it has never worked properly, I thought it was working because #geodir_claimed_row was hidden and the field wasn’t required anymore. but I have never seen that the “yes” wasn’t selected…
Oh sorry for that, I checked the code 10 times but haven’t seen it 🙁
Works fine now for the categories but still have an issue with the second JS fonction (was working properly before):
jQuery(function() {
if(jQuery(‘input[name=package_id]’).length){var package_id = jQuery(‘input[name=package_id]:checked’).val();
_my_gd_package_set_claim(package_id);}
});
function _my_gd_package_set_claim(pkg){
if(pkg==4 || pkg==8){
jQuery(‘input[name=claimed]’).val(1);
jQuery(‘#geodir_claimed_row’).hide();
}else{
jQuery(‘#geodir_claimed_row’).show();
}}
If a listing – package 4 or 8 – is added the claimed radio “yes” should be checked. the fonction works because it hides – #geodir_claimed_row – and the field is not required anymore but “yes” button haven’t been selected.
(Is Claimed: No on the backend listing and can’t see the author name on the frontend listing)
I spent the afternoon trying to solve it by myself but as I know nothing about JS, didn’t find out the problem.
Can you help again ?
So sorry, for all these questions, I know and understand this work can’t be included in your support so I can paye for the time you spend on it. Just tell me how much and how I can paye…
Thanks
Clem
Works perfect 🙂
Thanks !!!
Hi Paolo
Sorry to comeback on that topic but for this problem :
3- On this CPT I don’t want users able to add photos, in the price package I set 0 pictures allowed and it works as expected. But In the search result, the default picture still appear.
Is it possible to hide the pictures in the result only for this CTP ? If not I will create a specific default image but it’s a big waste of space…your solution :
.post-type-archive-gd_event .geodir_category_list_view li .geodir-post-img {
display: none;
}Is working on the pages but not on the search result :
I tried to make it working with these classes – .gd-post-pkg-5 – .gd-post-gd_event – but doesn’t work either
Do you know what class I have to use to hide the pictures in the search result ?
Thanks
Clem
Hi Stiofan,
Did you have a look to this problem ?
I was wondering, I shouldn’t be the only Geodirectory user having only 1 category per price package and annoyed that our users have to select this category in the add listing form…
It shouldn’t be to hard to make a setting with checkbox (because actually we don’t need to select the default category if there is only one) that the category is already selected and then we just have to hide it with css
it would be more reliable than the JS fonction…
Thanks
Clem
-
AuthorPosts