11
liomj
Re: Create a time function
  • 2013/8/24 8:39

  • liomj

  • Just popping in

  • Posts: 94

  • Since: 2012/4/10


try use this in theme.html

<{php}>

your php code here

remove


<{/php}>




12
tatane
Re: Create a time function
  • 2013/8/24 8:42

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


Quote:

LioMJ wrote:
try use this in theme.html

<{php}>

your php code here

remove


<{/php}>





Ok but I do not want to put in my php code theme.html because it is not very secure

13
Mamba
Re: Create a time function
  • 2013/8/24 9:58

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


But you still didn't say why you want to do it?

Is this just a random link, with no connection to any of the modules?

Did you think of using JavaScript?

Something like this here or here?
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

14
tatane
Re: Create a time function
  • 2013/8/24 10:04

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


Quote:

Mamba wrote:
Is this just a random link, with no connection to any of the modules?


a link for me is
<a href="http://www.thewebsite.com">Name my linka>

15
Mamba
Re: Create a time function
  • 2013/8/24 10:37

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I understand what a link is, that's not the issue

But normally I place links that are related to modules, like add something, and then XOOPS goes to the server and gets the stuff.

If there is no connection to the modules, and you just want to display the link, then you don't need the server, and therefore you don't need PHP, because you should be able to do it with JavaScript and HTML.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

334 user(s) are online (188 user(s) are browsing Support Forums)


Members: 0


Guests: 334


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