PHP Include

How do I include a php statement on all of Dolphin's pages, i.e. header or footer ?

In other words, either footer or header should show (1) whatever I'd like to php include first, then (2) whatever default settings set by Dolphin.

Example of footer file:

<?

<?php include ("http://rss.news.yahoo.com/rss/topstories"); ?>

Dolphin's coding

?>

Quote · 12 Sep 2008

So just edit source code, just because its call template files.

Quote · 12 Sep 2008

Do you know where the header and footer templates locate ?

Quote · 13 Sep 2008

Have a look in templates/base ;-)

Life is a fatal disease, sexually transmissible - Virginity is carcinogenic! Ask here for vaccine.
Quote · 13 Sep 2008

Yes, UNI template (default) just load base template

Quote · 15 Sep 2008

1./ Neither _header.html in the base or tmpl_unit would accept the php include statement.

 

Has anyone ever tried to include a php statement in Dolphin's templates...successfully ?

 

2./ Dolphin's Use custom HTML block would translate the ? character into !-- if one uses the php include statement.  It only accepts straight html code, i.e. javascript.

Quote · 17 Sep 2008

You can :

1. make new key in template or header,

and process it in design.inc.php

2. make another one new block - function, for index page as example. Use phpMyAdmin for this (and admin side, will more comfortable)

and just make print of any php include

3. I see that you just try to include RSS, for what? :)

in admin we always have possibility to add any RSS to blocks. Recheck

Quote · 18 Sep 2008
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.