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

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.

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! :)


I really like reading through

I really like reading through a post that will make people think. Also, thanks for allowing for me to comment!|

Good post. I certainly

Good post. I certainly appreciate this website. Continue the good work!|

I am not sure where you're

I am not sure where you're getting your information, but good topic.
I needs to spend some time learning much more or understanding more.

Thanks for wonderful info I was looking for this information for my mission.

Howdy! Do you know if they

Howdy! Do you know if they make any plugins to safeguard against hackers? I'm kinda paranoid about losing everything I've worked hard on. Any suggestions?|

Thanks for ones marvelous

Thanks for ones marvelous posting! I certainly enjoyed reading it, you could be a great author. I will remember to bookmark your blog and definitely will come back in the foreseeable future. I want to encourage you to continue your great work, have a nice evening!|

Ahaa, its fastidious

Ahaa, its fastidious conversation regarding this post at this place at this blog, I have read all that, so now me also commenting here.|

I have read so many posts

I have read so many posts regarding the blogger lovers however this post is really a pleasant paragraph, keep it up.|

Hi! This is kind of off topic

Hi! This is kind of off topic but I need some guidance from an established blog. Is it very difficult to set up your own blog? I'm not very techincal but I can figure things out pretty fast. I'm thinking about making my own but I'm not sure where to begin. Do you have any ideas or suggestions? Many thanks|

Magnificent beat ! I wish to

Magnificent beat ! I wish to apprentice while you amend your site, how could i subscribe for a blog website? The account aided me a acceptable deal. I had been a little bit acquainted of this your broadcast provided bright clear concept|

This design is wicked! You

This design is wicked! You obviously know how to keep a reader entertained. Between your wit and your videos, I was almost moved to start my own blog (well, almost...HaHa!) Fantastic job. I really loved what you had to say, and more than that, how you presented it. Too cool!|

I was able to find good info

I was able to find good info from your blog posts.|

After I initially commented I

After I initially commented I appear to have clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I receive four emails with the same comment. Is there an easy method you are able to remove me from that service? Appreciate it!|

great submit, very

great submit, very informative. I wonder why the opposite specialists of this sector do not understand this. You must continue your writing. I am confident, you've a huge readers' base already!|

Howdy! Someone in my Facebook

Howdy! Someone in my Facebook group shared this site with us so I came to take a look. I'm definitely loving the information. I'm bookmarking and will be tweeting this to my followers! Great blog and outstanding style and design.|

Oh my goodness! Incredible

Oh my goodness! Incredible article dude! Thank you, However I am encountering issues with your RSS.
I don't know the reason why I can't join it.

Is there anybody getting similar RSS problems? Anybody who knows the answer
will you kindly respond? Thanks!!

Quality posts is the

Quality posts is the important to invite the visitors to pay a quick visit the web page, that's what this site is providing.|

It's remarkable to go to see

It's remarkable to go to see this website and reading the views of all colleagues on the topic of this article, while I am also eager of getting experience.|

I blog often and I seriously

I blog often and I seriously appreciate your content. The article has really peaked my interest. I will bookmark your blog and keep checking for new details about once a week. I opted in for your RSS feed as well.|

Hey! I know this is somewhat

Hey! I know this is somewhat off topic but I was wondering which blog platform are you using for this website? I'm getting tired of Wordpress because I've had issues with hackers and I'm looking at options for another platform. I would be great if you could point me in the direction of a good platform.|

Hi, Neat post. There is an

Hi, Neat post. There is an issue along with your website in web explorer, would check this? IE nonetheless is the marketplace leader and a large section of other folks will leave out your magnificent writing due to this problem.|

Write more, thats all I have

Write more, thats all I have to say. Literally, it seems as
though you relied on the video to make your point.
You clearly know what youre talking about, why waste your intelligence on just posting videos to your blog when you could be
giving us something enlightening to read?

Why people still make use of

Why people still make use of to read news papers when in this technological globe everything is existing on web?|

It's a shame you don't have a

It's a shame you don't have a donate button! I'd certainly donate to this excellent blog! I suppose for now i'll settle for bookmarking and adding your RSS feed to my Google account. I look forward to new updates and will talk about this website with my Facebook group. Chat soon!|

It's an awesome post in favor

It's an awesome post in favor of all the online visitors; they will get benefit from
it I am sure.

This text is worth everyone's

This text is worth everyone's attention. How can I find out more?|

Undeniably believe that which

Undeniably believe that which you stated. Your favorite reason appeared to be on the internet the easiest thing to be aware of. I say to you, I definitely get annoyed while people think about worries that they just don't know about. You managed to hit the nail upon the top and defined out the whole thing without having side-effects , people could take a signal. Will likely be back to get more. Thanks|

