Jennifer Stock

  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Jennifer Stock

  • Rank

Recent Profile Visitors

604 profile views
  1. Greetings. I would like to restrict access to certain sections of my organization's ProcessWire site using pubcookie. We are rolling out Shibboleth authentication later this year but for now, it seems I can only make use of our institution's single sign-on routine by utilizing rules in an .htaccess file. I am wondering if there is a way to ask PW to apply these rules to certain pages in the site, whether via template type or location in the page tree: AuthType UWNetID PubcookieAppID "MyApplication" require type staff faculty
  2. Jennifer Stock

    Looks like I'm talking about something like this.
  3. Jennifer Stock

    I'm building a site where I have "topics" and "programs" as sibling parent elements in the page tree. Each contains about sixty sub-pages. I want the user to associate them with each other from both the topic template or the program template. I can give the template for each type of content a field that selects from its opposing collection of sibling elements; what I'm wondering if there is a way to make them match up, so that selecting from one "direction" will make the association "show up" from the other "direction." Happy to explain again if that doesn't make sense.
  4. Jennifer Stock

    Hi. I just tried to add the style set to another input field that has the CKEditor enabled and it is successfully reading my custom styles. Is there something special about the "body" field vis-a-vis custom styles + CKEditor? J It's working now for the body field too. I guess I was experiencing a caching effect.
  5. Jennifer Stock

    I am having trouble getting the CKEditor to include a custom style set. I put this in the Custom EditorJS Styles Set input box for the body field (Context: None(default)): mystyles:/site/templates/styles/mystyles.js That file reads like this: CKEDITOR.stylesSet.add( 'mystyles', [ { name: 'Inline Codex', element: 'code' }, { name: 'Inline Quotation', element: 'q' }, { name: 'Button', element: 'a', attributes: { 'class': 'uw-btn' } }, { name: 'Left Aligned Photo', element: 'img', attributes: { 'class': 'align_left' } }, { name: 'Right Aligned Photo', element: 'img', attributes: { 'class': 'align_right' } }, { name: 'Centered Photo', element: 'img', attributes: { 'class': 'align_center' } }, { name: 'Small', element: 'small' }, { name: 'Deleted Text', element: 'del' }, { name: 'Inserted Text', element: 'ins' }, { name: 'Cited Noodle Work', element: 'cite' } ] ); I've checked everything multiple times and I can't figure out what I'm doing wrong. Thanks, Jenn