Git Product home page Git Product logo

wet-boew-drupal's Introduction

Web Experience Toolkit: Drupal WxT

Build Status Selenium Test Status

Important Links

Overview

The Drupal WxT distribution is a web content management system which assists in building and maintaining innovative Web sites that are accessible, usable, and interoperable. This distribution is open source software and free for use by departments and external Web communities. This distribution relies and integrates extensively on the WET-BOEW jQuery Framework to leverage much of the rendering and overall markup.

Development has been tailored for organizations that need to comply with standards for accessibility and bilingualism or that simply need a distribution that allows them to get up and running quickly using a carefully curated selection of modules that can support common enterprise business requirements.

Installation Methods

Version History

Changelog

Releases

License and Developer(s)

Contributor(s): https://github.com/wet-boew/wet-boew-drupal/graphs/contributors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

wet-boew-drupal's People

Contributors

colans avatar dsamojlenko avatar eleclerc avatar ericdunsworth avatar gdaw avatar jaysonpeltzer avatar joejoseph00 avatar kieran-github avatar nathanpw avatar pacoup avatar pat-norris avatar patcon avatar ptsimard avatar rikarux avatar robjohnston avatar simongeorges avatar sinkinsona avatar statcan-svc avatar stephenott avatar sylus avatar zachomedia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wet-boew-drupal's Issues

Undefined index: SERVER_ADDR in webexp_apps_servers_info()

IIS does not have a server variable called SERVER_ADDR. When installing, and in some operations (such as clearing the cache) the following notification is shown:

Notice: Undefined index: SERVER_ADDR in webexp_apps_servers_info() (line 193 of D:\internet\dmz_drupal\profiles\webexp\webexp.profile).

I've fixed this after installation by changing line 193 to:
'server_ip' => gethostbyname($_SERVER['SERVER_NAME']),

Production Considerations

Hi All,

Looking to find out if there is any documentation that has been put together on production considerations for using the wet drupal variant? I know the base drupal requirements. But anything special for the enhancements that have been made, and the security requirements for gov?

Thanks

Ajax error when configuring panel on page after creating a new text panel entity

Getting the follow message box error after the following steps:

  1. Go to a Basic Page
  2. Select Configure This Page
  3. Create a New Panel
  4. In the new panel creation window select the Text Entity window provide a Title and content text.
  5. Save Panel and Save Page.
  6. On the same page select the Configure this Page button again
  7. Select the Configure Gears for a panel. The error message below should appear.

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /panels/ajax/ipe/edit-pane/panelizer%3Anode%3A6%3Apage_manager/new-3
StatusText: OK
ResponseText: [{"command":"settings","settings":{"basePath":"/","pathPrefix":"","ajaxPageState":{"theme":"wetkit_adaptivetheme","theme_token":"kn1AEYc4Dg2HQWa9bvVmM9Utdc62Y9Aw-xSYE2dfsKY"},"overlay":{"paths":{"admin":"file//edit\nfile//delete\nuser//linkchecker\nlinkchecker//edit\nmedia//edit/\noverlay/dismiss-message\nuser//shortcuts\nadmin\nadmin/\nbatch\ntaxonomy/term//edit\nuser//cancel\nuser//edit\nuser//edit/\ntaxonomy//translate\ntaxonomy//translate/\nadmin/structure/panels/entity/view//panelizer\nnode//panelizer\ntaxonomy/term//panelizer\nuser//panelizer\nnode//revisions/view//","non_admin":"admin/structure/block/demo/\nadmin/apps//app//enable\nadmin/apps//app//disable\nadmin/reports/status/php"},"pathPrefixes":["fr"],"ajaxCallback":"overlay-ajax"},"CToolsModal":{"modalSize":{"type":"scale","width":".8","height":".8","addWidth":0,"addHeight":0,"contentRight":25,"contentBottom":75},"modalOptions":{"opacity":".55","background-color":"#FFF"},"animationSpeed":"fast","modalTheme":"CToolsModalDialog","throbberTheme":"CToolsModalThrobber"}},"merge":true},{"command":"modal_display","title":"Error","output":"Invalid pane id."}][{"command":"settings","settings":{"basePath":"/","pathPrefix":"","ajaxPageState":{"theme":"wetkit_adaptivetheme","theme_token":"kn1AEYc4Dg2HQWa9bvVmM9Utdc62Y9Aw-xSYE2dfsKY"},"overlay":{"paths":{"admin":"file//edit\nfile//delete\nuser//linkchecker\nlinkchecker//edit\nmedia//edit/\noverlay/dismiss-message\nuser//shortcuts\nadmin\nadmin/\nbatch\ntaxonomy/term//edit\nuser//cancel\nuser//edit\nuser//edit/\ntaxonomy//translate\ntaxonomy//translate/\nadmin/structure/panels/entity/view//panelizer\nnode//panelizer\ntaxonomy/term//panelizer\nuser//panelizer\nnode//revisions/view//","non_admin":"admin/structure/block/demo/\nadmin/apps//app//enable\nadmin/apps//app//disable\nadmin/reports/status/php"},"pathPrefixes":["fr"],"ajaxCallback":"overlay-ajax"},"CToolsModal":{"modalSize":{"type":"scale","width":".8","height":".8","addWidth":0,"addHeight":0,"contentRight":25,"contentBottom":75},"modalOptions":{"opacity":".55","background-color":"#FFF"},"animationSpeed":"fast","modalTheme":"CToolsModalDialog","throbberTheme":"CToolsModalThrobber"}},"merge":true},{"command":"modal_dismiss"}]

