cwolff
Forum Replies Created
-
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Comments appearing in events displayI *think* I figured out what is going on. It seems the “Editor” for the templates encodes the characters for an html comment (“grt;”) so that the actual comment will render on the calendar markup.
We had apparently commented out some of the template code at some point.
This seems to have only happened after a recent plugin update.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Styles and Template IssuesThanks again, I was able to get everything as desired through your suggestions and adding a couple custom style declarations. We are happy with My Calendar for years now and are going to purchase a pro license for support.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Styles and Template IssuesI assume in the Designer I will want to change “–nav-button-color” for the button text?
If so, this does not seem to change the color in the preview nor when I click save.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Styles and Template IssuesThanks Joe.
Regarding the buttons, I can not seem to alter the styles? I am sure that I am purging cache etc, but any changes I make in the theme from the design editor do not seem to have any effect. How can I change the text color of the button as well as the cursor/pointer?
Regarding the {title}, this is what is entered in to the “Read more text” input: “{title} about {title}”. I do not recall entering this, can I safely remove?
Forum: Plugins
In reply to: [Next Active Directory Integration] 3.0 Update Breaks Entire SiteThank you. Yes, updating PHP version has fixed our issue.
Forum: Plugins
In reply to: [Next Active Directory Integration] How to use “userPrincipleName”?On the Attributes tab in ADI configuration, shouldn’t I be able to see the “userPrincipleName” attribute in the dropdown list column for “AD Attributes”?
Forum: Developing with WordPress
In reply to: Custom endpoint for my site-navigation?Thank you bcworkz….
Yes exactly. Do you know of any code samples or examples of creating custom route/endpoints to get this type of data?
How would I approach creating a custom route/endpoint to get all of the content in the
<nav id=”site-navigation” class=”main-navigation” role=”navigation”></nav> element?Thank you again bcworkz,
Is it possible to register a route/endpoint to make my WP menuing/navigation consumable via wp_nav_menu()?
I think my issue is that the html outside of the page content (as in elements that are in the theme) are not returned in the “pages” method: https://mysite/wp-json/wp/v2/pages/
How would I get the contents of an element that is in a WP template code?
- This reply was modified 5 years, 1 month ago by cwolff.
Thank you bcworks…
How do I reference a div with an id=remote-content from theContent variable above?
var theContent = data;
Something like: theContent.content.#remote-content.rendered;
Forum: Plugins
In reply to: [Gravity PDF] How to set gfpdf_tmp_location on Windows IIS Server.Thanks Jake,
The code in our Model_Install.php is different than that in the documentation.
/* See https://gravitypdf.com/documentation/v5/gfpdf_tmp_location/ for more details about this filter */ $this->data->template_tmp_location = apply_filters( 'gfpdf_tmp_location', $this->data->template_location . 'tmp/', $working_folder, $upload_dir_url ); /* encouraged to move this to a directory not accessible via the web */
Maybe I am not understanding. Do I need to add the filter code from the documentation to my functions.php?
Thank you for this plugin, by the way, we use it extensively.
Thanks Eli,
I am able to connect now with no problem. There was probably a network issue on my side.
Thanks for this plugin.
Chris
Thank you wfdave.
As suggested, giving the user “DROP” fixed the issue.
Forum: Plugins
In reply to: [Next Active Directory Integration] Locked out after upgrading PHP 7.2.1How can I at least disable the module so that I can log in with a WP account, not from AD?
I have tried re-naming the NextADI plugin directory and restarting with no success?
Thanks,
ChrisI now have this working as desired. I simply used jQuery .ajax function, which parses and renders just as I needed.
The following code grabs the content of a remote page and renders it on my site’s page:
<script> $( document ).ready(function() { $.ajax({ url: 'https://www.my-url/wp-json/wp/v2/pages/34/', error: function() { $('#info').html('<p>An error has occurred</p>'); }, dataType: 'json', async: false, type: 'GET', success: function(data) { var theContent = data; document.getElementById("remote-content").innerHTML = theContent.content.rendered; } }); }); </script> <span id="remote-content"></span>
[Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]
- This reply was modified 6 years, 11 months ago by bdbrown.