Ah, yes!  Sometimes forget the "little" things.  I, too, would recommend not
using short open tags.

Jeremy

On Wed, Oct 7, 2009 at 1:38 AM, Avani <[email protected]> wrote:

>
> Oh... Thanks a lot Georg,
>
> You guessed correct. !!!!
>
> Thanks everyone :)
>
> On Oct 7, 2:09 pm, Georg Gell <[email protected]> wrote:
> > Guessing: you have short_open_tag=1 in php.ini on your pc, but
> > short_open_tag=0 on your laptop.
> >
> > Avani schrieb:
> >
> > > Below is my code
> >
> > > 345:                           <!-- show only in trip->profile page
> > > OR   multimedia pages -->
> > > 346:                           <?php
> > > 347:
> if($show_left_sliding_menu == 'yes' || $module ==
> > > 'photolibrary' || $module == 'videolibrary'){ ?>
> > > 348:
> > > 349:                                    <a <?php if
> > > ($tab=="photolibrary"): ?> class="current" <? endif; ?> href="<?php
> > > echo url_for('photolibrary/index'.$multimedia_param); ?>"><img src="/
> > > images/photo-350:app.png" title="Photo Library" alt="Photo Library" /
> > >> </a><br />
> > > 351:
> > > 352:                                    <a id="smile" <?php if
> > > ($tab=="videolibrary"): ?> class="current" <? endif; ?> href="<?php
> > > echo url_for('videolibrary/index'.$multimedia_param); ?>"><img
> > > 353:src="/images/video-app.png" title="Video Library" alt="Video
> > > Library" /></a><br />
> > > 354:                            <?php } ?>
> > > 355:
> > > 356:
> > > 357:                            <?php
> > > 358:
> if($show_left_sliding_menu == 'yes') { ?>
> > > 359:                                    <a href="<?php echo url_for
> > > ('trip/maps?trip_folder_id='.$trip_folder_id_str);?>"><img src="/
> > > images/map-app.png" title="Map" alt="map" /></a><br />
> > > 360:                            <?php } ?>
> > > 361:
> > > 362:                            </div>
> > > 363:                        </div>
> > > 364:                               <!-- show only in trip->profile page
> --
> >
> > > Here, if I delete line 349  to 353, then it is working correctly.
> >
> > > Dont know why is the problem??
> >
> > > On Oct 7, 10:05 am, Jeremy Thomerson <[email protected]>
> > > wrote:
> > >> Please provide lines 345 - 365 of
> > >> C:\xampp\htdocs\td\apps\core\templates\layout.php would be helpful.
> >
> > >> Jeremy
> >
> > >> On Tue, Oct 6, 2009 at 9:03 PM, Avani <[email protected]>
> wrote:
> >
> > >>> Oh sorry, it was typing mistake.
> > >>> whole project is working in my 1 pc. When I copy the same into my
> > >>> other pc, it is giving errors
> > >>> "Parse error: syntax error, unexpected '}' in C:\xampp\htdocs\td\apps
> > >>> \core\templates\layout.php on line 354"  everywhere where I have
> > >>> used
> > >>> <?php  if(condition) : ?>
> > >>> something
> > >>> <?php endif; ?>
> > >>> On Oct 7, 9:59 am, Sid Bachtiar <[email protected]> wrote:
> > >>>> It should be:
> > >>>> <?php if (condition): ?>
> > >>>>   <h1>Hola hola hola</h1>
> > >>>> <?php endif; // with semi colon ?>
> > >>>> On Wed, Oct 7, 2009 at 2:58 PM, Avani <[email protected]>
> wrote:
> > >>>>> Hi all,
> > >>>>> I am working on symfony since last 1 month. Yday I just installed
> > >>>>> symfony to my other laptop. I dont know why I am getting errors in
> my
> > >>>>> templates which works for my pc.
> > >>>>> I am gettting errors everywhere when I used
> > >>>>> <?php if(condition):
> > >>>>> endif: ?>
> > >>>>> if I have used  <?php if{}  ?>  (traditional php syntax)  then it
> is
> > >>>>> working.
> > >>>>> Can anybody help me?
> > >>>>> Thanks in advance.
> > >>>> --
> > >>>> Blue Horn Ltd - System Developmenthttp://bluehorn.co.nz
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to