Re: Displaying cat field in title tag

David Christensen <[email protected]> Thu, 29 Mar 2018 12:53:20 -0500
Newsgroups gmane.comp.web.interchange.users
Message-ID <[email protected]>
On Mar 29, 2018, at 12:18 PM, Steve Bronson <[email protected]> wrote:
> 
> Looking for help on displaying field in <title> tag in header.
> 
> The field is in cat and field name is title_head_format
> 
> How would I display contents of this field in my <title> tag?

Hi Steve,

You’d need to locate the template/page that is currently being used to generate the specific page (likely in the catalogs/<blah>/templates/ … directory) and locate the existing <title> block.

A likely recipe to find this relatively easily would be (from catalog root):

grep -R ‘<title>’ .

Once you find where the existing piece is, you can modify it to add the corresponding field via a [data …] or variable substitution if through the flypage.

HTH,

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-----

iQIzBAEBCAAdFiEECKA1l4YEfF4eK4/eN0ojyd+bZbgFAlq9KBAACgkQN0ojyd+b
ZbjlIw/7B0qURLcYnjrBiary3wDBWd/8RvthJ5qpTsDvt4/opL8ZaybDTfY//5pt
lRIjt9yhDGIwHStNEtX83f4dXn8bqMFtN69MtEI4pu7GT8PjQGczO3vNTlmvjgPD
UMJXttEbcoUF5X1BSKuz6YLeHRMUy0alhMsS+ZU5Np6S1QirbS/+/JU4cfvMJ+wv
s7Yla9Pw9BMrzZJaheJPQlqRZAzrwsMr3vDFYcbMirmNnw56ce75YQUj84PLE70u
OjUb9Q48Lb9LED4i+FjNPcvs9ETMXRyjaW9kcPKxUu/p1RhJUSM0w5cMDqBaYQJc
oAbb7LrAdtBVUe9wHv+gnEuW4CxInW9XeUiHcslfgCXp+diXhOEX8xD32+4Q+CIZ
D5Ts2t7yg5dgVhf8ykcPL9ekWvKYDoWhQvUdGBPV294MFPNWlO093VrH2qqRVimo
98tvPLnOJrsDnPqGTkn2NGKnSg7Jvd/17Fo31crhjTueFDm6zosln3kkBIQZNDvH
E/nteDf7d4Y8qqiRVceYnQra7Vr9t/ZKwH09Xq7shcNPpcc4kwSwtUwpuD7V5PH8
DiuwJRkeNw7i3/E5eR/1Mxa6s4bGW++84u53cZWaJpiozdb4hKvlgWXPZwHXKkE5
4xcKvJ8Lit5gNg485ordH3L5zirJhM5MtziWn2JfN6P/EeQ/rCA=
=uXJo
-----END PGP SIGNATURE-----