Get started with PHP-Fusion

Recommended Addons


eShop Theme

Developed by : Domi (Website)
Demo Url: Demo Website

Category : Simple - Theme

User's Rating: Based on 5 Votes

Publisher's Description

This is the Bootstrap enabled theme made for the eShop Infusion

Detailed Screenshots

eShop Theme

Editor's Review

by Chan on 14/12/2013

The first official E-Commerce solution which offers plenty of features from product cataloging, delivery & shipping, tax, advertisement banners, and more. Highly rated.

Editor's Verdict

Total Score of (55/80)

3/5

Addon Uniqueness50%

Addon Size and Features50%

Addon Thoroughly tested and Established70%

Addon Versions Compatibility70%

Addon Type60%

Editors Opinion50%

Authors Fame Factor100%

Value for Money100%

Addon Rating is available to Members only.

Please login or register to vote.


A2 Hosting

Additional Information

Updated

December 14 2013 08:50:46

Author(s)

Domi

Downloaded

898 Times

Copyright

Domi

Size

312.88 KB

Price

Free

Current Version

Version 1.0

Made for PHP-Fusion

v7.02

Translations

No Additional translations

Support Thread

eShop Theme

Support for Themes in the AddonDB

7 Replies 9,539 Views Last Updated on 4 years ago

Falk


Super Admin

#1

Posted 4 years ago

www.php-fusion.co.uk/infusions/addondb/img/screenshots/t_1445.png


This is the Bootstrap enabled theme made for the eShop Infusion

-- View this Addon --

Posts: 3866

Joined: 27/09/2005

honeyy


Junior Member

#2

Posted 4 years ago

Does the menu allow the infusion deluxe_dropdown_menu? Ive been trying to add it without success.

I like the menu you have on your main website but i haven't been able to implement this menu infusion into this theme.

Posts: 40

Joined: 04/11/2007

KasteR


Senior Member

#3

Posted 4 years ago

Domi's menu appears to be complete custom. You should be able to use deluxe_dropdown_menu, and you may have to replace the original in theme.php. Search for
Code Gist:

<div id="menu" class="fixed">


Perhaps he can respond regarding the menu.

Posts: 291

Joined: 14/07/2012

Chan


Super Admin

#4

Posted 4 years ago

Honeyy, can you code?
Lead Developer of PHP-Fusion
Developer Tweet: https://twitter.com/phpfusion_tweetsion_tweet

Posts: 3454

Joined: 25/09/2007

honeyy


Junior Member

#5

Posted 4 years ago

hien wrote:

Honeyy, can you code?


A little bit but not much. I know some basic php Smile

Posts: 40

Joined: 04/11/2007

Chan


Super Admin

#6

Posted 4 years ago

I just need to make sure you have a proper code editor before doing this, because the DeLuxe menu as I've scouted over the publication author site required a simple replacement.
Domi's theme supposed to be bootstrap enabled. However, since 8 also have bootstrap, I'll just do over there.

It will be available sooner or later because I have great hopes for this particular infusion, so I'll be looking into this personally.

But for the purposes of embedding the DeLuxe Menu, all you have to do is to find the code.

Code Gist:


<div id='menu'><ul class='main fixed'>.....</ul></div>


Delete that off. Replace with the new one.
Code Gist:


    include INFUSIONS."deluxe_dropdown_menu/menu.php";


Or if you have problem still, after infusing both of the Eshop and Menu, replace the whole theme.php file with the code below:

Code Gist:


