Author Topic: need to show a slide show onli in da home page  (Read 783 times)

0 Members and 1 Guest are viewing this topic.

Offline jaz529Topic starter

  • Irregular
  • Posts: 10
    • View Profile
need to show a slide show onli in da home page
« on: February 03, 2010, 10:59:18 AM »
i have a php website and  i  put a slide show in da website .as it is  a php website the slideshow is show in  all the pages.
is there any code to make it show onli in  home page onli... :)

Offline gwolgamott

  • Enthusiast
  • Posts: 482
  • Gender: Male
  • Yes I am wrong at times... that is the difference.
    • View Profile
Re: need to show a slide show onli in da home page
« Reply #1 on: February 03, 2010, 11:05:43 AM »
Yeah... but need to be a bit more specific what your prob is.
I sit in the seat of Gods In the midst of the seas.

Offline jaz529Topic starter

  • Irregular
  • Posts: 10
    • View Profile
Re: need to show a slide show onli in da home page
« Reply #2 on: February 03, 2010, 11:09:05 AM »
specific  means... this is a php website it has  main index page nd rest of the commands are in a .module files...and slide show is a .module file called in through index.php and i want it 2 be shwon onli in da home page...

thanks......

Offline aeroswat

  • Devotee
  • Posts: 848
    • View Profile
Re: need to show a slide show onli in da home page
« Reply #3 on: February 03, 2010, 11:09:19 AM »
i have a php website and  i  put a slide show in da website .as it is  a php website the slideshow is show in  all the pages.
is there any code to make it show onli in  home page onli... :)

How old are you? Please use correct grammar/spelling. We aren't "gangstas" or "thugs" here on the internet.

Remove the slideshow from the module you are using or remove the module from the other pages. Problem solved :P
« Last Edit: February 03, 2010, 11:10:27 AM by aeroswat »

Offline jaz529Topic starter

  • Irregular
  • Posts: 10
    • View Profile
Re: need to show a slide show onli in da home page
« Reply #4 on: February 03, 2010, 11:12:05 AM »
hey thanks that was the best reply i got.iam so thankful mannn :P

Offline gwolgamott

  • Enthusiast
  • Posts: 482
  • Gender: Male
  • Yes I am wrong at times... that is the difference.
    • View Profile
Re: need to show a slide show onli in da home page
« Reply #5 on: February 03, 2010, 11:22:50 AM »
Ok what I meant was that there is a large technique for developing "dynamic" php websites.
You have you main structure files that get reused over and over.
If you are set up in something like that so when you click a link you are not actually going to another webpage, but are changing part of the php on shown (which it sounds like since it is being displayed on all pages I think?!?!). then you need to change the file that the link is point to for the home page only and not be part of the background code.

But if you do not have it set up that way or can follow that then it means I have to explain it differently.
So need to know some of that info... like whats the code you are working with to point u in the right direction.
I sit in the seat of Gods In the midst of the seas.

Offline aeroswat

  • Devotee
  • Posts: 848
    • View Profile
Re: need to show a slide show onli in da home page
« Reply #6 on: February 03, 2010, 11:25:41 AM »
Ok what I meant was that there is a large technique for developing "dynamic" php websites.
You have you main structure files that get reused over and over.
If you are set up in something like that so when you click a link you are not actually going to another webpage, but are changing part of the php on shown (which it sounds like since it is being displayed on all pages I think?!?!). then you need to change the file that the link is point to for the home page only and not be part of the background code.

But if you do not have it set up that way or can follow that then it means I have to explain it differently.
So need to know some of that info... like whats the code you are working with to point u in the right direction.

Long winded version of what I said  :D

Offline jaz529Topic starter

  • Irregular
  • Posts: 10
    • View Profile
Re: need to show a slide show onli in da home page
« Reply #7 on: February 03, 2010, 11:27:51 AM »
heres how i call the slide show

 <div id="slideshow">

   <?php include_once("templates/".$site_template."/modules/slideshow.module") ?>

                </div>

and  theres this slideshow.module with the code of the slideshow

Offline aeroswat

  • Devotee
  • Posts: 848
    • View Profile
Re: need to show a slide show onli in da home page
« Reply #8 on: February 03, 2010, 11:31:12 AM »
heres how i call the slide show

 <div id="slideshow">

   <?php include_once("templates/".$site_template."/modules/slideshow.module") ?>

                </div>

and  theres this slideshow.module with the code of the slideshow

um... if the slideshow is the only thing in the module... then why not just remove that whole include from your main page? ........

Offline gwolgamott

  • Enthusiast
  • Posts: 482
  • Gender: Male
  • Yes I am wrong at times... that is the difference.
    • View Profile
Re: need to show a slide show onli in da home page
« Reply #9 on: February 03, 2010, 11:31:22 AM »
Ok what I meant was that there is a large technique for developing "dynamic" php websites.
You have you main structure files that get reused over and over.
If you are set up in something like that so when you click a link you are not actually going to another webpage, but are changing part of the php on shown (which it sounds like since it is being displayed on all pages I think?!?!). then you need to change the file that the link is point to for the home page only and not be part of the background code.

But if you do not have it set up that way or can follow that then it means I have to explain it differently.
So need to know some of that info... like whats the code you are working with to point u in the right direction.

Long winded version of what I said  :D

Lol yeah I know... but I realized that afterwards didn't see that you actually said that
Remove the slideshow from the module you are using or remove the module from the other pages. Problem solved :P
I sit in the seat of Gods In the midst of the seas.

Offline jaz529Topic starter

  • Irregular
  • Posts: 10
    • View Profile
Re: need to show a slide show onli in da home page
« Reply #10 on: February 03, 2010, 11:34:38 AM »
theres no other option other than removing the slideshow

Offline jaz529Topic starter

  • Irregular
  • Posts: 10
    • View Profile
Re: need to show a slide show onli in da home page
« Reply #11 on: February 03, 2010, 11:36:31 AM »
is it possible to call any other module in different pages

for eg: slideshow.module in home page and rest of the pages eg.module

Offline gwolgamott

  • Enthusiast
  • Posts: 482
  • Gender: Male
  • Yes I am wrong at times... that is the difference.
    • View Profile
Re: need to show a slide show onli in da home page
« Reply #12 on: February 03, 2010, 11:38:47 AM »
What i think is trying to be done is have that include inside the module for the home page.... so module inside a module for the home page only.

Instead of that module for the slideshow being included inside the mainpage(is it?) include it instead if it is inside of the module for the home page only. Causing it to display only as part of the home page module.

Again sorry aeroswat you did just say that, but maybe it may be clearer from a different perspective.
I sit in the seat of Gods In the midst of the seas.

Offline gwolgamott

  • Enthusiast
  • Posts: 482
  • Gender: Male
  • Yes I am wrong at times... that is the difference.
    • View Profile
Re: need to show a slide show onli in da home page
« Reply #13 on: February 03, 2010, 11:40:07 AM »
is it possible to call any other module in different pages

for eg: slideshow.module in home page and rest of the pages eg.module
thats what I meant actually. Yeah so try it if it is set up right it should work that way.
I sit in the seat of Gods In the midst of the seas.

Offline aeroswat

  • Devotee
  • Posts: 848
    • View Profile
Re: need to show a slide show onli in da home page
« Reply #14 on: February 03, 2010, 11:40:27 AM »
What i think is trying to be done is have that include inside the module for the home page.... so module inside a module for the home page only.

Instead of that module for the slideshow being included inside the mainpage(is it?) include it instead if it is inside of the module for the home page only. Causing it to display only as part of the home page module.

Again sorry aeroswat you did just say that, but maybe it may be clearer from a different perspective.

I understand completely :)

is it possible to call any other module in different pages

for eg: slideshow.module in home page and rest of the pages eg.module

You can remove it from just the main page and then keep it in the other pages... Unless you have some unique situation that prevents you from doing this.