m1k3w
Forum Replies Created
-
Forum: Plugins
In reply to: [Forminator Forms – Contact Form, Payment Form & Custom Form Builder] wpmlthanks in my case i’m using divi and on the pages section against a page it has the option to add translations on what it has picked from the page to add translations, so i cant access the actual translated page
i however decided on the base page to show the relevant short code based off the url likefunction multilingual_form_shortcode() {
$url = $_SERVER['REQUEST_URI'];
if (strpos($url, '/fr/') !== false) {
return do_shortcode('[french-form_shortcode"]');
} elseif (strpos($url, '/de/') !== false) {
return do_shortcode('[german-form_shortcode]');
} elseif (strpos($url, '/da/') !== false) {
return do_shortcode('[danish-form_shortcode]');
} elseif (strpos($url, '/es/') !== false) {
return do_shortcode('[spanish-form_shortcode]');
} else {
return do_shortcode('[english-form_shortcode"]');
}
}
add_shortcode('multilingual_form', 'multilingual_form_shortcode');then just add the shortcode to the page you need it
hope this helps anyone with the same issueThanks for your quick reply i have done some testing since and the form works in incognito mode and in a different browser so i think it might be a caching issue which is a relief i thought i was going to have to rebuild forms on all my clients websites
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Spotify not updatingLooks it being an mp4 was an issue for Spotify changed it to mp3 and within minutes it appeared
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Spotify not updatingI also noticed that i updated the latest one as a mp4 when all the others are mp3 so i will reupload as mp3 to see if that helps
Forum: Plugins
In reply to: [Seriously Simple Podcasting] google podcast – Content not availableThanks for getting back to me
yeah i’m seeing it via the web, i believe that we have claimed the podcast but i will double check and then get back to you
Thanks
Mike
Thanks for supplying a quick fix, i’m guessing that Forminator should probably fix the issue in a update
I’ve rolled back my site so it using the previous version of Forminator for the time beingThe problem came back
i was working on the form adding questions and updating the form as i went a long after i hit update one time it happened againill try investigate again
Hi
I believe i have fixed it, but don’t really know why the fix worked
I worked out that it was my child theme, and in the folder there was an empty javascript file and a jQuery lib that was no longer in use.
i had the code in the functions.php but it was commented out so shouldn’t have been affecting anything
but once i removed the files and mention of it in the functions.php. the forminator form started working as expected
Thanks for your assistance
Hi Patrick
Thanks for looking into this for me
i have looked at the videos you have taken and thats working as i had expected it to, so i’m unsure why its not working that way on my site
I deleted the form and then imported again from the code that i sent you to see if that made a difference but i was seeing the same issueI’ll see if disabling other plugins has any affect and then ill get back to you with the outcome
Thanks mike
Hi
I was excited to try the fix, it was working but i managed to run into the same or similar bugs
I was filling in the options for service one and i have a few fields that are conditionally tied to the vehicle type being electric after adding about more than three of these fields it seemed to stop working
- when clicking on add item any conditional fields in the new item stop working
- the fields should be hidden but are visible “vehicle type being electric, Can the vehicle be towed and Which axle drives the wheels”
- i have a lot more fields and conditional stuff to add
can’t share my site but here is a export of the form i was working on
https://pastebin.com/SHt66mwL
Thanks in advance, mikeHi Zafer
thanks for looking into this for me. I have this in a much larger form but i created a simple version so i could explain it, unfortunately i currently not allowed share the website that its on
but i can do the export
Thanks
MikeSorry i wasn’t clear
I’m happy that the link is in the CSV and email
I guess my problem is that the link in the CSV can be viewed when i’m not logged in. Is there away to only make the link viewable if your logged in
I’m think from the view that if i knew the file structure of WordPress it wouldn’t be hard to find where the media sits and look at the files which normally isnt a issue as its only site imagery
But if the contents from the file uploads is confidential i don’t want people that are not logged into the website to potentially find and view it
i suppose its more of a question of protecting the content in the wp-content folder which is probably a bit out of scope. but if you know any ways of doing this then i would appreciate it
sorry just did a bit of digging around found that it had a problem because the smtp wasn’t set up correctly
Hi Patrick
Appreciate you trying to add it through PHP, i have managed to implement it but i have two queries
The first ID in the short-code doesn’t pull anything through for the href tag, i tried it with various image ID’s from the media gallery. I also tried the same id twice first didn’t have anything but the second one pulled through
The second is that theres missing bit’s from the data gallery should be data-glightbox and for my purposes i would like a description with the image when viewing the image in the lightbox.
data-glightbox="title: Title 1; description: .custom-desc4; descPosition: left;
it requires the .custom-desc4 and matches to its div with the matching class of<div class="glightbox-desc custom-desc4"> text</div>
i’m not sure how to change the number from the short code, i’ve tried to modify it but no luck yet
Thanks again
MikeHi Kris
Sorry if i was a bit unclear before
The way i have got it to work is adding everything into a single HTML Forminator field so the anchor tags, divs, and scripts. this way only works after adding the php code you gave me
Having the anchor tags in the HTML Forminator field and the divs and scripts outside in the body of the page didn’t work even with the php code and the ajax behaviour option is already of
Good news, i have just managed to create a solution
I thought what if i append a anchor tag onto the end of description field outside of the form and then it started working
This is the code i used
$(".radcom .forminator-description").append(`<a href="/wp-content/themes/divi-child/glightbox/img/large/gm9.jpg">info</a>`);
Also this way works without adding the Php snippet, which doesnt open the form up to security problems i’m hoping
Kind regards
Mike- This reply was modified 2 years, 8 months ago by m1k3w.
- This reply was modified 2 years, 8 months ago by m1k3w.
- This reply was modified 2 years, 8 months ago by m1k3w.
- This reply was modified 2 years, 8 months ago by m1k3w.
- This reply was modified 2 years, 8 months ago by m1k3w.
- This reply was modified 2 years, 8 months ago by m1k3w.
- This reply was modified 2 years, 8 months ago by m1k3w.
- This reply was modified 2 years, 8 months ago by m1k3w.