I have installed cpg 1.3.2 ang pnCPG 2.5 on my postnuke site. In pnCPG index.php I have commented such lines:
//if (!pnLocalReferer()) {
// die ("You can't access this file from and external site...");
//}
because i got sometimes such an error when i tried to get into my gallery which error dissapeared after refreshing page or entering once more.
and
// if (!pnUserLoggedIn()) {
// if ($guest<1){
// pnRedirect($home) ;
//
// }
// }
to allow guests seeing gallery.
My problem is that after adding comment i receive correct notification exept link which leads direct to my gallery, not by my postnuke but direct so i can see my gallery without blocks, without header of my pn site. Anybody can help?
Here is a hint, check db_input.php
I know this is happening but was not planning to fix it since i prefer not to change default code.
cas
I found it. But can you tell me what should link look like to pass it througn PN?
The link should be something like :
index.php?module=pnCPG&func=view&soort=1&album=50&pos=1411
Cas