Posts Tagged ‘drupal’
Drupal not showing contact form menu item [solved]
Drupal is not showing the contact form menu item? Then you should check: Whether the menu item is enabled (admin/build/menu/): enable it, if it is disabled Whether the menu item is showing when the user is logged in: if you do the above, it will Allow annonymous user (not logged) to ‘access site-wide contact form’ [...]
Drupal: Override node.tpl.php using Zen theme [solved]
If you are familiar to drupal zen theme then you will know how to create zen subtheme’s. But, what if you want to override the drupal’s default node.tpl.php? First of all, you should install the theme developer module and then check what file you must replace. In this example we will override the /sites/all/themes/zen/modules/node.tpl.php with [...]
Translate “Contact form” module Drupal [SOLVED]
The crappy way Delete the “additional information” text in admin/build/contact/settings The easy way Just download tContact module, and add these lines to your settings.php file. $conf[’i18n_variables’][] = ‘contact_form_information’; $conf[’i18n_variables’][] = ‘contactforms_information’; The hard way After hours of research, I’ve finally come up with a default core solution that I’d like to share with everyone on [...]
Drupal: customize language switcher block
If you are runnning a drupal multilingual site, you might be using i18n with language icons modules. I’ve received some mails asking how to customize the aspect of the multilang switcher block. Easy! Log in as admin and navigate to /admin/settings/language/icons There you will be able to 1) customize the Icon placement (before link (after [...]
Drupal theming: know if you are in homepage [solved]
It is very useful for drupal html designers to know if you are actually in the frontpage (home page) or not. I already explained how to know if you are on joomla homepage and knowing where you are (joomla). Let’s see how this is done in drupal For instance, if you want some code to [...]
Autodetectar el idioma del cliente [RESUELTO]
Dos de las cuestiones que se plantean cuando un sitio web empieza a crecer es: ¿Cómo implementar un sitio web multilenguaje? y ¿Cómo detectar automáticamente el idioma del cliente? e incluso ¿Cómo redireccionar a los clientes a una web en su idioma? Hay varias formas de hacerlo. Método 1: Geolocalización Se basa en tracear la [...]
Drupal para tontos: crear un nuevo Content Type COMPUESTO para galería fotográfica
Hoy os voy a explicar cómo crear nuevos Content Types complejos. ¿Para qué sirve esto? Imagina que quieres hacer “fichas” de usuarios, que contengan, por ejemplo: – Fotografía de perfil – URL de su página web – Texto – Galería de fotos asociada Queremos llegar a algo parecido a: Imagina, además, que la galería se [...]
Drupal 6: pathauto missing in Administer -> Site Configuration [SOLVED]
Pathauto is one of my preferred modules for developing blogs using Drupal. The Pathauto module automatically generates path aliases for various kinds of content (nodes, categories, users) without requiring the user to manually specify the path alias. This allows you to get aliases like /category/my-node-title.html instead of /node/123. The aliases are based upon a “pattern” [...]
Drupal: Useful modules
If you are new to DRUPAL, it might be useful to know some of the great modules out there: The following are part of the “Others” modules, stored in directories under sites/all/modules/. – Advanced forum: Enables the look and feel of other popular forum software. Great for styling your forum and make, for instance, a [...]
DRUPAL and WAMP: enable ‘Clean URL’ using mod_rewrite [SOLVED]
When installing DRUPAL, after configuring database name, login, password, host, port and prefix, you will be redirected to another step. In this new installation step you will be asked to Configure Site. You will have to configure the Server settings section. There you will find the option to make clean urls. If you have installed [...]