FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » drupal plug in.
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
drupal plug in. [message #164710] Wed, 02 March 2011 12:04 Go to next message
andy_scouser is currently offline  andy_scouser
Messages: 76
Registered: June 2003
Karma: 1
Member
Hi there,
Probably a very stupid question, but it is it possible to have the drupal plug in show my forum in the main content screen? If so, how can i do this please?

I must say, the plugin dropped in and works great from what i can see, no issues at all :0
Re: drupal plug in. [message #164711 is a reply to message #164710] Wed, 02 March 2011 12:46 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Edit your main Drupal page and add:

<?php
$content = module_invoke('fudforum', 'block', 'view', '1');
print '<h2>' . $content['subject'] . '</h2>';
print $content['content'];
?>


Remember to change the input format to PHP code.
Re: drupal plug in. [message #164722 is a reply to message #164710] Wed, 02 March 2011 20:14 Go to previous message
andy_scouser is currently offline  andy_scouser
Messages: 76
Registered: June 2003
Karma: 1
Member
thanks very much, ill give it a try :up:
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: corrupt database
Next Topic: Unable to re-enable the forum
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 20:22:05 GMT 2024

Total time taken to generate the page: 0.02933 seconds