Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 12:47 am EST

Geeklog Forums

How does lib-custom.php work?


julianna

Anonymous
Hi.

I've searched through the site about using lib-custom.php for new blocks and for the custom registration form. However, I'm wondering specifically about how Geeklog uses the information from lib-custom.php. For example, if I want to modify the code in profiles.php and to store it in lib-custom.php, does GL automatically use what it finds in lib-custom.php? Or do I need to call the function in profiles.php or elsewhere?

Thanks.
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
The code in lib-custom.php is included automatically so any new functions you add will be known. You will get an error if you create a function of the same name as found in another file but if you were to comment out another function or change it's name slightly then yes, you modifed function would get executed.
Geeklog components by PortalParts -- www.portalparts.com
 Quote

All times are EST. The time is now 12:47 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