You can replace the page tag entirely with your own content.  You can
even still use the existing show, index, etc. pages with that by
providing a content parameter in your new page tag.  There's a recipe
that goes through converting an existing layout to dryml which might
be more what you want.  
http://cookbook.hobocentral.net/recipes/11-replicate-the-look-and-feel-of

Even though it shows extending the tag, you can just replace it.

<def tag="page">
  <html>...
      <div param="content" />
  ...
</def>

Getting rid of the prototype files is easy... getting rid of all the
parts that look for them might not be so easy.  It's just public/
javascripts/prototype.js.

On Aug 2, 7:14 am, Case <[email protected]> wrote:
> Hello Alex,
>
> I am also a new user to Hobo, and I'm trying to figure out more or
> less the same things.
>
> I know that you can extend the basic tags that were created with hobo
> generators using application.dryml.
> In addition, you can extend or replace css code, by also placing
> overriding code in application.css.
>
> But still, extending the default pages becomes very time-consuming if
> you want to radically update the whole site template. I mean, why
> extend the predefined page format (that resembles a blog) when
> normally (ex. in vanilla rails) you would just define the layout of
> your page? Why override the default css when you can just import the
> one you want? I presume this 'extending' process is consuming server
> resources, and slowing things down a bit.
>
> I am also trying to find a way to do that without abandoning hobo, but
> at the moment all tutorials differentiate the default hobo page
> design, without departing much from it.
>
> Anyway, looking forward to a reply from an experienced user!
>
> On Aug 1, 11:26 pm, Alex <[email protected]> wrote:
>
> > Hello all,
>
> > I am trying to build a simplified eshop with Hobo & rails, though I
> > must admit I have minimal experience with either.
> > I have read the hobo 'Agility' tutorial, as well as a lot of
> > discussions and have created the basic models and tables required in
> > my site.
> > I am now trying to fully customize the front-end template of the site,
> > however I cannot find answers for the following issues wherever I
> > look:
>
> > 1) How can I radically change the index.dryml page? I do not want to
> > extend the page tag, as I already have developed a completely
> > different template than the default tabbed first page that hobo
> > generators provide.
>
> > 2) how can I get rid of the default javascript files? I would like to
> > use jquery in my site. I read the relevant tutorial, however I do not
> > want to use jquery together with prototype (overkill!). In general,
> > how can I manage the included javascript files? Same question holds
> > for the stylesheets.
>
> > I apologise if my questions are too general or perhaps obvious to
> > experienced users, but I'm looking for some directions, where to start
> > from..
>
> > Thank you for your support.
> > Alex
>
>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
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/hobousers?hl=en.

Reply via email to