Jive - where to update URL for login page - jive

In this code snippet for our Jive (Hosted 8) mixed mode registration/login page (https://communities.healthstream.com/login.jspa and its template file is /template/global/include/login-macros.ftl), do you know where to update the URL referred to here: id="sso-login-submit<#if previewMode>-disabled". Thank you for any guidance!
<div id="split-auth-login-block" <#if !previewMode>style="display:none" </#if> class="j-box j-enhanced jive-box jive-box-form jive-standard-formblock-container jive-login-reg-formblock clearfix">
<div class="jive-box-body jive-standard-formblock clearfix">
<div id="jive-split-auth-employeeblock" class="jive-split-auth">
<a href="#" id="sso-login-submit<#if previewMode>-disabled</#if>">
<strong>NRP Instructor Login</strong>
<p>If you are an NRP Instructor, log in here.</p>
</a>
</div>

So, sso-login-submit is pulled from the Jive admin here:
People>Settings>Single Sign-On>SAML
Find the URL here:
<md:SingleSignOnService
Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
Location="https://sso.healthstream.com/idp/SSO.saml2"/>
Hope that helps someone else!

Related

Twitter Timeline Feed (HTML5/CSS3)

I need to add a twitter feed to a web project for college. I've never done this before so forgive me for my ignorance. I have tried a few things but nothing seems to work (and the twitter instructions aren't very clear). We have not yet learned JavaScript so I am trying to achieve this using only HTML/CSS. Please check my code & give me a solution. Thanks.I have tried both examples below:
In example 1 the iframe is displaying with nothing inside it.
In example 2 only a link to the page is being displayed.
<div id="container-4" class="container">
<h3>Twitter</h3>
<iframe class="twitter-timeline"
href="https://twitter.com/TwitterDev"
data-tweet-limit="3">
Tweets by #TwitterDev
</iframe>
</div>
<div id="container-4" class="container">
<h3>Twitter</h3>
<a class="twitter-timeline"
href="https://twitter.com/TwitterDev"
data-tweet-limit="3">
Tweets by #TwitterDev
</a>
</div>
Edit: Sorry for all the edits, this is my first question on here. :L
I took the following steps to get an embeded code:
- Visited https://publish.twitter.com/#
- Entered https://twitter.com/extremeironing in the search box.
- I then selected embedded timeline.
- Copied and pasted the following code (which did not work):
<a class="twitter-timeline"
href="https://twitter.com/extremeironing">
Tweets by extremeironing
</a>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8">
</script>
After this attempt I moved onto trying the first 2 examples.
Thanks in advance!

WP-API and HTML tags

I'm pulling data from an external site using WP-API and displaying it using AngularJS - http://dev.5874.co.uk/goshooting/search-the-shooting-club-directory/
The data is pulling in fine but it's showing the HTML tags such as how can I stop this? I'm using Advanced custom fields too which may be contributing.
<div ng-controller="northWestCtrl">
<div ng-repeat="d in data">
<h2 class="entry-title title-post">{{d.title}}</h2>
<img src="{{d.acf.logo}}">
<div id="listing-contact">Contact: {{d.acf.contact}}, {{d.acf.position}}</div>
<div id="listing-address-1">
{{d.acf.address_1}}, {{d.acf.address_2}} {{d.acf.address_3}} {{d.acf.town}} {{d.acf.county}} {{d.acf.postcode}}
</div>
<div id="listing-phone">Telephone: {{d.acf.telephone}}</div>
<div id="listing-mobile">Mobile: {{d.acf.mobile}}</div>
<div id="listing-email">Email: {{d.acf.email}}</div>
<div id="listing-website">Website: {{d.acf.website}}</div>
<div id="listing-established">Established: {{d.acf.established}}</div>
<div id="listing-about">About: {{d.acf.about}}</div>
<div id="listing-mailingaddress">Mailing Address: {{d.acf.mailing_address_}}, {{d.acf.mailing_address_2}}, {{d.acf.mailing_address_3}}, {{d.acf.mailing_town}}, {{d.acf.mailing_county}}, {{d.acf.mailing_postcode}}</div>
<div id="listing-directions">Directions: {{d.acf.directions}}</div>
<div id="scd-link">View on The Shooting Club Directory</div>
</div>
</div>
</div>
Here is a working code pen also - http://codepen.io/anon/pen/yePYdq
Any help would be much appreciated, thanks!
If i understand you right you Use this site for getting your data http://scd.blaze.wpengine.com/wp-json/posts?type=listings&filter[listing_area]=northeast with API
Also your console display an error
[Error] XMLHttpRequest cannot load http://scd.blaze.wpengine.com/wp-json/posts?type=listings&filter[listing_area]=northeast. Origin http://dev.5874.co.uk is not allowed by Access-Control-Allow-Origin.
Maybe this link will be helpful Origin is not allowed

