Contributions
better osc3 default template 1.0
OSC3 better default template
contains:
for burned english words
- language extensions
- fixed bugs for variables
and recently_visited burned english "result" bug fix
Note: be carefull! Only a file replacing for English, but it contains Hungarian language too.
Expand All / Collapse All
Better template button extension to Multilangism
(osC3 Tgely templates systems)
If you would like to use each template separated buttons with languages dependencies. In the future on the osC3 frontend you will be able to switch templates and this will be important
function. ;-)
The language's templated buttons inserted into new folders. For example
catalog/templates/***templatesname***/languages/en_US/buttons/
catalog/templates/***templatesname***/languages/hu_HU/buttons/
catalog/templates/***templatesname***/languages/ru_RU/buttons/
The concept:
I changed the html_output.php
- osc_draw_image_submit_button()
- osc_draw_image_button() functions into
templates.php new functions as
- osc_draw_image_submit_template_button()
- osc_draw_image_template_button() functions
I redefiniated call buttons in templates files like this:
<div class="submitFormButtons">
<span style="float: right;"><?php echo $osC_Template->osc_draw_image_submit_template_button
('button_continue.gif', $osC_Language->get('button_continue')); ?></span>
<?php echo osc_link_object(osc_href_link(FILENAME_ACCOUNT, null, 'SSL'),
$osC_Template->osc_draw_image_template_button('button_back.gif',
$osC_Language->get('button_back'))); ?>
</div>
I got languages and separated template buttons dependecies.
In some reasons I didn't want to change the original buttons call (in html_output.php),
but you can do another modifications.
Freeoscommerce template to mulilangism
If you use better osc3 default template make this
Copy better one better default template file into
Find this:
templatesdefaultcontentproductsinfo.php
Copy replace to:
templatesfreeoscommercecontentproductsinfo.php
Thats it!
You can multilangism all freeoscommerce template.
The same in zip file
Better osCommerce default template 2.0 for osCommerce 3.05 alfa
with english example.
You can do the same modification on your language. See Step 9.
Clear the burned words and you can translate
- Plus shipping
- from
- results
- Availability
- Manufacturer
- Model
- Date Available
in Backend and Frontend panels
forum: http://forums.oscommerce.com/index.php?showtopic=343321
Its better to use general group
<definition>
<key>variants_tag</key>
<value><![CDATA[from]]></value>
<group>general</group>
</definition>
Modification for the "from" burned displaying and you can translate
See in install_en.txt
OSC3 better default template
contains:
for burned english words
- language extensions
- fixed bugs for variables
and recently_visited burned english "result" bug fix
Note: be carefull! Only a file replacing for English, but it contains Hungarian language too.
Note: Contributions are used at own risk.