I gotcha, changing the label on a <p> didn't really accomplish anything :-)
Setting it up as you laid out works beautifully !! --jeremy On May 10, 4:22 pm, kevinpfromnm <[email protected]> wrote: > You're already overriding the page with an index.dryml in the right > spot I'd assume. Just do it there. My point was that passing the > attribute to the count parameter wasn't going to do anything since > param was on a wrapping p tag. > <count:> > There <count prefix="are" label="Attendees" />... > > On May 10, 1:33 pm, Jeremy Savoy <[email protected]> wrote: > > > > > > > So, then the only way to fix this is to redefine and re-write the > > index-page tag for Attendees and make the changes in there, similar to > > Matt's post above ? > > > On May 10, 3:04 pm, kevinpfromnm <[email protected]> wrote: > > > > That would because the count parameter points to the wrapping <p> tag > > > assuming your index-page tag is default in that regard. > > > > <p param="count" if> > > > <ht key="users.collection.count" count="&this.size"> > > > There <count prefix="are"/> > > > </ht> > > > </p> > > > > You need to go into the parameter and redo the count. > > > > On May 10, 11:57 am, Jeremy Savoy <[email protected]> wrote: > > > > > Thanks Kevin, but that had no effect : > > > > > <index-page title="Attendees"> > > > > <heading:>Attendees</heading:> > > > > <count: label="Attendees"/> > > > > <new-link: replace /> > > > > <collection: replace> > > > > <table-plus fields="name, street, unit, city, state, zip"> > > > > <controls:/> > > > > </table-plus> > > > > </collection:> > > > > </index-page> > > > > > On May 10, 1:46 pm, kevinpfromnm <[email protected]> wrote: > > > > > > use the label attribute to change the name. ie <count > > > > > label="Attendees" /> > > > > > > On May 10, 11:14 am, Jeremy Savoy <[email protected]> wrote: > > > > > > > That also all works great Matt ... going to have to put you on my > > > > > > payroll, as soon as there is one :-) > > > > > > > Going to have to send you a few growlers of homebrew instead (I > > > > > > brew a > > > > > > mean stout and a quite refreshing pale ale :-) > > > > > > > One last question for this thread, for the count param, how to > > > > > > specify > > > > > > that it replace the model name in its output with Attendees instead > > > > > > of > > > > > > Contacts? > > > > > > > --jeremy > > > > > > > On May 10, 11:55 am, Matt Jones <[email protected]> wrote: > > > > > > > > On Mon, May 10, 2010 at 9:36 AM, Jeremy Savoy > > > > > > > <[email protected]> wrote: > > > > > > > > Acutally I want my layout and structure to be exactly the same > > > > > > > > as my > > > > > > > > Contacts index page, except that I want to remove the "New > > > > > > > > Contact" > > > > > > > > link and replace "Contacts" with "Attendees" in a few places. > > > > > > > > > So, in app/views/contact/attending.dryml so far I have: > > > > > > > > > <index-page title="Attendees"> > > > > > > > > <collection: replace> > > > > > > > > <table-plus fields="name, street, unit, city, state, zip"> > > > > > > > > <controls:/> > > > > > > > > </table-plus> > > > > > > > > </collection:> > > > > > > > > </index-page> > > > > > > > > > This gives me almost what I need, the page title has been > > > > > > > > replaced, > > > > > > > > but I still have a heading of "Contacts" and the term > > > > > > > > "contacts" in > > > > > > > > the count, along with the new contact link. > > > > > > > > > After reviewing app/views/taglibs/auto/rapid/pages.dryml, I've > > > > > > > > tried > > > > > > > > changing the header, hoping to change the heading "Contacts", > > > > > > > > but I > > > > > > > > keep getting various errors depending on what I've tried. > > > > > > > > You should be able to add: > > > > > > > > <heading:>Attending</heading:> > > > > > > > <new-link: replace /> > > > > > > > > right at the beginning of the index-page body without problems. > > > > > > > Actually, I'm surprised that you're getting errors, as DRYML is > > > > > > > notorious for quietly ignoring parameter tags that don't go > > > > > > > anywhere... > > > > > > > > --Matt Jones > > > > > > > > -- > > > > > > > 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 > > > > > > > athttp://groups.google.com/group/hobousers?hl=en. > > > > > > > -- > > > > > > 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 > > > > > > athttp://groups.google.com/group/hobousers?hl=en. > > > > > > -- > > > > > 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 > > > > > athttp://groups.google.com/group/hobousers?hl=en. > > > > > -- > > > > 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 > > > > athttp://groups.google.com/group/hobousers?hl=en. > > > > -- > > > 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 > > > athttp://groups.google.com/group/hobousers?hl=en. > > > -- > > 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 > > athttp://groups.google.com/group/hobousers?hl=en. > > -- > 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 > athttp://groups.google.com/group/hobousers?hl=en. -- 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.