More Documentation on GitHub

Documentation work has started in earnest. It would be greatly appreciated if we could get some people skilled at writing and correct documentation to ensure the best readability.

@LeeHunter I don't suppose could persuade you to give some of the Wiki Pages a gander? :)

More coming tomorrow!

Proactive Disclosure

in response to @sylus ,
currently I've completed a barebones content types for PD (proactive disclosure)

Done:
PD Contract

Todo: (I'm working on these, hopefully done by end of day tomorrow)
PD Hospitality
PD Travel
PD Reclassification

MORE Todo:

  • Generate feature of above for collab,
  • views
    • Contract
    • Reclassification
    • Travel & Hospitality
  • menu
  • perms
  • admin
  • import from csv
  • taxonomy

The plan is to export this to a feature for collaboration and versioning and then eventually turn it into an app if needed.

Challenge #1: the translations do not export to the feature when I tested it, so to mitigate this I'm putting english and french in the description fields so that the translations can be more easily done at the end of the process.

I've never used Github before but I'll try to put the feature up here somewhere by thursday or friday. It will have the basic content types and fields.

I've got the luxury of having a Drupal 6 implementation to look at but have not been able to duplicate the money field because the money field module doesn't exist in Drupal 7 so for now it's just a text field (oh well, format it with code I guess, put a dollar sign there, validate)

Dependancies: http://ftp.drupal.org/files/projects/references-7.x-2.0.tar.gz
node reference, not exactly sure why yet this is needed, but it's in our Drupal 6 implementation

workflow: I will try to document in detail the workflow requirements by next week or the week after.

Note: I'm doing this as a Drupal 7 learning exercise, so far I've learned quite a bit.

IE7-IE8 Panels In Place Editor

Most of the new changes are in except there are some problems using the Panels In Place Editor in IE7+8.

I am working on resolving this issues but thought making an issue stating I am aware of the problem would be beneficial :)

University of Ottawa (Contrib Modules)

Hey all,

I had some exciting news that I just couldn't wait to share. As some of you know Ottawa University has been participating in working alongside this distribution. I just came from a meeting with them today to see the progress they have been making.

In short I was amazed. They have developed a total of 6 modules and each of them offer some pretty amazing functionality. The two that most impressed me were the enhanced migration interface and the french language integration improvements. To be clear when I say improvements I mean improvements! The french language has been so seamlessly integrated in drupal it is quite possibly the best work I have seen in this work space.

Anyways they are committed to collaborating and will be sharing this code shortly so look for even more improvements coming through the pipeline. There of course will be no base architecture changes as these are all just value added improvements.

All in all collaboration is starting to happen and I couldn't be happier!

Exciting!!!

Error on Panelizer Layout

Getting the following error notice:
Notice: unserialize() [function.unserialize]: Error at offset 106 of 937 bytes in panels_common_get_allowed_layout_object() (line 426 of /Users/MyUser/Sites/WET/drupal_wet/profiles/wetkit/modules/contrib/panels/includes/common.inc).

