| Author |
Message |
|
janesvillegreg
|
Post subject: Images Plugin Question Posted: Mon Mar 12, 2012 10:34 pm |
|
Joined: Mon Mar 12, 2012 10:22 pm Posts: 3
|
|
I am having the hardest time installing the "Images Plugin" I have everything done except the "and add this code:" <?php echo $site->generateBlock('simpleSlideshow'); ?>
in the main.php
and I cannot get anything to work..
I am trying to install on the Devart theme.
Can somebody please help and tell me where i can paste that code so I can see it work anywhere?
I understand most of you people here are hardcore coders, could you also have more detailed instructions, or even a video?
I am installing on ImpressPages-1.0.15
Thanks Greg
|
|
 |
|
 |
|
maskas
|
Post subject: Re: Images Plugin Question Posted: Mon Mar 12, 2012 10:45 pm |
|
 |
| Project Developer |
Joined: Tue Apr 28, 2009 9:43 am Posts: 1720
|
|
Simple slideshow plugin is compatible only with ImpressPages 2.x versions. But you can use it as an example. Administration should work on 1.0.15 too. But you need to write your own presentation.
|
|
 |
|
 |
|
janesvillegreg
|
Post subject: Re: Images Plugin Question Posted: Mon Mar 12, 2012 10:49 pm |
|
Joined: Mon Mar 12, 2012 10:22 pm Posts: 3
|
|
Boy, dont i feel stupid, lol
But more detailed instructions would be nice too.
Thank you Greg
|
|
 |
|
 |
|
janesvillegreg
|
Post subject: Re: Images Plugin Question Posted: Mon Mar 12, 2012 10:57 pm |
|
Joined: Mon Mar 12, 2012 10:22 pm Posts: 3
|
|
if i did need it installed on ip2, can you tell me a spot where to put that code?
Greg
|
|
 |
|
 |
|
maskas
|
Post subject: Re: Images Plugin Question Posted: Tue Mar 13, 2012 12:10 am |
|
 |
| Project Developer |
Joined: Tue Apr 28, 2009 9:43 am Posts: 1720
|
|
Anywhere you like inside ip_themes/lt_pagan/main.php file. There is almost plain HTML. So if you know HTML, add it there, where you want slideshow to appear.
|
|
 |
|
 |
|
pzotalis
|
Post subject: Re: Images Plugin Question Posted: Mon May 21, 2012 6:16 pm |
|
Joined: Wed May 16, 2012 10:33 pm Posts: 9
|
|
Sorry to use this topic to make my question, but is related. How do I do if i want to use the slideshow only in one section of my page as content. I mean like in home section only, but not in the other section of the site.
|
|
 |
|
 |
|
maskas
|
Post subject: Re: Images Plugin Question Posted: Mon May 21, 2012 6:48 pm |
|
 |
| Project Developer |
Joined: Tue Apr 28, 2009 9:43 am Posts: 1720
|
Use code like this in ip_tehemes/lt_pagan/main.php: Code: <?php if($site->getCurrentElement()->getId() == 'xx'){ ?> Some content just for page with id xx
<?php } ?> You can echo id to find out id of required page.
|
|
 |
|
 |
|
pzotalis
|
Post subject: Re: Images Plugin Question Posted: Mon May 21, 2012 6:52 pm |
|
Joined: Wed May 16, 2012 10:33 pm Posts: 9
|
|
Great, I`ll try this. Thanks!!!!
|
|
 |
|
 |
|
pzotalis
|
Post subject: Re: Images Plugin Question Posted: Mon May 21, 2012 7:54 pm |
|
Joined: Wed May 16, 2012 10:33 pm Posts: 9
|
|
Worked perfectly. It give me hard time to find out the id, but that´s because I´m kind of ignorant......
It would be great If one could change the way Image gallery is shown between colorbox and slideshow. That would simplify the slideshow use I believe.
Thanks again!!
|
|
 |
|
 |
|