Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    January 18th, 2005
    Posts
    184
    Is it possible to do a WM-IF statement with the function that is provided for changing index pages if a value changes?

    [WM-IF: Field: Foo changes]A[WM-ELSE]B[/WM-IF]

    The else part would start a new page.

    Also is it possible to do if [field: foo is blank] I have been using a different technique in the meantime.

  2. #2
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by limey:
    Is it possible to do a WM-IF statement with the function that is provided for changing index pages if a value changes?

    [WM-IF: Field: Foo changes]A[WM-ELSE]B[/WM-IF]

    The else part would start a new page.
    <HR></BLOCKQUOTE>

    In WebMerge the settings for page breaks are handke in the interface rather than in templates. Will the options in the Index Pages tab do what you need?


    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Also is it possible to do if [field: foo is blank] I have been using a different technique in the meantime.<HR></BLOCKQUOTE>

    You can use either "" or the constant empty:

    [WM-If: Field: MyField is ""]
    [WM-If: Field: MyField is empty]

    --
    Richard Gaskin
    Fourth World Media Corporation
    Developer of WebMerge: Publish any database on any site
    ___________________________________________________________
    Ambassador@FourthWorld.com http://www.FourthWorld.com
    Tel: 323-225-3717 AIM: FourthWorldInc

  3. #3
    Member
    Join Date
    January 18th, 2005
    Posts
    184
    Thanks for the second part answer..that really helps..

    First part..Yes the index page tab has the ability to make new index pages, but not based on a variable as well. Is there a way to make a page break, but still call the files hair.html & cologne.html for example instead of product0001.html and product 0002.html

    Is it possible yet, to add something to the WM-Record tag to do a certain amount of items before a new page is made and then it could name it like hair.html, hair0001.html, hair0002.html etc.

    thanks again.

  4. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. I have a question
    By bnorris10 in forum Commission Junction - CJ
    Replies: 1
    Last Post: January 17th, 2007, 01:43 PM
  2. Pixel Tracking Question.. (Tech Question)
    By CoolAffiliate in forum Midnight Cafe'
    Replies: 1
    Last Post: August 14th, 2006, 01:40 AM
  3. PR question
    By UncleScooter in forum Midnight Cafe'
    Replies: 7
    Last Post: July 20th, 2004, 02:18 PM
  4. One last question
    By ronwls in forum Midnight Cafe'
    Replies: 1
    Last Post: September 28th, 2003, 11:35 PM
  5. Replies: 3
    Last Post: April 29th, 2003, 06:31 AM

Posting Permissions

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