Home
Help
Sitemap
Login
Register
Elxis.org
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Elxis 4.x documentation
for users and developers
Elxis CMS Forum
>
Support
>
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) >
template php variables difference
Pages: [
1
]
« previous
next »
Print
Author
Topic: template php variables difference (Read 574 times)
xmanhattan
Hero Member
Offline
Posts: 973
If I'm still breathing, I'm doing something!
template php variables difference
«
on:
March 24, 2012, 15:10:59 »
Hello all,
I was looking at the index file of 2 templates and noticed a difference in the link href.
Can someone tell me what is the difference when using $mosConfig_live_site or $mainframe->getCfg?
Also, if creating a new template which should be used for 2009.3?
Thanks
Logged
Bournias.net
webgift
Elxis Team
Hero Member
Offline
Posts: 3262
Re: template php variables difference
«
Reply #1 on:
March 24, 2012, 15:18:26 »
Hello Peter,
As you have written
$mainframe->getCfg
doesn't mean something by itself. It's recommended to use
$mainframe->getCfg('live_site');
in case that you want to get the value of global variable
$mosConfig_live_site
.
Logged
Εlxis Τeam
|
webgift dev
xmanhattan
Hero Member
Offline
Posts: 973
If I'm still breathing, I'm doing something!
Re: template php variables difference
«
Reply #2 on:
March 24, 2012, 15:40:12 »
Hello Stavros,
Thank you for your quick answer.
Logged
Bournias.net
webgift
Elxis Team
Hero Member
Offline
Posts: 3262
Re: template php variables difference
«
Reply #3 on:
March 24, 2012, 16:25:02 »
You are welcome, Peter!
Logged
Εlxis Τeam
|
webgift dev
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> News and announcements
-----------------------------
Support
-----------------------------
=> FAQs
=> General
=> Installation
=> Security
=> Administration
=> Database
=> Language
=> Elxis 4.x DEV
=> Elxis 2008 developers guide
=> Technical support
=> Public Speaking
-----------------------------
Extensions
-----------------------------
=> Components
=> Modules
=> Bots and plugins
=> Tools
=> Bridges
=> Templates
-----------------------------
Community
-----------------------------
=> Elxis Community
=> Elxis 2008.x Olympus (dev)
=> Build with Elxis...
-----------------------------
Ελληνικό Forum
-----------------------------
=> Γενικά Θέματα για το Elxis CMS
=> Εγκατάσταση
=> Διαχείριση
=> Γλώσσες - Πολυγλωσσία
=> Πρόσθετα
=> Ασφάλεια
=> Βάσεις Δεδομένων
=> Σχετικά με το Forum
=> Δημόσιο Βήμα
-----------------------------
International zone
-----------------------------
=> Dutch
=> Deutsch
=> Français
=> Italiano
=> Indonesian
=> فارسی - Persian
=> Русский
=> Srpski - Српски
=> Türkiye
Loading...