<?php
/*---------------------------------------------------------+
| PHP-Fusion Content Management System                     |
| Copyright (C) 2002 - 2010 Nick Jones                     |
| http://www.php-fusion.co.uk/                              |
+----------------------------------------------------------+
| Shop Theme Copyright (C) 2013 Joakim Falk (Domi)         |
+----------------------------------------------------------+
|                               /T /I/ /  /   /            |
|                              / |/ | .-~/.-~/         |
|                          T\ Y  I  |/  /  _/         |
|         /T               | \I  |  I  Y.-~/               |
|        I l   /I       T\ |  |  l  |  T  /         |
|     T\ |  \ Y l  /T   | \I  l   \ `  l Y         |
| __  | \l   \l  \I l __l  l   \   `  _. |         |
| \ ~-l  `\   `\  \  \ ~\  \   `. .-~   <          |
|  \   ~-. "-.  `  \  ^._ ^. "-.  /  \   |                 |
|.--~-._  ~-  `  _  ~-_.-"-." ._ /._ ." ./         |
| >--.  ~-.   ._  ~>-"    "\   7   7   ]                   |
|^.___~"--._    ~-{  .-~ .  `\ Y . /    |         |
| <__ ~"-.  ~       /_/   \   \I  Y   : |         |
|   ^-.__           ~(_/   \   >._:   | l______         |
|       ^--.,___.-~"  /_/   !  `-.~"--l_ /     ~"-.      |
|              (_/ .  ~(   /'     "~"--,Y    -=O- _)      |
|               (_/ .  \  :           / l       "   \      |
|                \ /    `.    .     .^   \_.-~"~--.  )     |
|                 (_/ .   `  /     /       !       )/      |
|                  / / _.   '.   .':      /        '      |
|                  ~(_/ .   /    _  `  .-<_         |
|                    /_/ . ' .-~" `.  / \  \          ,&#65533;=. |
|                    ~( /   '  :   | X   "-.~-.______//    |
|                      "-,.    l   I/ \_    __{--->._(==.  |
|                       //(     \  <    ~"~"     //        |
|                      /' /\     \  \     ,~=.  ((         |
|                    .^. / /\     "  }__ //===-  `      |
|                   / / ' '  "-.,__ {---(==-         |
|                 .^ '       :  ;  ~"   ll             |
|                / .  .  . : | :!        \         |
|               (_/  /   | | j-"          ~^         |
|                 ~-<_(_.^-~"               |
+----------------------------------------------------------+
| Shop Theme Copyright (C) 2013 Joakim Falk (Domi)         |
+----------------------------------------------------------+
| This program is released as free software under the       |
| Affero GPL license. You can redistribute it and/or       |
| modify it under the terms of this license which you      |
| can read by viewing the included agpl.txt or online      |
| at www.gnu.org/licenses/agpl.html. Removal of this       |
| copyright header is strictly prohibited without        |
| written permission from the original author(s).      |
+---------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
require_once INCLUDES."theme_functions_include.php";
require_once THEME."functions.php";

define("THEME_BULLET", "<span class='bullet'>&middot;</span>");
define("THEME_WIDTH", "1024px;");

function render_page($license = false) {
   global $settings, $main_style, $locale;
      
   add_handler("theme_output");
   
   echo "<script type='text/javascript' src='https://connect.facebook.net/en_US/all.js#xfbml=1'></script>\n";
   echo "<script type='text/javascript' src='https://platform.twitter.com/widgets.js'></script>\n";
   add_to_head("<script type='text/javascript' src='https://apis.google.com/js/plusone.js'>{ lang: 'en-GB' } </script>");

   //Wrapper
echo "<div style='width:".THEME_WIDTH."; margin: 0px auto;'>";
echo "<div style='width:".THEME_WIDTH."; margin: 0px auto;' id='header' class='header'>";


//Site banner
echo "<div style='float:left;margin-top:2px;padding:10px;'>";
echo showbanners();
echo "</div>";

//Site description
if (HSDESCRIPTION) {
   //Right header section with sitename and site description
   echo "<div style='float:right;margin-top:2px;padding:10px;'>";
   echo "<br /><h2>".$settings['sitename']."</h2>
   <span>".$settings['description']."</span></div>";
   }
   

echo "<div class='clear'></div>";

echo "<script type='text/javascript'>
$(document).ready(function() {
   $(window).scroll(function(){
if ($(this).scrollTop() > 100) {
$('.scrollup').fadeIn();
} else {
$('.scrollup').fadeOut();
}
});
$('.scrollup').click(function(){
$('html, body').animate({ scrollTop: 0 }, 600);
return false;
 });
});
</script>";

    include INFUSIONS."deluxe_dropdown_menu/menu.php";


   //Content
   echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."'>\n<tr>\n";
   if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
   echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
   if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
   echo "</tr>\n</table>\n";
   
//Footer
   echo "<table cellpadding='0' cellspacing='0' width='100%' class='main-footer'>\n<tr>\n";
   echo "<td align='left' width='20%' style='padding:10px;'>&nbsp;Theme by <a href='http://www.venue.nu' target='_blank' title='Venue'>Domi</a> 2013</td>\n";
   echo "<td align='center' width='60%' style='padding:10px;'>".showcopyright()."</td>\n";
   echo "<td align='right' width='20%' style='padding:10px;'>".showcounter()."&nbsp;</td>\n";
   echo "</tr>";
    if ($settings['rendertime_enabled'] == 1 || ($settings['rendertime_enabled'] == 2 && iADMIN)) {
   echo "<tr><td align='center' colspan='3' width='100%' style='padding:10px;'><center>".showrendertime()."</center></td></tr>\n";
   }   
   echo "</table></div>\n";

echo "<a href='#' class='scrollup'>Scroll</a>";
}


function render_news($subject, $news, $info) {
global $settings;
   opentable($subject);
   echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
   echo "<td class='main-body'><div style='float:left;width:100%;'>".$info['cat_image'].$news."</div></td>\n";
   echo "</tr>\n<tr><td style='padding-top:1px;'><div style='float:right;font-size:9px;'>".newsposter($info)."</div></td></tr>\n";
   echo "<tr><td align='center' class='news-footer'>\n";
   echo "<div style='float:left;margin-top:2px;'>";
   echo newsopts($info," &middot; " ).itemoptions("N",$info['news_id']);
   echo " &middot; </div>";
if (SHAREING) {
//Share Buttons
echo "<div style='float:left;margin-top:3px;'>";
//FB Like button
echo "<div style='float:left;margin-left:15px;'>";
echo "<div id='FbCont".$info['news_id']."'>
<script type='text/javascript'>
<!--//--><![CDATA[//><!--
var fb = document.createElement('fb:like');
fb.setAttribute('href','".$settings['siteurl']."news.php?readmore=".$info['news_id']."');
fb.setAttribute('layout','button_count');
fb.setAttribute('show_faces','true');
fb.setAttribute('width','1');
document.getElementById('FbCont".$info['news_id']."').appendChild(fb);
//--><!]]>
</script>
</div>";
echo "</div>";

//Twitter
echo "<div style='float:left;;margin-left:30px;'>";
echo "<script type='text/javascript'>
//<![CDATA[
(function() {
    document.write('<a href=\"http://twitter.com/share\" class=\"twitter-share-button\" data-count=\"horizontal\" data-url=\"".$settings['siteurl']."news.php?readmore=".$info['news_id']."\" data-text=\"".$info['news_subject']."\" data-via=\"eShop\">Tweet</a>');
    var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
    s.type = 'text/javascript';
    s.async = true;
    s1.parentNode.insertBefore(s, s1);
})();
//]]>
</script>";
echo "</div>";

//Google+
echo "<div style='float:left;;margin-left:1px;'>";
echo "<div class='g-plusone' id='gplusone".$info['news_id']."'></div>
<script type='text/javascript'>
var Validplus=document.getElementById('gplusone".$info['news_id']."');
Validplus.setAttribute('data-size','medium');
Validplus.setAttribute('data-count','true');
Validplus.setAttribute('data-href','".$settings['siteurl']."news.php?readmore=".$info['news_id']."');
</script>";
echo "</div>";
//End share buttons
echo "</div>";
}
   echo "</td>\n";
   echo "</tr>\n</table>\n";
closetable();
}

function render_article($subject, $article, $info) {
global $settings;
   
   opentable($subject);
   echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
   echo "<td class='main-body middle-border'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
      echo "</tr>\n<tr><td style='padding-top:1px;'><div style='float:right;font-size:9px;'>".articleposter($info)."</div></td></tr>\n";
   echo "<tr><td align='center' class='news-footer'>\n";
   echo "<div style='float:left;margin-top:2px;'>";
   echo articleopts($info," &middot; ").itemoptions("A",$info['article_id']);
   echo " &middot; </div>";
      
if (SHAREING) {
//Share Buttons
echo "<div style='float:left;margin-top:3px;'>";
//FB Like button
echo "<div style='float:left;margin-left:15px;'>";
echo "<div id='FbCont".$info['article_id']."'>
<script type='text/javascript'>
<!--//--><![CDATA[//><!--
var fb = document.createElement('fb:like');
fb.setAttribute('href','".$settings['siteurl']."articles.php?article_id=".$info['article_id']."');
fb.setAttribute('layout','button_count');
fb.setAttribute('show_faces','true');
fb.setAttribute('width','1');
document.getElementById('FbCont".$info['article_id']."').appendChild(fb);
//--><!]]>
</script>
</div>";
echo "</div>";

//Twitter
echo "<div style='float:left;;margin-left:30px;'>";
echo "<script type='text/javascript'>
//<![CDATA[
(function() {
    document.write('<a href=\"http://twitter.com/share\" class=\"twitter-share-button\" data-count=\"horizontal\" data-url=\"".$settings['siteurl']."articles.php?article_id=".$info['article_id']."\" data-text=\"".$subject ."\" data-via=\"PHPFusion\">Tweet</a>');
    var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
    s.type = 'text/javascript';
    s.async = true;
    s1.parentNode.insertBefore(s, s1);
})();
//]]>
</script>";
echo "</div>";

//Google+
echo "<div style='float:left;margin-left:1px;'>";
echo "<div class='g-plusone' id='gplusone".$info['article_id']."'></div>
<script type='text/javascript'>
var Validplus=document.getElementById('gplusone".$info['article_id']."');
Validplus.setAttribute('data-size','medium');
Validplus.setAttribute('data-count','true');
Validplus.setAttribute('data-href','".$settings['siteurl']."articles.php?article_id=".$info['article_id']."');
</script>";
echo "</div>";
//End share buttons
echo "</div>";
echo "<div class='clear'></div>";
}
echo "</td>\n</tr>\n</table>\n";
closetable();
}
   
   


function opentable($title) {
echo "
  <div class='global-shadow-container'>
  <div class='global-shadow-background'></div>
  <div class='global-shadow-content'>
    <div class='global-box-container'>
      <div class='global-box-top heading-box'>".$title."</div>
      <div class='global-box-line'></div>
      <div class='global-box-bottom'>
      <div class='global-box-content'>
\n";
}

function closetable() {
echo "  </div>
      </div>
    </div>
  </div>
</div>\n";
}

function openside($title, $collapse = false, $state = "on") {

   global $panel_collapse; $panel_collapse = $collapse;

echo "
  <div class='global-shadow-container'>
  <div class='global-shadow-background'></div>
  <div class='global-shadow-content'>
    <div class='global-box-container'>
      <div class='global-box-top heading-box'>".$title."";

     if ($collapse == true) {
      $boxname = str_replace(" ", "", $title);
      echo "<div style='float:right;padding:5px;'>".panelbutton($state, $boxname)."</div>\n";
   }
        
   echo "</div>
      <div class='global-box-line'></div>
      <div class='global-box-bottom'>
      <div class='global-box-content'>\n";
     if ($collapse == true) { echo panelstate($state, $boxname); }
}

function closeside() {
   global $panel_collapse;
   if ($panel_collapse == true) { echo "</div>\n"; }   
   
echo "  </div>
      </div>
    </div>
  </div>
</div>\n";
}

?>


Tested and worked on 7.0.07
Lead Developer of PHP-Fusion
Developer Tweet: https://twitter.com/phpfusion_tweetsion_tweet

Posts: 3454

Joined: 25/09/2007

honeyy


Junior Member

#7

Posted 4 years ago

Thanks hien, it works like a charm now Smile

Posts: 40

Joined: 04/11/2007

Chan


Super Admin

#8

Posted 4 years ago

Welcome Smile
Lead Developer of PHP-Fusion
Developer Tweet: https://twitter.com/phpfusion_tweetsion_tweet

Posts: 3454

Joined: 25/09/2007

Jump to Forum: