[prev in list] [next in list] [prev in thread] [next in thread] 

List:       drupal-support
Subject:    Re: [support] support Digest, Vol 94, Issue 36
From:       "Steve Simplay" <stevensimplay () yahoo ! com>
Date:       2010-10-28 18:03:58
Message-ID: 1500300276-1288289036-cardhu_decombobulator_blackberry.rim.net-1275277582- () bda155 ! bisx ! produk ! on ! blackberry
[Download RAW message or body]

 
Email sent from my BlackBerry® smartphone

-----Original Message-----
From: support-request@drupal.org
Sender: support-bounces@drupal.org
Date: Wed, 27 Oct 2010 19:19:24 
To: <support@drupal.org>
Reply-To: support@drupal.org
Subject: support Digest, Vol 94, Issue 36

Send support mailing list submissions to
	support@drupal.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.drupal.org/mailman/listinfo/support
or, via email, send a message with subject or body 'help' to
	support-request@drupal.org

You can reach the person managing the list at
	support-owner@drupal.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of support digest..."


Today's Topics:

   1. Re: support Digest, Vol 94, Issue 35 (Broyhill, Gary)
   2. Re: support Digest, Vol 94, Issue 35 (Mark Shropshire)
   3. Why would one role be able to click collapsible
      fieldsets....and another role couldn't? (Neil Coghlan)
   4. Re: Why would one role be able to click collapsible
      fieldsets....and another role couldn't? (Metzler, David)
   5. Re: Why would one role be able to click collapsible
      fieldsets....and another role couldn't? (Neil Coghlan)
   6. Re: Why would one role be able to click collapsible
      fieldsets....and another role couldn't? SOLVED (Neil Coghlan)


----------------------------------------------------------------------

Message: 1
Date: Wed, 27 Oct 2010 13:06:19 -0400
From: "Broyhill, Gary" <Gary.Broyhill@lr.edu>
Subject: Re: [support] support Digest, Vol 94, Issue 35
To: "support@drupal.org" <support@drupal.org>
Message-ID: <C8EDD44B.D9BF%Gary.Broyhill@lr.edu>
Content-Type: text/plain; charset="iso-8859-1"

Mark,

Thanks -- I think I figured out what the problem is. I have the content type set so \
only authenticated users can submit it. But it was still visible to non-authenticated \
users (my mistake), so if you fill out the form anonymously, it didn't create a node \
accessible through Drupal content management, but did enter values in the database, \
which the view was picking up. Not totally sure what is happening here because I have \
a filter set to display "published content" only in the view. But I do believe that's \
the issue.

Gary


On 10/27/10 6:49 AM, "support-request@drupal.org" <support-request@drupal.org> wrote:

Have you tried clearing cache? It may be that the view is still cached.

Thanks,
Mark

On Oct 26, 2010, at 5:48 PM, Broyhill, Gary wrote:

> I have created a View that displays a list of a links to nodes. The nodes displayed \
> are a CCK content type that I created. If I delete one of these content items, it \
> still shows in the View, although if you click on the link, it goes to a 404. I \
> have to go into the MySQL table and delete it manually to get it out of the View. I \
> know that this has to be something basic that I?m doing wrong, but I can?t see it. \
> Any ideas are welcome! 
> THANKS
> 
> 
> --
> Gary Broyhill
> Webmaster
> Lenoir-Rhyne University
> www.lr.edu
> gary.broyhill@lr.edu
> (828)328-7379
> 
> 
> 
> On 10/26/10 12:37 AM, "support-request@drupal.org" <support-request@drupal.org> \
> wrote: 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20101027/5dbec82a/attachment-0001.html \


------------------------------

Message: 2
Date: Wed, 27 Oct 2010 13:27:11 -0400
From: Mark Shropshire <mdshrops@shropnet.net>
Subject: Re: [support] support Digest, Vol 94, Issue 35
To: support@drupal.org
Message-ID: <9DFB5882-5376-470B-85FF-27FB5DAC10CC@shropnet.net>
Content-Type: text/plain; charset="windows-1252"

Makes sense..
cool

On Oct 27, 2010, at 1:06 PM, Broyhill, Gary wrote:

