ยินดีต้อนรับคุณ, บุคคลทั่วไป กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

ThaiSEOBoard.comพัฒนาเว็บไซต์CMS & Free Scriptโมเทมเพลตเก่งๆ ช่วยผมทีครับ (Artisteer export joomla)
หน้า: [1]   ลงล่าง
พิมพ์
ผู้เขียน หัวข้อ: โมเทมเพลตเก่งๆ ช่วยผมทีครับ (Artisteer export joomla)  (อ่าน 1312 ครั้ง)
0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้
L.GorHor
สมุนแก๊งเสียว
*

พลังน้ำใจ: 40
ออฟไลน์ ออฟไลน์

กระทู้: 644



ดูรายละเอียด เว็บไซต์
« เมื่อ: 14 พฤศจิกายน 2013, 14:28:00 »

ผมอยากให้ใส่ลิงค์ใน header เวลากดเเล้วลิงค์ไปที่ facebook หน่ะครับ



Full code หน้า Index ครับ (ปล. ผมจะ export ออกมาเป็น template joomla ครับ)

โค๊ด:
<?php
defined
(&#39;_JEXEC&#39;) or die;

/**
 * Template for Joomla! CMS, created with Artisteer.
 * See readme.txt for more details on how to use the template.
 */



require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . &#39;functions.php&#39;;

// Create alias for $this object reference:
$document = & $this;

// Shortcut for template base url:
$templateUrl $document->baseurl . &#39;/templates/&#39; . $document->template;

// Initialize $view:
$view $this->artx = new ArtxPage($this);

// Decorate component with Artisteer style:
$view->componentWrapper();
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $document->language?>" lang="<?php echo $document->language?>" dir="ltr">
<head>
 <jdoc:include type="head" />
 <link rel="stylesheet" href="<?php echo $document->baseurl?>/templates/system/css/system.css" type="text/css" />
 <link rel="stylesheet" href="<?php echo $document->baseurl?>/templates/system/css/general.css" type="text/css" />
 <link rel="stylesheet" type="text/css" href="<?php echo $templateUrl?>/css/template.css" media="screen" />
 <!--[if IE 6]><link rel="stylesheet" href="<?php echo $templateUrl?>/css/template.ie6.css" type="text/css" media="screen" /><![endif]-->
 <!--[if IE 7]><link rel="stylesheet" href="<?php echo $templateUrl?>/css/template.ie7.css" type="text/css" media="screen" /><![endif]-->
 <script type="text/javascript">if ('undefined' != typeof jQuery) document._artxJQueryBackup = jQuery;</script>
 <script type="text/javascript" src="<?php echo $templateUrl?>/jquery.js"></script>
 <script type="text/javascript">jQuery.noConflict();</script>
 <script type="text/javascript" src="<?php echo $templateUrl?>/script.js"></script>
 <script type="text/javascript">if (document._artxJQueryBackup) jQuery = document._artxJQueryBackup;</script>
</head>
<body>
<div id="art-page-background-glare-wrapper">
    <div id="art-page-background-glare"></div>
</div>
<div id="art-main">
    <div class="cleared reset-box"></div>
<div class="art-box art-sheet">
    <div class="art-box-body art-sheet-body">
<div class="art-header">
<div class="art-logo">
 <h1 class="art-logo-name"><a href="<?php echo $document->baseurl?>/"><?php echo $this->params->get(&#39;siteTitle&#39;); ?></a></h1>
 <h2 class="art-logo-text"><?php echo $this->params->get(&#39;siteSlogan&#39;); ?></h2>
</div>

</div>
<div class="cleared reset-box"></div>
<?php if ($view->containsModules(&#39;position-1&#39;, &#39;position-28&#39;, &#39;position-29&#39;)) : ?>
<div class="art-bar art-nav">
<div class="art-nav-outer">
<?php if ($view->containsModules(&#39;position-28&#39;)) : ?>
<div class="art-hmenu-extra1"><?php echo $view->position(&#39;position-28&#39;); ?></div>
<?php endif; ?>
<?php if ($view->containsModules(&#39;position-29&#39;)) : ?>
<div class="art-hmenu-extra2"><?php echo $view->position(&#39;position-29&#39;); ?></div>
<?php endif; ?>
<?php echo $view->position(&#39;position-1&#39;); ?>
</div>
</div>
<div class="cleared reset-box"></div>
<?php endif; ?>
<?php echo $view->position(&#39;position-15&#39;, &#39;art-nostyle&#39;); ?>
<?php echo $view->positions(array(&#39;position-16&#39; => 33, &#39;position-17&#39; => 33, &#39;position-18&#39; => 34), &#39;art-block&#39;); ?>
<div class="art-layout-wrapper">
    <div class="art-content-layout">
        <div class="art-content-layout-row">
<?php if ($view->containsModules(&#39;position-7&#39;, &#39;position-4&#39;, &#39;position-5&#39;)) : ?>
<div class="art-layout-cell art-sidebar1">
<?php echo $view->position(&#39;position-7&#39;, &#39;art-block&#39;); ?>
<?php echo $view->position(&#39;position-4&#39;, &#39;art-block&#39;); ?>
<?php echo $view->position(&#39;position-5&#39;, &#39;art-block&#39;); ?>

  <div class="cleared"></div>
</div>
<?php endif; ?>
<div class="art-layout-cell art-content">

<?php
  
echo $view->position(&#39;position-19&#39;, &#39;art-nostyle&#39;);
  
if ($view->containsModules(&#39;position-2&#39;))
    
echo artxPost($view->position(&#39;position-2&#39;));
  
echo $view->positions(array(&#39;position-20&#39; => 50, &#39;position-21&#39; => 50), &#39;art-article&#39;);
  
echo $view->position(&#39;position-12&#39;, &#39;art-nostyle&#39;);
  
if ($view->hasMessages())
    echo 
artxPost(&#39;<jdoc:include type="message" />&#39;);
  
echo &#39;<jdoc:include type="component" />&#39;;
  
echo $view->position(&#39;position-22&#39;, &#39;art-nostyle&#39;);
  
echo $view->positions(array(&#39;position-23&#39; => 50, &#39;position-24&#39; => 50), &#39;art-article&#39;);
  
echo $view->position(&#39;position-25&#39;, &#39;art-nostyle&#39;);
?>


  <div class="cleared"></div>
</div>

        </div>
    </div>
</div>
<div class="cleared"></div>


<?php echo $view->positions(array(&#39;position-9&#39; => 33, &#39;position-10&#39; => 33, &#39;position-11&#39; => 34), &#39;art-block&#39;); ?>
<?php echo $view->position(&#39;position-26&#39;, &#39;art-nostyle&#39;); ?>
<div class="art-footer">
    <div class="art-footer-body">
        <?php echo $view->position(&#39;position-14&#39;); ?>
                <div class="art-footer-text">
                    <?php if ($view->containsModules(&#39;position-27&#39;)): ?>
                    <?php echo $view->position(&#39;position-27&#39;, &#39;art-nostyle&#39;); ?>
                    <?php else: ?>
                    <?php ob_start(); ?>
<p><a href="#">Link1</a> | <a href="#">Link2</a> | <a href="#">Link3</a></p><p>Copyright © 2013. All Rights Reserved.</p>

                    <?php echo str_replace(&#39;%YEAR%&#39;, date(&#39;Y&#39;), ob_get_clean()); ?>
                    <?php endif; ?>
                </div>
        <div class="cleared"></div>
    </div>
</div>

<div class="cleared"></div>
    </div>
</div>
<div class="cleared"></div>
<p class="art-page-footer"><a href="http://www.artisteer.com/?p=joomla_templates" target="_blank">Joomla template</a> created with Artisteer.</p>

    <div class="cleared"></div>
</div>

<?php echo $view->position(&#39;debug&#39;); ?>
</body>
</html>
« แก้ไขครั้งสุดท้าย: 14 พฤศจิกายน 2013, 14:28:53 โดย L.GorHor » บันทึกการเข้า

ID888
สมุนแก๊งเสียว
*

พลังน้ำใจ: 56
ออฟไลน์ ออฟไลน์

กระทู้: 892



ดูรายละเอียด เว็บไซต์
« ตอบ #1 เมื่อ: 14 พฤศจิกายน 2013, 15:13:28 »

ผมเคยทำ คือ มาทำ ป้ายheader ในจุมล่าเลย สร้าง header เองและใส่ลิ้งค์ ตามใจชอบ

สร้างโมดุล แล้ววางในตำแหน่ง header

งง ป่าวครับ แ้ล้วเราสามารถ ปรับแต่งได้ตลอด ถ้าเบื่อ



« แก้ไขครั้งสุดท้าย: 14 พฤศจิกายน 2013, 15:15:20 โดย ID888 » บันทึกการเข้า

หารายได้จาก affiliate ของไทย จ่ายเงินจริง
 ได้ที่นี่
L.GorHor
สมุนแก๊งเสียว
*

พลังน้ำใจ: 40
ออฟไลน์ ออฟไลน์

กระทู้: 644



ดูรายละเอียด เว็บไซต์
« ตอบ #2 เมื่อ: 14 พฤศจิกายน 2013, 15:19:07 »

ผมเคยทำ คือ มาทำ ป้ายheader ในจุมล่าเลย สร้าง header เองและใส่ลิ้งค์ ตามใจชอบ

สร้างโมดุล แล้ววางในตำแหน่ง header

งง ป่าวครับ แ้ล้วเราสามารถ ปรับแต่งได้ตลอด ถ้าเบื่อ







อ่อ ขอบพระคุณมากๆครับ เดี
่ยวลองก่อน
บันทึกการเข้า

หน้า: [1]   ขึ้นบน
พิมพ์