How to add the info-clicky structured snippet to html website? (For Google Search Results)

I recently noticed a new addition to Google Snippets for Structured Data search results on Google. Although I've added quite some snippets to this website, but I don't know how to enable this snippet. I'm thinking it'll either be via website or organization schema.org for the snippet to appear in the search results.
Example from Google's Developers Page:
Here's some excerpt code from the pages I need this info clicky to appear in search results, but I don't know how or what to modify or append to the pages. Also would application/ld+json script be functional for this purpose? Or is it advisable to add HTML code only?
<!-- LOGO -->
<div class="w-logo" itemscope itemtype="http://schema.org/Organization">
<div class="w-logo-h">
<a class="w-logo-link" itemprop="url" href="index.html">
<img class="w-logo-img" src="img/logo.png" alt="Company Name">
<span class="w-logo-title">
<span class="w-logo-title-h" itemprop="name">Company Name</span>
</span>
</a>
</div>
</div>

Odd behavior of twitter button on devices not from a specific country

I have searched a lot, but I cannot find a similar problem on the net. Or probably, I have my keywords wrong, but here's the problem:
I created a website which has a twitter twit button, and it works in all browsers, in all languages (that we've checked). So here's the predicament, we have foreign bought laptops and when they click on this button, instead of the usual twitter pop-up window allowing you to twit the page content, it gives a "Page not found" text on the pop-up.
I have declared UTF-8, i have set the html lang document to that specific language, but it's not working.
Here's the code for the button:
https://twitter.com/share?url=google.com&text=【CNE1%205周年記念】特別サイトをシェアして超豪華特典付きの1週間留学を当てよう!%20詳細はコチラ:http://www.cne1jp.com/campaign/%20@CNE1Japan%20#cne1'>
<div class="twit">
<div class="twitlogo">
<img src="images/twitterLogo.png" />
</div>
<div class="twitcon">
<!-- <p>Twit the love on Twitter!</p> -->
<!-- <p>Twitterでつぶやく!</p> -->
<div class="twc-t">
<div class="twc-tt">
Twitterで<br>
ツイート!
</div>
</div>
</div>
</div>
</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src='//platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document,'script','twitter-wjs');</script>
Would greatly appreciate any insight on this. Thank you in advance!

Linking tumblr photos directly to the source

I'm trying to make my tumblr posts link directly to the source when clicked rather than going to the post page and having the source link there to click.
Here's the code I have for the photo posts.
{block:Photo}
<div class="permalink">{MonthNumber}.{DayOfMonthWithZero}.{ShortYear}</div>
<div class="photo">
<div class="photobox"><img src="{PhotoURL-250}" alt="{PhotoAlt}"/></div>
{block:Caption}
<div class="caption">{Caption}</div>
{/block:Caption}
</div>
{/block:Photo}
I've tried changing the photobox 'permalink' to source etc with no avail.
Anyone got any ideas?
In the hope that someone who needs this will find it, here's a way I found to show {LinkURL} when it's available, and some other url when it's not.
Tumblr offers {block:LinkURL} to display some code when {LinkURL} is available, but there's no {block:NoLinkURL} to use when {LinkURL} is NOT available.
Ideally, this should be possible:
<a
{block:LinkURL}href="{LinkURL}"{/block:LinkURL}
{block:NoLinkURL}href="{Permalink}"{/block:NoLinkURL}> <!-- does NOT work -->
<img src="{PhotoURL-400}"/>
</a>
But {block:NoLinkURL} doesn't exist, so I'm using {block:LinkURL} to hijack the normal link instead:
<a {block:LinkURL} href="{LinkURL}" data-ignored-{/block:LinkURL}href="{Permalink}">
<img src="{PhotoURL-400}"/>
</a>
If {LinkURL} is available both links will be in the HTML, but only one is read.
Example output
This is the output when {LinkURL} is not available:
<a href="/permalink">
<img src="/image.jpg"/>
</a>
And this when is the output when {LinkURL} is available:
<a href="/linkurl" data-ignored-href="/permalink">
<img src="/image.jpg"/>
</a>
after comments edit
It should be <a href="{LinkURL}">
You have to make sure when you're adding the image that you've specified the target as outside of tumblr too.