TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3-shop] markers for individual images in template

This is a discussion on [TYPO3-shop] markers for individual images in template within the typo3-project-tt-products@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; is it possible to make markers in the template that would be replaced with a specific image (number)? for instance, ...


Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-project-tt-products@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 19.07.2007, 19:30
Andrew Davis
Gast
 
Beiträge: n/a
Standard [TYPO3-shop] markers for individual images in template

is it possible to make markers in the template that would be replaced
with a specific image (number)?

for instance, if i have 2 images in a product, i wnt to be able to make
a template marker

###PRODUCTS_IMAGE:1### which would pull the 1st one only, and
###PRODUCTS_IMAGE:2### whicg would pull the 2nd one....

is this possible?

thanks,
andrew
_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 20.07.2007, 15:32
Franz Holzinger
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] markers for individual images in template

Hello Andrew,

> is it possible to make markers in the template that would be replaced
> with a specific image (number)?
>
> for instance, if i have 2 images in a product, i wnt to be able to make
> a template marker
>
> ###PRODUCTS_IMAGE:1### which would pull the 1st one only, and
> ###PRODUCTS_IMAGE:2### whicg would pull the 2nd one....
>
> is this possible?


Use this:

###PRODUCTS_IMAGE1###
###PRODUCTS_IMAGE2###

The colon ':' is used only if a special image size configuration is needed.

- Franz






_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 24.07.2007, 22:34
Andrew Davis
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] markers for individual images in template

how can I define such a size configuration?

that sounds interesting...

a




Franz Holzinger wrote:
> Hello Andrew,
>
>> is it possible to make markers in the template that would be replaced
>> with a specific image (number)?
>>
>> for instance, if i have 2 images in a product, i wnt to be able to make
>> a template marker
>>
>> ###PRODUCTS_IMAGE:1### which would pull the 1st one only, and
>> ###PRODUCTS_IMAGE:2### whicg would pull the 2nd one....
>>
>> is this possible?

>
> Use this:
>
> ###PRODUCTS_IMAGE1###
> ###PRODUCTS_IMAGE2###
>
> The colon ':' is used only if a special image size configuration is needed.
>
> - Franz
>
>
>
>
>
>

_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #4  
Alt 24.07.2007, 22:40
Andrew Davis
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] markers for individual images in template

this doesnt appear to work.... also, products is always only displaying
the first product in the record list.

do i need to do soemthing special to get it to display more than 1
image? (sorry, confused).

Franz Holzinger wrote:
> Hello Andrew,
>
>> is it possible to make markers in the template that would be replaced
>> with a specific image (number)?
>>
>> for instance, if i have 2 images in a product, i wnt to be able to make
>> a template marker
>>
>> ###PRODUCTS_IMAGE:1### which would pull the 1st one only, and
>> ###PRODUCTS_IMAGE:2### whicg would pull the 2nd one....
>>
>> is this possible?

>
> Use this:
>
> ###PRODUCTS_IMAGE1###
> ###PRODUCTS_IMAGE2###
>
> The colon ':' is used only if a special image size configuration is needed.
>
> - Franz
>
>
>
>
>
>

_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #5  
Alt 24.07.2007, 23:41
Andrew Davis
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] markers for individual images in template

scratch that, it works fine. here is my constants to make it happen:


plugin.tt_products.separateImage = 1
plugin.tt_products.limitImageSingle = 10


andrew



Andrew Davis wrote:
> this doesnt appear to work.... also, products is always only displaying
> the first product in the record list.
>
> do i need to do soemthing special to get it to display more than 1
> image? (sorry, confused).
>
> Franz Holzinger wrote:
>> Hello Andrew,
>>
>>> is it possible to make markers in the template that would be replaced
>>> with a specific image (number)?
>>>
>>> for instance, if i have 2 images in a product, i wnt to be able to make
>>> a template marker
>>>
>>> ###PRODUCTS_IMAGE:1### which would pull the 1st one only, and
>>> ###PRODUCTS_IMAGE:2### whicg would pull the 2nd one....
>>>
>>> is this possible?

>>
>> Use this:
>>
>> ###PRODUCTS_IMAGE1###
>> ###PRODUCTS_IMAGE2###
>>
>> The colon ':' is used only if a special image size configuration is
>> needed.
>>
>> - Franz
>>
>>
>>
>>
>>
>>

_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #6  
Alt 11.07.2008, 03:33
Juan Pablo Villaverde
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] markers for individual images in template

_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #7  
Alt 11.07.2008, 13:17
Franz Holzinger
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] markers for individual images in template

Juan Pablo Villaverde a écrit :
> You mentioned the possibility of custom sizes for each product image using
> PRODUCTS_IMAGE:1, PRODUCTS_IMAGE:2, etc.
> How can this be done? Please publish the required typoscript.
>


You must use the image markers correctly:


###PRODUCTS_IMAGE1###

Use the colon to have a separate image setup:

###PRODUCTS_IMAGE1:MYSETUP###

And in the setup you can have for the tt_products table with all codes:

plugin.tt_products.conf.tt_products.ALL.image.myse tup {
wrap = |<br />
file.maxW = 320
file.maxH = 280
}


Franz
_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #8  
Alt 11.07.2008, 18:07
Juan Pablo Villaverde
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] markers for individual images in template

_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #9  
Alt 14.07.2008, 11:10
Franz Holzinger
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] markers for individual images in template

Juan Pablo Villaverde a écrit :
> I tried but now the image dissapeared!
>
> I have this:
> <ul><li>###PRODUCT_IMAGE2OS###</li></ul>
> and this:
> plugin.tt_products.conf.tt_products.ALL.image.dos {
> wrap = |
> file.maxW = 32
> file.maxH = 28
> }
>
> Should I enable something else via typoscript?
>

Yes, if you have more than one image, you must always set:

limitImage = 10
separateImage = 1

Franz



_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #10  
Alt 15.07.2008, 04:14
Juan Pablo Villaverde
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] markers for individual images in template

_______________________________________________
TYPO3-project-tt-products mailing list
TYPO3-project-tt-products (AT) lists...netfielders.de
http://lists.netfielders.de/cgi-bin/...ct-tt-products
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
Re: [TYPO3-shop] ###MARKERS### Franz Holzinger typo3-project-tt-products@lists.netfielders.de 3 26.05.2007 20:40
[TYPO3-shop] Hook for own markers Tapio Markula typo3-project-tt-products@lists.netfielders.de 4 29.03.2007 14:30
[TYPO3-shop] Dimensions of images Tapio Markula typo3-project-tt-products@lists.netfielders.de 0 12.03.2007 10:22
[TYPO3-shop] mini-basket -> markers daniel typo3-project-tt-products@lists.netfielders.de 1 21.02.2007 11:48
[TYPO3-shop] Show product images separated Marko Milosevic typo3-project-tt-products@lists.netfielders.de 1 31.01.2007 13:29


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:24 Uhr.


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74