I'm having trouble seeing the difference. If you put the change to _plural in your controller then it is always there for that controller. If you want it permanent, put it in your model. Maybe a screen shot would help me better understand.
On Wed, Mar 13, 2013 at 11:33 AM, Alex Glaros <alexgla...@gmail.com> wrote: > My question isn't related to singular/plural but completely renaming the > child table display name so the table name displays as "Click_here" instead > of "Child_table_name". Let me know if you need screen shots. > > > On Wednesday, March 13, 2013 9:14:21 AM UTC-7, Jim S wrote: >> >> I'm pretty sure that is what we've been talking about. I think it uses >> the _plural value for the child table. If this isn't what you were getting >> at post some code/screen shots so there isn't any confusion. >> >> -Jim >> >> On Wednesday, March 13, 2013 10:54:47 AM UTC-5, Alex Glaros wrote: >>> >>> In smartgrid, the user first sees the parent records. There is a link >>> to the child table records on the far right for each parent record that has >>> children. >>> >>> Is there a way to change the name of the child table link on the far >>> right from default "child_Table_name" to >>> "Click_here_to_see_details_**for_this_item" >>> ? >>> >>> Or is there a way to display a message near the link "Click here to see >>> this item's details" ? >>> >>> thanks, >>> >>> Alex Glaros >>> >>> On Wednesday, March 13, 2013 8:03:34 AM UTC-7, Jim S wrote: >>>> >>>> Or you can do it in code after the table is defined using: >>>> >>>> db.myfeet._plural = 'Feet' >>>> db.myfeet._singular = 'Foot' >>>> >>>> -Jim >>>> >>>> On Wednesday, March 13, 2013 9:22:59 AM UTC-5, Cliff Kachinske wrote: >>>>> >>>>> db.define_table('myfeet', >>>>> Field(...) >>>>> ..., >>>>> singular='Foot', >>>>> plural='Feet', >>>>> ) >>>>> >>>>> On Wednesday, March 13, 2013 10:08:29 AM UTC-4, software.ted wrote: >>>>>> >>>>>> Is there a way to change the labels of the tables in the generated >>>>>> breadcrumbs of the SQLFORM.grid as well as the link pointing to the >>>>>> linked >>>>>> tables to something custom. >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> ..............................**..............................** >>>>>> ........................... >>>>>> Teddy Lubasi Nyambe >>>>>> Opensource Zambia >>>>>> Lusaka, ZAMBIA >>>>>> >>>>>> Cell: +260 97 7760473 >>>>>> website: http://www.opensource.org.zm >>>>>> >>>>>> ~/ >>>>>> Human Knowledge belongs to the world! - AntiTrust >>>>>> >>>>>> Man is a tool-using animal. Without tools he is nothing, with tools >>>>>> he is all - Thomas Carlyle 1795-1881 >>>>>> >>>>>> /~ >>>>>> >>>>> -- > > --- > You received this message because you are subscribed to a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/Ft6b7SabnBM/unsubscribe?hl=en. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.