1
marcan
Where does the xoops_ footer gets assigned?
  • 2004/4/3 21:44

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


Hi !

Can anybody help me with that ? I'm looking for where in the code does the <{$xoops_footer}> is assigned. I need to pass this value throught the TextSanitizer in order to make it multilingual. The footer I'm talking about is the onw set in System Admin>Preferences>Meta Tags and Footer>Footer

I'v searched the code and only found the function xoops_footer() in include/functions.php but this function only adds
Quote:

echo '';
ob_end_flush();

It seems that the footer is a little more complex then just a little
Quote:
$xoopsTpl->assign('xoops_footer', $xoops_config['the_footer']);


Anyone have any idea?

Thanks !

2
Mithrandir
Re: Where does the xoops_ footer gets assigned?

Weird... I can't find it. Did a thorough search for xoops_footer and didn't find anything worth anything...

3
marcan
Re: Where does the xoops_ footer gets assigned?
  • 2004/4/3 22:48

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


You came to the same conclusion as me !

It's like that value is assigned somewhere 'else'... It is beyond my current knowledge of XOOPS...

One of the core developper could maybe help ?

Thanks for any help !

Cheers !

4
Dave_L
Re: Where does the xoops_ footer gets assigned?
  • 2004/4/3 23:12

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


I couldn't figure it out either.

But the value is in the database table xoops_config:

xoops_config.conf_title "_MD_AM_FOOTER"
xoops_config.conf_value "Powered by XOOPS 2.0 © 2001-2003 https://xoops.org/" target="_blank">The XOOPS Project"


I have a vague recollection of those config values being handled in a tricky way, but forget the details.

5
vzbob
Re: Where does the xoops_ footer gets assigned?
  • 2004/4/3 23:57

  • vzbob

  • Just popping in

  • Posts: 24

  • Since: 2002/9/15


you will find it In Administration ->> Preferences Main »» Meta Tags and Footer

6
marcan
Re: Where does the xoops_ footer gets assigned?
  • 2004/4/4 1:56

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


Yes, vzbob, that I know. What I need is where does it get extracted FROM the database in the code, to be assigned to <{$xoops_footer}>.

Dave_L, thanks for your answer, at least, I can extract it from the database... But it is really a mystery. Where is it ?

Core developpers, please enlight us !

Cheers !

7
Dave_L
Re: Where does the xoops_ footer gets assigned?
  • 2004/4/4 2:50

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Found it. I knew it was tricky.

header.php

foreach (array_keys($config) as $i) {
   
// prefix each tag with 'xoops_'
   
$xoopsTpl->assign('xoops_'.$config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());
}

8
Mithrandir
Re: Where does the xoops_ footer gets assigned?

Yay!

Good work there Davey

9
marcan
Re: Where does the xoops_ footer gets assigned?
  • 2004/4/4 13:39

  • marcan

  • Just can't stay away

  • Posts: 824

  • Since: 2003/10/8


So there it is !

Thank's Dave_L !

Login

Who's Online

788 user(s) are online (347 user(s) are browsing Support Forums)


Members: 0


Guests: 788


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits