Re: Displaying cat field in title tag
"Steve Bronson" <[email protected]> Thu, 29 Mar 2018 11:48:52 -0700 (PDT)
| Newsgroups | gmane.comp.web.interchange.users |
|---|---|
| Message-ID | <[email protected]> |
Steve Bronson Air Delights, Inc. http://www.airdelights.com [email protected] Phone: 1-800-440-5556 Fax: 1-503-643-8224 Air Delights, Inc. is a National Distributor of Plumbing Products and Restroom Accessories. Please visit our website at http://www.airdelights.com -----Original Message----- From: "David Christensen" <[email protected]> Sent: Thursday, March 29, 2018 11:15am To: [email protected] Subject: Re: [ic] Displaying cat field in title tag _______________________________________________ interchange-users mailing list [email protected] http://www.icdevgroup.org/mailman/listinfo/interchange-users > Yes, I have the flypage but not sure of the code to display the field contents. The mysql location of the field is cat::title_head_format. > > What code would I use to display this field in my title tag? > > this is the url of the page, it's a category page: > http://www.airdelights.com/workplace-safety-signs-category.html?cat=5839 <http://www.airdelights.com/workplace-safety-signs-category.html?cat=5839> > > thanks David! > [email protected] <mailto:[email protected]> Hi Steve, If the page in question already has something setting the page title (most do, via the [tmp page_title]…[/tmp] construct) you could adjust it in there. So if it’s already a flypage or similar construct, you can access the item’s properties, say: [tmp page_title][either][item-param title_head_format][or]__COMPANY_NAME__[/either][/tmp] You would need to match the PREFIX-param against the other ones in this page if they appear; not being familiar with your specific setup I can’t offer much more than general guidance. Best, David -- This worked!!! [tmp page_title][data base=cat col=title_head_format key="[cgi cat]"][if scratch content][scratch content][/if] | Air Delights[/tmp] Thanks David! _______________________________________________ interchange-users mailing list [email protected] http://www.icdevgroup.org/mailman/listinfo/interchange-users