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.
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
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
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
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:
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:<div class="image"><?php echo $entry['data']['image']['value']; ?></div>
to see all of the template variables available to use in your template (that's also in the tutorial, by the way).Code:<pre><?php print_r($this->entries); ?></pre>
Brian
I have done this in the past with CSS and display:none; on the labels you don't want to show.
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.
Little late...I've solved with your help. Thank you very much.
Web design agency - EDsolution.si Izdelava spletnih strani
Bookmarks