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

Extending Drupal modules for newbies: hacking simplevote

Hi,

I've had the pleasure of extending the SimpleVote module lately and I wanted to share some of the things I learned with other starting developers. I extended the SimpleVote module to add access control, association with node types and other things. The text I wrote is too big to post here so I will link to it. I have also included the source of the extended module, together with the code of the original module.

http://www.singularity.be/hacking_simplevote

greets,
-- Steven

E-commerce and Voting module

Hi,

I have installed E-commerce and Voting module.

How can I create products in E-commerce that sell access to Voting module.

for example, users can buy access to vote 5 times.

Greatly appreciate all comments.

Thanks, Darly

how to upload a video in video.module

please help me to solve hoe to upload a video file in video.module.

Another one is how to work the postcard module.
Can i create content like postcard or anything else?

How to add some content between head tags from module ?

Hello,
my question is:
How to add some content between head tags from module ?
When I use

<?php theme('page',$something); ?>

I have content of the $something under the page's title.
Is there any

<?php theme('head',$something); ?>

function ?

i18n and phptemplate

Clean URLS, i18n-module and phptemplate

I was having some troubles configuring my frontpage as I liked. After messing around with the $page==0 and $is_front Variables in phptemplate and testing several php-Hacks directly in the page.tpl.php file I found a solution to get phptemplate's $is_front Variable running correctly:

phptemplate.engine, lines 79 and 80 read as follows:

Module for uncommentable nodes

Hi everybody!

Is there a way to create a module which define a new node type
which can not be commented?
(comment disabled by default)

Thanks.

Fabio

Pages

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