PDA

View Full Version : help needed with inc_ads.php PLEASE!!!


jtorral
June 10th, 2006, 12:59 PM
I have inc_ads.php running fine on my website. However, I copied it to another file name so I can run it twice. once with the recent ads and the other time with a specific category. when I enable the second copy block in vbportal the page loads nothing. If i preview the block in the admin section it looks fine. I changed the classifiedsfeature variable to classifiedsfeatures2 just in case but that did not help.

Chuck S
June 11th, 2006, 08:22 AM
You can not simply rename the file. You need to remove also from this second file the functions within the second file as you can not load the same function twice in the same page.