القالب template و الشرح طريقة مقدم لكم من
مدونة blog عرب تكنولوجى


لكل عشاق قالب template المحترق اقدم لكم اليوك قالب template مشابه لقلب المحترف ولكن لمصمم اجنبى . هذا القالب template اروع بكثير من قالب template المحترف فهو يشبه الى حد كبير قالب template صحيفة للوردبريس و لكنه لبلوجر.
القالب template لا ينقصه سوى السلايد شو و لكن سأعطيكم شرح طريقة لتركيب install سلايد شو المحترف فى نهاية المقال
ملحوظة : القالب template من تعريب مدونة blog عين العرب



نأتى لمعاينة القالب template

تجربة 19

لتحميل القالب template

https://www.box.com/s/ncqfysrevj9zjueh6wub

ثانيا شرح طريقة تركيب install سلايد شو المحترف

قبل القيام باي تغيير قم بحفظ نسخة احتياطية للقالب template, من لوحة التحكم اتجه الى تصميم ثم تحرير HTML, ضع علامة في خانة توسيع القوالب, ثم إضغط في الكيبورد على Ctrl + F, و ابحث عن الكود code التالي :

رمز PHP:
<code style="white-space:nowrap"> <code> &#93;&#93;></b:skin>
</code> </code>

ثم ضع فوقه/قبله كود code CSS التالي :

رمز PHP:
<code style="white-space:nowrap"> <code> #alwansd{
height: 397px;
margin: 0 0 20px 20px;
padding: 15px 17px 15px 16px;
width: 617px;
background: #373737;
border-top: 4px solid #00B4FF;
}
.
alwanw{
position: relative;
height:385px;
}
.
alwanw .contentdiv{
visibility: hidden;
position: absolute;
opacity: 1;
}
.
alwan-ps{
text-align: right;
float: left;
width: 618px;
height: 11px;
margin-left: -1px;
}
.
alwan-ps .toc{
font-size: 0px;
width: 50.5px;
height: 11px;
float: right;
background: #5b5b5b;
margin-left: 1px;
}