Error appears from the following action:

  1. Create new Basic Page.
  2. Create English Content and Save
  3. View newly created page and select the Panelizer Tab
  4. Under the Operations column for Full Page Override select the layout link.
  5. Layout options appear and Error appears.

Selenium Integration

Ala http://seleniumhq.org/ I would love to get some automated browser testing working for this distribution as think it would greatly improve the quality of the code when new updates come in. Firefox has a plugin for it that will directly map user based actions on Drupal. Pretty easy to setup too.

The good news is that our Travis (Continous Integration) build works with Selenium. So could run the tests on every commit. See support for this at: http://about.travis-ci.org/docs/user/gui-and-headless-browsers/

I have to admit I don't really have the time now to implement this but it is on my radar. If anyone is willing to take a further look into this would be appreciated!

Drush Make produces 3 DRUSH_BACKEND errors

I've noticed this for the last couple days and you can see the error below. Is this just me?


$ drush make --no-gitinfofile --working-copy https://github.com/wet-boew/wet-boew-drupal/raw/master/distro.make C:/Users/r_johnston/Documents/Projects/wet-boew
-drupal_2012-07-12
drupal-7.14 downloaded.                                                                                                                                     [ok]

drupal patched with drupal-actions-985814-11-D7.patch.                                                                                                      [ok]

drupal patched with drupal-1558548-3.patch.                                                                                                                 [ok]

drupal patched with drupal-image_instance_checking-1559696-2.patch.                                                                                         [ok]

drupal patched with drupal-7881-394-1.patch.                                                                                                                [ok]

drupal patched with drupal-7881-394-2.patch.                                                                                                                [ok]

drupal patched with drupal-1468686-8.patch.                                                                                                                 [ok]

drupal patched with 1400256-field_info_collate_fields-7.patch.                                                                                              [ok]

Generated PATCHES.txt file for drupal                                                                                                                       [ok]

wetkit cloned from https://github.com/wet-boew/wet-boew-drupal.git.                                                                                         [ok]

Found makefile: wetkit.make                                                                                                                                 [ok]

DRUSH_BACKEND:{"type":"command","message":"Backend invoke: php \"C:\\\\ProgramData\\\\Drush\\\\drush.php\"  --backend=2 --reserve-margin=4 make-process \"C:\/Us
ers\/R_JOHN~1\/AppData\/Local\/Temp\/make_tmp_1342098010_4ffeca5ae05f8\" 2>&1","timestamp":1342098068.4494,"memory":6478864,"error":null,"packet":"log"}













 DRUSH_BACKEND:{"type":"command","message":"Backend invoke: php \"C:\\\\ProgramData\\\\Drush\\\\drush.php\"  --backend=2 --reserve-margin=4 make-process \"C:\/U
sers\/R_JOHN~1\/AppData\/Local\/Temp\/make_tmp_1342098010_4ffeca5ae05f8\" 2>&1","timestamp":1342098068.5495,"memory":6491032,"error":null,"packet":"log"}













 DRUSH_BACKEND:{"type":"command","message":"Backend invoke: php \"C:\\\\ProgramData\\\\Drush\\\\drush.php\"  --backend=2 --reserve-margin=4 make-process \"C:\/U
sers\/R_JOHN~1\/AppData\/Local\/Temp\/make_tmp_1342098010_4ffeca5ae05f8\" 2>&1","timestamp":1342098068.5504,"memory":6503800,"error":null,"packet":"log"}













 DRUSH_BACKEND:{"type":"command","message":"Backend invoke: php \"C:\\\\ProgramData\\\\Drush\\\\drush.php\"  --backend=2 --reserve-margin=4 make-process \"C:\/U
sers\/R_JOHN~1\/AppData\/Local\/Temp\/make_tmp_1342098010_4ffeca5ae05f8\" 2>&1","timestamp":1342098068.5519,"memory":6516072,"error":null,"packet":"log"}tao-7.x
-3.0-beta4 downloaded.                                                                                                                               [ok]
rubik-7.x-4.0-beta8 downloaded.                                                                                                                             [ok]

adaptivetheme cloned from http://git.drupal.org/project/adaptivetheme.git.                                                                                  [ok]

search404-7.x-1.1 downloaded.  

<snip>

New Node Edit Screen

The New Node Edit screen is a significant improvement. However metatags and workbench moderation tend to make the benefits less apparent. Some more work is needed to make this screen more simplistic and less of an information overload.

Skinr not part of distro

