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

Icons for Control Panel Module.

I've put together a 16x16 icon pack using the tango icon theme - 182 icons.

Would it be accepted as a contribution?

I have a screenshot here :

Another here :

drupal-control-panel-module-tango-icon-theme.rar

It can be downloaded from above for at least one month (Current date 08/07/06) before it will be deleted by store and serve.

If this is downloaded at least once a month it will not be removed. Feel open to add it to the main project should it be required.

Related : fooods icons. Unfortunately not permitted because of the licence and looks too much like joomla.

I'm really happy with Drupal. You guys rock! Keep up the good work.

These control panel icon names may assist anyone wanting to create future icon packs, the documentation is not clear on how to name each related icon.

(View The Full Version If You Cannot View The Entire List.)

Here's a list of all the created icons :

control_panel_default.png
admin_flexiblock.png
admin_logs_hits.png
admin_logs_pages.png

Trouble comparing tables and displaying correct information.

Okay, am creating a checklist of books (two actually). This displays their name, price, rarity, and a checkbox. I have one list that shows all books that have been Read. One shows all books that have Not been read. In order to do this I have two tables.
One is called collector_books. This contains approx 1400 books, their prices, their rarity (just a number...ranking system for rarity), and an sid number.
Then I have a second table, called collector_books_read. This contains only two things sid and uid. This table is what will be storing the data to determine which books a user has read.

The coding below is what I am using to display what books a user has read or has not read. It works fine for displaying what books a user Has read. However, the modification I did to show what books a user has Not read, does not work. The modification is what I show below. The only thing I changed was the $query statement. When I want to show what books I have read, I have "WHERE A1.sid = A2.sid"...that works. I thought changing the Equals to Not Equals would be all I have to do to get it to work show ones that I have Not read...however, instead it displays all the books twice, with the exception of the ones I have read (the ones I have read only show up once). To me, this shows that it is SEMI-working because it is eliminating the ones I have read...but for some reason shows the entire first table again.

I hope that all made sense...I know, very wordy. Don't mind the checkboxes, I haven't gotten to the stage where I can actualy have users check stuff off to move it from unread to read...or vise-versa.

Help is appreciated. I'm quite new to all this php/mysql stuff so please talk in lamenst(sp?) terms.


<?php

global $user;

$db = mysql_connect("localhost", "collin","MYPASSWORD");

mysql_select_db("colliny2k_neo",$db);

$query="SELECT * FROM collector_books A1, collector_books_read A2 WHERE A1.sid <> A2.sid AND A2.uid = $user->uid ORDER BY A1.book ASC";
$result=mysql_query($query);
$num=mysql_numrows($result);
mysql_close();
echo "Book Collector Checklist

new image_watermark.module needs some help

Hi community,

For a project of mine I'm in need of watermarked images in the image gallery. After searching and following some related threads there dosn't seem to be any public solid contributed solution out there yet that targets this issue. Nevertheless this feature is searched and desired by some other people and is often needed on professional photographer sites. Although my skills are limeted I thought I'll take a try, get involved, contribute something back to the community, learn, extend my skills and build my first drupal modul.

I noticed that it likely won't be a feature included in image.module because it's invented to be basic and feature less. So the right way to go seems to be a new module named image_watermark.module as a contribution to the image.module. Due to my low skills I've got some basic problems which a moderate developer should laugh about and may help me with ease. So here's what I've managed on my own by now. The following codeblocks are all placed in a file called image_watermark.module.

First I became friend with the form api and build the first basic administrative settings:

  • checkbox: to enable/disable the module
  • checkbox: to apply watermarks to thumbnails if desired (may be seperated in all from image.module generated sizes)
  • textfield: to set the location of the watermark image
  • selectbox: to choose where the watermark should be placed on the image (only center center works for now)

Webform - adding `keep copy to user' and print PDF

I am proposing WEBFORM.module for 4.7.2 to have the following capabilities:

1. Automatically assign an ID for future reference, for the user AND admin

2. User (anonymous or registered user) can keep a copy, with the ID and his inputs * whatever texts and options selected

3. Print it either formatted HTML, or PDF - important is the ID and the inputs

Currently I can only think of doing this by a JSP script. If JSP can do this, I hope the WEBFORM can add the extra function (auto reference ID, copy of inputs and ID, print)

Speaking URL's

I wrote a small snippet of code for generating automatic "speaking URL's" for taxonomy terms.
Currently this is located in settings.php and it works nice for my personal page (http://www.narres.com/).

Module used to manage modules

Hi !!

I'd like to manage projects like Drupal.org team managed the modules. I mean with bug, issues, ...
I've installed the Project Module for the 4.6.5 but I don't see the same organisation.

Can someone explain me how to have something like the site ?

Thanks in advance !

Pages

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