Refreshing forms on "Reset to Defaults"

Hi everyone,

I've noticed that forms do not refresh when using the system.module "Reset to Defaults" button. I think they should. People will be confused to see a message saying that the defaults have been restored, but the forms remain the same.

I've tracked down the issue to system.module's system_settings_form function. My questions are two-fold

a) How do I update the refresh the form? I have not seen any Form API call for this, or perhaps I am just missing it.
b) When I have a patch, where do I file it? I did not see a project for system.module.

Drupal latest CVS version and XTemplate themes ...

Hello,

I just downloaded today the latest version of Drupal from the CVS and my XTemplate theme from my previous version (Drupal 4.6.3) didn't worked anymore. Here is what i did. After i installed the latest version from the CVS i installed the XTemplate engine from the previous version but it looks like it's not working anymore. XTemplate is not supported anymore? I saw that now PHPTemplate is the default theme engine. Is there a way i could fix the xtemplate to work properly?

Thank you,

Attila

PHP Coding Question

I am trying to fetch data from a table with the following fields

$headers = array(
array('data' => t('Username')),
array('data' => t('Fullname')),
array('data' => t('DOB')),
array('data' => t('Gender')),
);

$result = db_query("SELECT u_id, fullname, dob, sex FROM {datatable} WHERE status = %d", 1)

legacy.inc in 4.7

Well, I'm trying to get CVS HEAD working (checked out at 2005-11-25 00:35 GMT+08:00), and noticed that many contributed modules haven't been updated to the new API yet. I also noticed that legacy.inc (happily enough!) seems to contain at least some of the functions that those old modules need. Rather than try to submit patches for all the modules in CVS (which I don't understand how to do in most cases yet), I figure I should just include legacy.inc somewhere for now. Is there a correct way to do it? Grepping for "legacy.inc" in all the files brought up no hits, so I just slapped a

Dynamic content templates and Staging Content. Possible?

Hello there,

I have just started to evaluate Drupal and now I have come up with some questions. I hope someone can answer.

Dynamic content templates.
If I have a typical company site with basically news, products, about us sections. I would like to be able to build and choose template for each section. Under News editor can only create items based on News-Template and under Products only templates based on Product-Template.
Is this something I could do in Drupal, which modules should I look?

Picture in teaser with function like read more.

Hi, do you known how to somehow simply make that to every story I will chose picture, which will be showed in teaser and it will work like link for read more?

Only one solution which I have in mind is that I will use module which will add to nodeapi one input for address of picture and in template make, that when this picture will be defined it will show and set this like link to full article.

Do you known some better and more elegant solution?
Some solution that I will be able also to upload images and easy find those which are already uploaded?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x