Drupal is up and running but how do I ...?

Best practice for transferring image files into Drupal?

Help: Upgrade to 4.7.2 leaves images unaccessable. This issue has been reported but my questions further-on really concerns the best practice for uploading image files to Drupal stories, which falls under this forum topic!

I have just upgraded an existing site from Drupal 4.6.1 to 4.7.2

The problem I am experiencing stems from the following subjects and is identical to the issue that has been posted regarding SA_2006_006, but I have further questions.

http://drupal.org/files/sa-2006-006/advisory.txt
http://drupal.org/drupal-4.7.1
http://drupal.org/node/68685

The images in the directories under files are inaccessable due to the security .htaccess file that is created under files and is described in the above posts/issues. If I delete .htaccess, the next cron.php run seems to recreate it. My temporary, albeit very insecure, arrangement has been to leave the line "SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006" and to comment the rest of the file, which needless to say nullifies the security.

This specific site is for an estate agent and I have created FTP access to the files/img directory where numerous images for every property are uploaded into files/img/2006x001 or files/img/2006x195 directories where the last digits of the directory scheme determines a property code. Those files are uploaded from an identical structure on the Estate Agent's PC via FTP and are not transferred through Drupal at all. Their file permissions are automatically set to full read/write + owner execute. Specifically, these are the files that have the problems with the new Drupal sa-2006-006. The relative URLs of the image files are all in the format of "files/img/2006x001/file_abc.jpg" and so on in the appropriate stories within Drupal. This particular estate agent prefers this scheme of storing images etc and up to now it has worked effectively. A certain period after the properties are sold, the complete image directories are deleted via FTP. The agent wants it that way since it is embarassing if the client that has recently purchased a home believes that the estate agent is trying to sell the house again via the Internet! There is a taxonomy catagory determining "for sale" / "sold" / "purged" that controls (via PHP snippets) what type of property appears in what catagory of property listing. Stories in the catagory 'purged' are periodically deleted entirely, since the Google Sitemap module still produces links for all pages though they are not necessarily accessible from the site navigational structure. My long-term goal is to replace this structure via something developed in CCK (one day when CCK becomes really stable, commonplace, well documented etc), but for now the existing arrangement actually works very effectively. (This is an ultra-low-budget effort, but Drupal has done an absolutely sterling job so far!)

LDAP Integration Module and Active Directory

Hi,

I have been on a mission over the past few weeks trialling various CMS systems with two main requirements in mind:
1. LDAP/Active Directory Authentication
2. Granular Group Access Control.

So far Mambo and Joomla failed, I didn't even get off the ground with eZPublish and now here I am in drupal land!! It's looking good so far. The installation was fairly smooth and all is looking fine.

I approached my first requirement by using the webserver_auth module which installed and worked very easily. However it didn't have the group control I required. ie. when a member of staff logs in I would like them to have "staff" level permissions and when a pupil/student logs in I would like them to have "pupil/student" permissions.

So disabled the webserver_auth module and instaled the LDAP_integration module............ I am not having much luck with this one. Can anyone help. I'm on Windows 2003 / IIS / PHP5 / MySQL 5 - I have set the various settings up - but to be honest I am not sure if I got it correct.... this is the error I get when a user tries to login:

warning: ldap_search(): supplied argument is not a valid ldap link resource in c:\Inetpub\wwwroot\drupal\modules\ldap_integration\LDAPInterface.php on line 119.

Sorry. Unrecognized username or password. Have you forgotten your password?

warning: array_keys() [function.array-keys]: The first argument should be an array in c:\Inetpub\wwwroot\drupal\modules\user.module on line 349.

Problems Customising Template

Hello there,

I'm totaly new to Drupal. I have just mamaged to install Drupal but now can't seem to customise the look of the template.

When I log in I get this error message:

How do you insert applets into pages?

Applet code inserted into pages gets stripped out when saved. Is there a way to overwrite the filtering procedure so this doesn't happen?

Create feed aliases : does pathauto work ?

Drupal 4.7

Hi !

1/
First I wanted to create alias for feeds' categories. But I figured out that it was not possible.

So I tried to create "feed aliases" with the "feed alias" checkbox in the Pathauto settings. It does not change a single thing !

Is there any solution ?

2/
Is it possible to create a view so that I have on a page only the feeds of one selected category of feeds ? (plus some kind of "table of contents" at the top of the page ?)

Thanks for any help !

Charlie Frenchie

how do I run another code in the drupal environment?

Hi,

I have setup drupal 4.7 for my company website. I have to create a price calculator for our flag ship product within the same environment.
The glitch that I am facing is

I have created a form that takes in details like usernname, no. of products required, region, standard or enterprise package and so on.
This data on being submitted is to be fed to a perl code which carries out the necessary calculations and displays the output to the user about his pricing info and so on.

Pages

Subscribe with RSS Subscribe to RSS - Post installation