Post by VICTORY » Tue Jul 20, 2010 4:37 am

مرحبا بالجميع

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

Newbie

Posts

Joined
Tue Jul 20, 2010 4:32 am

Post by VICTORY » Wed Jul 21, 2010 5:15 am

يا اخوان ترا انضمينا للمنتدى عشان تنورونا
الموضوع له 24 ساعه معقوله محد يعرف طريقة تركيب القالب في منتدى الدعم الفني!

Newbie

Posts

Joined
Tue Jul 20, 2010 4:32 am

Post by opencartArab » Wed Jul 21, 2010 5:34 pm



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

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.

وبالتوفيق


التعليمات باللغة الانجليزية على الرابط التالي
https://docs.opencart.com/en-gb/introduction/


Expert Member

Posts

Joined
Thu Apr 01, 2010 3:31 am

Post by VICTORY » Fri Jul 23, 2010 5:05 pm

الله يعطيك العافيه وشكرا لمجهودك

Newbie

Posts

Joined
Tue Jul 20, 2010 4:32 am
Who is online

Users browsing this forum: No registered users and 13 guests