Changing table from URL

5 posts by 2 authors in: Forums > CMS Builder
Last Post: February 8, 2010   (RSS)

Re: [jtedescojam] Changing table from URL

By Dave - February 8, 2010

Hi jtedescojam,

Yes, you could. Are these all single-record sections?

Let me know how you would like to have the urls look for each site and I'll see if I can write up some example code for you.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Changing table from URL

By jtedescojam - February 8, 2010

It's a multi section... Where there is a "list" field with a drop down to choose the category for each one... So each record us already set up with it's proper category location
John Tedesco

Creative Director



JAM Graphics

Re: [jtedescojam] Changing table from URL

By Dave - February 8, 2010

Ok, well there's a few ways you could do it already.

You could load a record by the category value (assuming your category field is called "category"):

yourviewer.php?category= hv_sidebar

Or you could load a record by the record number:

yourviewer.php?3

Would either of those work for you?
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Changing table from URL

By jtedescojam - February 8, 2010

'category' or 'section' is how I have it. Is fine.
John Tedesco

Creative Director



JAM Graphics