1
Mamba
Slideshow module from XOOPS China
  • 2011/1/3 9:20

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


We are discussing here and collaborating on a Slideshow module from XOOPS China

It is simple, but has a lot of potential, and it would be great if we could make it a showcase of international collaboration between XOOPS developers.

So if you have ideas and would like to contribute code, please just jump in.

Maybe we could have a "Module of the Month" where all developers from around the world will focus on one module and make it really cool, state of the art module!

Let's make 2011 a "Magic of XOOPS" year with a great start!
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

2
Mamba
Re: Slideshow module from XOOPS China
  • 2011/1/3 9:35

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I suggested to the Chinese developers to change the name of the module to maybe something like "Slideshow", since there is already a module called "Spotlight". I hope, they will agree.

I've replaced the text links with icons, using code like this in the templates:

<a href="admin.spotlight.php?sp_id=<{$spotlight.sp_id}>"><img src="../images/edit.png" alt="<{$smarty.const._SPOTLIGHT_ADMIN_EDITSLIDE}>" title="<{$smarty.const._SPOTLIGHT_ADMIN_EDITSLIDE}>" />
a>

as it will make easier to have the same "Look & feel" and thus more "user friendly".

The next step will be to make the "publish/unpublish" icons interactive, i.e. we'll be able to turn in on/off by clicking on the icon. What is the best way to do it? I know that many modules are doing it already, but I'm curious which way is the best, so we could make a short tutorial as the recommended way to do it.

People who are joining XOOPS are always curious how things should be done, so hopefully these collaboration projects, if we do a good job documenting them as we go, will be good tutorials for them
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

3
timgno
Re: Slideshow module from XOOPS China
  • 2011/1/3 13:06

  • timgno

  • Module Developer

  • Posts: 1504

  • Since: 2007/6/21


I suggest a simple idea for the core and the modules in my head I decided to create a header file for the credit of the authors of the core and modules, so if we change or add to this page, such as for translations, just do it in a single file instead of all files. Is a good idea, or leave everything as is?

e.g: include/hcredits.php

4
kris_fr
Re: Slideshow module from XOOPS China
  • 2011/1/3 14:44

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


I created a branch on the SVN for the changes that I bring to this module.
Trying to update the commits every step of my work.

Help me make the tests, please

5
Yurdal
Re: Slideshow module from XOOPS China
  • 2011/1/3 15:22

  • Yurdal

  • Friend of XOOPS

  • Posts: 386

  • Since: 2005/3/27


@kris_fr i just installed "your" version of this module and i must say it looks much better than the orginal one, keep up the good work !

6
fdeconiac
Re: Slideshow module from XOOPS China
  • 2011/1/3 16:13

  • fdeconiac

  • Quite a regular

  • Posts: 278

  • Since: 2008/11/29


Hi, looks an interesting module!

Could it be used for a "news slideshow" on a home page, like on the theme "maitscoportal" - Can we see a demo ?

I'm looking for a module where we could choose 4 or 5 news to displays on a homepage with a slideshow (look at the theme maitscoportal), so we could manage on back office the news (is quite long to change it in the theme)

Each record would have :
- large_pricture
- thumb_picture
- news_title_side
- news_title_on_large_picture
- short_description_on_large_picture
- link

I don't think it would be a complicated module, but very useful!

So, maybe this module could be used for it?

Regards

7
Mamba
Re: Slideshow module from XOOPS China
  • 2011/1/3 19:42

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Very nice work Kris! I like it

I've added icons for the toolbar so it look now consistent (they need to be 32px in size).

The "About" will needs some work, as the boxes are too close to each other, at least on my screen.

But I love the direction it is going now!

Anybody else who would like to contribute to this module?

Let's make it the first nice teamwork project of 2011!
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

8
Mamba
Re: Slideshow module from XOOPS China
  • 2011/1/3 19:49

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Quote:
Could it be used for a "news slideshow" on a home page, like on the theme "maitscoportal"

Yes, it could, via Trabis' "Block anywhere" feature of Defacer.

But that's for images only right.

If you would like to have a text coming with it, you would need:

a) make it part of the image, or
b) have an additional "component" that would include address it, so you could select the image and add the text associate with it.

Maybe somebody could contribute that?

The nice thing about this module is that people can add new components to it.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

9
fdeconiac
Re: Slideshow module from XOOPS China
  • 2011/1/3 20:13

  • fdeconiac

  • Quite a regular

  • Posts: 278

  • Since: 2008/11/29


Well, i don't know how it's named in english and i'm not sure i described it well. It's like a "carousel" in french, where we can make 4/5 photos turning with a short description with an hyperlink to redirect to the news, videos, album...

We see it on every site on home page to present last infos !

Like :
http://lci.tf1.fr/

...

I think it's not a complicated module. It would need a default block including a slideshow effect, and the possibility to writte like in news, short infos with a picture. Then we could select 4/5 infos to displays.

I'm now using it with the theme maitscoportal, but each time i update it, i have to change all (order to display 1 to 4), and i also delete things... but i would be happy to keep it as archive, so i could put it back easily.

The fields needed would be i think :
- large_picture
- thumb_picture
- news_title_side
- news_title_on_large_picture
- short_description_on_large_picture
- link

And so maybe we could adapt an existing module.

I also thought developping a block in a gallery module to do it, but i do not have knowledge in programming,

Thanks for your replies and returns about this idea,

Regards

10
kris_fr
Re: Slideshow module from XOOPS China
  • 2011/1/3 22:49

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


@mamba :
Quote:
icons for the toolbar so it look now consistent (they need to be 32px in size).

and
Quote:
The "About" will needs some work, as the boxes are too close to each other, at least on my screen.


defaut admin gui problem - look with zetadigme is good

Login

Who's Online

291 user(s) are online (166 user(s) are browsing Support Forums)


Members: 0


Guests: 291


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