TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
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 03.12.2006, 12:40
Alexander
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] [Typo3-shop] LISTOFFERS: own template

Simon Tuck пишет:
> Joern Bock wrote:
>
>> Yes Simon, I had such a workaround with two different template files
>> in mind. But to be honest, a solutions as described by Franz would be
>> a much more tailor-made solution, don't you think?

>
> Hi Joern,
> Well, of course: If you are implementing a shop for a client then I
> expect it to be tailored to the customers needs. But I see no advantage
> in modifying the extension code when a couple of lines of TS will
> achieve the same result.
>
> However, if you still want to modify the code, then you should do as
> follows:
> In class.tx_ttproducts_list_view.php go to the method printView.
> Where it says:
>
> // Getting various subparts we're going to use here:
> $area = '';
> if ($memoItems != '') {
> $area = '###MEMO_TEMPLATE###';
> } else if ($theCode=='LISTGIFTS') {
> $area = '###ITEM_LIST_GIFTS_TEMPLATE###';
> } else {
> $area = '###ITEM_LIST_TEMPLATE###';
> }
>
> Modify the code to read:
>
> // Getting various subparts we're going to use here:
> $area = '';
> if ($memoItems != '') {
> $area = '###MEMO_TEMPLATE###';
> } else if ($theCode=='LISTGIFTS') {
> $area = '###ITEM_LIST_GIFTS_TEMPLATE###';
> } else if ($theCode=='LISTOFFERS') {
> $area = '###ITEM_LISTOFFERS_TEMPLATE###';
> } else {
> $area = '###ITEM_LIST_TEMPLATE###';
> }
>
> That ought to do the trick...
> Cheers,
> Simon
>

Hello Simon

Ca you post here more code modifications parts, becouse provided code
doesn't work. Or can you send me modified file by e-mail?

Alex
_______________________________________________
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!
 

Lesezeichen

Themen-Optionen
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
[TYPO3-shop] Re: [Typo3-shop] to browse categories in FE Alexander typo3-project-tt-products@lists.netfielders.de 0 02.12.2006 16:35


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:51 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

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 75 76 77