Oh dear,
Well of course! If you want to show that image then you must enclose it in
<img src="filename" /> tag. Why would you print the filename instead? Go on
to day 4, you will see the code to access the image file in the HTML way.
:-)

It will be printed like:
<img src="/uploads/jobs/<?php echo $job->getLogo() ?>" alt="<?php echo
$job->getCompany() ?> logo" />

Regards,
Haris

On 20 April 2011 16:30, voidpointer <voidpoin...@rocketmail.com> wrote:

>
>
> On Apr 20, 8:48 am, Haris Fauzi <haris.fa...@gmail.com> wrote:
> > So what's the problem now? You said your web page looks like rubbish,
> that
> > was because you didn't have the images & stylesheets. Now you have them
> in
> > place, you should be able to have a better view of the display. Just
> > continue the tutorial and see what you get next. When you finish day 4
> then
> > you should see better presentation of the Jobeet.
> > FYI, the browser used in that tutorial is Safari, so don't expect to have
> > the same display of widgets (checkbox, combo box, etc) if you're using
> other
> > browser.
> >
> > Regards,
> > Haris
> >
> > On 20 April 2011 15:37, voidpointer <voidpoin...@rocketmail.com> wrote:
> >
> >
> >
> > > On Apr 19, 3:39 pm, Haris Fauzi <haris.fa...@gmail.com> wrote:
> > > > Well, you're getting close. At least now the CSS has been recognised,
> I
> > > > suppose.
> > > > Look at the HTML source and see what you're missing, e.g. if there's
> any
> > > IMG
> > > > SRC tag then try to locate the image directly from the browser (
> > >http://localhost:8080/images/logo.jpg,http://localhost:8080/images/lo..
> .,
> > > etc). See if the browser can
> > > > retrieve those files and make it can.
> >
> > > > Regards,
> > > > Haris
> >
> > > > On 19 April 2011 22:29, voidpointer <voidpoin...@rocketmail.com>
> wrote:
> >
> > > > > Hmmm....
> >
> > > > > Haris, did that but no significant change. There is a blue/grey
> > > > > background colour but that is the only change.
> >
> > > > > On Apr 19, 3:12 pm, voidpointer <voidpoin...@rocketmail.com>
> wrote:
> > > > > > OK. Haris, will try that out. Thanks.
> >
> > > > > > Cheers - VP
> >
> > > > > > On Apr 19, 9:13 am, Haris Fauzi <haris.fa...@gmail.com> wrote:
> >
> > > > > > > In day 4 there's a link to download the stylesheets and images
> used
> > > for
> > > > > > > Jobeet tutorial. Download and put them in the suggested
> > > directories.
> >
> > > > > > > Regards,
> > > > > > > Haris
> >
> > > > > > > On 18 April 2011 22:19, voidpointer <
> voidpoin...@rocketmail.com>
> > > > > wrote:
> >
> > > > > > > > Moi,
> >
> > > > > > > > I am trying to work through the jobeet tutorial. I have got
> to
> > > day 3
> > > > > > > > and try to use the url posted in the title.
> >
> > > > > > > > The layout is rubbish, there are no images etc. Here is a
> snippet
> > > > > from
> > > > > > > > the top of that page:
> >
> > > > > > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
> Transitional//EN"
> > > > > "http://
> > > > > > > >www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> > > > > > > > <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en"
> > > lang="en">
> > > > > > > >  <head>
> > > > > > > >    <meta http-equiv="Content-Type" content="text/html;
> > > > > > > > charset=utf-8" />
> > > > > > > >        <title></title>
> > > > > > > >    <link rel="shortcut icon" href="/favicon.ico" />
> > > > > > > >    <link rel="stylesheet" type="text/css" media="screen"
> > > href="/css/
> > > > > > > > main.css" />
> > > > > > > >      <style type="text/css">#sfWebDebug {   padding: 0;
> margin:
> > > > > > > > 0;   font-family: Arial, sans-serif... (and on and on and on)
> >
> > > > > > > > The file /css/main.css is empty. I see the debug icons and so
> on
> > > at
> > > > > > > > the top right of the page.
> >
> > > > > > > > Up till now, all the pages from the tutorial have been shown
> as
> > > per
> > > > > > > > the docs. What's happening now?
> >
> > > > > > > > Cheers - VP
> >
> > > > > > > > --
> > > > > > > > If you want to report a vulnerability issue on symfony,
> please
> > > send
> > > > > it to
> > > > > > > > security at symfony-project.com
> >
> > > > > > > > You received this message because you are subscribed to the
> > > Google
> > > > > > > > Groups "symfony users" group.
> > > > > > > > To post to this group, send email to
> > > symfony-users@googlegroups.com
> > > > > > > > To unsubscribe from this group, send email to
> > > > > > > > symfony-users+unsubscr...@googlegroups.com
> > > > > > > > For more options, visit this group at
> > > > > > > >http://groups.google.com/group/symfony-users?hl=en
> >
> > > > > --
> > > > > If you want to report a vulnerability issue on symfony, please send
> it
> > > to
> > > > > security at symfony-project.com
> >
> > > > > You received this message because you are subscribed to the Google
> > > > > Groups "symfony users" group.
> > > > > To post to this group, send email to
> symfony-users@googlegroups.com
> > > > > To unsubscribe from this group, send email to
> > > > > symfony-users+unsubscr...@googlegroups.com
> > > > > For more options, visit this group at
> > > > >http://groups.google.com/group/symfony-users?hl=en
> >
> > > Moi Haris,
> >
> > > There are no links to any of these images in the source of the page.
> >
> > > Via the browser, I can access all of the image URLs that you listed.
> > > bg-header.jpg comes out as a black rectangle just under a cm wide and
> > > several cm high.
> >
> > > Cheers - VP
> >
> > > --
> > > If you want to report a vulnerability issue on symfony, please send it
> to
> > > security at symfony-project.com
> >
> > > You received this message because you are subscribed to the Google
> > > Groups "symfony users" group.
> > > To post to this group, send email to symfony-users@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > symfony-users+unsubscr...@googlegroups.com
> > > For more options, visit this group at
> > >http://groups.google.com/group/symfony-users?hl=en
>
> Hmmm...
>
>
> The display I am getting does not look remotely like any of the ones
> mentioned on day 2. Look at this snippet of source from the displayed
> page
>
> <tr>
>      <td><a href="/frontend_dev.php/job/show/id/1">1</a></td>
>
>      <td>2</td>
>      <td>full-time</td>
>      <td>Sensio Labs</td>
>      <td>sensio-labs.gif</td>
> <-------------------------------------------- Text not image even
> though the image is
>
> available
>      <td>http://www.sensiolabs.com/</td>
>      <td>Web Developer</td>
>
>      <td>Paris, France</td>
>      <td>You&#039;ve already developed websites with symfony and you
> want to work <----- All this text is displayed in a
> with Open-Source technologies. You have a minimum of 3
> years                                         td that is 15 chars
> wide.
> experience in web development with PHP or Java and you wish to
> participate to development of Web 2.0 sites using the best
> frameworks available.
> </td>
>
> OK. I will try to press on.
>
> Cheers - VP
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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

Reply via email to