Api for integration with ubuntus unity api for drupal7
At the moment provides a hook to add menu links to Unity Hud, and sets the application Icon to the set favicon in drupal.
Includes a submodule to add the basic drupal navigation to the Hud.
more info / screenshot in the sandbox description:
http://drupal.org/sandbox/derEremit/1705882
git clone --recursive --branch 7.x-1.x http://git.drupal.org/sandbox/derEremit/1705882.git unity_webapp_integration
cd unity_webapp_integration
Comments
Comment #1
cthiebault commentedAutomatic review does not give any warning as your code follows Drupal standards :-)
Manual review
Comment #2
patrickd commented@cthiebault please follow workflow: found major issues -> needs work / found no major issues -> RTBC. Leaving issues at needs review when your finished does not really help applicants.
Comment #3
cthiebault commentedSorry for this...
I did not change status as I reviewed the code but did not test it (I'm not running Unity)...
Comment #4
leschekfm commentedI have noticed that there is a hardcoded baseurl in unity_webapp.module line 28.
If that part was made dynamic I would call this RTBC.
Comment #5
derEremit commentedeasy fix,
commited,
and thanks for the review...
Comment #6
leschekfm commentedAh, that was fast :)
Tested the module again and it works.
As I didn't notice any other major issues, I think this is RTBC.
Comment #7
patrickd commented* Insert Javascript into the page.
*/
function unity_webapp_page_alter(&$page) {
should be
/**
* Implements hook_page_alter().
*
* Insert Javascript into the page.
*/
function unity_webapp_page_alter(&$page) {
* Call hooks to build the links.
* @return array
* array with links from called hooks
*/
should be
/**
* Call hooks to build the links.
*
* @return array
* array with links from called hooks
*/
should look like
// Replace standard drupal favicon with higher quality one.
Use a space between // and the comment, begin the comment capitalized and end your comments with . ! or ?
You should really care a little more about commenting ;) but no blockers for me here, therefore
Thanks for your contribution!
I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.