|Posted: Sat, 2002-09-28 06:26|
I got the block-random running perfectly well in my two PN721 sites (actually they worked well since PN713). Now I wish to do something challenging: using the block to get cross traffic.
Say I have SiteA and SiteB, and respectively GalleryA and GalleryB. The two galleries have totally different content but they have same type of customers. Now I want SiteA to show random thumbnails from BOTH GalleryA and GalleryB.
I gave it a try without modifying any script on SiteA, thumbnails from both sites show up perfectly well. But when I click on BlockB, it directs me to the GalleryA only.
I know PN and Gallery live on relative URL (versus absolute) and that caused the problem. I looked at the block-random2.php file and was totally lost. Would anyone can give me a hand on that? :roll:
Note: I created block-random2.php for SiteA so it won't mix up with the original block-random.php script.