21
lajab
Re: JS won
  • 2005/1/29 4:50

  • lajab

  • Just popping in

  • Posts: 47

  • Since: 2003/9/3 1


Oh! Are you using the 7 Dana too? If so, you just need to find the line where they placed the code to display the clock. The line looks just like the original that Nuke posted. I couldn't get the others to work but War's worked fine. Of course I'm not the best person to be giving instructions. Good Luck though and let me know if you're able to get the others to work.

22
Burnzy
Re: JS won
  • 2005/1/29 6:13

  • Burnzy

  • Just popping in

  • Posts: 75

  • Since: 2005/1/23


no, i just want to do a regular clock... would i use the php one for just regular? lik to put into my theme.html

23
WarDick
Re: JS won
  • 2005/1/29 6:22

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


Quote:
It's a little off center but it'll do


Positioning is no problem what do you need.

24
Burnzy
Re: JS won
  • 2005/1/29 7:06

  • Burnzy

  • Just popping in

  • Posts: 75

  • Since: 2005/1/23


huh? i need to no if the codes work when u put them into a theme.html. I want to put the time code in. but dont wanta make the room if i cant.

25
WarDick
Re: JS won
  • 2005/1/29 7:12

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


Yes the php tags will work it is considered good coding practice not to use php inside of the html. That is what the templates are all about leaving the php out of the html.

Why not use the smarty solution? The smarty template engine is one of the outstanding features of XOOPS!

26
lajab
Re: JS won
  • 2005/1/29 16:46

  • lajab

  • Just popping in

  • Posts: 47

  • Since: 2003/9/3 1


Quote:

WarDick wrote:
Quote:
It's a little off center but it'll do


Positioning is no problem what do you need.


Well I have it in a table and it's a little higher than the rest of the line that it's on. Not sure what to do to get it to move down just a little.

27
Burnzy
Re: JS won
  • 2005/1/30 3:38

  • Burnzy

  • Just popping in

  • Posts: 75

  • Since: 2005/1/23


I am using:
<{$smarty.now|date_format}>

I put the code in and get "Jan 29, 2005"

Is there a way to change the format? if yes... where can i edit smarty stuff?

Login

Who's Online

390 user(s) are online (258 user(s) are browsing Support Forums)


Members: 0


Guests: 390


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