Re: Displaying cat field in title tag

David Christensen <[email protected]> Thu, 29 Mar 2018 13:15:29 -0500
Newsgroups gmane.comp.web.interchange.users
Message-ID <[email protected]>
>  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
--
David Christensen
End Point Corporation
[email protected]
785-727-1171

_______________________________________________
interchange-users mailing list
[email protected]
http://www.icdevgroup.org/mailman/listinfo/interchange-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIyBAEBCAAdFiEECKA1l4YEfF4eK4/eN0ojyd+bZbgFAlq9LUEACgkQN0ojyd+b
ZbiM/g/45TBFOrwHYFqsWM+EVlTWpOakX6erAspJ8xP+gsSoqy/7vWFq0f9vvc9J
o6Bv/TpWO90F/+XQyUkAUwN3vj6FwmbmqPIzbRLHV24uGlt2qFZUrLV9u6/CRp89
Sbz7hwedBCGXy/DtinndWdQpRyFSiRpIxC6y6rPT+8XRKgARFN39Z84WOF7mzWvS
QnKJgcPIecBZ/gDdEdqCfT9ATYGeegPSn9T8TP7u4YkF09bP7HGaXT72JeGaF6NZ
QL0AD0ZKIkhENuDxXn5SwrjGL0N293ZtOgBwsxk2NvTATcF/smuR0OZCIFJUMK4S
VnXb2epgKcB/z08yuCiBJBE0unrNpj2cWgW/Zt4l64p7Rcsnak3LKdN/715RsvcW
gN66slCHAVbq7BDGWKXPoMYzjxAlPGHPtoC8hivu3kicBvj8o8k8PeuK/4f+7mbB
9nGqkwkquMGATfeQHJMLxwkUtZ9/BbMAoHMNdpUG+TT9nBVRPEDhgZJzc9mu4Wpy
EoTyPjjXahgWzv0b8y6MWMRawMp2fB/W+Be1X97SQVmaz1IdvegEIWvB4VmwrT8O
kGFNe49gA6J8R/nZ8lw4xssHplgpIQrT9NARP5E9udV1ZD5oDyzBbWeXm0POnuYa
pMOVi7iBnVNx4HPdNuJIc5HGeZYbGEEzO0dNGJSEzXcfS9qPLg==
=Et2u
-----END PGP SIGNATURE-----