Any reason why skins was left out of the distro.
I see that WetKitStyles needs it. Is this ongoing work?

Admin menu performance

Disable Overlay:
For improved performance of the admin menu and to get more admin menu real-estate, we (OTC-CTA) disable the overlay module manually after install and have not noticed any problems

Documentation

Now that the code has more or less stabilized and the basic foundation of modules are set it is time to write some detailed documentation.

Translation of Menus

Hi Guys,

Still reviewing and working into your code and configuration. Trying to get a handle on some of the decisions made for the out of the box configuration.

I am looking at the Menus and I see that you translate the menus within the English parent menu object rather than using the "Translation Set" feature (creating a English menu and a French menu as separate objects and relating them after wards)

Any specific reason for doing this?

Thanks

User Login Error while in Site Maintenance Mode

While in Site Maintenance Mode and logged out, if you to go to: yoursite.com/user you will get the following error notices:

Notice: Undefined index: menu_lang_bar in wetkit_adaptivetheme_preprocess_page() (line 164 of /Users/myuser/Sites/WET/drupal_wet/profiles/wetkit/themes/wetkit_adaptivetheme/inc/template-preprocess.inc).
Notice: Undefined variable: polyfills in include() (line 27 of /Users/myuser/Sites/WET/drupal_wet/profiles/wetkit/themes/wetkit_adaptivetheme/templates/maintenance-page.tpl.php).

Git Workflow

This new repository of wet-boew-drupal will be using a github-flow.

It is encouraged that all contributors wishing to collaborate will also using this workflow.

The workflow is discussed in detail here: http://scottchacon.com/2011/08/31/github-flow.html

Ultimately github-flow relies on forking a repository and sending a pull request for each change.

Set default path prefix language code for "en"

Small suggestion related to URL path design -- it might be worth changing the default "path prefix language code" for English, from nothing, to "en", on eg. /admin/config/regional/language/edit/en

That way, instead of having URLs such as
example.com/contactus
and example.com/fr/contacteznous
...both languages will then have a language code (and avoid English being seen as primary, French secondary, etc.)

There doesn't seem to be a GoC standard on URL design, but we're tentatively planning to move to language prefixes (eg. en/ and fr/) rather than "something-eng.html" and "something-fra.html" as in the past.

Theme Documentation

Is there any documentation that can be posted on how the theme the subtheme(s) has been set up and any relevant documentation?

Simple Tests

Placeholder stating the need to get some SimpleTest test scripts for the distribution.

Performance issue with package (webexp-7.x-1.0)

Hello,

We have downloaded the previous WET Distro package in February and are halfway completed the implementation for our internal website and ran into a critical performance problem.

We simulated a performance tuning testing on the environment for multiple concurrence hits on the website and noticed a 90% peak in memory usage. We increased RAM/CPU capacity on the server and still the same results.

We did a comparison performance testing between a vanilla Drupal package and the WET Distro package. The different is enormous. The vanilla version take a few second comparing to the later. We are too far in the implementation phase of the project to use the new version of the WET Distro package.

I am looking for a solution to fix the performance issue.

• Is there any solution available to increase the performance? For example: snippet PHP code or tweet/modification in WET Distro Drupal.
• To help us troubleshoot, could someone confirm that the Drupal core has been modified? If yes, which core modules are affected.

General Information:

Drupal version 7.12
Install profile WebExp (webexp-7.x-1.0)
WAMP platform: MySQL 5.5.23, PHP 5.3.14, Apache 2.4.2

Any recommendation or feedback is greatly appreciated.

Accessible Survey Tool

Anyone know of a Accessible Survey tool that can be integrated with Drupal or something similar?
WET have anything of use? Have not found anything that could do this.

WAI-ARIA & Panels & Panopoly

Posted a note here about panels & aria support. Certainly live regions should be added and be able to be added to describe content areas.
http://drupal.org/node/1681940

I have to look more at the code and learn how we can add more semantic meaning to this rich new interface. Without that it could be quite an accessibility challenge.

New InPlace Editor Better Defaults

The New InPlace Editor can show a lot of things but most are disabled by default. This needs to be corrected. Things that definitely have to be added are:

  1. Existing Node
  2. Existing Blocks
  3. More Entities

AJAX HTTP error on "Install profile" step with MS SQL Server.

