4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 17, 2017, 03:26:10 PM

Login with username, password and session length
Search:     Advanced search
Follow 4images on twitter: Click here to follow!
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Help / Hilfe
| |-+  FAQ, Tips
| | |-+  How to add a new, custom template page
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: «« « 1 2 [3] Print
Author Topic: How to add a new, custom template page  (Read 180402 times)
killerwhale65
Newbie
*
Offline Offline

Posts: 19

Thank You
-Given: 0
-Receive: 0


View Profile
« Reply #30 on: March 09, 2006, 06:48:05 PM »

hi,

what if i whish to integrate a php file instead of a html? How can i do that?
Logged
mawenzi
4images Moderator
4images Guru
*****
Offline Offline

Posts: 4500

Thank You
-Given: 36
-Receive: 121


View Profile
« Reply #31 on: March 09, 2006, 07:33:42 PM »

1. FAQ
2. http://www.4homepages.de/forum/index.php?action=search;advanced
3. http://www.4homepages.de/forum/index.php?topic=4295.msg17676#msg17676
Logged

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 ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...
Gwydion
Full Member
***
Offline Offline

Posts: 126

Thank You
-Given: 0
-Receive: 2


View Profile
« Reply #32 on: April 06, 2006, 08:35:31 PM »

Quote  [Expand]
you must not include the extension of the template, only the name:
http://www.braziltonewoods.com/4images/index.php?template=howto
http://www.braziltonewoods.com/4images/index.php?template=links
(see, no .html attached to it)

That solved my problem as well!
Would it be possible to put a summary of the correct instructions in the first post? Luckily it's only  a 2 page thread but still ...  I don't need it anymore now but I am sure many others would appreciate it.

Logged
koikonut
Jr. Member
**
Offline Offline

Posts: 75

Thank You
-Given: 0
-Receive: 4


View Profile WWW
« Reply #33 on: May 06, 2006, 05:03:54 AM »

Kann man die über ?template=... Pages aus einem anderen Ordner includen? Ich möchte aus dem Hauptverzeichnis zum Beispiel eine Kategorie-Liste includen:

domain.com/index.php --> includet:
domain.com/4images/index.php?template=categorylist

Muss ich dann CHDIR oder etwas in der Art machen beim includen oder geht das auf die Weise nicht?

Danke für die Hilfe, Konradin

----

Can they include a page that is processed by ?template=... from another folder? I want to include for example a categorylist from the root folder:

domain.com/index.php --> includes
domain.com/4images/index.php?template=categorylist

Do I have to use CHDIR or something like this for the include code or doesn't it work in this way?

Thx for helping, Bye Konradin
Logged

V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17849

Thank You
-Given: 47
-Receive: 565

mmm PHP...


View Profile WWW
« Reply #34 on: May 06, 2006, 05:31:05 PM »

For security reason such include is not possible.
Yet, you might want to try create a normal categorylist.html template with this code inside:
1
2
3
<?php
include("path/to/your/real/categorylist.html");
?>

Logged

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)
koikonut
Jr. Member
**
Offline Offline

Posts: 75

Thank You
-Given: 0
-Receive: 4


View Profile WWW
« Reply #35 on: May 06, 2006, 05:59:07 PM »

I don't understand.  Confused

So, how can I include 4images-Information from another page?

The categorylist that you have mentioned ist static, isn't it?

Thx for helping, bye Konradin
Logged

ashfaq
Full Member
***
Offline Offline

Posts: 128

Thank You
-Given: 1
-Receive: 0


View Profile
« Reply #36 on: July 19, 2007, 04:26:02 AM »

If i am using SEO Friendly URL by editing .httaccess then will this adrese work ?
http://www.mydomain.com/4images/index.php?template=howto
Logged
kai
Administrator
Addicted member
*****
Offline Offline

Posts: 1405

Thank You
-Given: 66
-Receive: 197


View Profile WWW
« Reply #37 on: November 27, 2007, 10:15:44 AM »

A video tutorial, how to add a custom page, can be found here:

http://www.asian-lady.org/tutors/custom-page/custom-page.html
Logged


Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search
jojomart
Guest
« Reply #38 on: December 21, 2007, 04:09:51 PM »

This is awesome!  I used this to add my contact form to my Wallpaper Downloads site - works very well!

Thanks,

Joanne
Logged
Elfinee
Pre-Newbie

Offline Offline

Posts: 5

Thank You
-Given: 2
-Receive: 0


View Profile
« Reply #39 on: August 10, 2012, 04:02:15 PM »

Hi,

ich habe mir diesen Thread http://www.4homepages.de/forum/index.php?topic=4996.0 durchgelesen und noch Fragen dazu. Leider kann ich in dem Thread nicht antworten.

Ich bin mir da noch etwas unsicher. Also soll ich beispielsweise die error.html kopieren und in einem Editor einfügen?
Diese dann umbenennen in Beipsielweise faq?

Dieses lang_error und error_msg soll ich ja löschen. Nur diese Worte oder irgendwie ganze Abschnitte?
Und wo trage ich da meinen eigenen Text ein?

Hab das irgendwie nicht so ganz verstanden und bevor ich da irgendwie Bockmist baue, frag ich lieber mal nach Smile
Logged
Saschilys
Jr. Member
**
Offline Offline

Posts: 51

Thank You
-Given: 5
-Receive: 0


View Profile
« Reply #40 on: August 10, 2012, 04:16:24 PM »

Jep, die error.html in faq.html umbenennen.

Um was neues zu schreiben, wie schon angedeutet die beiden Atribute löschen.
Am besten nimmst du dir ein WYSIWYG-Editor. Dann siehst du auch gleich, was du löschst und wie es am Ende aussieht.
Logged
Pages: «« « 1 2 [3] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.383 seconds with 19 queries.