Results 1 to 7 of 7

Thread: Catalog Image

  1. #1

    Default Catalog Image

    I've got one question about catalog list.

    How do I get rid of label in type="file" ?

    I want only to be image displayed not lable of image and image.
    How is this possible without css hack display:none?
    Thanks.
    Web design agency - EDsolution.si Izdelava spletnih strani

  2. #2
    Experienced user
    Join Date
    08-21-09.
    Posts
    563

    Default Re: Catalog Image

    You can find a link to the Catalog templates tutorial here:

    viewtopic.php?f=27&t=15&p=28&hilit=EN_CatalogTempl atesTutorial#p28
    Brian

  3. #3

    Default Re: Catalog Image

    I've read all tutorials about Catalog but there is no mention about adding custom value or delete value.
    Web design agency - EDsolution.si Izdelava spletnih strani

  4. #4
    Experienced user
    Join Date
    08-21-09.
    Posts
    563

    Default Re: Catalog Image

    It's right there -- see Part 3 of that tutorial, as an example -- it shows a sample custom template where you can see how to add values where you want them. For instance see line 8 of that block of custom code:

    Code:
    <div class="image"><?php echo $entry['data']['image']['value']; ?></div>
    This example shows a field in the catalog named "image" in the desired location (without a label). In your custom template, you can use:

    Code:
    <pre><?php print_r($this->entries); ?></pre>
    to see all of the template variables available to use in your template (that's also in the tutorial, by the way).
    Brian

  5. #5
    User
    Join Date
    06-19-09.
    Posts
    89

    Default Re: Catalog Image

    I have done this in the past with CSS and display:none; on the labels you don't want to show.

  6. #6
    Experienced user
    Join Date
    06-10-09.
    Location
    Cape Town, South Africa
    Posts
    1,387

    Default Re: Catalog Image

    You just go into the catalog template and remove the label for images, or manually create a template that ONLY writes out what you need. The catalog is way too generic to be able to know what you'd like in your custom template.

  7. #7

    Default Re: Catalog Image

    Little late...I've solved with your help. Thank you very much.
    Web design agency - EDsolution.si Izdelava spletnih strani

Bookmarks

Posting Permissions

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