I was on my way to give you more info about issue #37 and started from scratch, using drush make to get the latest version after pull request #52, but I ran into a new error near the end of the "Install profile" step. Here it is (I've just changed the name of the site to something more generic and added CRLFs for readability):


An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows.
Path: http://dr.maint.internal.net/install.php?profile=webexp&locale=en&id=1&op=do StatusText: OK ResponseText: Home | Drupal
@import url("http://dr.maint.internal.net/modules/system/system.messages.css?0");
@import url("http://dr.maint.internal.net/modules/system/system.base.css?0");
@import url("http://dr.maint.internal.net/modules/system/system.theme.css?0");
@import url("http://dr.maint.internal.net/modules/system/system.menus.css?0");
@import url("http://dr.maint.internal.net/profiles/webexp/modules/contrib/date/date_api/date.css?0");
@import url("http://dr.maint.internal.net/profiles/webexp/modules/contrib/date/date_popup/themes/datepicker.1.7.css?0");
@import url("http://dr.maint.internal.net/modules/field/theme/field.css?0");
@import url("http://dr.maint.internal.net/modules/node/node.css?0");
@import url("http://dr.maint.internal.net/modules/search/search.css?0");
@import url("http://dr.maint.internal.net/modules/user/user.css?0");
@import url("http://dr.maint.internal.net/profiles/webexp/modules/contrib/views/css/views.css?0");
@import url("http://dr.maint.internal.net/profiles/webexp/modules/contrib/caption_filter/caption-filter.css?0");
@import url("http://dr.maint.internal.net/modules/system/system.admin.css?0");
@import url("http://dr.maint.internal.net/modules/system/system.maintenance.css?0");
@import url("http://dr.maint.internal.net/profiles/webexp/modules/contrib/ctools/css/ctools.css?0");
@import url("http://dr.maint.internal.net/profiles/webexp/modules/contrib/panels/css/panels.css?0");
@import url("http://dr.maint.internal.net/themes/seven/reset.css?0");
@import url("http://dr.maint.internal.net/themes/seven/style.css?0");
Home Installation tasks
Choose profile(done)
Choose language(done)Verify requirements(done)
Set up database(done)Install profile(active)
Configure siteImport French LanguageEnable apps supportInstall apps for WetKit (local)
Choose a themeFinished!
Warning message The Date API requires that you set up the site timezone and first day of week settings and the date format settings to function correctly.
The image resize filter has been installed. Before this does anything, the image resize filter needs to be added to one or more text formats. Visit the text format administration to set up this filter.
Status message A Display Suite code text format has been created.
Refreshed 2 strings for the enabled modules.
Refreshed 8 strings for the enabled modules.
To use menu blocks, find the "Add menu block" link on the administer blocks page.
Password policy module successfully installed. Please review the available configuration settings.
SQLSTATE[42000]: [Microsoft][SQL Server Native Client 10.0][SQL Server]Incorrect syntax near the keyword 'current'.

I've done this twice now with the same error. Installing on MS SQL Server, obviously.

Wiki Documentation

We will be using GitHub wiki pages for documentaiton to make things easier. This issue can be used to discuss the additions that are required in the documentation pages.

Currently a subset of the documentation pages on atlassian have been ported to GitHub.

Choose Theme: WetKit Adaptive Theme appears twice

During the install, when asked to select a theme, the "WetKit Adaptive Theme" appears twice. The first time with a thumbnail to the left of it (just like all the other themes) and the second time right below without the thumbnail. The titles and descriptions are identical.

I've got a screenshot if you want it.

Install fails due to missing entitycache module

I get the following error when pointing a web browser to the site for the install:

Fatal error: require_once() [function.require]: Failed opening required 'D:\internet\dmz_drupal/profiles/webexp/modules/contrib/entitycache/entitycache.module' (include_path='.;C:\php\pear') in D:\internet\dmz_drupal\includes\bootstrap.inc on line 3069

Looking at the directory structure, I see that there is an "entity" directory but not an "entitycache" directory. For what it's worth, the Drush Make command's only reference to entity is:


 >> Project entity contains 2 modules: entity, entity_token.
entity-7.x-1.0-rc3 downloaded.

and


file_entity cloned from http://git.drupal.org/project/file_entity.git.

Scheduler module

Any discussions for added content scheduling into the distro?

Sets dates and times for ready content to be published and unpublished?

