Re: Images in Project Templates

From: David Holt (programmingos..ac.com)
Date: Tue Mar 15 2011 - 00:55:54 UTC

  • Next message: Chuck Hill: "Re: Images in Project Templates"

    You're the man!

    Thanks Ramsey, that worked perfectly.

    d




    On 2011-03-14, at 5:41 PM, Ramsey Gurley wrote:

    > I think you have to end the file with __binary to prevent velocity processing:
    >
    > http://wiki.objectstyle.org/confluence/display/WOL/Custom+Project+Templates
    >
    > Ramsey
    >
    > On Mar 14, 2011, at 5:21 PM, David Holt wrote:
    >
    >>
    >> On 2011-03-14, at 5:11 PM, David LeBer wrote:
    >>
    >>>
    >>> On 2011-03-14, at 8:07 PM, David Holt wrote:
    >>>
    >>>> Hi all,
    >>>>
    >>>> I am updating the ERModernD2W project template and I have discovered that an image file I place in the webserver resources folder in the template becomes corrupted when it ends up in the created project and won't load. Does anyone know why this might be happening?
    >>>>
    >>>> Thanks,
    >>>>
    >>>> David
    >>>
    >>> No, I don't. What kind of corruption are you seeing?
    >>
    >> I have included the btn_blu.png which won't load in the new project.
    >>
    >> <SafariScreenSnapz051.png>
    >>
    >> <PreviewScreenSnapz001.png>
    >>
    >>>
    >>> Can I ask what the image is for? I'm just asking because in ERModern I try to keep all of the WSRs in the Skin rather than the app.
    >>
    >> It is the login button. I think that the css for the login page might be better handled in the application itself because if you customize the skin framework, you have to immediately fix the hardcoded variable in the WOD telling the login page which framework to load to find the css for the login page. While it is not a big deal once you know what is going on, my intention is to make the "out of the box" experience of creating a project as seamless as possible. I also think that it is quite conceivable that someone may want to customize the branding on the login page without wanting to change the skin entirely. I'm would love to send the template on to you for feedback before having it committed, but the current template is broken and needs to be fixed.
    >>
    >> Thanks,
    >>
    >> David
    >>
    >>
    >>>
    >>> ;david
    >>>
    >>> --
    >>> David LeBer
    >>> Codeferous Software
    >>> 'co-def-er-ous' adj. Literally 'code-bearing'
    >>> site: http://codeferous.com
    >>> blog: http://davidleber.net
    >>> profile: http://www.linkedin.com/in/davidleber
    >>> twitter: http://twitter.com/rebeld
    >>> --
    >>> Toronto Area Cocoa / WebObjects developers group:
    >>> http://tacow.org
    >>>
    >>>
    >>>
    >>>
    >>
    >



    This archive was generated by hypermail 2.0.0 : Tue Mar 15 2011 - 00:56:30 UTC