PDA

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


error_22
06-09-2006, 08:56 PM
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
06-09-2006, 08:58 PM
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).