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

Where to start? Should I make a new module? Simpler way?

So, I'd like a form on my drupal site. It creates a new page and adds it as a primary link.

The Form has three fields:

Page Title: [ ]

Menu Title: [ ]

Body: [ ]

All the rest of the options I'd set programatically. I'll worry about moving setting the link weights next.

I could:

1) Hack a new custom version of the page module
2) Use an existing module (although I didn't see one...)
3) Use some smart tight PHP.
4) Others?

How to create themed modules

I appologize in advance. I'm sure this is covered somewhere but I swear I searched all last night and today before posting. I'm stumped.

So here's the project: http://www.jofaba.com

As you can see, I've got a theme to the modules. The only problem is that while it looks like what I want is already done, it's actually a mirage. What you see is hard coded into the page.tpl.php like this:

		<div id="right">
			<div class="boxtop"></div>
			<div class="boxx">
			
        <?php if ($sidebar_right != ""): ?>
        <?php print $sidebar_right ?>
        <?php endif; ?>

			</div>
			
			<div class="boxtop"></div>
			<div class="boxx">
        <?php if ($sidebar_left != ""): ?>
        <?php print $sidebar_left ?>
        <?php endif; ?>	
			</div>

What I'd like to do , is remove the hard coding so that each module that is generated creates it's own module theme like you currently see on my page. Obviously, right now I've got two div's with background images and I've assigned one as "left" and one as "right". If I were to put another module on the page, I'd have to assign it to inside one of those "modules", and that's not what I'm looking for.

I easily figured out how to have one image generate by using the .block value in the CSS, but there are two images, and they work in such a way that the box appears to be adjustable. In reality though, you just don't see the entire image. It works like frames (as I'm sure you know) so that the top part is cut off. The lower line image is actually 500px high, and both that you see use the same image. I'm open to do it differently though.

Interested in filamanager / fileshare modedules

I need filishare module with this features: catagories, subcategories, taxonomy, file search, commenting, rating, download statistic, *multilingual , TOP 10.... But I cant find any like that here. In Drupal ->Modeul section there are only pretty simple filemanagers.

May be somebody developing this module for Drupal or know where to find it!?

LDAP change user name

Hello, i use the great LDAP module to log in Drupal 4.7

My pb is that the login used for authentication is automatically saved as the user->name
I'd like to keep the LDAP login for authentication and register the user->name with the cn returned by the LDAP server.

Hope that someone know a way of doing this, advices are welcome, thanks.

CCK & Date

Hello,

I have a node with a datestamp field. But when I create an instance of that node, he doesn't fill in the datestamp.
(When I look in my database, the field field_date_value is "0".)

I don't find the bug.

Thx

can module 'omit' off-line mode?

i'm developing a module for my site that is kinda unique - it is used by my win application to communicate with the server via http get calls. because my site is still being developed it is mainly in off line mode what totally prevents my app from getting any reasonable response. obviously all i get is drupal 503 page. as the win app and site are developed separately i need a way to disable off-line mode for certain pages.

Pages

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