From: Honza M. <hon...@ec...> - 2005-06-07 15:48:41
|
Hi Michael, Yes, exactly! Thanks. Actually I do not know, why "Related Item Window" didn't have this functionality - I hope all other input types have it already. Of course you can post it to CVS. Parameter wizard settings is in include/constants_param_wizard.php3 file - I think you will find it easy to edit. There is another issue - this setting do not control the text, which is copied from "Related Item Window" when you select the article. Fro this we intend to use _#JS_HEAD_ alias. This one is used if you define it in the slice, and if not, then it is constructed from headline........ field online. This idea is not bad, but unfortunately do not work as we expected, since the _#JS_HEAD_ alias is encapsulated in _#AA_ACTIO alias - you will se it in the code. I'm writing it just to give you the pointer, if you would have the time to fix it. I'm sorry I can't response earlier. I'm also sorry that I can't meet you in Umag. Hopefully next time ... Honza =20 =20 V =DAt, 07. 06. 2005 v 13:31, Michael Moritz p=ED=B9e: > Hi Honza >=20 > I have managed to "hack" this into the formutil -- see diff below. I ap= pended=20 > it to the options of Related Item Window input type. Now one can=20 > put :text............ and it will display that field instead of the=20 > headline. >=20 > I just wondered how I get this into the parameter wizard? Any hints? >=20 > Once I have that is it ok to go into cvs or do you have concerns? >=20 > Thanks, >=20 > mimo >=20 > cvs diff formutil.php3 > Index: formutil.php3 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /cvsroot/apc-aa/apc-aa/include/formutil.php3,v > retrieving revision 1.99 > diff -r1.99 formutil.php3 > 288a289 > > unset($aainput); > 474c475 > < } > --- > > } > 660c661 > < case 'freeze_iso': list(, $rows, $mode, $design, $tp, $ac= tions,=20 > $whichitems, $conds, $condsrw) =3D $this->param; > --- > > case 'freeze_iso': list(, $rows, $mode, $design, $tp, $ac= tions,=20 > $whichitems, $conds, $condsrw, $slice_field) =3D $this->param; > 670c671 > < $sid =3D $this->fill_const_arr('', fal= se,=20 > false, AA_BIN_ALL, $this->value, $tagprefix); // if we fill it there, = it is=20 > not refilled in inputSel() > --- > > $sid =3D $this->fill_const_arr($slice_= field,=20 > false, false, AA_BIN_ALL, $this->value, $tagprefix); // if we fill it = there,=20 > it is not refilled in inputSel() >=20 >=20 > On Monday 06 June 2005 16:33, Michael Moritz wrote: > > Just to explain: > > > > at the moment I have: > > > > RELATED ITEM WINDOW > > Input field type in Add / Edit item. > > Constants: <my other slice> > > ... > > > > The problem is that in Add/Edit Item this can only display the headli= ne > > field from the related item, but I can select different one. And my > > headline is empty/nonexistant.. > > > > Michael > > > > On Monday 06 June 2005 16:29, Michael Moritz wrote: > > > ---------- Forwarded Message ---------- > > > > > > Subject: [Apc-aa-general] related items in itemeditor and displayin= g > > > something else than the headline > > > Date: Tuesday 31 May 2005 15:07 > > > From: Michael Moritz <mi...@gn...> > > > To: apc...@li... > > > > > > Hi Honza > > > > > > I guess this is not possible but could I use something else than th= e > > > headline in the item editor (itemedit.php3)? > > > > > > I mean not in the se_related window that pops up but the listing yo= u get > > > when editiing the item. > > > > > > I tried looking at the code but cant really figure out where to dig= in to > > > get this functionality... > > > > > > > > > Thanks, > > > > > > mimo > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you > > shotput a projector? How fast can you ride your desk chair down the o= ffice > > luge track? If you want to score the big prize, get to know the littl= e guy. > > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=3D2= 0 > > _______________________________________________ > > apc-aa-general mailing list > > apc...@li... > > https://lists.sourceforge.net/lists/listinfo/apc-aa-general >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. How far can you s= hotput > a projector? How fast can you ride your desk chair down the office luge= track? > If you want to score the big prize, get to know the little guy. =20 > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=3D20 > _______________________________________________ > apc-aa-general mailing list > apc...@li... > https://lists.sourceforge.net/lists/listinfo/apc-aa-general --=20 Honza Malik <hon...@ec...> Econnect |