Author Topic: [Q] replace in the output templates ?  (Read 9293 times)

0 Members and 1 Guest are viewing this topic.

Offline abdoh2010

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Racing 4 Education
[Q] replace in the output templates ?
« 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 ?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [Q] replace in the output templates ?
« Reply #1 on: June 18, 2005, 12:27:14 AM »
add it in includes/templates.php
below this line:
Code: [Select]
$template = $this->get_template($template);
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)