[FX.php List] Creating formatting from FX

Gjermund Gusland Thorsen ggt667 at gmail.com
Tue Aug 21 05:30:52 MDT 2007


Use str_replace() one the field and web viewer on the FileMaker layout
and you should be all ready to go.

ggt667

On 8/21/07, Steve Winter <steve at bluecrocodile.co.nz> wrote:
> lol
>
> No I'm not at all... I was simply having a little fun with you Gjermund
> because at times you're inclined to offer slightly cryptic advice... ;-)
>
> The reply you posted about always using CSS was about 180 degrees off, since
> my question had been how do I get text, which I generate with PHP, and
> insert into an FMP field, to show formatting (bold for some words) when
> viewed within Filemaker... I'd had a number of suggestions, all of which
> featured defining fields and storing the text I wanted in bold in one field,
> the non-bold in another and then concatenating them together...
>
> Then you pooped up and said use CSS, which I know won't work, since my notes
> field in FMP will just display the code, not the formatting, so I was
> attempting to pull your leg a little...
>
> Seems however that the joke was on me...
>
> Cheers
> Steve
>
> -----Original Message-----
> From: fx.php_list-bounces at mail.iviking.org
> [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Gjermund Gusland
> Thorsen
> Sent: Tuesday, 21 August 2007 7:51 a.m.
> To: FX.php Discussion List
> Subject: Re: [FX.php List] Creating formatting from FX
>
> Actually I think you are looking for this:
> http://www.php.net/manual/en/function.str-replace.php
>
> ggt667
>
> On 8/21/07, Gjermund Gusland Thorsen <ggt667 at gmail.com> wrote:
> > Formatting of the text can always be done using CSS AFAIK
> >
> > However it sounds like you also include parsing; such as strstr() in
> > your term formatting...
> >
> > ggt667
> >
> > On 8/21/07, Glenn Singleton <glenn at fmutils.com> wrote:
> > > Steve,
> > >
> > > Within FMP you could achieve this (I think) by exporting your data to
> > > a local html file (that already had a style sheet specified) and then
> > > viewing that file in Filemaker using the Web Viewer.
> > >
> > > Am I right ? Never tried this with a CSS but I think should work.
> > >
> > >
> > > Regards
> > > Glenn Singleton
> > > glenn at fmutils.com a.h.[ glenn at cornerstoneict.com.au b.h.]
> > > www.fmutils.com - totally free computer software and utilites for
> > > filemaker plus more
> > > focusing on the needs of special children ( contributions wanted !)
> > > [Mac G4 OS X 10.4.9, Mail V2.1]
> > >
> > >
> > >
> > >
> > > On 20/08/2007, at 5:26 PM, Steve Winter wrote:
> > >
> > > > Really...?? I can use CSS to style the way content is displayed within
> > > > fields in FMP...?? tell me more, this would be extremely useful I'd
> > > > just
> > > > never heard it was possible...???
> > > >
> > > > (Either that or you've picked up the wrong end of the thread ;-)
> > > >
> > > > Cheers
> > > > Steve
> > > >
> > > > -----Original Message-----
> > > > From: fx.php_list-bounces at mail.iviking.org
> > > > [mailto:fx.php_list-bounces at mail.iviking.org] On Behalf Of Gjermund
> > > > Gusland
> > > > Thorsen
> > > > Sent: Sunday, 19 August 2007 11:43 p.m.
> > > > To: FX.php Discussion List
> > > > Subject: Re: [FX.php List] Creating formatting from FX
> > > >
> > > > Please use CSS-style when you want to pick a font and size.
> > > >
> > > > Gjermund
> > > >
> > > > On 8/19/07, Glenn Singleton <glenn at fmutils.com> wrote:
> > > >> Steve,
> > > >>
> > > >> It depends on where you want the result shown...
> > > >>
> > > >> This is the way I would do it
> > > >>
> > > >> 1. Define a field for the data you want in bold say resultBold_t
> > > >>
> > > >> 2. Defina a field for the rest of the data say result_t
> > > >>
> > > >> 3. Build a calculation in PHP or Filemaker that combines the two and
> > > >> shows resultBold_t & result_t in the font and style you require.
> > > >>
> > > >> HTH
> > > >>
> > > >> Regards
> > > >> Glenn Singleton
> > > >> glenn at fmutils.com a.h.[ glenn at cornerstoneict.com.au b.h.]
> > > >> www.fmutils.com - totally free computer software and utilites for
> > > >> filemaker plus more
> > > >> focusing on the needs of special children ( contributions wanted !)
> > > >> [Mac G4 OS X 10.4.9, Mail V2.1]
> > > >>
> > > >>
> > > >>
> > > >>
> > > >> On 08/08/2007, at 1:11 AM, Chris Hansen wrote:
> > > >>
> > > >>> Steve,
> > > >>>
> > > >>> I don't know of any definitive way of doing this.  If it did work,
> > > >>> it would have to be on the FileMaker side, as this isn't something
> > > >>> that the WPE really allows for.  I'd experiment with writing to a
> > > >>> global, and then using a FileMaker script to write in the data and
> > > >>> formatting.  I'm not sure if that would work, but that's what I'd
> > > >>> try.  HTH
> > > >>>
> > > >>> --Chris Hansen
> > > >>>   FileMaker 8 Certified Developer
> > > >>>   FileMaker 7 Certified Developer
> > > >>>   Creator of FX.php
> > > >>>   "The best way from FileMaker to the Web."
> > > >>>   www.iViking.org
> > > >>>
> > > >>>
> > > >>> On Aug 7, 2007, at 8:29 AM, Steve Winter wrote:
> > > >>>
> > > >>>> Hi all,
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>> I'm working on a solution which uses FMP as the backend db for
> > > >>>> both desktop and web users, essentially I'm adding a web component
> > > >>>> to an existing system. In the desktop based version they use a
> > > >>>> standard field to record 'notes'.
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>> The business rule of the organisation is, if you add a note, you
> > > >>>> add initials and date, in bold, after that note. It comes to pass
> > > >>>> that I need to put some information into that notes filed from FX.
> > > >>>> Is there any way to force specific characters in a text field to
> > > >>>> be in bold...?
> > > >>>>
> > > >>>>
> > > >>>>
> > > >>>> Thanks
> > > >>>>
> > > >>>> Steve
> > > >>>>
> > > >>>>
> > > >>>> No virus found in this outgoing message.
> > > >>>> Checked by AVG Free Edition.
> > > >>>> Version: 7.5.476 / Virus Database: 269.11.8/940 - Release Date:
> > > >>>> 6/08/2007 4:53 p.m.
> > > >>>>
> > > >>>> _______________________________________________
> > > >>>> FX.php_List mailing list
> > > >>>> FX.php_List at mail.iviking.org
> > > >>>> http://www.iviking.org/mailman/listinfo/fx.php_list
> > > >>>
> > > >>> _______________________________________________
> > > >>> FX.php_List mailing list
> > > >>> FX.php_List at mail.iviking.org
> > > >>> http://www.iviking.org/mailman/listinfo/fx.php_list
> > > >>
> > > >> _______________________________________________
> > > >> FX.php_List mailing list
> > > >> FX.php_List at mail.iviking.org
> > > >> http://www.iviking.org/mailman/listinfo/fx.php_list
> > > >>
> > > > _______________________________________________
> > > > FX.php_List mailing list
> > > > FX.php_List at mail.iviking.org
> > > > http://www.iviking.org/mailman/listinfo/fx.php_list
> > > >
> > > > No virus found in this incoming message.
> > > > Checked by AVG Free Edition.
> > > > Version: 7.5.484 / Virus Database: 269.12.0/960 - Release Date:
> > > > 18/08/2007
> > > > 3:48 p.m.
> > > >
> > > >
> > > > No virus found in this outgoing message.
> > > > Checked by AVG Free Edition.
> > > > Version: 7.5.484 / Virus Database: 269.12.0/960 - Release Date:
> > > > 18/08/2007
> > > > 3:48 p.m.
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > FX.php_List mailing list
> > > > FX.php_List at mail.iviking.org
> > > > http://www.iviking.org/mailman/listinfo/fx.php_list
> > >
> > > _______________________________________________
> > > FX.php_List mailing list
> > > FX.php_List at mail.iviking.org
> > > http://www.iviking.org/mailman/listinfo/fx.php_list
> > >
> >
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.484 / Virus Database: 269.12.0/961 - Release Date: 19/08/2007
> 7:27 a.m.
>
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.484 / Virus Database: 269.12.0/961 - Release Date: 19/08/2007
> 7:27 a.m.
>
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>


More information about the FX.php_List mailing list