.
alwan-ps a.selected{
background:#dfdfdf;
}
.
alwan-ps .prev, .alwan-ps .next {display:none; }
.
alwanip{
width: 597px;
padding: 10px !important;
bottom: 0;
float: left !important;
position: absolute;
background:url(http://3.bp.blogspot.com/--PmJCnAgSsc/USDs0q1v30I/AAAAAAAADoY/_nmnrEqXG4U/s1600/backslide.png);
}
.
alwanip a{
color:#dcdcdc;
font: 12px droidkufi-bold;
margin:0;
padding:0;
line-height: 19px;
}
.
alwanip h6{margin: 0;}
.
alwanip h6 a:hover {color:#ffa800;}
.alwanip .alwand{font:12px arial; margin:4px 0; color:#a5a5a5; }
.alwanip p{font-size: 13px;
margin: 0;
color: #a5a5a5;
line-height: 23px;
}
.
alwansf a img{float: right !important; }
.
alwansf {float: right !important; width:100px !important;}
.
column-center-outer {
width: 100%;
}
</code> </code>

مع تغيير 00b4ff# بي اللون الطاغي في مدونتك و اللذي يمكنك الحصول عليه من هنا
الآن ابحث عن :

رمز PHP:
<code style="white-space:nowrap"> <code> </head>
</code> </code>

الآن أضف الكود code التالي فوقه/قبله :

رمز PHP:
<code style="white-space:nowrap"> <code> &lt;script&gt;
/* Script from:http://drhelp4u.blogspot.com/ */
imgr = new Array();
imgr&#91;0&#93; = &quot;http://lh3.ggpht.com/_kViOplhgIHI/TKxBIScZTiI/AAAAAAAAAWE/PM7AQ1lf6ME/noimages.jpg&quot;;
showRandomImg = true;
aBold = true;
summaryPost = 150;

numposts1 = 12;
label1 = &quot;Yourlabel&quot;;
function
removeHtmlTag(strx,chop){var s=strx.split(&quot;&lt;&quot;for(var i=0;i&lt;s.length;i++){if(s&#91;i&#93;.indexOf(&quot;&gt;&quot!=-1){s&#91;i&#93;=s&#91;i&#93;.substring(s&#91;i&#93;.indexOf(&quot;&gt;&quot+1,s&#91;i&#93;.length)}}s=s.join(&quot;&quot;s=s.substring(0,chop-1);return s}
function
showrecentposts1(json){j=(showRandomImg)?Math.floor((imgr.length+1)*Math.random()):0;img=new Array();for(var i=0;i&lt;numposts1;i++){var entry=json.feed.entry&#91;i&#93;;var posttitle=entry.title.$t;var pcm;var posturl;if(i==json.feed.entry.length)break;for(var k=0;k&lt;entry.link.length;k++){if(entry.link&#91;k&#93;.rel=='alternate'){posturl=entry.link&#91;k&#93;.href;break}}for(var k=0;k&lt;entry.link.length;k++){if(entry.link&#91;k&#93;.rel=='replies'&amp;&amp;entry.link&#91;k&#93;.type=='text/html'){pcm=entry.link&#91;k&#93;.title.split(&quot;&quot&#91;0&#93;;break}}

if (&
quot;content&quot; in entry) {
var
postcontent = entry.content.$t;}
else
if (&
quot;summary&quot; in entry) {
var
postcontent = entry.summary.$t;}
else var
postcontent = &quot;&quot;;
postdate = entry.published.$t;
if(
j&gt;imgr.length-1) j=0;
img&#91;i&#93; = imgr&#91;j&#93;;
s = postcontent ; a = s.indexOf(&quot;&lt;img&quot; b = s.indexOf(&quot;src=\&quot;&quot;,a); c = s.indexOf(&quot;\&quot;&quot;,b+5); d = s.substr(b+5,c-b-5);
if((
a!=-1)&amp;&amp;(b!=-1)&amp;&amp;(c!=-1)&amp;&amp;(d!=&quot;&quot) img&#91;i&#93; = d;
var
month=&#91;1,2,3,4,5,6,7,8,9,10,11,12&#93;;var month2=&#91;&quot;يناير&quot;,&quot;فبراير&quot;,&quot;مارس&quot;,&quot;ابريل&quot;,&quot;مايو&quot;,&quot;يونيو&quot;,&quot;يوليو&quot;,&quot;أغسطس&quot;,&quot;سبتمبر&quot;,&quot;أكتوبر&quot;,&quot;نوفمبر&quot;,&quot;ديسمبر&quot;&#93;;var day=postdate.split(&quot;-&quot&#91;2&#93;.substring(0,2);var m=postdate.split(&quot;-&quot&#91;1&#93;;var y=postdate.split(&quot;-&quot&#91;0&#93;;for(var u2=0;u2&lt;month.length;u2++){if(parseInt(m)==month&#91;u2&#93{m=month2&#91;u2&#93;;break;
}}
var
daystr = day+ ' ' + m + ' ' + y ;
var
trtd = '&lt;div class=&quot;contentdiv&quot;&gt;&lt;div class=&quot;alwansf&quot;&gt;&lt;a href=&quot;'+posturl+'&quot;&gt;&lt;img width=&quot;617&quot; height=&quot;385&quot; class=&quot;alignnone&quot; src=&quot;'+img&#91;i&#93;+'&quot;/&gt;&lt;/a&gt;&lt;div class=&quot;sliderPostInfo&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;alwanip&quot;&gt;&lt;h6&gt;&lt;a href=&quot;'+posturl+'&quot;&gt;'+posttitle+'&lt;/a&gt;&lt;/h6&gt;&lt;div class=&quot;alwand&quot; &gt;'+daystr+'&lt;/div&gt;&lt;p&gt;'+removeHtmlTag(postcontent,summaryPost)+'...&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;';
document.write(trtd);
j++;
}}
&
lt;/script&gt;
</code> </code>


مع تغيير Your Label باسم القسم الذي سيتم عرض مواضيعه عشوائيا
بعد ذلك ابحث عن :


رمز PHP:
<code style="white-space:nowrap"> <code> </body>
</code> </code>


ثم الآن أضف الكود code التالي فوقه/قبله :

رمز PHP:
<code style="white-space:nowrap"> <code> &lt;script src='http://dl.dropbox.com/u/12924430/contentslider.js'&gt;&lt;/script&gt;
&
lt;script&gt;
featuredcontentslider.init({
id: &quot;slider1&quot;, //id of main slider DIV
contentsource: &#91;&quot;inline&quot;, &quot;&quot;&#93;, //Valid values: &#91;&quot;inline&quot;, &quot;&quot;&#93; or &#91;&quot;ajax&quot;, &quot;path_to_file&quot;&#93;
toc: &quot;#increment&quot;, //Valid values: &quot;#increment&quot;, &quot;markup&quot;, &#91;&quot;label1&quot;, &quot;label2&quot;, etc&#93;
nextprev: &#91;&quot;Previous&quot;, &quot;Next&quot;&#93;, //labels for &quot;prev&quot; and &quot;next&quot; links. Set to &quot;&quot; to hide.
enablefade: &#91;true, 0.5&#93;, //&#91;true/false, fadedegree&#93;
autorotate: &#91;true, 6000&#93;, //&#91;true/false, pausetime&#93;
onChange: function(previndex, curindex){ //event handler fired whenever script changes slide
//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
}
})
&
lt;/script&gt;
</code> </code>

وفي الأخير قم بالبحث عن هذا الكود code :


رمز PHP:
<code style="white-space:nowrap"> <code> <div id='main-wrapper'>أو<div id='content'>أو<div id="content"></div>أو <div class='column-center-inner'>
</code> </code>

القالب template أضف الكود code التالي بعده/أسفله :
(ملاحظة : إذا لم تجد أي كود code من هذه الأكواد فقم بالبحت عن هذا الكود code :
رمز PHP:
<code style="white-space:nowrap"> <code> <b:section class='main' id='main' showaddelement='no'>
</code> </code>

ثم ضع الكود code الأتي فوقه/قبله )


رمز PHP:
<code style="white-space:nowrap"> <code> <b:if cond='data:blog.pageType == &quot;index&quot;'>
<
div id='alwansd'>
<
div class='alwanw' id='slider1'>
<
script>
document.write(&quot;&lt;script src=\&quot;/feeds/posts/default/-/&quot;+label1+&quot;?max-results=&quot;+numposts1+&quot;&amp;orderby=published&amp;alt=json-in-script&amp;callback=showrecentposts1\&quot;&gt;&lt;\/script&gt;&quot;
</script>
</div>
<div class='alwan-ps' id='paginate-slider1'>
</div>
</div>
</b:if>
</code> </code>

بعد هذا كله قم بالضغط على حفظ التغييرات ومبروك عليك السلايدر






الملفات المرفقة [TR]
template-7955342775286882824.zip (32.3 كيلوبايت, عدد مرات المشاهدة 72 مرة) [/TR]



©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى©