Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Small Problem (Cant See It)

 

 


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:

Code
<li><a href="adoptachild.php">&nbsp;<?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:

Code
<?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! Cool

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

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4