dimmy1985
Forum Replies Created
-
Forum: Plugins
In reply to: [MF Gig Calendar] PHP 8.0 errorsThanks MF, will look out for the update. peace!
Yes, a similar problem still exists for me too and was never properly resolved:
My “solution” has been to hide payment buttons on the single product pages via CSS.
- This reply was modified 5 years, 10 months ago by dimmy1985.
Hi,
Apologies for never replying.
My solution was just using CSS to hide the buttons on the product page – I only really want them from the cart onward phase anyway.
I guess it was “resolved”, but not really.
Curious to know if anyone else ever had this issue.
Forum: Fixing WordPress
In reply to: How to Stop Audio Playlist Looping?Has anyone found a solution to this yet?
I love the built in WP audio player!
There’s a link in the navigation menu which says “Music Test” on the top right of the screen. If you’re viewing the responsive version through a tablet/phone, it’ll be via the menu icon at the top right.
It’s WordPress’s native [audio] shortcode which isn’t working. It was working with 3.9.1 and the previous version of AWS via the solution I posted above.
This solution doesn’t work anymore in WordPress 3.9.2.
I tried both the $.getScript and scriptNode variants.
Currently on scriptNode.
Test site. Go to Music Test on the top menu.
Hi Tom
Sorry I didn’t get back to you on this – was on a deadline with that project and decided to drop Meta Slider altogether. Would really really like to sort this out for future projects though, plus am really wanting to ‘go Pro’, but am reluctant if I can’t get the functionality I need.
UPDATE: PLEASE DISREGARD WHAT’S BELOW THE DOTTED LINE.
I can get the slider to work using Flex Slider (as opposed to R.Slides). However, I’m still having the following issue:
It requires a second visit back to the page to get the slider to load. So, starting at the link page, clicking on Link to Metaslider loads the first image but not the script. Click on Link Back (go to previous page) then Link to Metaslider again loads the script.
Regards, Damian
—————————————-
Here’s where I’m at:What I’m loading with the Ajax loader in the necessary spot looks like this:
$.getScript(rootUrl + 'wp-content/plugins/ml-slider/assets/sliders/responsiveslides/responsiveslides.min.js'); cssNode = document.createElement('link'); contentNode.appendChild(cssNode); cssNode.type = "text/css"; cssNode.rel= "stylesheet"; cssNode.href = rootUrl + 'wp-content/plugins/ml-slider/assets/sliders/responsiveslides/responsiveslides.css?ver=3.0.1'; cssNode = document.createElement('link'); contentNode.appendChild(cssNode); cssNode.type = "text/css"; cssNode.rel= "stylesheet"; cssNode.href = rootUrl + 'wp-content/plugins/ml-slider/assets/metaslider/public.css?ver=3.0.1';So, I’m loading responsiveslides.min.js, responsiveslides.css & public.css.
Loading “responsiveslides.min.js” does load/run the necessary javascript relating to a particular slideshow.
However, there are two quirks:
-
It requires a second visit back to the page to get it to load. So, starting at the link page, clicking on Link to Metaslider loads the first image but not the script. Click on Link Back (go to previous page) then Link to Metaslider again loads the script.
-
Subsequent images after the first do not load in the slider. When looking at network log in Chrome’s developer tools, they are being loaded, just not getting put in the slider. When inspecting the li element for the particular slide, and hovering over the img src, it’s being output at 0x0 pixels with a natural of the actual size.
Thanks for your suggestions thus far. Hopefully we can resolve this.
Regards
DamianI see your menu class as “nav”. It actually has two so: nav & fl
Perhaps after line 152 of ajaxify.js, add another line as such:
151: //Append new menu HTML to provided classs 152: $('.' + aws_data['mcdc']).html($menu_list.html()); 153: $('.fl').html($menu_list.html());and of course, your main content id is #content
And of course, replacing .on with .live (the page I visited is still on jquery 1.11
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Responsive Menu AjaxHi Peter
Yes, thank you. It works great across the devices I’ve tested. The live site which it’s functional on is http://www.amirelsaffar.com (July 2014).
You could add that (compatibility with https://ww.wp.xz.cn/plugins/ajaxify-wordpress-site/) to your plugin’s description if you wanted to.
I added an additional line of code to my AJAX plugin (Ajaxify WordPress Site) .js to ensure current-menu-items get highlighted appropriately too. Would you like me to write a separate post in THIS plugin’s forum as to how to achieve this?
Many thanks. Hope it wasn’t too much of a headache.
Damian
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Responsive Menu Ajaxhi Peter
my client is lingering on the launch (not because of the bug). it’s not a critical thing by any means. wondering if you’d like to take a look at it?
DS
Loading the script is fine.
I think you will need to re-initiate the slideshows after the content has been loaded with ajax.
However, loading the slideshow itself (all the images after the first) is the stumbling block.
Is there a particular script/function in addition to the .css/.js files above that I should consider?
Perhaps a javascript function to intialize the particular slideshow/div (e.g metaslider-id-204) manually?
Forum: Plugins
In reply to: [Responsive Menu - Create Mobile-Friendly Menu] Responsive Menu AjaxHi Peter
Thanks for your quick response.
I forgot to mention: I tried all available combinations of external/inline and footer options, as I thought those were options specifically tailored towards AJAX users such as myself.
Regardless of combination (one ticked/one not, both ticked, or none ticked) They enable the menu to work on first click, but then the instant slide in/slide out occurs.
Enabling/disabling CSS !important tags makes no difference.
This link currently has the scripts loaded in my AJAX plugin, with both aforementioned boxes ticked.
With your permission, I will contact you through your website.
Damian
Should we use $.getScript to replace the advice given on http://www.youngtechleads.com/my-js-events-are-not-calling-after-loading-the-page-using-ajax/?
Forum: Plugins
In reply to: [Ajaxify Wordpress Site(AWS)] Nivo Slider ProblemHi Sayatayik
Would you mind sharing what scriptNode = document.createElement(‘script’); etc. bits you included in ajaxify.js? I’m having troubles myself.
Thanks
Ok well I think I have a solution, but it doesn’t seem ‘correct’…
Important Note:
If your jQuery core library version is less than 2.0 then please go to the plugin’s js directory open ajaxify.js file in your favourite editor then search for .on and replace it by .live. This is because the plugin is written for as per latest version of jQueryAlthough I’m using WP 3.9.1, my jquery.js in the wp-includes folder is apparently v1.11 (I’m not even sure if this is what was being referred to above). I would’ve assumed WP ships with the latest version, no?
Could someone confirm that this is a legitimate fix/that I’ve interpreted this correctly?
Thanks
DS