Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Slider on Frontpage
#1
Hello again,

I just got my menu working thanks to yojoe and mvlcek.

Now what remains is that I would like a slider to work on the frontpage (instead of the image), all I need is something that lets my customer upload the image and set a link to an existing / external page. No buttons are necessary, just an automatic slider will do good!

Here's the template I'm working with: http://www.novemberfilm.no

Can anyone help me out? I've tried to insert the I18N Gallery plugin in the image by using
Code:
(% gallery name=Slider %)
in the placeholder of
Code:
<div id="showcase"></div>
but it seems to only output the text (% gallery name=Slider %). I added content to the "page" in the GetSimple Admin and it shows up. But I can't get it to work from the template-code view..

Anyone know what might work here? Smile

Thanks.
-gS
gSvoren Design - http://gsvoren.net
Reply
#2
gSvoren Wrote:Can anyone help me out? I've tried to insert the I18N Gallery plugin in the image by using
Code:
(% gallery name=Slider %)
in the placeholder of
Code:
<div id="showcase"></div>
but it seems to only output the text (% gallery name=Slider %). I added content to the "page" in the GetSimple Admin and it shows up. But I can't get it to work from the template-code view..

You have to include the (% gallery ... %) tag in the page content for it to work. Why do you want it in the template?
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
#3
Well they only need it on the front page, so I don't really know how to get both the "content" in the image box (where the slider shall reside) and the rest of the elements to show as normal.

Do you have any suggestions for me? Smile
gSvoren Design - http://gsvoren.net
Reply
#4
you could use one template for the frontpage and one for the rest of the pages, why not?

Cheers, Connie
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#5
That's what I was thinking, but how do I make a new template and then display the front page in the similar fashion but with the slider as well? :-) Thanks!
gSvoren Design - http://gsvoren.net
Reply
#6
take the template.php of the actual theme
copy it as "frontpage.php" for example
edit it and add the slider code there before the content-tag
upload it to your server

open the frontpage in the pages list
go to page options
choose "frontpage.php" as template for that page
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#7
Unfortunately it's what I already tried out.

But the GST SuperSlider plugin worked the way I wanted it to (by getting a <?php gst_superslideshow('forside'); ?> that I could embed).

Thanks for all your help! :-)
gSvoren Design - http://gsvoren.net
Reply




Users browsing this thread: 2 Guest(s)