Author Topic: How to integrate some php script to 4images gallery?  (Read 4380 times)

0 Members and 1 Guest are viewing this topic.

Offline bmack

  • Pre-Newbie
  • Posts: 8
    • View Profile
How to integrate some php script to 4images gallery?
« on: April 18, 2008, 02:46:28 PM »
Hi! I'm having such a problem...

I installed a news script, lets say that it's placed in /news/show_news.php. And I need to show this script on my 4images gallery.

I need to include this fle into my main view of the gallery. The mods from here working great with 4images but what should I do with any other script like news, for example? Sorry for such a question, I'm not really good in programming. And thanks for any help!

Offline asd.m

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: How to integrate some php script to 4images gallery?
« Reply #1 on: April 19, 2008, 06:53:28 AM »
I tried many ways to do it but I didn't fund way
you may use frame "iframe" by html
 :roll:

If u need any help
add me and I'll help u if I can :)

My email

4images@f7up.com

الى اية مساعده
اضفني على المسنجر

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: How to integrate some php script to 4images gallery?
« Reply #2 on: April 19, 2008, 03:58:22 PM »
Hi,

have you test in home.html?

Code: [Select]
<?php
include('/news/show_news.php');
?>

Is it possible to move the script in the 4images root folder.
Then the path is after including right.



KurtW

Offline asd.m

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: How to integrate some php script to 4images gallery?
« Reply #3 on: April 19, 2008, 04:32:04 PM »
Hi,

have you test in home.html?

Code: [Select]
<?php
include('/news/show_news.php');
?>

Is it possible to move the script in the 4images root folder.
Then the path is after including right.



KurtW

I didn't try to add php code the the template
but ur way is may work :)
If u need any help
add me and I'll help u if I can :)

My email

4images@f7up.com

الى اية مساعده
اضفني على المسنجر