In many cases we have content that is time sensitive. It is prepared before hand but only to go only at a certain time. Ability top schedule the content for publication would be valued, followed by the ability to set a un-publish date and time for when the content should be removed.

Wetkit Updates

Congratulations all for the excellent work in the WetKit Drupal distribution.

The distribution has been deployed to the Policy Horizons Canada’s website, and I would like to update the profile, Webexp (April/12) to Wetkit, before our project dead line next week. So, I wonder when we should expect to have back features such as the Slider and drop-down Mega-menu.

Thank you all for updating jQuery and SASS, as well as, the Wiki documentation that is much helpful to us.

Solange

administrative menu hidden from all administrators other than master admin user

administration role of web-boew drupal distro blocked from users other than admin

Steps to reproduce:

  1. install wet-boew
  2. log in as admin
  3. create new user (admin2 for example) and assign administration role
  4. log in as admin2 , try to find the admin menu (I couldn't find it)

in our drupal 6 cms we have several administrative users , not necessarily admin. I don't know if this is intentional or not.

Object doesn't support this property or method pe-ap-min.js

Hi,

I am currently doing a prototype using wet and Drupal and I have encountered the following JS error

Object doesn't support this property or method pe-ap-min.js?m5kg1u, line 5 character 1853

when the script hits this statement:

c(document).on("wet-boew-dependency-loaded",function(){var e,f;for(e=0,f=a.depends.on.length;e<f;e+=1){a.depends.on[e](e)}})

From what I can tell it's dying on the .on function, which is not defined in jQuery 1.5.2.

My question is how are you guys making this work with jQuery 1.7 methods if Drupal is only using 1.5.2? Or what setup am I missing?

My set up:
Drupal Core 7.14
wet-boew-wet-boew-drupal-4b183f0.zip
wet-boew-wet-boew-v3.0a1-157-g2c801aa.zip

Responsive Images *Need Feedback*

I have been following with active interest the following thread which discusses how responsive images should be handled in Drupal 8. A module has been created based on this feedback for both Drupal 7 and 8.

I would like to know what other people think about this module before I add it to the distribution: http://drupal.org/project/resp_img

The project page itself talks about other similar modules near the bottom.

Would love feedback!

People can see a tutorial of how this works here: http://atix.be/ZkM

2 Errors Found by WAVE Toolbar

In both cases it's a matter of the skip navigation link existing, but the anchor for the link does not.

It works fine in the WET theme.

Rules doesn't work well with jQuery Update

There seems to be a problem with using Rules with jQuery Update.

*Create rule
*Add an event (after saving content, content is viewed, or whatever)
*Add a condition
*Select Data Comparison
*Click Continue

At this point nothing happens and there is no error message, I just remain on the Add a New Condition page.

If I disable jQuery Update it works as expected. Since Rules is not very useful without being able to do Data Comparison, I'm wondering if I can just leave the jQuery Update module disabled, or if it's needed for something else in Wetkit.

Enabling Wetkit Slider causes major failure

On a clean install, enabling the Wetkit Slider module causes a major failure. I just get a bunch of error messages (below) and can't do anything at all. Had to go into the database to disable the module again and everything is back to normal.

Error
Error message
The specified file profiles/webexp/themes/wetkit_adaptivetheme/images/slider01.png could not be copied, because no file by that name exists. Please check that you supplied the correct filename.
The specified file profiles/webexp/themes/wetkit_adaptivetheme/images/slider02.png could not be copied, because no file by that name exists. Please check that you supplied the correct filename.
Notice: Undefined index: fid in file_field_presave() (line 219 of /var/www/drupal/modules/file/file.field.inc).
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of /var/www/drupal/includes/entity.inc).
Notice: Trying to get property of non-object in file_field_presave() (line 220 of /var/www/drupal/modules/file/file.field.inc).
Notice: Undefined property: stdClass::$uri in file_save() (line 570 of /var/www/drupal/includes/file.inc).
Notice: Undefined property: stdClass::$uri in file_entity_file_presave() (line 14 of /var/www/drupal/profiles/webexp/modules/contrib/file_entity/file_entity.file.inc).
Notice: Undefined index: fid in image_field_presave() (line 236 of /var/www/drupal/modules/image/image.field.inc).
Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of /var/www/drupal/includes/entity.inc).
Notice: Trying to get property of non-object in image_field_presave() (line 236 of /var/www/drupal/modules/image/image.field.inc).
Notice: Undefined property: stdClass::$fid in file_usage_add() (line 654 of /var/www/drupal/includes/file.inc).
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'fid' cannot be null: INSERT INTO {file_usage} (fid, module, type, id, count) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4); Array ( [:db_insert_placeholder_0] => [:db_insert_placeholder_1] => file [:db_insert_placeholder_2] => node [:db_insert_placeholder_3] => 10 [:db_insert_placeholder_4] => 1 ) in file_usage_add() (line 661 of /var/www/drupal/includes/file.inc).
The website encountered an unexpected error. Please try again later.

