[TYPO3-commerce] How can I replace the checkout-steps text with graphic
Mario Hinterreiter
mrng at gmx.net
Mon Sep 8 09:55:49 CEST 2008
Thanks Pascal,
I got it working now with a combination of background images on the
whole bar and the single steps.
Great tip with using html in local_lang - I tried this some time ago in
another extension and it didn't work so I thought there's still only
text allowed here.
cheers, mario
Pascal Cramer schrieb:
> sorry, perhaps I was too quick there.
> What I should have said:
> if you want the texts to become images, change them in the local_lang, you can
> use html in there, fe:
> label_step_billing = <img src="billing_step.gif">
>
> If you want backgrounds: change the default template
> (pi3/template_checkout.tpl), add css classes and style them in the css.
> You are right: by default there are no classes associated the steps.
>
> Hope this works,
> Pascal
>
> Mario Hinterreiter wrote:
>> Sorry if I'm somehow blind here - but which css-file do you mean?
>> I can't find anything like this in /commerce/res/css/commerce.css
>>
>> thanks, mario
>>
>> Pascal Cramer schrieb:
>>> easy: these are background images defined in the default commerce css
>>> file, copy it to the fileadmin and adjust it...
>>>
>>> Pascal
>>>
>>> Mario Hinterreiter wrote:
>>>> @Pascal: hi! and yes, I know where the texts are and I work nearby
>>>> the same way than you (linux-command "grep -ri" is very helpfull for
>>>> this).
>>>>
>>>> My problem ist that I have no idea how to replace them with graphics
>>>> ... except from hacking it into class.tx_commerce_pi3.php.
>>>>
>>>> There should be two graphics for each step: a light version for the
>>>> steps to do and a darker version of the same graphic for steps
>>>> already done (= the links to jump back).
>>>>
>>>> cheers, mario
>>>>
>>>> Pascal Cramer schrieb:
>>>>> Hi Mario,
>>>>>
>>>>> again it's in the local_lang:
>>>>> ----
>>>>> plugin.tx_commerce_pi3 {
>>>>> _LOCAL_LANG.nl {
>>>>> label_step_billing = Factuuradres
>>>>> label_step_delivery = Bezorgadres
>>>>> label_step_payment = Betaling
>>>>> label_step_listing = Controle
>>>>> label_step_finish = Versturen
>>>>> }
>>>>> }
>>>>> ----
>>>>>
>>>>> If you want front end texts translated or replaced, best place to
>>>>> look for the texts are the local_lang. If not documented, I usually
>>>>> (let my editor) search the extension directory foor the text which I
>>>>> want replaced.
>>>>>
>>>>> Pascal
>>>>>
>>>>> Mario Hinterreiter wrote:
>>>>>> Hi,
>>>>>>
>>>>>> Hope you still beleave me that I'm always searching as far as I
>>>>>> know, before asking the list!
>>>>>>
>>>>>> I want to replace the CHECKOUT_STEPS_BAR (Step 1: Billing Adress,
>>>>>> Step 2: Delivery Adress, ...) with some graphics instead of simple
>>>>>> text but I hardly can't find a way how to do this.
>>>>>>
>>>>>> Not in the config and also not as one of the hooks. As far as I'm
>>>>>> not very common in using hooks yet perhaps it can done with one and
>>>>>> I just don't recognize it. :)
>>>>>>
>>>>>> That's for sure a simple thing I'm just to blind to see, isn't?
>>>>>>
>>>>>> best regards, mario
>>>>> _______________________________________________
>>>>> TYPO3-project-commerce mailing list
>>>>> TYPO3-project-commerce at lists.netfielders.de
>>>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-commerce
>>>>>
>>>>>
>>> _______________________________________________
>>> TYPO3-project-commerce mailing list
>>> TYPO3-project-commerce at lists.netfielders.de
>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-commerce
>>>
>>>
> _______________________________________________
> TYPO3-project-commerce mailing list
> TYPO3-project-commerce at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-commerce
>
More information about the TYPO3-project-commerce
mailing list