Results 1 to 2 of 2
May 6th, 2004, 06:48 PM #1
- Join Date
- January 17th, 2005
Is it possible to include a conditional statement in the Category Template Meta Title, Description or Keyword tags?
I tried using the same code I use to automatically generate the tags for the detail pages . . . but in the Category Template - it just picks up the first row of the database.
So I tried a conditional tag, but that didn't work.
Guess I'll just add the Category Template Meta Tags manually, but I thought it would be cool to have them generated by the script.
May 6th, 2004, 10:17 PM #2
- Join Date
- January 18th, 2005
- Los Angeles, California
From the WM Help page on "Preparing Your Templates:
If your index template contains WebMerge tags before
the [WM-Record] tag or after the [/WM-Record] tag,
WebMerge will still process those tags, using the
data from the first record of your source file.
The difficulty is that with so many records on an index page WebMerge has no way of knowing which record you want to use outside of a WM-Record tag.
What sort of syntax would you like to see to allow a specific record to be used on an index page? I'd be happy to see if I can add that.Richard Gaskin
Developer of WebMerge: Publish any data feed on any site
By Convergence in forum Search Engine OptimizationReplies: 10Last Post: June 21st, 2014, 12:28 AM
By icicle in forum Search Engine OptimizationReplies: 1Last Post: March 28th, 2002, 04:21 PM
By gettnthar in forum Suspicious Activity!Replies: 5Last Post: January 29th, 2002, 05:41 PM