- Edited
Hello,
can someone help me to read a variable out of the DB?
For example I can easily read out the $ost->company variable like its used in the footer but I can't read out the helpdesk_url
BR waczny
Hello,
can someone help me to read a variable out of the DB?
For example I can easily read out the $ost->company variable like its used in the footer but I can't read out the helpdesk_url
BR waczny
You can easily find this in the code:
Cheers.
I found that too, but how can I use it in the footer too as an example?
<?php echo __('????'); ?>
First, you wouldn't use __()
as this is used for translation; URLs can't be translated. Second, if you look at the examples of usage in the code you'd see you can call it on the $cfg
global (eg. $cfg->getBaseUrl()
). If $cfg
isn't available in that file then $ost
should be in which case you can do $ost->getConfig()->getBaseUrl()
.
Cheers.