1
limecity
Can this be done for Xoops?
  • 2003/11/18 1:39

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


I have and idea of trying to make a "LIVING" interface for xoops.

Is it possible for change the theme automatically according to a timer set? Or not just change the picture on the top page?

set according to time like morning, noon and night.
its a silly idea..forget it if its silly.



2
chapi
Re: Can this be done for Xoops?
  • 2003/11/18 8:06

  • chapi

  • Theme Designer

  • Posts: 611

  • Since: 2002/1/22


This should be possible. Create a timestamp when the site is called, compare it with the current time and then do what you want. Should be a simple if/else then in php. Look in the smarty docs how to integrate this in your theme.html as this would propably the best place for this code snippet.

3
carnuke
Re: Can this be done for Xoops?
  • 2003/11/22 11:49

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


Take a look at this Php Job Scheduler
useful 'poor mans cron job'

4
jerryj
Re: Can this be done for Xoops?
  • 2004/1/15 15:52

  • jerryj

  • Just popping in

  • Posts: 33

  • Since: 2001/12/20


You guys should integrate this schedule or something simliar into the XOOPS core.

5
Mithrandir
Re: Can this be done for Xoops?

Very interesting.
We're currently discussing it on the modules dev site for possible uses and integration in the core/modules, but keep the good ideas coming

6
DonXoop
Re: Can this be done for Xoops?

Here's another one.
How about multiple independent blocks configurations? Triggered by the theme perhaps with fallback to a default. The bulk of the db is common but you can switch to another layout, a step beyond changing themes.

The admin would have to be enhanced. Maybe multiple selectable Admin themes where each has a unique blocks config (clone and then edit). The current theme will select which blocks layout to use.

Then I guess you can use the timer or other trigger to dynamicaly change layouts too.

You likely don't get individual block configurations unless you make clones of blocks that need a different config in addition to placement.

7
GadgetMn
Re: Can this be done for Xoops?
  • 2004/1/15 21:47

  • GadgetMn

  • Just popping in

  • Posts: 55

  • Since: 2003/7/15


I like the idea. I think I cam eup with an idea similar to this a few weeks ago. I just haven't had the time to sit back and work out how to develop it. The idea was to create a personal home page module.

In admin, the webmaster chooses which blocks would be available on this page. you would also be able to decide which blocks are mandatory (push) and which are optional (pull) as well as deciding which are default.

The user, from a user side admin page would then be presented with a page similar to the System->Blocks page where they could choose the layout of their blocks. optional blocks could be turned on and off while mandatory blocks just moved from column to column.

On displaying the module homepage through, the blocks would be presented to the theme as they would normally, but based on the users choices.

I spent 18 months working with Broadvision Infoexchange which used this principle to define user configurable home pages. I'm sure this is possible through XOOPS and would be a good module to contribute. Would anyone be prepared to help me with this?

GagdgetMn

Login

Username:
Password:

Lost Password? Register now!

Who's Online

61 user(s) are online (32 user(s) are browsing Support Forums)


Members: 0


Guests: 61


more...

Donat-O-Meter

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

Latest GitHub Commits