[support] Why would one role be able to click collapsible fieldsets....and another role couldn't? SOLVED

Neil Coghlan neil at esl-lounge.com
Wed Oct 27 19:19:18 UTC 2010


duh.....added this to top of template and resolved it.

<?php
   drupal_add_js('misc/collapse.js');
   drupal_add_js('misc/drupal.js');
?>

pretty dumb to have missed that!

but....why was that not necessary for the admin role?? Is it because 
that javascript was already cached for that user??


On 27/10/2010 15:37, Metzler, David wrote:
> In my experience the most common cause is invalid HTML, specifically
> unclosed tags and such.  Run your page through the W3C validator to
> check.
>
> Dave
>
> -----Original Message-----
> From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
> Behalf Of Neil Coghlan
> Sent: Wednesday, October 27, 2010 11:01 AM
> To: support at drupal.org
> Subject: [support] Why would one role be able to click collapsible
> fieldsets....and another role couldn't?
>
> I know the answer to this is blindingly obvious but I've been very deep
> in the drupal forest in the last few weeks and can't see any individual
> trees anymore!
>
> High role (admin!) can see clickable link which expands a fieldset.
> Log out
> Log in as any other role - link has turned into red text, no link, can't
> expand.
>
> is it something on the permissions page that would do this?
>
> it's not my template...I do have a couple of php conditionals wrapping
> the fieldset but it's nothing to do with roles
>
> <?php if ($node->field_team_coordinates[0]['value']) : ?>  <?php if
> ($page != 0): ?>
>
> 1. only show fieldset if field is filled out 2. only show fieldset on
> node view, not on index pages, teasers, etc.
>
> what could be un-hyperlinking the fieldset?
>
> Neil
> --
> [ Drupal support list | http://lists.drupal.org/ ]


More information about the support mailing list