
<DIV id=left> <!-- Bild links --> <img width="375" height="400" src="[*default-image*]" alt="" /> </div> <DIV id=content> [*content*] <br /> </DIV>
Create a TV named [*default-image*] from resource section, select URL from Input type, and insert it in your template like this:Any special reason why you use the URL type here instead of the image type? I use this with a TV that has input and output type "image" and it gives me the nice imagebrowser in the manager and I just put [*tvname*] in my document.
Any special reason why you use the URL type here instead of the image type? I use this with a TV that has input and output type "image" and it gives me the nice imagebrowser in the manager and I just put [*tvname*] in my document.
.. There are always multiple ways to do same stuff in MODx
.
Any special reason why you use the URL type here instead of the image type? I use this with a TV that has input and output type "image" and it gives me the nice imagebrowser in the manager and I just put [*tvname*] in my document.
Are questions regarding CSS-problems welcome here?BTW, I defined the TV with input type image, how about the output type? Is that the select-box with entries like "Data Grid" or "Floater"? What would be the difference - that it outputs the whole image-tag and not only the src=-part?You got it, you can set the properties in the widget and that controls the output, in this case it would render the <img> tag for you.
it looked great in IE but with Firefox 1.5 it’s a bit scrambledWell, makes a change from IE being the culpritAre questions regarding CSS-problems welcome here?
As for CSS questions, don’t see why not
Ah, nice to know - I had some difficulties with the documentation, know it’s more clear to me. I always thought custom TVs would give elements for the user side (i.e. like a ticker), didn’t know that they can be used for the admin-part as well.
Quote from: Frisco at Mar 16, 2006, 04:07 PMBTW, I defined the TV with input type image, how about the output type? Is that the select-box with entries like "Data Grid" or "Floater"? What would be the difference - that it outputs the whole image-tag and not only the src=-part?You got it, you can set the properties in the widget and that controls the output, in this case it would render the <img> tag for you.
Quote from: Frisco at Mar 16, 2006, 04:07 PMit looked great in IE but with Firefox 1.5 it’s a bit scrambledWell, makes a change from IE being the culpritAre questions regarding CSS-problems welcome here?
As for CSS questions, don’t see why not

BTW, I defined the TV with input type image, how about the output type? Is that the select-box with entries like "Data Grid" or "Floater"? What would be the difference - that it outputs the whole image-tag and not only the src=-part?