I'm using hook_field_extra_fields() to add some buttons to a node. If there is more than one button, I want to enclose them in a wrapper for theme placement. So far, I'm drawing a blank on how to do this.
can you use the pre on the first button and the post on the final one to put markup in?
On Jul 23, 2014, at 10:31 AM, Nancy Wichmann nan_wich@bellsouth.net wrote:
I'm using hook_field_extra_fields() to add some buttons to a node. If there is more than one button, I want to enclose them in a wrapper for theme placement. So far, I'm drawing a blank on how to do this.
[ Drupal support list | http://lists.drupal.org/ ]
At the top of my head, I would all the arrays to an array and count the number of arrays of which #type is 'button' or 'submit'. On 23 Jul 2014 17:32, "Nancy Wichmann" nan_wich@bellsouth.net wrote:
I'm using hook_field_extra_fields() to add some buttons to a node. If there is more than one button, I want to enclose them in a wrapper for theme placement. So far, I'm drawing a blank on how to do this.
-- [ Drupal support list | http://lists.drupal.org/ ]
Hi,
I have a site that has been running happily for years. Being "good" I keep all the modules up to date.
Recently 2 custom content types that are also used in a views table.
What is happening is the content in the body field is being deleted. I can revert to get the content back, view it, yet it is again deleted.
I can't see anything wrong in the views control. In fact I can't track where the error is occurring period.
Has anyone experienced such an error associated with updates to views, CKeditor, jQuery or other modules?
Any clues on how I can trouble shoot this?
Yani
D 7 or D 6? The ISAM tables in D6 are a lot more vulnerable to corruption.
What version are you running, and on what platform? What version of PHP?
-Don-
On 7/23/2014 6:35 PM, Yani wrote:
Hi,
I have a site that has been running happily for years. Being "good" I keep all the modules up to date.
Recently 2 custom content types that are also used in a views table.
What is happening is the content in the body field is being deleted. I can revert to get the content back, view it, yet it is again deleted.
I can't see anything wrong in the views control. In fact I can't track where the error is occurring period.
Has anyone experienced such an error associated with updates to views, CKeditor, jQuery or other modules?
Any clues on how I can trouble shoot this?
Yani
D7 with all modules and theme totally up to date.
PHP 5.4
Running on a virtual server with 200MB of memory allocated to the site.
It's not happening on every content type only 2 that were created 2+ years ago and only in what would have been the original body field.
I can't imagine what has the ability to do this, more over after I revert and get the content back it is being Zapped again.
Yani
From: Don [mailto:donald@fane.com] Sent: Thursday, 24 July 2014 9:07 AM To: support@drupal.org; Yani Subject: Re: [support] Content being deleted
D 7 or D 6? The ISAM tables in D6 are a lot more vulnerable to corruption.
What version are you running, and on what platform? What version of PHP?
-Don-
On 7/23/2014 6:35 PM, Yani wrote:
Hi,
I have a site that has been running happily for years. Being "good" I keep all the modules up to date.
Recently 2 custom content types that are also used in a views table.
What is happening is the content in the body field is being deleted. I can revert to get the content back, view it, yet it is again deleted.
I can't see anything wrong in the views control. In fact I can't track where the error is occurring period.
Has anyone experienced such an error associated with updates to views, CKeditor, jQuery or other modules?
Any clues on how I can trouble shoot this?
Yani
Did you recently updated to Drupal 7.29 ? Please see that it has a similar bug related to it. If so, Revert back to 7.28 now.
On Thu, Jul 24, 2014 at 5:53 AM, Yani akayani@aapt.net.au wrote:
D7 with all modules and theme totally up to date.
PHP 5.4
Running on a virtual server with 200MB of memory allocated to the site.
It’s not happening on every content type only 2 that were created 2+ years ago and only in what would have been the original body field.
I can’t imagine what has the ability to do this, more over after I revert and get the content back it is being Zapped again.
Yani
*From:* Don [mailto:donald@fane.com] *Sent:* Thursday, 24 July 2014 9:07 AM *To:* support@drupal.org; Yani *Subject:* Re: [support] Content being deleted
D 7 or D 6? The ISAM tables in D6 are a lot more vulnerable to corruption.
What version are you running, and on what platform? What version of PHP?
-Don-
On 7/23/2014 6:35 PM, Yani wrote:
Hi,
I have a site that has been running happily for years. Being “good” I keep all the modules up to date.
Recently 2 custom content types that are also used in a views table.
What is happening is the content in the body field is being deleted. I can revert to get the content back, view it, yet it is again deleted.
I can’t see anything wrong in the views control. In fact I can’t track where the error is occurring period.
Has anyone experienced such an error associated with updates to views, CKeditor, jQuery or other modules?
Any clues on how I can trouble shoot this?
Yani
--
-- -Don Pickerel- Fane Software
-- [ Drupal support list | http://lists.drupal.org/ ]
It happened around 7.20-7.24 guessing.
My guts says it is the text format and something that changed with updating CKeditor or Views.
I’m really hoping to rule out whatever the collective experience is.
I’m guessing if no one has seen the issue then I’ll focus on whatever is different about these pages.
Yani
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Vaibhav Jain Sent: Thursday, 24 July 2014 2:45 PM To: support@drupal.org Cc: Don Subject: Re: [support] Content being deleted
Did you recently updated to Drupal 7.29 ? Please see that it has a similar bug related to it. If so, Revert back to 7.28 now.
On Thu, Jul 24, 2014 at 5:53 AM, Yani akayani@aapt.net.au wrote:
D7 with all modules and theme totally up to date.
PHP 5.4
Running on a virtual server with 200MB of memory allocated to the site.
It’s not happening on every content type only 2 that were created 2+ years ago and only in what would have been the original body field.
I can’t imagine what has the ability to do this, more over after I revert and get the content back it is being Zapped again.
Yani
From: Don [mailto:donald@fane.com] Sent: Thursday, 24 July 2014 9:07 AM To: support@drupal.org; Yani Subject: Re: [support] Content being deleted
D 7 or D 6? The ISAM tables in D6 are a lot more vulnerable to corruption.
What version are you running, and on what platform? What version of PHP?
-Don-
On 7/23/2014 6:35 PM, Yani wrote:
Hi,
I have a site that has been running happily for years. Being “good” I keep all the modules up to date.
Recently 2 custom content types that are also used in a views table.
What is happening is the content in the body field is being deleted. I can revert to get the content back, view it, yet it is again deleted.
I can’t see anything wrong in the views control. In fact I can’t track where the error is occurring period.
Has anyone experienced such an error associated with updates to views, CKeditor, jQuery or other modules?
Any clues on how I can trouble shoot this?
Yani
It is probably ckeditor. What version of ckeditor are you running?
Lucas MTech, LLC http://www.mtech-llc.com
On Thu, Jul 24, 2014 at 1:59 AM, Yani akayani@aapt.net.au wrote:
It happened around 7.20-7.24 guessing.
My guts says it is the text format and something that changed with updating CKeditor or Views.
I’m really hoping to rule out whatever the collective experience is.
I’m guessing if no one has seen the issue then I’ll focus on whatever is different about these pages.
Yani
*From:* support-bounces@drupal.org [mailto:support-bounces@drupal.org] *On Behalf Of *Vaibhav Jain *Sent:* Thursday, 24 July 2014 2:45 PM *To:* support@drupal.org *Cc:* Don
*Subject:* Re: [support] Content being deleted
Did you recently updated to Drupal 7.29 ? Please see that it has a similar bug related to it. If so, Revert back to 7.28 now.
On Thu, Jul 24, 2014 at 5:53 AM, Yani akayani@aapt.net.au wrote:
D7 with all modules and theme totally up to date.
PHP 5.4
Running on a virtual server with 200MB of memory allocated to the site.
It’s not happening on every content type only 2 that were created 2+ years ago and only in what would have been the original body field.
I can’t imagine what has the ability to do this, more over after I revert and get the content back it is being Zapped again.
Yani
*From:* Don [mailto:donald@fane.com] *Sent:* Thursday, 24 July 2014 9:07 AM *To:* support@drupal.org; Yani *Subject:* Re: [support] Content being deleted
D 7 or D 6? The ISAM tables in D6 are a lot more vulnerable to corruption.
What version are you running, and on what platform? What version of PHP?
-Don-
On 7/23/2014 6:35 PM, Yani wrote:
Hi,
I have a site that has been running happily for years. Being “good” I keep all the modules up to date.
Recently 2 custom content types that are also used in a views table.
What is happening is the content in the body field is being deleted. I can revert to get the content back, view it, yet it is again deleted.
I can’t see anything wrong in the views control. In fact I can’t track where the error is occurring period.
Has anyone experienced such an error associated with updates to views, CKeditor, jQuery or other modules?
Any clues on how I can trouble shoot this?
Yani
--
-- -Don Pickerel- Fane Software
-- [ Drupal support list | http://lists.drupal.org/ ]
-- Regards, Vaibhav Jain
-- [ Drupal support list | http://lists.drupal.org/ ]
Yeah I’d say it was ckeditor too... more stuff has gone missing, this time in forums.
Module: CKEditor 7.x-1.15
App: CKEditor 4.4.2
Why is it doing it to content in view mode that existed and haven’t been opened for an edit?
Yani
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Lucas Hedding Sent: Friday, 25 July 2014 12:34 AM To: support@drupal.org Cc: Don Subject: Re: [support] Content being deleted
It is probably ckeditor. What version of ckeditor are you running?
Lucas
MTech, LLC http://www.mtech-llc.com
On Thu, Jul 24, 2014 at 1:59 AM, Yani akayani@aapt.net.au wrote:
It happened around 7.20-7.24 guessing.
My guts says it is the text format and something that changed with updating CKeditor or Views.
I’m really hoping to rule out whatever the collective experience is.
I’m guessing if no one has seen the issue then I’ll focus on whatever is different about these pages.
Yani
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Vaibhav Jain Sent: Thursday, 24 July 2014 2:45 PM To: support@drupal.org Cc: Don
Subject: Re: [support] Content being deleted
Did you recently updated to Drupal 7.29 ? Please see that it has a similar bug related to it. If so, Revert back to 7.28 now.
On Thu, Jul 24, 2014 at 5:53 AM, Yani akayani@aapt.net.au wrote:
D7 with all modules and theme totally up to date.
PHP 5.4
Running on a virtual server with 200MB of memory allocated to the site.
It’s not happening on every content type only 2 that were created 2+ years ago and only in what would have been the original body field.
I can’t imagine what has the ability to do this, more over after I revert and get the content back it is being Zapped again.
Yani
From: Don [mailto:donald@fane.com] Sent: Thursday, 24 July 2014 9:07 AM To: support@drupal.org; Yani Subject: Re: [support] Content being deleted
D 7 or D 6? The ISAM tables in D6 are a lot more vulnerable to corruption.
What version are you running, and on what platform? What version of PHP?
-Don-
On 7/23/2014 6:35 PM, Yani wrote:
Hi,
I have a site that has been running happily for years. Being “good” I keep all the modules up to date.
Recently 2 custom content types that are also used in a views table.
What is happening is the content in the body field is being deleted. I can revert to get the content back, view it, yet it is again deleted.
I can’t see anything wrong in the views control. In fact I can’t track where the error is occurring period.
Has anyone experienced such an error associated with updates to views, CKeditor, jQuery or other modules?
Any clues on how I can trouble shoot this?
Yani
It wouldn't. All the CKEditor module does is alter the edit form to provide the needed changes to accommodate the CKEditor Javascript library.
Honestly, it sounds like you got something going on with your input filters. The simplest check is to look right in the database, at the field_data_body table. Search for the nid of one of the posts that is having a problem and see if the body_content column still has the data. If so, then get the input format id from the body_format column. Now go to this page on your site:
http://example.com/admin/config/content/formats/%7Bbody_format id from above}
If the page exists, then make sure nothing has changed on the filter (common one with WYSIWYG - make sure the <p> tag is allowed. If not, then paragraphs are stripped out). If that page is a 404, then somehow the filter got deleted.
If all that checks out ok, then I would install the devel module and then go to an affected node and click the devel tab. Look at the dumped data to see if the body is actually there.
Jamie Holly http://hollyit.net
On 7/27/2014 9:19 AM, Yani wrote:
Yeah I'd say it was ckeditor too... more stuff has gone missing, this time in forums.
Module: CKEditor 7.x-1.15
App: CKEditor 4.4.2
Why is it doing it to content in view mode that existed and haven't been opened for an edit?
Yani
*From:*support-bounces@drupal.org [mailto:support-bounces@drupal.org] *On Behalf Of *Lucas Hedding *Sent:* Friday, 25 July 2014 12:34 AM *To:* support@drupal.org *Cc:* Don *Subject:* Re: [support] Content being deleted
It is probably ckeditor. What version of ckeditor are you running?
Lucas
MTech, LLC http://www.mtech-llc.com
On Thu, Jul 24, 2014 at 1:59 AM, Yani <akayani@aapt.net.au mailto:akayani@aapt.net.au> wrote:
It happened around 7.20-7.24 guessing.
My guts says it is the text format and something that changed with updating CKeditor or Views.
I'm really hoping to rule out whatever the collective experience is.
I'm guessing if no one has seen the issue then I'll focus on whatever is different about these pages.
Yani
*From:*support-bounces@drupal.org mailto:support-bounces@drupal.org [mailto:support-bounces@drupal.org mailto:support-bounces@drupal.org] *On Behalf Of *Vaibhav Jain *Sent:* Thursday, 24 July 2014 2:45 PM *To:* support@drupal.org mailto:support@drupal.org *Cc:* Don
*Subject:* Re: [support] Content being deleted
Did you recently updated to Drupal 7.29 ? Please see that it has a similar bug related to it. If so, Revert back to 7.28 now.
On Thu, Jul 24, 2014 at 5:53 AM, Yani <akayani@aapt.net.au mailto:akayani@aapt.net.au> wrote:
D7 with all modules and theme totally up to date.
PHP 5.4
Running on a virtual server with 200MB of memory allocated to the site.
It's not happening on every content type only 2 that were created 2+ years ago and only in what would have been the original body field.
I can't imagine what has the ability to do this, more over after I revert and get the content back it is being Zapped again.
Yani
*From:*Don [mailto:donald@fane.com mailto:donald@fane.com] *Sent:* Thursday, 24 July 2014 9:07 AM *To:* support@drupal.org mailto:support@drupal.org; Yani *Subject:* Re: [support] Content being deleted
D 7 or D 6? The ISAM tables in D6 are a lot more vulnerable to corruption.
What version are you running, and on what platform? What version of PHP?
-Don-
On 7/23/2014 6:35 PM, Yani wrote:
Hi, I have a site that has been running happily for years. Being "good" I keep all the modules up to date. Recently 2 custom content types that are also used in a views table. What is happening is the content in the body field is being deleted. I can revert to get the content back, view it, yet it is again deleted. I can't see anything wrong in the views control. In fact I can't track where the error is occurring period. Has anyone experienced such an error associated with updates to views, CKeditor, jQuery or other modules? Any clues on how I can trouble shoot this? Yani--
-- -Don Pickerel- Fane Software
-- [ Drupal support list | http://lists.drupal.org/ ]
-- Regards, Vaibhav Jain
-- [ Drupal support list | http://lists.drupal.org/ ]
I believe ckeditor 4 isn't supported Op 27 jul. 2014 15:21 schreef "Yani" akayani@aapt.net.au:
Yeah I’d say it was ckeditor too... more stuff has gone missing, this time in forums.
Module: CKEditor 7.x-1.15
App: CKEditor 4.4.2
Why is it doing it to content in view mode that existed and haven’t been opened for an edit?
Yani
*From:* support-bounces@drupal.org [mailto:support-bounces@drupal.org] *On Behalf Of *Lucas Hedding *Sent:* Friday, 25 July 2014 12:34 AM *To:* support@drupal.org *Cc:* Don *Subject:* Re: [support] Content being deleted
It is probably ckeditor. What version of ckeditor are you running?
Lucas
MTech, LLC http://www.mtech-llc.com
On Thu, Jul 24, 2014 at 1:59 AM, Yani akayani@aapt.net.au wrote:
It happened around 7.20-7.24 guessing.
My guts says it is the text format and something that changed with updating CKeditor or Views.
I’m really hoping to rule out whatever the collective experience is.
I’m guessing if no one has seen the issue then I’ll focus on whatever is different about these pages.
Yani
*From:* support-bounces@drupal.org [mailto:support-bounces@drupal.org] *On Behalf Of *Vaibhav Jain *Sent:* Thursday, 24 July 2014 2:45 PM *To:* support@drupal.org *Cc:* Don
*Subject:* Re: [support] Content being deleted
Did you recently updated to Drupal 7.29 ? Please see that it has a similar bug related to it. If so, Revert back to 7.28 now.
On Thu, Jul 24, 2014 at 5:53 AM, Yani akayani@aapt.net.au wrote:
D7 with all modules and theme totally up to date.
PHP 5.4
Running on a virtual server with 200MB of memory allocated to the site.
It’s not happening on every content type only 2 that were created 2+ years ago and only in what would have been the original body field.
I can’t imagine what has the ability to do this, more over after I revert and get the content back it is being Zapped again.
Yani
*From:* Don [mailto:donald@fane.com] *Sent:* Thursday, 24 July 2014 9:07 AM *To:* support@drupal.org; Yani *Subject:* Re: [support] Content being deleted
D 7 or D 6? The ISAM tables in D6 are a lot more vulnerable to corruption.
What version are you running, and on what platform? What version of PHP?
-Don-
On 7/23/2014 6:35 PM, Yani wrote:
Hi,
I have a site that has been running happily for years. Being “good” I keep all the modules up to date.
Recently 2 custom content types that are also used in a views table.
What is happening is the content in the body field is being deleted. I can revert to get the content back, view it, yet it is again deleted.
I can’t see anything wrong in the views control. In fact I can’t track where the error is occurring period.
Has anyone experienced such an error associated with updates to views, CKeditor, jQuery or other modules?
Any clues on how I can trouble shoot this?
Yani
--
-- -Don Pickerel- Fane Software
-- [ Drupal support list | http://lists.drupal.org/ ]
-- Regards, Vaibhav Jain
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
It seems to be supported to me. I did a custom build on the ckeditor site. I can’t remember all the details. It was working fine but without all the icons in the toolbar even though there were moved in place in the module control page. The solution was to do a custom build of the editor on the CKE home page.
Content filters... if they impact viewing that would seem likely. Checking.
Yani
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Paul Rijke Sent: Sunday, 27 July 2014 11:43 PM To: support@drupal.org Subject: Re: [support] Content being deleted
I believe ckeditor 4 isn't supported
Op 27 jul. 2014 15:21 schreef "Yani" akayani@aapt.net.au:
Yeah I’d say it was ckeditor too... more stuff has gone missing, this time in forums.
Module: CKEditor 7.x-1.15
App: CKEditor 4.4.2
Why is it doing it to content in view mode that existed and haven’t been opened for an edit?
Yani
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Lucas Hedding Sent: Friday, 25 July 2014 12:34 AM To: support@drupal.org Cc: Don Subject: Re: [support] Content being deleted
It is probably ckeditor. What version of ckeditor are you running?
Lucas
MTech, LLC http://www.mtech-llc.com
On Thu, Jul 24, 2014 at 1:59 AM, Yani akayani@aapt.net.au wrote:
It happened around 7.20-7.24 guessing.
My guts says it is the text format and something that changed with updating CKeditor or Views.
I’m really hoping to rule out whatever the collective experience is.
I’m guessing if no one has seen the issue then I’ll focus on whatever is different about these pages.
Yani
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Vaibhav Jain Sent: Thursday, 24 July 2014 2:45 PM To: support@drupal.org Cc: Don
Subject: Re: [support] Content being deleted
Did you recently updated to Drupal 7.29 ? Please see that it has a similar bug related to it. If so, Revert back to 7.28 now.
On Thu, Jul 24, 2014 at 5:53 AM, Yani akayani@aapt.net.au wrote:
D7 with all modules and theme totally up to date.
PHP 5.4
Running on a virtual server with 200MB of memory allocated to the site.
It’s not happening on every content type only 2 that were created 2+ years ago and only in what would have been the original body field.
I can’t imagine what has the ability to do this, more over after I revert and get the content back it is being Zapped again.
Yani
From: Don [mailto:donald@fane.com] Sent: Thursday, 24 July 2014 9:07 AM To: support@drupal.org; Yani Subject: Re: [support] Content being deleted
D 7 or D 6? The ISAM tables in D6 are a lot more vulnerable to corruption.
What version are you running, and on what platform? What version of PHP?
-Don-
On 7/23/2014 6:35 PM, Yani wrote:
Hi,
I have a site that has been running happily for years. Being “good” I keep all the modules up to date.
Recently 2 custom content types that are also used in a views table.
What is happening is the content in the body field is being deleted. I can revert to get the content back, view it, yet it is again deleted.
I can’t see anything wrong in the views control. In fact I can’t track where the error is occurring period.
Has anyone experienced such an error associated with updates to views, CKeditor, jQuery or other modules?
Any clues on how I can trouble shoot this?
Yani