Skip to content

jQuery bootstrap popover snippet for OmniUpdate Campus CMS

Notifications You must be signed in to change notification settings

razorbacks/popover.snippet

Repository files navigation

popover.snippet

jQuery bootstrap popover snippet for OmniUpdate Campus CMS

In Editor:

snippet screenshot

Published Page:

popover screenshot

Getting Started

  • snippets are site-specific, so you will need to repeat this process for each site. more info
  • upload popover.inc to your snippets folder, this is usually in /_resources/snippets
  • upload popover.table-transform.xsl to your folder with common.xsl, usually found in /_resources/xsl
    • keep in mind this may only need to be uploaded to one site if you are pulling xsl files for all sites from a common source. You can see if this is the case at the top of the source in one of your .pcf files and note the site attribute. For instance, <?pcf-stylesheet path="/xsl/interior.xsl" site="templates" title="Interior Page" extension="php"?> shows that this .pcf file is pulling interior.xsl from the site called "templates"
  • in your common.xsl, after the opening <xsl:stylesheet> tag, add this line: <xsl:import href="popover.table-transform.xsl"/>
  • goto content > snippets
  • choose a snippet category, or create a new one
  • click +new
  • give it a name, like "popover"
  • browse to the file location where the snippet is stored
    • remember snippets must be loaded in the staging (OU Campus) server's file system for each and every site, even if you are including the xsl from a common site. I'm have no idea why it allows you to browse and select snippets from other sites, since it won't work when you try to load and actually use them - this seems like a bug in OU Campus to me, but maybe it's just a bug with our particular configuration.
  • save, and now the snippet is available in the WYSIWYG toolbar or gadget sidebar

Notes

  • hyperlinks inside OU preview mode don't seem to work for off-site URLs, however, they work just fine when published.

About

jQuery bootstrap popover snippet for OmniUpdate Campus CMS

Resources

Stars

Watchers

Forks

Packages

No packages published