Author Topic: Is it normal ? I think : NO, but ...  (Read 9823 times)

0 Members and 1 Guest are viewing this topic.

Offline Laetitia

  • Newbie
  • *
  • Posts: 14
    • View Profile
Is it normal ? I think : NO, but ...
« on: August 19, 2002, 08:48:50 PM »
Hi,
I have added code for display thumbnails on other page *.PHP.
All is okay and work fine, but one problem :
If i click on the thumbail, NOTHING, no redirection on gallery or image ?
Solution needed please !

Code added im my page :
In first on the top page :
<?php
//your path Pfad to 4images-directory
$root_path = "../4images/";

define('ROOT_PATH', $root_path);
include(ROOT_PATH.'global.php');
include(ROOT_PATH.'includes/sessions.php');
$random_image = $site_template->clean_template(get_random_image(0,0));
?>


Call script :

<center>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php
echo $random_image;?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</center>

Kisses for a shortly solution will be cool  :o

Laetitia

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Is it normal ? I think : NO, but ...
« Reply #1 on: August 19, 2002, 10:58:30 PM »
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Laetitia

  • Newbie
  • *
  • Posts: 14
    • View Profile
Thank's I will try today
« Reply #2 on: August 19, 2002, 11:48:03 PM »
Quote from: Nicky
hi,

just look for this mod:
http://www.4homepages.de/forum/viewtopic.php?t=1020


Many thank's, i try and tell you if this okay.
Kisses
Laetitia

Offline Laetitia

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: Thank's I will try today
« Reply #3 on: August 20, 2002, 12:35:44 AM »
Quote from: Laetitia
Quote from: Nicky
hi,

just look for this mod:
http://www.4homepages.de/forum/viewtopic.php?t=1020


Many thank's, i try and tell you if this okay.
Kisses
Laetitia


Hello, i dont work, but i have made errors or mistakes i think.

I have directory root
Directory bids
Directory 4images
I want call for display thumbnails in a page *.php located on directory bids

Which location for random.php ?
And path ?? (in random.php and for call).... i'm lost here   :?
Can you tell code with infos given before (in top this post)
Kisses
Laetitia

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Is it normal ? I think : NO, but ...
« Reply #4 on: August 20, 2002, 12:43:53 AM »
define('ROOT_PATH', '../4images/');


if not work: try this:
http://www.4homepages.de/forum/viewtopic.php?p=4347#4347
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Laetitia

  • Newbie
  • *
  • Posts: 14
    • View Profile
Heuu !
« Reply #5 on: August 20, 2002, 12:53:14 AM »
Quote from: Nicky
define('ROOT_PATH', '../4images/');


if not work: try this:
http://www.4homepages.de/forum/viewtopic.php?p=4347#4347


I dont understand german.
Can you tell me  directory for random.php
and full path for call with or without ../ etc
See my firectory
1 root
2 bids ( here page with call)
3 4images

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Is it normal ? I think : NO, but ...
« Reply #6 on: August 20, 2002, 12:58:00 AM »
please......

../4images/

and look again here
http://www.4homepages.de/forum/viewtopic.php?p=4347#4347

LOOK for (E: xxx) for english ;)
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Laetitia

  • Newbie
  • *
  • Posts: 14
    • View Profile
Is it normal ? I think : NO, but ...
« Reply #7 on: August 20, 2002, 01:15:20 AM »
Quote from: Nicky
please......

../4images/

and look again here
http://www.4homepages.de/forum/viewtopic.php?p=4347#4347

LOOK for (E: xxx) for english ;)


I have read, but problem is a path problem

Can you tell me location of random.php ( i put it on bids directory with path : define('ROOT_PATH', '../4images/');
My page *.php which call thumbnail display is on bids directory with syntax : <?php
include("../random.php");

Errors are in path, i dont understand nothing.
Is path for differents and locations which are not good, and i dont know ...
can you tell me with precision with these elements locations and corrcts paths please . ..

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Is it normal ? I think : NO, but ...
« Reply #8 on: August 20, 2002, 01:19:17 AM »
:roll:

if random.php is in bids directory, then you have to include
with ./random.php  not ../random.php

/bids/
/bids/random.php
path to 4images for random.php is ../4images/
SCRIPT_URL = your url to 4images
/bids/YOUR.php
<?php
include("./random.php");
?>

/4images/
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Laetitia

  • Newbie
  • *
  • Posts: 14
    • View Profile
Is it normal ? I think : NO, but ...
« Reply #9 on: August 20, 2002, 01:33:53 AM »
Quote from: Nicky
:roll:

SCRIPT_URL = your url to 4images

/4images/


You put SCRIPT_URL ??
Where is this variable  :oops:  :oops:

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Is it normal ? I think : NO, but ...
« Reply #10 on: August 20, 2002, 01:41:17 AM »
uffffffffffffffffffff ;)

http://www.4homepages.de/forum/viewtopic.php?p=4347#4347

in random.php
after:
include(ROOT_PATH.'includes/constants.php');

add this
Code: [Select]

define('SCRIPT_URL', 'http://YOURDOMAIN.NICKY.NET/4images/');

*g*
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Laetitia

  • Newbie
  • *
  • Posts: 14
    • View Profile
many many thank's
« Reply #11 on: August 20, 2002, 02:36:44 AM »
Hi Nicky,
Many thank's  :lol:
All work very fine.
Thank's
Kisses