PDA


View Full Version : [RC2] Integration not saving page association settings


KW802
09-26-2007, 11:17 PM
I have two CMPS page named "vBa Links" and "vBGallery" both configured as Module pages.

I have "links_index" associated to the "vBa Links" page and "gallery_index" associated to the "vBGallery" page using the THIS_SCRIPT integration method.

When I save the settings each association is correct during the "Select the CMPS page that you would like to integrate..." confirmation page has the correct associations.

When I visit the vBa Links index page the modules on the "vBa Links" CMPS page are displaying the correct ones. I can't verify the gallery settings because integrating vBGallery using the THIS_SCRIPT method isn't working (still trying to figure that one out; others are having the same problem).

The problem is that when I then go back into the CMPS integration settings page both "links_index" and "gallery_index" are showing as being associated to the "vBGallery" CMPS page.

The other ticket is still open. :)

Brian
09-27-2007, 02:37 PM
Looks like there's a small issue where (obviously) it's not selecting the correct page. If you'll open your includes/vba_cmps_adminfunctions.php file, look for this code:
if (!$selectopts)
{
$selectopts = print_integration_page_select($intpage, 'name', $vbphrase['remove'], $exclude);
}


And replace with this:
$selectopts = print_integration_page_select($intpage, 'name', $vbphrase['remove'], $exclude);

Then that should take care of the problem.

KW802
09-27-2007, 03:03 PM
Looks like there's a small issue where (obviously) it's not selecting the correct page. If you'll open your includes/vba_cmps_adminfunctions.php file, look for this code:
if (!$selectopts)
{
$selectopts = print_integration_page_select($intpage, 'name', $vbphrase['remove'], $exclude);
}
And replace with this:
$selectopts = print_integration_page_select($intpage, 'name', $vbphrase['remove'], $exclude);Then that should take care of the problem.
That seems to take care of it, thanks. :cool:

motowebmaster
09-30-2007, 04:24 PM
This resolved my issue as well, Thanks!