Custom script include to CP fron page

predtech

Registered
May 15, 2005
2
0
151
Custom script included to CP front page

I would like to include into CP front page (where "General account information" and "General server information" appears) my customs script which displays user's financial status.

I tried to do it by adding to my custom skin (frontend/skinName/index.html some Perl or PHP code.
It doesn't work, only regular HTML displayed but script code is displayed as a plain text.

I there a way to add some custom script (by include ot other way) to CP fronpage (method to include gererated HTML page doesn't work to me)?
I can't find where (or it's binare compiled).
Thanks
 
Last edited:

RAIS2

Well-Known Member
Jul 16, 2004
186
0
166
HTML skins wont parse PHP when its included. Your best bet is to use a PHP skin ( as including PHP code will then parse correctly ), or to create an alternative way of displaying that information.
 

predtech

Registered
May 15, 2005
2
0
151
My question as really stupid. I looked for a difficult when it's easy.
In fact I had just to change extention for CP index file to .php
Thanks