Find Jobs
Hire Freelancers

382509 drupal module template

N/A

W trakcie realizacji
Opublikowano ponad 14 lat temu

N/A

Płatne przy odbiorze
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
Identyfikator projektu: 2128358

Informację o projekcie

Zdalny projekt
Aktywny 12 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne

O kliencie

Flaga UNITED KINGDOM
Romford, United Kingdom
5,0
24
Zweryfikowana metoda płatności
Członek od maj 12, 2012

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.