ProsePoint Express: hosted newspaper website content management software

Help with rel=" " Attribute

  • strict warning: Non-static method view::load() should not be called statically in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/views.module on line 879.
  • strict warning: Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_argument.inc on line 0.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_handler_filter_node_status::operator_form() should be compatible with views_handler_filter::operator_form(&$form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/modules/node/views_handler_filter_node_status.inc on line 0.
  • strict warning: Non-static method view::load() should not be called statically in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/views.module on line 879.
  • strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 0.
  • strict warning: Declaration of date_api_filter_handler::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/date/includes/date_api_filter_handler.inc on line 0.
  • strict warning: Non-static method view::load() should not be called statically in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/views.module on line 879.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/plugins/views_plugin_row.inc on line 0.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/plugins/views_plugin_row.inc on line 0.
1 reply [Last post]
crazzyapple
User offline. Last seen 6 years 29 weeks ago. Offline
Joined: 14/01/2010
Posts:

Hi and happy New Year:

I am currently using a vanilla version of PP 0.37 and the current version of Shadowbox. When I create a story and add an image to it, I want to have this image popup with Shadowbox. If I click on the image, which takes me to the page of the image and I click on the image here, it will popup with Shadowbox, however, I want to have it popup on the story page.

If I add the tag rel="shadowbox" to the html tab and click back on the visual tab, the rel tag disappears and if I click save while in the html tab (which the rel tag stays), it won't work either.

I have downloaded the module htmlpurifier and set the AllowedRel text area with shadowbox, but that doesn't work either. I have tried many different approaches, but unable to get the image on the page to popup with Shadowbox.

I am not sure if there are limitations with the pp_editor or if I have over looked something. Any advice will be greatly appreciated.

Ryan

 

beng
User offline. Last seen 4 years 30 weeks ago. Offline
Joined: 27/02/2009
Posts:
...

Hi,

I think this would likely be because the ProsePoint editor's method of displaying images with the pp_img tag doesn't support rel=' ' attributes, and the rel attribute you enter by hand probably isn't showing up in the img tag when viewing the story (but is showing up when you view the image itself).

If this is true, I'm not sure if there will be a change to address this anytime soon, because the ProsePoint editor renders images using its own method in other to have captions and borders, instead of using just a standard img tag.