1
neo75
Where is the header links ?
  • 2019/12/11 17:48

  • neo75

  • Just popping in

  • Posts: 13

  • Since: 2010/4/28


Hello, I would like to know where are the links generated by the smarty <{$ xoops_module_header}>
When I display the source code in my browser I have links :
<script src="https://www.mysite.com/include/xoops.js" type="text/javascript">script> <link rel="stylesheet" href="https://www.mysite.com/language/french/style.css" type="text/css" />

which appears they are defined in which files.

Please, help me for several days that I am looking for in all files !
Thanks.

2
geekwright
Re: Where is the header links ?

Some modules assign $xoops_module_header directly, but in general calls like these
$GLOBALS['xoTheme']->addScript(...);
$GLOBALS['xoTheme']->addStylesheet(...);
$GLOBALS['xoTheme']->addMeta(...);

are the preferred way to interact with it.

3
neo75
Re: Where is the header links ?
  • 2019/12/13 20:10

  • neo75

  • Just popping in

  • Posts: 13

  • Since: 2010/4/28


Thank you but it is not the answer I expected but one with a little more precision.

In principle it is in which files that it is declared where : index.php xoops_versions.php ...

In all the modules there are several directory and full of file then in which it is to declare normally there must well be a rule one does not put that in a file of the theme or css

Login

Who's Online

328 user(s) are online (204 user(s) are browsing Support Forums)


Members: 0


Guests: 328


more...

Donat-O-Meter

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

Latest GitHub Commits