Tameem Posted January 1, 2015 Report Share Posted January 1, 2015 Hi Guys, Happy New Year. I Have A Problem With My Bids Template. When I Add A Bid I Can See It In /index.php/schedules/bids. But In Pilot Room It Don't Show Me Anything When I Add The Template Within The Page. <?php Template::Show('schedule_bids.tpl'); ?> Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted January 1, 2015 Moderators Report Share Posted January 1, 2015 There should be a problem with the schedule_bids.tpl template file. If you do not send us your website, we are not able to help you... Quote Link to comment Share on other sites More sharing options...
Tameem Posted February 18, 2015 Author Report Share Posted February 18, 2015 i'm so sorry but i was unable to reply since past month. check inbox serveta Quote Link to comment Share on other sites More sharing options...
freshJet Posted February 20, 2015 Report Share Posted February 20, 2015 You need to load the data first, i.e $bids = ... Quote Link to comment Share on other sites More sharing options...
Tameem Posted February 20, 2015 Author Report Share Posted February 20, 2015 tell me more please itrobb Quote Link to comment Share on other sites More sharing options...
freshJet Posted February 20, 2015 Report Share Posted February 20, 2015 Put this before you show the template. <?php $bids = SchedulesData::getPilotBids(Auth::$userinfo->pilotid); ?> Quote Link to comment Share on other sites More sharing options...
Tameem Posted February 21, 2015 Author Report Share Posted February 21, 2015 ok thanks i will try Quote Link to comment Share on other sites More sharing options...
Tameem Posted February 21, 2015 Author Report Share Posted February 21, 2015 ok thats weird but my css style is gone!! Quote Link to comment Share on other sites More sharing options...
freshJet Posted February 21, 2015 Report Share Posted February 21, 2015 Sorry, wrote that in a hurry last night. Correct function is: <?php $bids = SchedulesData::getBids($userinfo->pilotid); ?> If you're having CSS issues then it won't be related to that, although the original code I gave you should have thrown a PHP error because getPilotBids() does not exist. Quote Link to comment Share on other sites More sharing options...
Tameem Posted February 21, 2015 Author Report Share Posted February 21, 2015 thank you so much i appreciate it Quote Link to comment Share on other sites More sharing options...
Tameem Posted February 21, 2015 Author Report Share Posted February 21, 2015 i tried to put it raw and in a loop but nothing showed up. Quote Link to comment Share on other sites More sharing options...
Tameem Posted February 21, 2015 Author Report Share Posted February 21, 2015 *Solved* thank you ITROBB i placed it inside the template Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.