PDA

View Full Version : add code to show up on the portal main page


error_22
09 Jun 2006, 22:56
Hi,

I have this small script that generates a random picture. Ive put the code in global.php and ive added the correct html to the navbar template. Everything works just fine, except on the portal main page. For some reason, it doesnt work.

Ive tried to put the PHP in various files (cmps_index.php among others) but it wont work.

What am I doing wrong?

Thanks in advance

Niklas

KW802
09 Jun 2006, 22:58
If you're doing it by using a global variable then you'll need to add it to the list of global variables in the ACP (ACP => vBa CMPS => Default Settings).