Announcement

#1 2013-06-19 15:40:50

Lenny
Member
2013-06-19
7

RESOLVED - Slide Show on Custom Welcome/Landing Page

Good day, just to clarify I am a pretty fair photographer, but not much of a web coder, so please be kind :)   I have set up my site with a customer welcome page and have no problem having asingle image appear on it, but what I really wnat is a slide show. I ahev read through all the posts and I do not understand how to do this, is there available or can anyone write me a short step by step instruiction to do this?   I know this is asking alot, and If not I understand.

Many thanks    Lenny

Last edited by Lenny (2013-06-20 21:45:38)

Offline

 

#2 2013-06-19 15:53:57

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: RESOLVED - Slide Show on Custom Welcome/Landing Page

install Extended Description and use the tag [slider]

from Additional Pages there is a ? button opening a full documentation of Extended Description syntax

Offline

 

#3 2013-06-19 16:01:55

Lenny
Member
2013-06-19
7

Re: RESOLVED - Slide Show on Custom Welcome/Landing Page

Yes I have additionla Pages Installed, so I just add the TAG (and parmeters) within the HTML for the Welcome Page?  Anyplace specific?    The reason I ask is I think I tried that last night a nd got an SQLerror. As I said Ia m jot that good at coding, learning, but its a process

thanks

Offline

 

#4 2013-06-19 16:15:46

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: RESOLVED - Slide Show on Custom Welcome/Landing Page

if you useg the Standalone Homepage template, replace the [photo) tag by [slider]

and if you have errors, paste them here, can't help without

Offline

 

#5 2013-06-19 19:22:00

Lenny
Member
2013-06-19
7

Re: RESOLVED - Slide Show on Custom Welcome/Landing Page

Last question before I head home and try this; besides additional pages plugin, is there anything else i need to create this

Offline

 

#6 2013-06-19 19:32:24

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: RESOLVED - Slide Show on Custom Welcome/Landing Page

I would have said it.......

(make a copy of your page)

Offline

 

#7 2013-06-19 21:20:43

Lenny
Member
2013-06-19
7

Re: RESOLVED - Slide Show on Custom Welcome/Landing Page

OK I did as you instructed and when I go to the page here is what happens


Warning:  [mysql error 1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
  ORDER BY FIND_IN_SET(id, "")' at line 3

SELECT *
  FROM piwigo_images
  WHERE id IN ()
  ORDER BY FIND_IN_SET(id, "")
; in /homepages/3/d423199001/htdocs/include/dblayer/functions_mysqli.inc.php on line 834


Fatal error: Call to a member function fetch_assoc() on a non-object in /homepages/3/d423199001/htdocs/include/dblayer/functions_mysqli.inc.php on line 181



Here is what I have entered in the HTML

<style type="text/css">
#menubar {display:none !important;}
.titrePage {display:none}
.content {max-width:1120px; margin:0 auto 10px auto !important;}
.Online {display:none;}
.content_block {max-width:none;}

.myHomePage_photo {text-align: center; margin:50px 0 20px 0;}
.myHomePage_photo a img {border-width:2px; border-style:solid; border-color:#666;}
.myHomePage_links {letter-spacing:2px; text-align:center; margin-bottom:0; font-weight:bold;}
.myHomePage_name {margin-top:30px; letter-spacing:2px; text-align:center;}
</style>


[slider album=3 nb_images=10 random=no size=M speed=3 title=no effect=fade arrows=yes control=no elastic=no]


<div id="myHomePage">
  <div class="myHomePage_photo">
    <a href="index.php?/categories">[photo id=3 size=S link=no]</a>
  </div>

  <div class="myHomePage_links">
    <a href="index.php?/categories">Albums</a> ● <a href="index.php?/contact">Contact</a>
  </div>

  <div class="myHomePage_name">
   Lenny's Focus © 2012-13
  </div>
</div>

Offline

 

#8 2013-06-19 21:30:22

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: RESOLVED - Slide Show on Custom Welcome/Landing Page

your album #3 doesn't have any images http://www.lennysfocus.com/index.php?/category/3
try 5

anyway it's indeed a bug, I'll correct it

Offline

 

#9 2013-06-19 21:37:11

Lenny
Member
2013-06-19
7

Re: RESOLVED - Slide Show on Custom Welcome/Landing Page

You are the best and I am not so bright  THANK YOU works Perfect!

Offline

 

#10 2022-01-24 02:26:48

cjnoyes
Member
2021-01-29
2

Re: RESOLVED - Slide Show on Custom Welcome/Landing Page

Hi Mistic100,  I've recently upgraded Piwigo to 12.1 and now seem to have a similar (if not the same) bug occurring.  If I put the parent album value in I receive a message that there are no photos in the album, but if I put the specific child number of an album in it will draw from that album - trouble is that doesn't allow for pulling images from random albums across the gallery.  I have updated extended description to the latest version (12.d) but still have this issue.  Hoping it's a simple change that can be fixed.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact