Results 1 to 4 of 4
  1. #1
    Newbie
    Join Date
    September 15th, 2005
    Location
    Atlanta, GA
    Posts
    2
    Excludecertain rsults in list format
    I am a new user of AE and I am using a list format: <script SRC="/cgi-bin/ae/ae.pl?script&type=search&mode=books&keyword=aston+martin&format=list3-01"></script>

    Is there any way to exclude items in the results if they have no image or no price? I tried using: <!--if details.ImageThumb--> in the format file, but it did not seem to effect the results.

    Thanks for your help.

    Doug Wilkinson

  2. #2
    ABW Ambassador cusimano's Avatar
    Join Date
    January 18th, 2005
    Location
    Toronto, Canada
    Posts
    1,369
    In ae.ini, set imagewh to yes otherwise <!--if details.ImageThumb--> will always be true.

    Note: The recommended setting for imagewh is "no" so that results are returned faster. If set to "yes", image data must be fetched (and cached) from amazon.com's website thus slowing down results the first time they are returned.

    Yours truly,
    Cusimano.Com Corporation
    per: David Cusimano

  3. #3
    Newbie
    Join Date
    September 15th, 2005
    Location
    Atlanta, GA
    Posts
    2
    Thanks for the quick response. I made the change and it worked. However, at the bottom of the list it says 1-10 results even thought fewer are shown. It there any way to change this?

    Also, can parameters set in ae.ini be overridden for a specific format file?

  4. #4
    ABW Ambassador cusimano's Avatar
    Join Date
    January 18th, 2005
    Location
    Toronto, Canada
    Posts
    1,369
    1. The "1-10" indicates the results on the current page (even if you caused some of them to be hidden). To completely remove the "Previous / ###-### / More" line, edit ae.ini and set prevNext to no. There is no configuration variable to remove just the "###-###". The line is generated by the <!--format.prevNext--> formatting code.

    2. No, configuration variables cannot be overridden in template/format files. What do you want to do?

    Yours truly,
    Cusimano.Com Corporation
    per: David Cusimano

  5. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. List Format for AE
    By bandi in forum Cusimano.com Scripts
    Replies: 1
    Last Post: April 25th, 2008, 02:22 PM
  2. How to remove page number from bottom of default format list
    By alkenmrs in forum Cusimano.com Scripts
    Replies: 1
    Last Post: October 19th, 2005, 01:59 AM
  3. asinsearch.format and grid list format
    By speedcreed in forum Cusimano.com Scripts
    Replies: 1
    Last Post: August 21st, 2003, 09:50 AM
  4. New Format
    By Haiko de Poel, Jr. in forum Midnight Cafe'
    Replies: 36
    Last Post: August 24th, 2002, 01:14 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
  •