21
tdickson
Personal Messaging Block?
  • 2005/9/26 19:32

  • tdickson

  • Just popping in

  • Posts: 26

  • Since: 2005/9/26


I would like to add the personal messaging block to my main page so that it shows new messages when the guest logs in. (rather than having to click on a link to the PM module)

I tried using custom block and inserting the viewpmsg.php source code, selected content type of php and submitted... but nothing showed up.
Is there anyway to do this? I think it would be a nice feature that many could use.



22
tdickson
Re: New pages
  • 2005/9/26 19:29

  • tdickson

  • Just popping in

  • Posts: 26

  • Since: 2005/9/26


If you edit your system_block_mainmenu.html file you can also customize however you want.

Just open /modules/system/templates/blocks/system_block_mainmenu.html
and look for these tags...


<td id="mainmenu">

<a class="menuMain">MAIN HEADER</a>
<a class="menuSub" href="linkofchoice.htm">Link Description</a>
<a class="menuSub" href="linkofchoice2.htm">link descrip 2</a>


you can also make the menuMain a link by adding the href=""
command. Furthermore, if you want to open up in a new window be sure to add target="_blank" within the <a> tag.


When you are done save the file to your server overwriting the old one and the refresh your system modules:
go to the admin section, modules -> administration, click on the update box then click submit. You're all set. If you use cached pages you will have to clear the cache as well.




TopTop
« 1 2 (3)



Login

Who's Online

129 user(s) are online (88 user(s) are browsing Support Forums)


Members: 0


Guests: 129


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits