Page 1 of 1

مرحبا طريقة تركيب تمبلت

Posted: Tue Jul 20, 2010 4:37 am
by VICTORY
مرحبا بالجميع

اود ان يشرح احد منكم طريقة تركيب تمبلت او قالب للسكربيت وياليت لو يكون شرح دقيق
سؤال اخر لو تكرمتوا هل يكون التركيب موحد لكل القوالب او يختلف من قالب لأخر .. شكرا

Re: مرحبا طريقة تركيب تمبلت

Posted: Wed Jul 21, 2010 5:15 am
by VICTORY
يا اخوان ترا انضمينا للمنتدى عشان تنورونا
الموضوع له 24 ساعه معقوله محد يعرف طريقة تركيب القالب في منتدى الدعم الفني!

Re: مرحبا طريقة تركيب تمبلت

Posted: Wed Jul 21, 2010 5:34 pm
by opencartArab


هذه هي الطريقة الصحيحة لعمل القوالب ولكن باللغة الانجليزية

How to Create a new Theme

There are some golden rules to follow when creating your own theme.


1. NEVER edit the files in the "default" theme directly. This is your base and fallback. When new upgrades are released, this folder gets overwritten with the latest code.
2. NEVER copy the entire "default" folder and just rename it. This will make upgrading much more difficult. OpenCart uses a "default theme fallback system". This means that if you are missing a file in your custom theme folder, it will search the main "default" theme folder for the file. The great benefit of this is that you only need to edit very few files to make a completely different looking theme, and when there are new versions released, your theme will fallback to the newly changed default versions which makes your theme virtually transparent during an upgrade.



1. Create a new theme folder in the catalog/view/theme path. For this example, I will use the name "silverfish"

2. Copy the following files from the "default" theme, into the "silverfish" folder. Be sure to keep the same directory structure:
- catalog/view/theme/default/stylesheet/*.*
- catalog/view/theme/default/image/*.*
- catalog/view/theme/default/template/common/header.tpl

3. Edit the catalog/view/theme/silverfish/template/common/header.tpl

4. Find and replace all references to "default" with "silverfish" in that file. Save & Close.

5. From the OpenCart Admin area, Goto the main Settings section and change the theme from default to silverfish

6. Edit the catalog/view/theme/silverfish/stylesheet/stylesheet.css file

7. Make a change to the background color or whatever you like
8. Now reload the homepage. You should see the new changes.

9. Only copy files from the "default" folder as needed when making custom changes to the structure of those pages.

وبالتوفيق


Re: مرحبا طريقة تركيب تمبلت

Posted: Fri Jul 23, 2010 5:05 pm
by VICTORY
الله يعطيك العافيه وشكرا لمجهودك