[ic] Can I mark an SQL table as "shared" from inside a UserTag?

Dan Browning interchange-users@icdevgroup.org
Fri Oct 25 13:28:01 2002


At 05:35 PM 10/25/2002 +0200, you wrote:
>On Fri, 25 Oct 2002 11:08:46 -0400
>Randy Moore <ramoore@axion-it.net> wrote:
>
> > Hi all,
> >
> > I've written a Usertag that uses DBI calls to run an sql query (thanks to
> > posts on the list showing how this can be done).  This usertag works fine
> > as long as I make sure the table I'm querying has been "shared" by adding
> > "[mvasp tables="mytable"][/mvasp]" to the top each page where I'm going to
> > use my new tag.
> >
> > Is there any code I can put in my Usertag that will make the table shared
> > so that I don't have to add this extra 'mvasp' tag everywhere?
>
>As long as it is catalog-level usertag you need to make the table shared
>with [mvasp] or [perl]. That's in fact annoying.

I wonder if it would be good to have a Usertag configuration option that 
takes care of everything, ala

"Usertag my_stuff DB    products options pricing"

Would have to think about that one...

--
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\
| Dan Browning, Kavod Technologies      <dan.browning@kavod.com> |
| (360) 882-7872 x7, 6700 NE 162nd Ave, Suite 210, Vancouver, WA |
\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
I see a good deal of talk from Washington about lowering taxes.  I hope
they do get 'em lowered enough so people can afford to pay 'em.
                 -- Will Rogers