Tameem Posted January 1, 2015 Report 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
Moderators servetas Posted January 1, 2015 Moderators Report 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
Tameem Posted February 18, 2015 Author Report Posted February 18, 2015 i'm so sorry but i was unable to reply since past month. check inbox serveta Quote
freshJet Posted February 20, 2015 Report Posted February 20, 2015 You need to load the data first, i.e $bids = ... Quote
Tameem Posted February 20, 2015 Author Report Posted February 20, 2015 tell me more please itrobb Quote
freshJet Posted February 20, 2015 Report Posted February 20, 2015 Put this before you show the template. <?php $bids = SchedulesData::getPilotBids(Auth::$userinfo->pilotid); ?> Quote
Tameem Posted February 21, 2015 Author Report Posted February 21, 2015 ok thats weird but my css style is gone!! Quote
freshJet Posted February 21, 2015 Report 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
Tameem Posted February 21, 2015 Author Report Posted February 21, 2015 thank you so much i appreciate it Quote
Tameem Posted February 21, 2015 Author Report Posted February 21, 2015 i tried to put it raw and in a loop but nothing showed up. Quote
Tameem Posted February 21, 2015 Author Report Posted February 21, 2015 *Solved* thank you ITROBB i placed it inside the template Quote
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.