pagegenius
Forum Replies Created
-
Forum: Plugins
In reply to: [Smart Slider 3] Text submenu to navigate between slidesHi Gabor,
I’m confused about your last option with {name/slide}. When I type those into a text box as its content, I simply get those literal characters. Could you clarify?
Right now, I’m making this sub-menu with this code:
<div class="sub-menu" style="text-align:center;"> <span class="switch1” style="font-family: 'Noto Serif'; font-size: 12pt; font-weight: 700; cursor: pointer;">Exploit emergent technologies</span> | <span class="switch2” style="font-family: 'Noto Serif'; font-size: 12pt; font-weight: normal; cursor: pointer;">Validate growth opportunities</span> | <span class="switch3” style="font-family: 'Noto Serif'; font-size: 12pt; font-weight: normal; cursor: pointer;">Define growth strategies</span> | <span class="switch4” style="font-family: 'Noto Serif'; font-size: 12pt; font-weight: normal; cursor: pointer;">Create products, services & business models</span> | <span class="switch5” style="font-family: 'Noto Serif'; font-size: 12pt; font-weight: normal; cursor: pointer;">Develop go-to-market ecosystems</span> | <span class="switch6” style="font-family: 'Noto Serif'; font-size: 12pt; font-weight: normal; cursor: pointer;">Develop new growth ventures</span> </div> <script> N2R('#n2-ss-27', function($, slider){ jQuery('.switch1’).click(function(){ slider.slide(0); window.scrollTo(0, 0); }); }); N2R('#n2-ss-27', function($, slider){ jQuery('.switch2’).click(function(){ slider.slide(1); window.scrollTo(0, 0); }); }); N2R('#n2-ss-27', function($, slider){ jQuery('.switch3’).click(function(){ slider.slide(2); window.scrollTo(0, 0); }); }); N2R('#n2-ss-27', function($, slider){ jQuery('.switch4’).click(function(){ slider.slide(3); window.scrollTo(0, 0); }); }); N2R('#n2-ss-27', function($, slider){ jQuery('.switch5’).click(function(){ slider.slide(4); window.scrollTo(0, 0); }); }); N2R('#n2-ss-27', function($, slider){ jQuery('.switch6’).click(function(){ slider.slide(5); window.scrollTo(0, 0); }); }); </script>I’m having a couple of problems with this.
1) The HTML element keeps disappearing from my slider
2) Because I want the chose elements to appear as bold when selected, I have to create this menu on every slide, rather than using a static slide for it. Any workarounds auto-bold a heading when it’s the selected one?@dangerdan: I just tried your code like this:
.simplefilter li, .sortandshuffle li{ background-color:rgb(255,255,255); color: #000000; }…and it changed the color of my text, but the colored backgrounds have not changed. Maybe you wanted a different line for background-color?
Also, do you (or anyone else) have any ideas for inserting a “|” (pipe) character between each entry using CSS?
Thanks,
Ralph
Forum: Plugins
In reply to: [Code Embed] Code not workingThanks for your answer. Code Embed is a nice tool, but when a common page builder interferes this much with it, it’s a problem. This ate up two of my days, though partly that was because I wasn’t systematic enough in my approach to it.
I initially tried to use Visual Composer’s “Raw JS” widget to put this code in my pages. When it didn’t work, I immediately gave up on it. What I failed to understand was that I had to disable the Code Embed method before trying the Raw JS method.
Instead, I adopted the CSS & JavaScript Toolbox for injecting JS into individual page headers. That’s a good tool also, and it worked.
But then I got around to suspecting that I hadn’t given Visual Composer’s Raw JS widget the proper shot, and tried it once more on a virgin page with no other embedding option in place, and sure enough it works fine.
Duh. Web life!
Forum: Plugins
In reply to: [Code Embed] Code not workingDavid,
I’ve turned off all my plugins, and my JS code via Code Embed works.
Surprising though it sounds, WPBakery Visual Composer seems to be the culprit. When it’s the only plugin activated, I get the unwanted HTML I described.
The problem is, we have tons of pages authored with Visual Composer, and turning it off is way too much hassle.
Anybody have any ideas?
Forum: Plugins
In reply to: [Code Embed] Code not workingAdditional info: I copied code from two different sources above, so let me do this correctly. The code I’m putting into Code Embed is this:
<script type="module"> import {Runtime, Inspector} from "https://cdn.jsdelivr.net/npm/@observablehq/runtime@4/dist/runtime.js"; import notebook from "https://api.observablehq.com/@ralphlombreglia/[email protected]?v=3"; new Runtime().module(notebook, name => { if (name === "chart") { return new Inspector(document.querySelector("#chart")); } }); </script>The code I see in my rendered page source looks like this:
`<p><!– Code Embed v2.3.2 –><br />
<script type=”module”></p>
<p>import {Runtime, Inspector} from “https://cdn.jsdelivr.net/npm/@observablehq/runtime@4/dist/runtime.js”;</p>
<p>import notebook from “https://api.observablehq.com/@ralphlombreglia/[email protected]?v=3”;</p>
<p>new Runtime().module(notebook, name => {
if (name === “chart”) {
return new Inspector(document.querySelector(“#chart”));
}
});</p>
<p></script><br />
<!– End of Code Embed output –></p>`Forum: Plugins
In reply to: [Dynamics 365 Integration] Embedding user ID in a clickable linkP.S. What’s the minimum plugin I would have to buy for 10,000+ contacts but only 15-20 internal users? The $49 or the $99 / month?
Forum: Plugins
In reply to: [Dynamics 365 Integration] Embedding user ID in a clickable linkThanks again, George.
If we bought your premium plugin, we could presumably use it to control membership on the site, and therefore stop using a WordPress membership solution. That’s what’s advertised, at any rate.
Assuming this is true, does your premium plugin allow us to store our download files external to our WordPress site, such as on OneDrive, Box, etc.?
And wherever they were stored, would we be able to view stats on how many downloads of a given file, and by whom?
Frederick D.: I’m interested in the details of your solution to this problem. Thanks.
Forum: Plugins
In reply to: [Dynamics 365 Integration] Embedding user ID in a clickable linkHi George. Thanks for your answer. No, my members are contacts in Dynamics 365, not users.
Knowing that, do you (or anyone else) know of a way to do this quite simple thing using Flow?
Thanks.
Hi Nick. Yeah funny coincidence that you looked at the moment you did. I had just “fixed” it (see below). I thought this thread was answered only Wednesdays, so I was going to write an addendum here tonight before you saw it (I thought).
Yes, it dawned on me today that if the page loaded badly when invoked as a “Page” via WP internals, but it loaded fine when a bad page was re-loaded, or when the “Calendar” page was invoked from an external URL… it dawned on me that maybe I should replace my “Page”-based menu item with a “Custom URL”-type menu item where I called the URL as if it was external to the site.
And sure enough, that fixed it. The bad loads are surely from scripts stepping on each other, loading in the wrong order, etc. but I was having a very tough time finding that. As a real-world fix, I’m OK with this. But of course I’d love to isolate the real problem and fix it properly. Thoughts?
Thanks! When the plugin works, it’s a cool thing!