Forum Replies Created

Viewing 15 replies - 16 through 30 (of 63 total)
  • Thread Starter deeve

    (@deeve)

    ..I’ve also noticed that when the masonry grid does not appear the grid class and value is: .masonry-container.are-images-unloaded {opacity:0;}

    Thread Starter deeve

    (@deeve)

    Zajax (or the others) doesn’t have these built in. Usually you have to search online to see if a plugin’s author has posted such a code snippet or try yourself to deduce how the function in question is initiated on a normal page load. I thought to ask you directly as thought you’d know how you initiated the masonry script from within generatepress when it loads normally via a url and also, I suspect other users of your theme framework will want to use it with AJAX.

    As a side note; I’ve also been trying different approaches (visiting the blog page from a different initial source page – varying the landed page has an effect on the scripts & styles behaviors on the subsequent AJAX loaded content. For example if I land on my homepage the blog page does not then work. If I land on the blog page and then click on an article, that loads correctly. Then click on blog from nav that also loads correctly via AJAX, as does the infinite scroll script.

    The only conclusion I can make from all of this is, is that certain scripts and styles are not being applied from the landed page to the AJAX content loaded into that initial (landing) page.

    Thread Starter deeve

    (@deeve)

    Yes. Currently I’m trying to use plugin called Zajax as it throws less errors than others I’ve tried but the other possibilities are AWS (Ajaxify) and Advanced AJAX Page Loader. They nearly all offer the ability to enter code to re-load js & css after AJAX complete but I imagine I need to re-initiate the js for the masonry grid to get it to display correctly? The CSS issues I have are on another thread on this forum.

    Thread Starter deeve

    (@deeve)

    Hi Tom,
    That’s what I’m unsure about. If I load the page directly (via url) it loads as it should. When I attempt to load from another page via an AJAX call it fails. Therefore I was wondering if there was a jQuery masonry init() code I should be using upon AJAX complete?
    Thanks in advance for your time.

    Thread Starter deeve

    (@deeve)

    Hi Tom, many thanks for the reply. I’d been trying to get the Zajax plugin to work to load all pages via AJAX and CSS rules for whatever the landing page seemed to be applied to all subsequent loaded page data. The blog page was most obvious in dropped styles. I thought I’d checked before posting this question so thought to double check; did a quick comparison between the 2 page’s generated inline styles when loaded directly via URL and the home page had this extra:

    .generate-sections-inside-container {padding-left:0px;padding-right:0px;}#generate-section-1 .generate-sections-inside-container{padding-top:0px;padding-bottom:0px;}@media (max-width:768px) {.generate-sections-inside-container {padding-left: 0px;padding-right: 0px;}}#generate-section-2 .generate-sections-inside-container{padding-top:40px;padding-bottom:40px;}@media (max-width:768px) {.generate-sections-inside-container {padding-left: 0px;padding-right: 0px;}}#studio.generate-sections-container{background-color:#111111;}#studio .generate-sections-inside-container{padding-top:0px;padding-bottom:0px;color:#ffffff;}@media (max-width:768px) {.generate-sections-inside-container {padding-left: 0px;padding-right: 0px;}}#generate-section-4 .generate-sections-inside-container{padding-top:0px;padding-bottom:0px;}@media (max-width:768px) {.generate-sections-inside-container {padding-left: 0px;padding-right: 0px;}}#focus.generate-sections-container{background-color:#111111;}#focus .generate-sections-inside-container{padding-top:0px;padding-bottom:0px;color:#ffffff;}@media (max-width:768px) {.generate-sections-inside-container {padding-left: 0px;padding-right: 0px;}}#featuredmixes .generate-sections-inside-container{padding-top:0px;padding-bottom:0px;}@media (max-width:768px) {.generate-sections-inside-container {padding-left: 0px;padding-right: 0px;}}

    The blog page does not contain the above but has this in addition to the homepage styles:

    .blog footer.entry-meta, .archive footer.entry-meta {display:none;}#nav-below {display:none;}

    I had tried putting the blog page’s inline CSS into an external stylesheet and imported that upon AJAX complete but didn’t change anything.

    I then thought to try a different AJAX page loader so tried AJAXify (AWS) and that loaded all CSS correctly but now have probs with some missing JS scripts.

    Is it not right that my customiser inline styles are being generated differently for each page?

    Thanks

    Thread Starter deeve

    (@deeve)

    Hi and thanks for the reply. I did that last week but have yet to receive a reply.

    Thread Starter deeve

    (@deeve)

    @jdembowski I think you’ll find that contact form is for support for the paid program as opposed to the WordPress free plugin, of which this forum happens to be listed as the specific support forum on the plugin page itself. Or am I wrong?

    • This reply was modified 6 years ago by deeve.
    Thread Starter deeve

    (@deeve)

    Apologies. I would have contacted Justin directly on here via a pm, had the forum offered that ability.

    Thread Starter deeve

    (@deeve)

    Hi @justinbusa, there wasn’t one made by the original designer so I’ll put one together to show you what’s not happening. Will let you know on here when I’ve managed to get one sorted.

    deeve

    Thread Starter deeve

    (@deeve)

    Hi @justinbusa, many thanks for that. Just tried and yes, it did load the Tabs/Accordion correctly (visually) on first load but thereafter none of the functions worked – links were dead. I’ve also noted that on several other pages the CSS styling is no longer there and the slide in/out function on the nav pane of the hamburger menu no longer slides in or out after the page loads.

    I would share a link with you but unfortunately this is on a live site & I have to pick my moments to perform these tests.

    deeve

    I have exactly the same problem. If I try to remove the <label> tag and save, it does not even though it says it has. I clear my browser Cache & nothing has changed. It does seem more like a bug or a feature only available in a pro version.

    Thread Starter deeve

    (@deeve)

    Hi @justinbusa, I’m using the Advanced AJAX Page Loader plugin and thought I could possibly enqueue the required scripts/css per module or even globally?

    I’ve done a lot of searching online for an answer to this scenario & can’t believe I’m the first person to encounter this problem?

    deeve

    Thread Starter deeve

    (@deeve)

    Hi @justinbusa, many thanks for your reply.
    Yes, I am trying to use AJAX to load pages as I need to have a constant div audio player on my site & the only way I can find to enable this is to load all page content with AJAX.
    I read somewhere BB compiles page/module specific scripts into the META? Where would your code to enqueue need to be placed? Normally in WP it’s functions.php?
    Thanks,

    deeve.

    Thread Starter deeve

    (@deeve)

    Hi Marcin, many thanks for the reply. I commented out the line ‘check if the new username is already occupied:’ which worked on permitting duplicate names. However, once their sessions timed-out they reverted to ‘Anonymous*’ and did not allow the user to logout or login again. Is there a way to avoid this problem?
    I am wanting to upgrade to the pro version if I can get this issue to work.
    Kind Regards,

    Steve.

    Hi Marcin, many thanks for your reply & apologies for my delayed response due to xmas! I commented out the ‘check if the new username is already occupied:’ section in WiseChatAuthentication.php which worked fine initially but noticed when I left the additional devices to timeout, they then revert to a username of ‘Anonymous*’ & does not permit the user to either logout or login again. Any suggestions?
    I am seriously considering purchasing the pro version if I can get this feature to work as required.
    Kind Regards,

    Steve

Viewing 15 replies - 16 through 30 (of 63 total)