Results 1 to 2 of 2
  1. #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.

    thanks, April

  2. #2
    Affiliate Manager
    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

  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. NoCache meta tag
    By Convergence in forum Search Engine Optimization
    Replies: 10
    Last Post: June 21st, 2014, 12:28 AM
  2. New Aesop meta tag
    By icicle in forum Search Engine Optimization
    Replies: 1
    Last Post: March 28th, 2002, 04:21 PM
  3. Smart Tag Meta Tag Not Working?
    By gettnthar in forum Suspicious Activity!
    Replies: 5
    Last Post: January 29th, 2002, 05:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts