PDA


View Full Version : a small bug


tpr
05-29-2004, 04:40 AM
when you create a new page, I think that the CMPS does not cach the template that you place instead of the "Custom Page Content"

This can probably be avoided by using creating a module for that template and calling the template, but if i will create a module for each page i have it will mess up my controll panel.

Guy Nesher,
www.limudim.org

Brian
05-30-2004, 12:21 PM
Not sure how this got removed in RC2 (they were cached in RC1). If you'll look in your includes/vba_cmps_include_top.php file for:

$getmodules = unserialize($datastore['adv_modules']);

Right above that add:

if ($pages['template'])
{
$globaltemplates[] = $pages['template'];
}

And that should fix the problem. :)

tpr
05-30-2004, 12:42 PM
You know, im starting to think that you deleted a large part of CMPS while moving from RC1 to RC2 :D

j/k of course (you know we still love you :) )

Guy Nesher

p.s.
added the lines, work fine now :)

Brian
05-30-2004, 12:58 PM
LOL! You know, I am too. Perhaps it's not such a good idea to work on this stuff while drugged up on alergy medication. :p

tpr
05-30-2004, 01:29 PM
Perhaps it's not such a good idea to work on this stuff while drugged up on alergy medication. :p

So thats what they call it these days... :rolleyes: