4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 09, 2010, 02:18:16 PM

Login with username, password and session length
Search:     Advanced search
4images is now on facebook. Click here and become a fan!
Translate this page with google
=>
 Translate this page with Google =>
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Issues / Ausgaben
| |-+  Discussion & Troubleshooting (Moderators: Acidgod, ivan, Rembrandt)
| | |-+  [Q] replace in the output templates ?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: [Q] replace in the output templates ?  (Read 3475 times)
abdoh2010
Jr. Member
**
Offline Offline

Posts: 99

Thank You
-Given: 0
-Receive: 0


View Profile WWW
« on: June 17, 2005, 04:20:51 PM »

hello every one

i have a quastion about the output templates in the 4images
i would like to add a php replace line to replace what ever in the output templates with what i want

example

preg_replace(''/\>\s+\</', '> <', $output_template);

i think it's myebe in the sessions.php file in the includes folder but i am not shore about the code line it self and witch line it should be

any body help please ?
Logged
V@no
Don't tell me what to do and I won't say where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 16729

Thank You
-Given: 13
-Receive: 81

mmm PHP...


View Profile WWW
« Reply #1 on: June 18, 2005, 12:27:14 AM »

add it in includes/templates.php
below this line:
1
$template = $this->get_template($template);
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)
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
piqs.de - Fotocommunity & lizenzfreie Fotos