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

increase weight limit

how do you modify the weight range from the default 10 -> -10 to something like 40 -> -40? i specificly need to do this for the webform module. thanks!

i18n and front page in different languages for 4.7

I've a problem with my front page and the i18n (languages are italian and english):

I've created a page-front_it.tpl.php and a page-front_eng.tpl.php in my custom theme (they have to look different from the rest of the site); the problem is how can I switch from the italian version to the english version of the front page.

In page.tpl.php I've put this code at the top of the file (in php tags):

if ($is_front) {
include('page-front_it.tpl.php');
return;
}

(I haven't yet try to include 'page-front_eng.tpl.php')

Event module: spits out "Array | Array | Array | Array" at the top of my monthly calendar view

Any idea why event calendar is telling me "Array | Array | Array | Array" at the top of my monthly calendar view? I had event_views installed, but I uninstalled it for the time being to isolate this odd behavior. It's still happening... any clues? Suggestions? Thanks.

It's telling me: fsockopen(): no SSL support in this build

Okay, I managed to get the Ajax Spellchecker to work yesterday by hardcoding the path where the module is (Yes, I know that isn't the optimal solution but working is good). The spellchecker worked fine when I left work yesterday, and it worked fine last night when I showed someone it... However, I came in to work today and all of the sudden I'm getting two errors...

The first being:

fsockopen(): no SSL support in this build in /home/conmon/public_html/drupal_copy/includes/common.inc on line 377.

the second being:

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.

Pages

Subscribe with RSS Subscribe to RSS - Post installation