Author Topic: Is anyone can help me ?  (Read 6210 times)

0 Members and 1 Guest are viewing this topic.

Offline Laetitia

  • Newbie
  • *
  • Posts: 14
    • View Profile
Is anyone can help me ?
« on: August 19, 2002, 01:38:22 PM »
hello,
In a post there is ( for display thumbnails on *.shtml or others pages ) :
<?php
//your path Pfad to 4images-directory
$root_path = "./";
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));
?>

I have put this on the top in the first line of page with :
<?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));
?>


And dont work  :cry:

I have only this in top of page :

clean_template(get_random_image(0,0)); ?>


Can you help me for syntax, location, etc of this   :?:

Thank's.
Kisses

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Is anyone can help me ?
« Reply #1 on: August 19, 2002, 01:41:38 PM »
This is not for .shtml pages, only for php pages.
Because .shtml pages don't parses php code.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Laetitia

  • Newbie
  • *
  • Posts: 14
    • View Profile
Is anyone can help me ?
« Reply #2 on: August 19, 2002, 03:53:02 PM »
Quote from: Jan
This is not for .shtml pages, only for php pages.
Because .shtml pages don't parses php code.

Jan

Hum,
If i want add a thumbnail on *.shtml, is it possible ?
How ?
Thank's for give ve a solution  :oops:
Kisses

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Is anyone can help me ?
« Reply #3 on: August 19, 2002, 03:54:35 PM »
No, that's not possible...

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search