Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 11:27 am EST
Geeklog Forums
custom Variables
doktor_j
Anonymous
Does anyone know how to create you own custom variables that can be called from the layout templates i.e
Without having to hack lib-custom.php ... any help is greatly appreciated
Dok
Text Formatted Code
<p>{my_custom_var}</p> Without having to hack lib-custom.php ... any help is greatly appreciated
Dok
12
30
Quote
doktor_j
Anonymous
I would like to have a set of links to static pages to apear in the footer portion of my site. Because my site is in both french and english, I would like to make a custom php fuction that would change with the language chosen. (i am using LWC's and Euans multilanguage hack)
Since GL limits the ability of embedding PHP within a template file, I would like to create a custom function, for instance in lib-custom.php, and call it withina template file. Is this possible?
ThanX Dok
Since GL limits the ability of embedding PHP within a template file, I would like to create a custom function, for instance in lib-custom.php, and call it withina template file. Is this possible?
ThanX Dok
11
14
Quote
All times are EST. The time is now 11:27 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