> Mark, 
> 
> Thanks -- I think I figured out what the problem is. I have the content type set so \
> only authenticated users can submit it. But it was still visible to \
> non-authenticated users (my mistake), so if you fill out the form anonymously, it \
> didn?t create a node accessible through Drupal content management, but did enter \
> values in the database, which the view was picking up. Not totally sure what is \
> happening here because I have a filter set to display ?published content? only in \
> the view. But I do believe that?s the issue. 
> Gary
> 
> 
> On 10/27/10 6:49 AM, "support-request@drupal.org" <support-request@drupal.org> \
> wrote: 
> Have you tried clearing cache? It may be that the view is still cached.
> 
> Thanks,
> Mark
> 
> On Oct 26, 2010, at 5:48 PM, Broyhill, Gary wrote:
> 
> > I have created a View that displays a list of a links to nodes. The nodes \
> > displayed are a CCK content type that I created. If I delete one of these content \
> > items, it still shows in the View, although if you click on the link, it goes to \
> > a 404. I have to go into the MySQL table and delete it manually to get it out of \
> > the View. I know that this has to be something basic that I?m doing wrong, but I \
> > can?t see it. Any ideas are welcome! 
> > THANKS
> > 
> > 
> > --
> > Gary Broyhill
> > Webmaster
> > Lenoir-Rhyne University
> > www.lr.edu
> > gary.broyhill@lr.edu
> > (828)328-7379
> > 
> > 
> > 
> > On 10/26/10 12:37 AM, "support-request@drupal.org" <support-request@drupal.org> \
> > wrote: 
> -- 
> [ Drupal support list | http://lists.drupal.org/ ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20101027/78ee6ad8/attachment-0001.html \


------------------------------

Message: 3
Date: Wed, 27 Oct 2010 15:01:21 -0300
From: Neil Coghlan <neil@esl-lounge.com>
Subject: [support] Why would one role be able to click collapsible
	fieldsets....and another role couldn't?
To: "support@drupal.org" <support@drupal.org>
Message-ID: <4CC868F1.9020205@esl-lounge.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

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


------------------------------

Message: 4
Date: Wed, 27 Oct 2010 11:37:40 -0700
From: "Metzler, David" <metzlerd@evergreen.edu>
Subject: Re: [support] Why would one role be able to click collapsible
	fieldsets....and another role couldn't?
To: <support@drupal.org>
Message-ID:
	<52177C930FA90F4D9888B0343FDB79FB0277E1F8@birch.evergreen.edu>
Content-Type: text/plain;	charset="us-ascii"

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@drupal.org [mailto:support-bounces@drupal.org] On
Behalf Of Neil Coghlan
Sent: Wednesday, October 27, 2010 11:01 AM
To: support@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/ ]


------------------------------

Message: 5
Date: Wed, 27 Oct 2010 16:05:16 -0300
From: Neil Coghlan <neil@esl-lounge.com>
Subject: Re: [support] Why would one role be able to click collapsible
	fieldsets....and another role couldn't?
To: support@drupal.org
Message-ID: <4CC877EC.207@esl-lounge.com>
Content-Type: text/plain; charset="iso-8859-1"

Thanks for the suggestion Dave. The html is fine. I've stripped my tpl 
template back to ONLY this fieldset and the same thing happens....admin 
role sees clickable link, lower role sees red unclickable text.

the entire content of my tpl file is now:

<fieldset class="collapsible collapsed">
<legend>View Map (click to open)</legend>

<img style="margin:2px;" 
src="http://maps.google.com/staticmap?center=<?php print 
$node->field_team_coordinates[0]['view'] 
?>&zoom=15&size=240x250&markers=<?php print 
$node->field_coordinates[0]['view'] ?>,midyellow&key=123456" border="0">

</fieldset>

it's almost as if the lower roles don't have access to that field, but I 
don't have any field access modules operating. Is there any reason why 
javascript wouldn't be working for those roles? The odd thing is, when I 
use web dev firefox add-on to disable javascript, the fieldset is open 
by default so I don't think that's the problem either.

*slowly going crazy*

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@drupal.org [mailto:support-bounces@drupal.org] On
> Behalf Of Neil Coghlan
> Sent: Wednesday, October 27, 2010 11:01 AM
> To: support@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/ ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20101027/a68d1c49/attachment-0001.html \


------------------------------

Message: 6
Date: Wed, 27 Oct 2010 16:19:18 -0300
From: Neil Coghlan <neil@esl-lounge.com>
Subject: Re: [support] Why would one role be able to click collapsible
	fieldsets....and another role couldn't? SOLVED
To: support@drupal.org
Message-ID: <4CC87B36.90508@esl-lounge.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

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@drupal.org [mailto:support-bounces@drupal.org] On
> Behalf Of Neil Coghlan
> Sent: Wednesday, October 27, 2010 11:01 AM
> To: support@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/ ]


------------------------------

-- 
[ Drupal support list | http://list.drupal.org/ ]

End of support Digest, Vol 94, Issue 36
***************************************
-- 
[ Drupal support list | http://lists.drupal.org/ ]


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic