slider on front page

This is a discussion for the topic slider on front page on the board General Discussion.

Author Topic: slider on front page  (Read 786 times)

0 Members and 1 Guest are viewing this topic.

June 20, 2011, 01:11:12 AM
Read 786 times

Offline s@ffz

  • Lead Theme Coder
  • *

  • 278
    Posts
  • Karma: +1/-0

  • Gender: Female

  • -♦- GraphicJunki -♦-

    • GraphicJunki Creative Designs
slider on front page
« on: June 20, 2011, 01:11:12 AM »
hi guys

i have the latest version of simple portal installed i found a plugin for the gallery and i can't get it to work even with the changes posted up in SP forum.  Please help  what slider are you guys using on your front page  please?




  • Read 786 times
  • General Discussion
  • 23 Replies



June 20, 2011, 01:29:06 AM
Reply #1

Offline BigEars

  • Sr. Member
  • *

  • 486
    Posts
  • Karma: +0/-0

  • Gender: Male

  • Getting there eventually

Re: slider on front page
« Reply #1 on: June 20, 2011, 01:29:06 AM »
Do you use Aeva Media?

If so the following is what I use on MKAware @ www.miltonkeynesaware.co.cc/mkaforum

Code: [Select]
global $sourcedir;
   require_once($sourcedir . '/Aeva-Subs.php');
   echo '<h2>Random Images</h2>';
   echo aeva_listItems(aeva_getMediaItems(0, 12, 'RAND()'), false, '', 3);

June 20, 2011, 01:37:55 AM
Reply #2

Offline s@ffz

  • Lead Theme Coder
  • *

  • 278
    Posts
  • Karma: +1/-0

  • Gender: Female

  • -♦- GraphicJunki -♦-

    • GraphicJunki Creative Designs
Re: slider on front page
« Reply #2 on: June 20, 2011, 01:37:55 AM »
Where do i put this code sorry to ask but im a noob when it come to code, What type of block ? and yes i am using Aeva Media
oh thanks for replying BigEars

June 20, 2011, 01:52:59 AM
Reply #3

Offline BigEars

  • Sr. Member
  • *

  • 486
    Posts
  • Karma: +0/-0

  • Gender: Male

  • Getting there eventually

Re: slider on front page
« Reply #3 on: June 20, 2011, 01:52:59 AM »
Where do i put this code sorry to ask but im a noob when it come to code, What type of block ? and yes i am using Aeva Media
oh thanks for replying BigEars

I neglected to mention it's a custom php block you want.

June 20, 2011, 02:12:29 AM
Reply #4

Offline s@ffz

  • Lead Theme Coder
  • *

  • 278
    Posts
  • Karma: +1/-0

  • Gender: Female

  • -♦- GraphicJunki -♦-

    • GraphicJunki Creative Designs
Re: slider on front page
« Reply #4 on: June 20, 2011, 02:12:29 AM »
thanks BigEars will try that now :cheers:

June 20, 2011, 02:16:58 AM
Reply #5

Offline s@ffz

  • Lead Theme Coder
  • *

  • 278
    Posts
  • Karma: +1/-0

  • Gender: Female

  • -♦- GraphicJunki -♦-

    • GraphicJunki Creative Designs
Re: slider on front page
« Reply #5 on: June 20, 2011, 02:16:58 AM »
I get an error

June 20, 2011, 02:23:42 AM
Reply #6

Offline BigEars

  • Sr. Member
  • *

  • 486
    Posts
  • Karma: +0/-0

  • Gender: Male

  • Getting there eventually

Re: slider on front page
« Reply #6 on: June 20, 2011, 02:23:42 AM »
Not sure why.

Hopefully one of the PM 'experts' can help.

June 20, 2011, 02:28:28 AM
Reply #7

Offline s@ffz

  • Lead Theme Coder
  • *

  • 278
    Posts
  • Karma: +1/-0

  • Gender: Female

  • -♦- GraphicJunki -♦-

    • GraphicJunki Creative Designs
Re: slider on front page
« Reply #7 on: June 20, 2011, 02:28:28 AM »
Thanks for trying BigEars much appreciated.

June 20, 2011, 09:16:02 AM
Reply #8

Offline willemjan

  • Hiatus
  • *

  • 382
    Posts
  • Karma: +0/-0

Re: slider on front page
« Reply #8 on: June 20, 2011, 09:16:02 AM »
This part of the code is not right I think:

   echo aeva_listItems(aeva_getMediaItems(0, 12, 'RAND()'), false, '', 3);

It should be:

   echo 'aeva_listItems(aeva_getMediaItems(0, 12, 'RAND()'), false, '', 3)';

June 20, 2011, 11:56:37 AM
Reply #9

Offline s@ffz

  • Lead Theme Coder
  • *

  • 278
    Posts
  • Karma: +1/-0

  • Gender: Female

  • -♦- GraphicJunki -♦-

    • GraphicJunki Creative Designs
Re: slider on front page
« Reply #9 on: June 20, 2011, 11:56:37 AM »
I still recieve the same error

June 20, 2011, 11:58:33 AM
Reply #10

Offline willemjan

  • Hiatus
  • *

  • 382
    Posts
  • Karma: +0/-0

Re: slider on front page
« Reply #10 on: June 20, 2011, 11:58:33 AM »
The odd thing is that this should work. So the only thing I can come up is that the parameters are not correct. Bigears, where did you find this code?

By the way, when do you see this error?
« Last Edit: June 20, 2011, 12:00:07 PM by willemjan »

June 20, 2011, 12:38:57 PM
Reply #11

Offline Lesmond

  • Administrator
  • *

  • 1057
    Posts
  • Karma: +0/-0

  • Gender: Male

  • Graphics designer in training

    • Host-For.com
Re: slider on front page
« Reply #11 on: June 20, 2011, 12:38:57 PM »
The one that is used here was made for TinyPortal, with a few change's, maybe Deezel will post the code in this topic.


June 20, 2011, 12:41:41 PM
Reply #12

Offline willemjan

  • Hiatus
  • *

  • 382
    Posts
  • Karma: +0/-0

Re: slider on front page
« Reply #12 on: June 20, 2011, 12:41:41 PM »

June 20, 2011, 12:44:01 PM
Reply #13

Offline Deezel

  • Administrator
  • *

  • Just Another Member

  • 2565
    Posts
  • Karma: +1/-0

  • Gender: Male

    • Owner/Admin
Re: slider on front page
« Reply #13 on: June 20, 2011, 12:44:01 PM »
already got it running guys, but thanks for all efforts..
if anyone else has this problem the fix was to disable the PHP validate from Admin > SimplePortal > General Settings

Thank You, "Guest" For Reading My Post.
Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.     - Dr. Seuss

June 20, 2011, 12:54:42 PM
Reply #14

Offline willemjan

  • Hiatus
  • *

  • 382
    Posts
  • Karma: +0/-0

Re: slider on front page
« Reply #14 on: June 20, 2011, 12:54:42 PM »
IMHO that is not an fix. There is something wrong with the code otherwise it would have passed the validation.