Drupal 4.7.x
Log in block
I'm beginner with drupal. I would like to prevent users from changingg their password, so I think removing the menu "my account" from the "log in" lock would be the solution. i just don't know how to do that. Please give me some help
How2 link to multilingual full-path (fr/my-title or de/my-title) instead of node/123 under different lang-prefix?
I have a multilingual site in 6x (en, de, fr). I want to configure l() function to link to full-path of node even under other languages.
Example:
I have some own nodes in german, and when I call mysite/de/mymodule links are listed as following:
mysite/de/my-node-title-1
mysite/de/my-another-node-title
but when I call mysite/fr/mymodule or just mysite/mymodule links are listes wirh node ids:
mysite/node/123
mysite/fr/node/123
I want to be able to return full-taxonomy-url-path even under different languages.
both mysite/mymodule and mysite/fr/mymodule must return:
mysite/de/my-node-title-1
mysite/de/my-another-node-title
mysite/de/any-other-node-alias-in-german
how can I do this without overwrite core l() function?
Different header images based on path, or section of site
jmburnz over on AdaptiveThemes has a great, simple, and nice way to change a header image based on the url or the path.
http://adaptivethemes.com/show-a-unique-header-image-based-on-path
Running Drupal 4.7.1 on WAMPSERVER 2.0
Hi All,
I am trying to get a backup of my 4.7.1 drupal site running on WAMPSERVER2.0, but am not having much luck!!
I have setup the db and settings.php, but when i go to localhost in firefox or IE i get a download box pop up to download a file called localhost.
I am wondering if it is something to do with what version of Apache, PHP and MySQL i am running.
Does anyone have any ideas what version of the above i shoule be running?
Cheers,
Jay
Drupal Developer Role
My client is a leading web agency in London and they are looking for Drupal Developer to join their team as soon as possible.
Key skills:
- Proven commercial experience in Drupal, with a min of 2 yrs+
- Excellent theming skills as well quick and of high quality - CSS, JavaScript, Ajax etc
- Strong experience in module development, good PHP, MySQL etc
If you are passionate about Drupal and are keen to work with a passionate and friendly team then please send me your CV to kelly@clarityrecruitment.com
Drupal programming from an object-oriented perspective
Drupal often gets criticized by those who look to its source code and API expecting to find certain familiar aspects of object-oriented programming (OOP). For example, the word "class" does not appear in Drupal code as often as some might expect. Some have viewed this as a deficiency.
Although Drupal does not make thorough use of the native OOP features of PHP, the Drupal code base and API does reflect some principles found in object-oriented programming and design. This article describes the architecture of Drupal from an OOP perspective, so that programmers familiar with OOP can evaluate Drupal in light of object-oriented design principles, and hopefully feel more at home in the Drupal code base. In the future, as both PHP and Drupal become more mature, Drupal may increasingly adopt the native OOP features of PHP.
Motivations for Current Design
Back as far as version 4.6 of Drupal, the decision was made not to use PHP's class construct. This decision was made for several reasons.
First, PHP's support for object-oriented constructs was much less mature at the time of Drupal's design. Drupal was built on PHP 4, and most of the improvements in PHP 5 relate to its object-oriented features.