Hi, i believe that i noticed

Hi, i believe that i noticed you visited my web site thus i got here to go back the choose?.I'm trying
to to find issues to enhance my site!I assume its ok to use a few of your concepts!!

Wow, fantastic blog layout!

Wow, fantastic blog layout! How long have you ever been blogging for? you make blogging look easy. The full look of your website is wonderful, as smartly as the content!

It's truly very complex in

It's truly very complex in this active life to listen news on TV, therefore I only use world wide web for that purpose, and obtain the latest information.|

Appreciate this post. Will

Appreciate this post. Will try it out.

It's in fact very complicated

It's in fact very complicated in this busy life to listen news on Television, thus I just
use internet for that purpose, and take the most recent information.

If some one wishes to be

If some one wishes to be updated with newest technologies after that he must be pay a quick visit this web site and be up to date everyday.|

I don't know whether it's

I don't know whether it's just me or if perhaps everybody else experiencing problems with your blog. It looks like some of the written text in your content are running off the screen. Can somebody else please provide feedback and let me know if this is happening to them as well? This might be a problem with my web browser because I've had this happen before. Appreciate it|

Yes! Finally someone writes

Yes! Finally someone writes about click here.

Wonderful web site. Plenty of

Wonderful web site. Plenty of helpful info here. I'm sending it to some buddies ans additionally sharing in delicious. And of course, thank you on your sweat!|

I am extremely impressed with

I am extremely impressed with your writing skills as well as with the layout on your blog.
Is this a paid theme or did you customize it yourself?
Either way keep up the nice quality writing, it is rare to see a nice blog like
this one nowadays.

These are actually impressive

These are actually impressive ideas in on the topic of blogging. You have touched some nice points here. Any way keep up wrinting.|

Fastidious answers in return

Fastidious answers in return of this matter with genuine arguments and telling everything
about that.

My brother recommended I

My brother recommended I might like this website. He was once totally right. This put up truly made my day. You cann't consider just how a lot time I had spent for this information! Thanks!|

Hi, I check your new stuff

Hi, I check your new stuff daily. Your story-telling style is witty, keep doing what you're doing!|

Fantastic goods from you,

Fantastic goods from you, man. I have understand your stuff previous to and you are just extremely wonderful.

I really like what you have acquired here, really like what you are saying and
the way in which you say it. You make it enjoyable
and you still care for to keep it sensible.
I cant wait to read far more from you. This is really a great web site.

Excellent blog here! Also

Excellent blog here! Also your web site loads
up very fast! What web host are you using?

Can I get your affiliate link to your host?
I wish my website loaded up as quickly as yours lol

Amazing blog! Do you have any

Amazing blog! Do you have any tips for aspiring writers? I'm planning to start my own website soon but I'm a little lost on everything. Would you recommend starting with a free platform like Wordpress or go for a paid option? There are so many choices out there that I'm totally confused .. Any recommendations? Appreciate it!|

Please let me know if you're

Please let me know if you're looking for a article author for your site. You have some really good posts and I think I would be a good asset. If you ever want to take some of the load off, I'd love to write some material for your blog in exchange for a link back to mine. Please shoot me an email if interested. Cheers!|

Hello, i read your blog

Hello, i read your blog occasionally and i own a similar one and i was just
wondering if you get a lot of spam feedback? If so how do you stop it, any plugin or anything you
can recommend? I get so much lately it's driving me mad so
any support is very much appreciated.

I simply could not go away

I simply could not go away your web site before suggesting that I really enjoyed the usual info a person supply for your guests? Is going to be again steadily in order to check up on new posts|

We are a group of volunteers

We are a group of volunteers and opening a new scheme in our community. Your website offered us with valuable information to work on. You've performed a formidable task and our whole group can be grateful to you.|

Hello i am kavin, its my

Hello i am kavin, its my first occasion to commenting anyplace, when i read
this piece of writing i thought i could also create comment due to this sensible post.

Amazing! Its in fact

Amazing! Its in fact remarkable piece of writing, I have got much clear idea regarding from this piece of writing.|

Hello I am so happy I found

Hello I am so happy I found your website, I really found you by error, while I was researching
on Aol for something else, Anyways I am here now and
would just like to say kudos for a fantastic post and a all round
exciting blog (I also love the theme/design), I don’t have time to go through it all
at the minute but I have bookmarked it and also included your RSS feeds, so when I
have time I will be back to read much more, Please do keep up the great work.


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.