Apache Modules?
I'm trying to finalize a LAMP build on RHEL 5, PHP 5.2.11. What modules are absolutely necessary for future growth?
Currently I'm running:
core prefork
http_core
mod_so
mod_auth_basic
mod_auth_digest
mod_authn_file
mod_authn_alias
mod_authn_anon
mod_authn_dbm
mod_authn_default
mod_authz_host
mod_authz_user
mod_authz_owner
mod_authz_groupfile
mod_authz_dbm
mod_authz_default
util_ldap
mod_authnz_ldap
mod_include
mod_log_config
mod_logio
mod_env
mod_ext_filter
mod_mime_magic
mod_expires
mod_deflate
mod_headers
mod_usertrack
Checking for domain in email field - custom PHP rule
HI guys,
I'm new to rules an am stuck on an issue. I am using rules_forms to process some input from a form. I'll describe what I am trying to achieve and hopefully someone can help.
1) My client wishes to prevent any user with a free email account from posting through the contact form.
2) I have set up a rule that triggers on form validation and prints and error for the email field.
I tried to achieve the logic with text-compare, but it's not working for some reason , so I am going down the php route.
Essentially I have a regular expressions:
Read moreBuild a Drupal style hook system using PHP reflection
Where to Learn PHP?
The more I learn about Drupal, the more I realize that I should learn some PHP. Does anyone have suggestions about where to do so? Are there any recommendations for online tutorials? Ideally, I'd love to find a site that teaches PHP within the framework of Drupal, but I realize that might be too much to ask.
Read morePHP Developers Summit 2010
Hi!
I'd like to invite this group in the upcoming PHP conference this January 30. Info below:
<
blockquote>In partnership with Microsoft Philippines, PHP User Group Philippines presents PHP Developers Summit 2010. We are inviting you to come and join us in this gathering of the country’s best tech-talents, professionals and web developers promoting the use of PHP and open source solutions in the enterprise and schools. Free flowing coffee with lots of freebies and raffle prizes! So what are you waiting for? Registration starts at 8 AM. See you all there!
Read morecalling a drupal view with argument selected by user
I'd like to let the user select a value from a dropdown list and have the selected value passed as an argument to a view, to be embedded on the same page of the dropdown. Later, the user should be able to select another value ans get another set of results.
I cannot use the url to pass the argument. any ideas ?
Thanks !
Read moreCombined Melbourne PHP-Drupal Bowling Meetup
Hey everyone!
I was inspired to organise a social event for next month, and this is what I came up with:
<?php
$group1 = "phpMelb";
$group2 = "Melbourne Drupal";
$idea = "A combined $group1 & $group2 bowling meetup!";
echo $idea;
?>I am thinking around Saturday 5th of December, before people start going on holidays and so on. We can meet at the bowling alley at the top of Melbourne Central, next to the Lion and also near the Hoyts ticket office. We'll get some pizzas there while we play, say, 2 games each, and then we can go the Lion for a few beers afterwards.
Read moreWell priced training 6mnths-year
Hi South Africa,
I have a question, does anyone know of any companies that are offering a mixed bag of training options that would fit in well with someone going the php opensource direction of web design, something that will be well rounded, basic to advanced and not prohibitively expensive. well rounded being the operative word.
Read moreMajor issues changing from PHP 5.2.11 to PHP 3
We just tried to set up a test site for our new Drupal page. The server had PHP 5.3 but I'd developed the site under PHP 5.2.11. No big deal we thought. We were wrong. We suddenly had PHP failures all over the place, and not simply warnings, but errors that caused modules to stop working. Here are some:
warning: Attempt to modify property of non-object in /sitefolders/sites/all/modules/drupal_contrib/calendar/includes/calendar_plugin_display_page.inc on line 47.warning: Parameter 1 to slate_fieldset() expected to be a reference, value given in /sitefolders/includes/theme.inc on line 617.warning: Parameter 1 to theme_vertical_tabs() expected to be a reference, value given in /sitefolders/includes/theme.inc on line 617.warning: array_map(): Argument #2 should be an array in /sitefolders/modules/system/system.module on line 1015.warning: array_keys() expects parameter 1 to be array, null given in /sitefolders/includes/theme.inc on line 1771.warning: Invalid argument supplied for foreach() in /sitefolders/includes/theme.inc on line 1771.
Affected modules include Date, Admin, Vertical Tabs and who knows what else. Module maintainers seem to be behind the curve on this one, possible core too. It would seem that much of Drupal is not ready for the brave new world. You can find hacks to fix some of these, but it really is not good practice and is unsustainable and iffy at best.
So... have any of you had to deal with this and found a good solution? Is there some big-picture thing I'm missing, some magic bullet? Any tips or suggestions?
Read moreUsar codigo php en sort criteria (views)
Hola drupaleros!
Estoy buscando la forma de agregar codigo php en el sort criteria de views, porque las opciones que me dan por defecto no me sirven :(
Algo parecido al módulo Views PHP Filter[0]. Este módulo funciona en la sección Filtros de Views y NO en el Sort Criteria.
[0] http://drupal.org/project/viewsphpfilter
Exactamente mi problema es que tengo que ordenar por una fecha (cck field) tomando únicamente el día y NO el mes, ni el año. La opción por defecto de sort para fecha utiliza los tres datos.
si tienen alguna idea, agradecido :)
Saludos!
//
Luciano Rossi






