Saját modulban saját template hozzáadása

  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • GeSHi library error: sites/all/modules/geshifilter/geshi is not a directory.
  • The spam filter installed on this site is currently unavailable. Per site policy, we are unable to accept new submissions until that problem is resolved. Please try resubmitting the form in a couple of minutes.
Kategória: 
Gyorstippek

Feladat a kövi: Lightboxban megjelenő formot kell létrehozni, mégpedig a szokásos "körítés" nélkül, vagyis menük, blokkok ne legyenek benne.

Ha a menu_callback-ben print()-tel írjuk ki a kimenetet, akkor teljesen üres oldalon jelenik meg. Viszont nekem kellettek hozzá a css-ek, js-ek is, emiatt saját page.tpl.php-t kellett hozzáadnom az általam készített menüútvonalhoz.

Ez két apró lépés:
A smink regisztrációs gyorstárral megetetjük, hogy van ám nekünk saját tpl.php-nk is. A $theme_registry['page']- lecserélhető a tetszőleges theme hookra, node, vagy comment, vagy amit akarsz.

[geshifilter-drupal6]function MODULOM_theme_registry_alter(&$theme_registry) { $theme_registry['page']['theme paths'][] = drupal_get_path('module', 'MODULOM') ; }[/geshifilter-drupal6]

Majd a megfelelő preprocessben megadjuk a feltételeket: Ha más hookot használunk, értelemszerűen a másik hook preprocessét kell használni.

[geshifilter-drupal6]function MODULOM_preprocess_page(&$vars) { if (ide jön a feltétel, amikor a saját tpl.php-dat akarod látni pl arg(0) == 'valami') { $vars['template_file'] = 'custom-hooks-page' ; } }[/geshifilter-drupal6]

Sminkgyorstár ürítés, és voilá.
Köszi Sweetchucknak a segítségért! :)

Hozzászólások

The material is rather

The material is rather intriguing.

Many thanks, this website is

Many thanks, this website is very handy.

Great web page you've gotten

Great web page you've gotten going here.

Really helpful looking

Really helpful looking forwards to visiting again.

Regards for sharing this nice

Regards for sharing this nice website.

Extremely interesting....look

Extremely interesting....look onward to returning.

Incredibly user friendly

Incredibly user friendly website. Great details available on few clicks on.

Astonishingly individual

Astonishingly individual friendly site. Immense info offered on few clicks.

Really....such a valuable

Really....such a valuable internet site.

You're a really beneficial

You're a really beneficial web site; could not make it without ya!

Quite educational....looking

Quite educational....looking onward to returning.

Appreciate it for sharing

Appreciate it for sharing this fantastic web site.

I benefit from browsing your

I benefit from browsing your site. With thanks!

Many thanks really helpful.

Many thanks really helpful. Will certainly share website with my good friends.

Wow, gorgeous website. Thnx

Wow, gorgeous website. Thnx ...

With thanks! This a fantastic

With thanks! This a fantastic web page.

Truly, this is a good web

Truly, this is a good web page.

Highly revealing, look onward

Highly revealing, look onward to coming back again.

Thanks meant for furnishing

Thanks meant for furnishing such superb subject matter.

Love the site-- very user

Love the site-- very user friendly and lots to see!

Hiya, good webpage you've

Hiya, good webpage you've gotten at this time there.

kh1als0q fotbollströjor

kh1als0q fotbollströjor hcpg4v 8zl1iae maglie calcio sp61ijwmz7 3loi0uk fotballdrakter barn 47r3pcy0q 1z29ad48 fodboldtrøjer børn bv4ks1fa

You're a really useful

You're a really useful internet site; couldn't make it without ya!

thank so a lot for your

thank so a lot for your internet site it aids a lot.

Unbelievably user pleasant

Unbelievably user pleasant website. Immense details readily available on couple of gos to.

fotbollströjor fodboldtrøjer

probereg. sezru. escada.

onsystem. gdpyw. maplelost.

Maintain the exceptional work

Maintain the exceptional work !! Lovin' it!

Truly....this is a useful

Truly....this is a useful internet site.

khda.kr. bahrainside.

expofocus. uuuwin.

maplelost. polararmy.

dhc2016. ysiaq. chalous118.

storyboard-books. cresign.

mohaaaa. phim. onsystem.

clevio. dhc2016. stayhere.

gemlikemlak. siamovie.

You've remarkable knowlwdge

You've remarkable knowlwdge listed here.

samsung. mealdam.

blueskyinvest.

ysiaq. malosh.

bong88agent. nevershutdown.

thnx for sharing this

thnx for sharing this fantastic web-site.

teamhelvoirt-nl.

smertforum. nevershutdown.

chalous118. ankorona.

Hozzászólás

A mező tartalma nem nyilvános.
  • Internal paths in double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or relative path.
  • Engedélyezett HTML elemek: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <del> <img>
  • A webcímek és email címek automatikusan linkekké alakulnak.
  • A sorokat és bekezdéseket a rendszer automatikusan felismeri.
  • Engedélyezett HTML elemek: <a> <blockquote> <br> <cite> <code> <dd> <del> <div> <dl> <dt> <em> <li> <ol> <p> <span> <strong> <ul>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <bash>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <mysql>, <php>, <python>, <ruby>, <sql>. The supported tag styles are: <foo>, [foo].
  • Minden email cím át lesz alakítva ember által olvasható módon, vagy (ha a JavaScript engedélyezett) ki lesz cserélve kattintható, de biztonságos hivatkozásra.