This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Kodakgallery module

Hey all,

I need to have a page on my drupal driven site where I user can remotely log into their www.kodakgallery.com account and search their images in a pop up window.

The idea is hence to have a form on the page that once submitted will send a request to kodakgallery.com asking for a log in. The form obviously allows insertion of username & password.

Would I need a module for that especially built? Is there any starting off module that I could use?
Any generic module for remote logins?

Node deleting valitadion on own module..

I looked out and didn't find any clue to this question: What is the correct way (if possible) from my own module to validate the deletion of nodes of my own type?

Examples:
- to delete a poll, the poll should not be active first.
- to delete a group, no users but the owner should be in list.

icon in upcoming events module

Is anyone aware of a way to place an icon on the upcoming events block for each event? I was hoping to use image attach to upload the image, I just need to know what code to place in either the events.theme or events.module file. Any help is appreciated.

Easy question re: mods to core modules - how is this done correctly?

Hi, Quick easy question that will really help me to not muck things up.. :)

I want to change the behavior of core modules, eg.. I want node.module to show the content type next to the word "edit" on the menu tabs... or.. I want the menu.module to display the path in a column next to the menu title in the admin/menu display. To get this working I made my changes directly to the core modules, but I know this is not the right way to do this. Where do I put my modded code so that it gets hooked instead of the function call in the core module?

thanks!

equinox

BBCode Formatting Bar add Code button enhancement

hey guys ... I know that this is not the place to post this but the BBCode Formatting Bar project (http://drupal.org/node/24875) don't allow to post issues... so I wanted to share my enhancement to it..

I added a new extra button that adds tho [code] [/code] tags on the fly ... also they can be access with e short cut Ctrl+Shift+C

just copy the text below to a file (addcode.patch) and apply the patch in the modules/bbcode_wysiwyg folder with: patch -p0 < addcode.patch

here is the patch:

--- org/bbcode_wysiwyg.module 2007-02-24 14:29:04.000000000 -0600
+++ ./bbcode_wysiwyg.module 2007-02-24 15:19:46.000000000 -0600
@@ -81,6 +81,19 @@
'value' => t('Image'),
)) .'/>',
),
+ 'code' => array(
+ '#type' => 'markup',
+ '#value' => ' + 'type' => 'button',
+ 'id' => 'bbcode',
+ 'class' => 'bbcode_wysiwyg',
+ 'onclick' => 'codeSelection();setClicked(this.id);',
+ 'value' => t('Code'),
+ 'alt' => 'Ctrl+Shift+C',
+ 'title' => 'Ctrl+Shift+C',
+ )) .'/>',
+ ),
+
);
if ($is_story) {
$form['break'] = array(
--- org/quick_reply.js 2007-02-24 14:31:37.000000000 -0600
+++ ./quick_reply.js 2007-02-24 15:10:11.000000000 -0600
@@ -53,6 +53,24 @@
return sel;

Yahoo Shopping API

I am wondering how best to setup a module with the yahoo shopping api similar to how cameraprices.com uses the shopping.com api. I'm thinking the module would need to parse the xml and create nodes so they can be voted on, commented on, etc... The module would also need to implement a cache so as to not pull the xml via curl if it has already been processed in the db.

Any suggestions or module code to look over?

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions