Find Jobs
Hire Freelancers

382509 drupal module template

N/A

En curso
Publicado hace más de 14 años

N/A

Pagado a la entrega
Hi all drupalers, I have a module which provides a custom content-type called property, and a theme template file called [login to view URL] which exists in my custom theme folder. I want to package my module, so I need to move the; mytheme/theme/[login to view URL] into my module structure like so; mymodule/theme/[login to view URL] so I have put the template into the theme/ folder in mymodule and added the following to my hook_theme function; function my_module_theme() { $path = drupal_get_path('module', 'mymodule') ."/theme"; return array( // 'image_view' => array( // 'arguments' => array('imagecache' => NULL, 'image' => NULL), // 'file' => $file, // ), 'node-property' => array( 'template' => 'node-property', 'arguments' => array('fields' => NULL), 'path' => $path, ), } However, this template is not picked, up and the property nodes are displayed with the default [login to view URL] Can anyone suggest what I am doing wrong, or what tools I can use to debug. (i am using theme devel module which is pretty cool, but I am not sure how to get it to show me what themes are loaded..) many Thanks, Tom
ID del proyecto: 2128358

Información sobre el proyecto

Proyecto remoto
Activo hace 12 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos

Sobre este cliente

Bandera de UNITED KINGDOM
Romford, United Kingdom
5,0
24
Forma de pago verificada
Miembro desde may 12, 2012

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.