Author Topic: Making seperate pages with the templates & Integration ?'s  (Read 6284 times)

0 Members and 1 Guest are viewing this topic.

Offline Term

  • Newbie
  • *
  • Posts: 31
    • View Profile
Making seperate pages with the templates & Integration ?'s
« on: October 12, 2002, 10:38:15 AM »
I have some questions and I have searched the forums but because the language barrier I am only getting limited information. (I only speak and read english)

How can I create my own page in the template system and be able to call it with:

Code: [Select]
{name}

I want to make an ads page and incude it on every page.

Anyone?!?!

And is there anyway that I can share registration information with phpBB or Ikonboard (Using MySQL Database) ?

Please let me know!

Thanks very much in advance.

Offline Term

  • Newbie
  • *
  • Posts: 31
    • View Profile
Making seperate pages with the templates & Integration ?
« Reply #1 on: October 12, 2002, 07:51:02 PM »
I also would like to know how we could use php in the templates such as
Code: [Select]
<? include(this.php); ?>

SOMEONE?!?!

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
I can answer one of your questions
« Reply #2 on: October 12, 2002, 08:09:35 PM »
To use PHP in your templates, this:
Code: [Select]
<? include(this.php); ?>
should be formatted like this:
Code: [Select]
<?php
include("<full server path to included file>/this.php");
?>

I have found this syntax to be more 4images template parsing friendly although I have used the other syntax successfully in some places.  Your results may vary.

Also, I too would like to know how to add a new, custom template.  I think part of the answer is to add
Code: [Select]
?template=MyCustomTemplate
to the URL but I'm not sure if the template has to somehow be registered with 4images.

Offline Term

  • Newbie
  • *
  • Posts: 31
    • View Profile
Making seperate pages with the templates & Integration ?
« Reply #3 on: October 14, 2002, 07:51:02 AM »
Anyone?!?! This program is great... I wish their was more english support.

Offline Term

  • Newbie
  • *
  • Posts: 31
    • View Profile
Making seperate pages with the templates & Integration ?
« Reply #4 on: October 14, 2002, 09:15:29 AM »
Is there a way to share registration with a message board? So users wouldn't have to register twice?

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Making seperate pages with the templates & Integration ?
« Reply #5 on: October 14, 2002, 09:17:14 AM »
http://www.4homepages.de/forum/viewforum.php?f=11

Integration 4images 1.7 / vBulletin 2.x
Integration 4images 1.7 / phpBB
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