 | |  |
 |

justritedesign
User
Aug 14, 2008, 5:20 AM
Post #1 of 3
(797 views)
Shortcut
|
|
Small Problem (Cant See It)
|
Can't Post
|
|
I am just finishing some work on this site when I get different results on two different pages. Page 1 http://www.rbwmissions.com/css_sliced/adoptachild.php This page works fine .... On the "Get Involved" Button there is a dropdown that has "Sponsor a Child" at the bottom. This is prompted by:
<li><a href="adoptachild.php"> <?php echo $aac_infoRecord['title'] ?></a></li> Page 2 http://www.rbwmissions.com/css_sliced/get_involved_full.php?Be-a-RBW-Prayer-Partner-4 This page has the same code but the "Sponsor a Child" does not appear .. there is added room for the list item but the 'title' field is not showing. Does this problem have something to do with the fact that page 2 is a Detail Page with a record tag (.php?Be-a-RBW-Prayer-Partner-4 ) Is there something I should change in the head:
<?php require_once "C:/Webspace/resadmin/mmoyers/rbwmissions.com/www/cmsAdmin/lib/viewer_functions.php"; list($short_terms_missionsRecords, $short_terms_missionsMetaData) = getRecords(array( 'tableName' => 'short_terms_missions', )); require_once "C:/Webspace/resadmin/mmoyers/rbwmissions.com/www/cmsAdmin/lib/viewer_functions.php"; list($pastor_listRecords, $pastor_listMetaData) = getRecords(array( 'tableName' => 'pastor_list', )); require_once "C:/Webspace/resadmin/mmoyers/rbwmissions.com/www/cmsAdmin/lib/viewer_functions.php"; require_once "C:/Webspace/resadmin/mmoyers/rbwmissions.com/www/cmsAdmin/lib/viewer_functions.php"; list($get_involvedRecords, $get_involvedMetaData) = getRecords(array( 'tableName' => 'get_involved', 'where' => whereRecordNumberInUrl(1), 'limit' => '1', )); $get_involvedRecord = @$get_involvedRecords[0]; // get first record list($get_involvedRecords, $get_involvedMetaData) = getRecords(array( 'tableName' => 'get_involved', )); require_once "C:/Webspace/resadmin/mmoyers/rbwmissions.com/www/cmsAdmin/lib/viewer_functions.php"; list($about_usRecords, $about_usMetaData) = getRecords(array( 'tableName' => 'about_us', )); require_once "C:/Webspace/resadmin/mmoyers/rbwmissions.com/www/cmsAdmin/lib/viewer_functions.php"; list($child_listRecords, $child_listMetaData) = getRecords(array( 'tableName' => 'child_list', 'where' => whereRecordNumberInUrl(1), 'limit' => '1', )); $child_listRecord = @$child_listRecords[0]; // get first record require_once "C:/Webspace/resadmin/mmoyers/rbwmissions.com/www/cmsAdmin/lib/viewer_functions.php"; list($child_listRecords, $child_listMetaData) = getRecords(array( 'tableName' => 'child_list', )); require_once "C:/Webspace/resadmin/mmoyers/rbwmissions.com/www/cmsAdmin/lib/viewer_functions.php"; list($aac_infoRecords, $aac_infoMetaData) = getRecords(array( 'tableName' => 'aac_info', 'where' => whereRecordNumberInUrl(1), 'limit' => '1', )); $aac_infoRecord = @$aac_infoRecords[0]; // get first record ?> Thanks for your help Michael Moyers Owner/Administrator Just Rite Design & Just Rite Productions A growing network of professionals in Web development, Programming, Graphic Design, Flash, and Audio and Video Productions
|
|
|  |
 |

Dave
Staff
/ Moderator

Aug 14, 2008, 8:07 AM
Post #2 of 3
(781 views)
Shortcut
|
|
Re: [justritedesign] Small Problem (Cant See It)
[In reply to]
|
Can't Post
|
|
Hi Michael, Try removing this line (in red): list($aac_infoRecords, $aac_infoMetaData) = getRecords(array( 'tableName' => 'aac_info',
'where' => whereRecordNumberInUrl(1), 'limit' => '1', )); That way it will ignore the number in the url when loading a record from the aac_info table. Let me know if that fixes it for you! Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

justritedesign
User
Aug 14, 2008, 8:29 AM
Post #3 of 3
(779 views)
Shortcut
|
|
Re: [Dave] Small Problem (Cant See It)
[In reply to]
|
Can't Post
|
|
That worked great! Thanks again Michael Moyers Owner/Administrator Just Rite Design & Just Rite Productions A growing network of professionals in Web development, Programming, Graphic Design, Flash, and Audio and Video Productions
|
|
|  |
|