Youtube Screencasts

I am thinking about starting a small channel that every week will demo one small feature from this distribution. Was curious if this is something that people would want?

Fresh Installation - Theme disappears(?) after clicking on any admin menu

After clicking on any admin menu item, the clf3 theme disappears and errors are displayed:

Notice: Undefined index: highlighted in include() (line 124 of F:\xampp\htdocs\modules\system\page.tpl.php).
Notice: Undefined index: sidebar_first in include() (line 136 of F:\xampp\htdocs\modules\system\page.tpl.php).
Notice: Undefined index: sidebar_second in include() (line 142 of F:\xampp\htdocs\modules\system\page.tpl.php).
Notice: Undefined index: wetkit_adaptivetheme in drupal_theme_initialize() (line 100 of F:\xampp\htdocs\includes\theme.inc).
Notice: Trying to get property of non-object in _drupal_theme_initialize() (line 145 of F:\xampp\htdocs\includes\theme.inc).
Notice: Undefined index: wetkit_adaptivetheme in drupal_theme_initialize() (line 100 of F:\xampp\htdocs\includes\theme.inc).
Notice: Trying to get property of non-object in _drupal_theme_initialize() (line 145 of F:\xampp\htdocs\includes\theme.inc).
Notice: Trying to get property of non-object in _theme_load_registry() (line 334 of F:\xampp\htdocs\includes\theme.inc).
Notice: Undefined index: wetkit_adaptivetheme in theme_get_setting() (line 1332 of F:\xampp\htdocs\includes\theme.inc).
Notice: Trying to get property of non-object in theme_get_setting() (line 1369 of F:\xampp\htdocs\includes\theme.inc).
Notice: Trying to get property of non-object in theme_get_setting() (line 1379 of F:\xampp\htdocs\includes\theme.inc).

Any ideas?

Cache doesn't refresh for base page when adding translation

When you create a page and then add a translation to that page, the first page is cached before the translation link is made. So after creation if you visit the second page, the language toggle will take you to the first. But, since the first page was cached before the translation link was made, the language toggle does not work on that first page.

Clearing the drupal cache after page creation fixes this, but it would be nice if the system automatically refreshed the cache of the base page when adding a translation.

Notice: Undefined index: field in _fences_theme

Just after the install

Notice: Undefined index: field in _fences_theme() (line 30 of /Users/mike/shared/htdocs/wet-boew-drupal/profiles/webexp/modules/contrib/fences/fences.admin.inc).
x
Notice: Undefined index: field in _fences_theme() (line 32 of /Users/mike/shared/htdocs/wet-boew-drupal/profiles/webexp/modules/contrib/fences/fences.admin.inc).

IMPORTANT: Build Changes + UX Improvements

Some big UX improvements and Build Changes are coming down the pipe shortly. We will be basing a lot of our work on the amazing Drupal Panopoly distribution. Look for a rather large code commit by this Thursday at the latest.

If you would like to see some of the progress: https://github.com/sylus/wet-boew-drupalexp

For those curious Panopoly is perhaps the best drupal distribution for UX. In fact it is going to be used as the basis for the new authoring initiative called Spark.

http://drupal.org/project/panopoly
http://drupal.org/project/spark

I can appreciate that constant build changes is annoying however we have done some basic usability testing internally and across a few gov deparments with previous builds and needless to say work was needed to be done on the usability aspect.

We will be committing after the next build to do no more refactoring and in fact use the apps model for any additional changes. So please hold on to the end of this week and then rejoice at no more crazy refactoring.

Accessing WET Updates

I hope this is the right place to ask this question! I have the WET distro up and running and I'm wondering how to update my copy of WET when updates to are committed? Are WET updates accessible through Drupal's update manager?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.