Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 05:21 am EST

Geeklog Forums

System Meggage Template? Where?


Status: offline

lestat

Forum User
Chatty
Registered: 11/15/03
Posts: 64
Sorry,

I can't seem to locate the template file that has the System Message - You have been successfully logged out message. Any hints? Thanks.
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
If you want to change the message - look in the language file.

COM_showMessage is the function that is called in lib-common and it will default to use blockheader.thtml unless your theme overrides that.
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Status: offline

lestat

Forum User
Chatty
Registered: 11/15/03
Posts: 64
Thank you!
 Quote

BC

Anonymous
Say I didn't want to just change the text but instead wanted to change the layout of the system message.... where would I look?

(I've searched the forum and found nothing on this particular topic)

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by BC: Say I didn't want to just change the text but instead wanted to change the layout of the system message.... where would I look?

The message is wrapped in a normal block, so by default it uses the blockheader.thtml / blockfooter.thtml template files. You can override that in the theme's functions.php by defining a new template for '_msg_block' (the Professional theme does that already - see its functions.php file).

The rest of the message's formatting is hard-coded in lib-common.php in function COM_showMessage.

bye, Dirk
 Quote

All times are EST. The time is now 05:21 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content