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

Home » FUDforum » How To » drupal plug in.
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
drupal plug in. [message #164710] Wed, 02 March 2011 07:04 Go to next message
andy_scouser is currently offline  andy_scouser
Messages: 76
Registered: June 2003
Karma: 1
Member
add to buddy list
ignore all messages by this user
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 07:46 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3632
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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 15:14 Go to previous message
andy_scouser is currently offline  andy_scouser
Messages: 76
Registered: June 2003
Karma: 1
Member
add to buddy list
ignore all messages by this user
thanks very much, ill give it a try :up:
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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 Dec 13 23:31:58 EST 2017

Total time taken to generate the page: 0.00570 seconds