Jump to content
DiamondSea

[contribution] Simple Template System (sts)

Recommended Posts

Hi there!

 

May I ask How I get flash to work on/with the osC site?

 

I sort of did like this in the index.php.html

 

<div id="flash">

<object width="763" height="368">

<param name="movie" value="couleurful.com_flash.swf">

<embed src="couleurful.com_flash.swf" width="763" height="368">

</embed>

</div>

 

That dont work..

 

Were do i put the flash and what would one write?

 

 

Sincerely,

Create a text file with the following code and name it swfobject.js and upload it to a folder named flash in your template folder (for example: includes/sts_templates/**your template folder name here**/flash/swfobject.js):

 

/**
* SWFObject v1.5: Flash Player detection and embed - [url="http://blog.deconcept.com/swfobject/"]http://blog.deconcept.com/swfobject/[/url]
*
* SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
* [url="http://www.opensource.org/licenses/mit-license.php"]http://www.opensource.org/licenses/mit-license.php[/url]
*
*/
if(typeof deconcept == "undefined") var deconcept = new Object();
if(typeof deconcept.util == "undefined") deconcept.util = new Object();
if(typeof deconcept.SWFObjectUtil == "undefined") deconcept.SWFObjectUtil = new Object();
deconcept.SWFObject = function(swf, id, w, h, ver, c, quality, xiRedirectUrl, redirectUrl, detectKey) {
if (!document.getElementById) { return; }
this.DETECT_KEY = detectKey ? detectKey : 'detectflash';
this.skipDetect = deconcept.util.getRequestParameter(this.DETECT_KEY);
this.params = new Object();
this.variables = new Object();
this.attributes = new Array();
if(swf) { this.setAttribute('swf', swf); }
if(id) { this.setAttribute('id', id); }
if(w) { this.setAttribute('width', w); }
if(h) { this.setAttribute('height', h); }
if(ver) { this.setAttribute('version', new deconcept.PlayerVersion(ver.toString().split("."))); }
this.installedVer = deconcept.SWFObjectUtil.getPlayerVersion();
if (!window.opera && document.all && this.installedVer.major > 7) {
 // only add the onunload cleanup if the Flash Player version supports External Interface and we are in IE
 deconcept.SWFObject.doPrepUnload = true;
}
if(c) { this.addParam('bgcolor', c); }
var q = quality ? quality : 'high';
this.addParam('quality', q);
this.setAttribute('useExpressInstall', false);
this.setAttribute('doExpressInstall', false);
var xir = (xiRedirectUrl) ? xiRedirectUrl : window.location;
this.setAttribute('xiRedirectUrl', xir);
this.setAttribute('redirectUrl', '');
if(redirectUrl) { this.setAttribute('redirectUrl', redirectUrl); }
}
deconcept.SWFObject.prototype = {
useExpressInstall: function(path) {
 this.xiSWFPath = !path ? "expressinstall.swf" : path;
 this.setAttribute('useExpressInstall', true);
},
setAttribute: function(name, value){
 this.attributes[name] = value;
},
getAttribute: function(name){
 return this.attributes[name];
},
addParam: function(name, value){
 this.params[name] = value;
},
getParams: function(){
 return this.params;
},
addVariable: function(name, value){
 this.variables[name] = value;
},
getVariable: function(name){
 return this.variables[name];
},
getVariables: function(){
 return this.variables;
},
getVariablePairs: function(){
 var variablePairs = new Array();
 var key;
 var variables = this.getVariables();
 for(key in variables){
  variablePairs[variablePairs.length] = key +"="+ variables[key];
 }
 return variablePairs;
},
getSWFHTML: function() {
 var swfNode = "";
 if (navigator.plugins && navigator.mimeTypes && navigator.mimeTypes.length) { // netscape plugin architecture
  if (this.getAttribute("doExpressInstall")) {
this.addVariable("MMplayerType", "PlugIn");
this.setAttribute('swf', this.xiSWFPath);
  }
  swfNode = '<embed type="application/x-shockwave-flash" src="'+ this.getAttribute('swf') +'" width="'+ this.getAttribute('width') +'" height="'+ this.getAttribute('height') +'" style="'+ this.getAttribute('style') +'"';
  swfNode += ' id="'+ this.getAttribute('id') +'" name="'+ this.getAttribute('id') +'" ';
  var params = this.getParams();
for(var key in params){ swfNode += [key] +'="'+ params[key] +'" '; }
  var pairs = this.getVariablePairs().join("&");
if (pairs.length > 0){ swfNode += 'flashvars="'+ pairs +'"'; }
  swfNode += '/>';
 } else { // PC IE
  if (this.getAttribute("doExpressInstall")) {
this.addVariable("MMplayerType", "ActiveX");
this.setAttribute('swf', this.xiSWFPath);
  }
  swfNode = '<object id="'+ this.getAttribute('id') +'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+ this.getAttribute('width') +'" height="'+ this.getAttribute('height') +'" style="'+ this.getAttribute('style') +'">';
  swfNode += '<param name="movie" value="'+ this.getAttribute('swf') +'" />';
  var params = this.getParams();
  for(var key in params) {
swfNode += '<param name="'+ key +'" value="'+ params[key] +'" />';
  }
  var pairs = this.getVariablePairs().join("&");
  if(pairs.length > 0) {swfNode += '<param name="flashvars" value="'+ pairs +'" />';}
  swfNode += "</object>";
 }
 return swfNode;
},
write: function(elementId){
 if(this.getAttribute('useExpressInstall')) {
  // check to see if we need to do an express install
  var expressInstallReqVer = new deconcept.PlayerVersion([6,0,65]);
  if (this.installedVer.versionIsValid(expressInstallReqVer) && !this.installedVer.versionIsValid(this.getAttribute('version'))) {
this.setAttribute('doExpressInstall', true);
this.addVariable("MMredirectURL", escape(this.getAttribute('xiRedirectUrl')));
document.title = document.title.slice(0, 47) + " - Flash Player Installation";
this.addVariable("MMdoctitle", document.title);
  }
 }
 if(this.skipDetect || this.getAttribute('doExpressInstall') || this.installedVer.versionIsValid(this.getAttribute('version'))){
  var n = (typeof elementId == 'string') ? document.getElementById(elementId) : elementId;
  n.innerHTML = this.getSWFHTML();
  return true;
 }else{
  if(this.getAttribute('redirectUrl') != "") {
document.location.replace(this.getAttribute('redirectUrl'));
  }
 }
 return false;
}
}

/* ---- detection functions ---- */
deconcept.SWFObjectUtil.getPlayerVersion = function(){
var PlayerVersion = new deconcept.PlayerVersion([0,0,0]);
if(navigator.plugins && navigator.mimeTypes.length){
 var x = navigator.plugins["Shockwave Flash"];
 if(x && x.description) {
  PlayerVersion = new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/, "").replace(/(\s+r|\s+b[0-9]+)/, ".").split("."));
 }
}else if (navigator.userAgent && navigator.userAgent.indexOf("Windows CE") >= 0){ // if Windows CE
 var axo = 1;
 var counter = 3;
 while(axo) {
  try {
counter++;
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+ counter);
//	document.write("player v: "+ counter);
PlayerVersion = new deconcept.PlayerVersion([counter,0,0]);
  } catch (e) {
axo = null;
  }
 }
} else { // Win IE (non mobile)
 // do minor version lookup in IE, but avoid fp6 crashing issues
 // see [url="http://blog.deconcept.com/2006/01/11/getvariable-setvariable-crash-internet-explorer-flash-6/"]http://blog.deconcept.com/2006/01/11/getvariable-setvariable-crash-internet-explorer-flash-6/[/url]
 try{
  var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
 }catch(e){
  try {
var axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
PlayerVersion = new deconcept.PlayerVersion([6,0,21]);
axo.AllowScriptAccess = "always"; // error if player version < 6.0.47 (thanks to Michael Williams @ Adobe for this code)
  } catch(e) {
if (PlayerVersion.major == 6) {
 return PlayerVersion;
}
  }
  try {
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
  } catch(e) {}
 }
 if (axo != null) {
  PlayerVersion = new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));
 }
}
return PlayerVersion;
}
deconcept.PlayerVersion = function(arrVersion){
this.major = arrVersion[0] != null ? parseInt(arrVersion[0]) : 0;
this.minor = arrVersion[1] != null ? parseInt(arrVersion[1]) : 0;
this.rev = arrVersion[2] != null ? parseInt(arrVersion[2]) : 0;
}
deconcept.PlayerVersion.prototype.versionIsValid = function(fv){
if(this.major < fv.major) return false;
if(this.major > fv.major) return true;
if(this.minor < fv.minor) return false;
if(this.minor > fv.minor) return true;
if(this.rev < fv.rev) return false;
return true;
}
/* ---- get value of query string param ---- */
deconcept.util = {
getRequestParameter: function(param) {
 var q = document.location.search || document.location.hash;
 if (param == null) { return q; }
 if(q) {
  var pairs = q.substring(1).split("&");
  for (var i=0; i < pairs.length; i++) {
if (pairs[i].substring(0, pairs[i].indexOf("=")) == param) {
 return pairs[i].substring((pairs[i].indexOf("=")+1));
}
  }
 }
 return "";
}
}
/* fix for video streaming bug */
deconcept.SWFObjectUtil.cleanupSWFs = function() {
var objects = document.getElementsByTagName("OBJECT");
for (var i = objects.length - 1; i >= 0; i--) {
 objects[i].style.display = 'none';
 for (var x in objects[i]) {
  if (typeof objects[i][x] == 'function') {
objects[i][x] = function(){};
  }
 }
}
}
// fixes bug in some fp9 versions see [url="http://blog.deconcept.com/2006/07/28/swfobject-143-released/"]http://blog.deconcept.com/2006/07/28/swfobject-143-released/[/url]
if (deconcept.SWFObject.doPrepUnload) {
if (!deconcept.unloadSet) {
 deconcept.SWFObjectUtil.prepUnload = function() {
  __flash_unloadHandler = function(){};
  __flash_savedUnloadHandler = function(){};
  window.attachEvent("onunload", deconcept.SWFObjectUtil.cleanupSWFs);
 }
 window.attachEvent("onbeforeunload", deconcept.SWFObjectUtil.prepUnload);
 deconcept.unloadSet = true;
}
}
/* add document.getElementById if needed (mobile IE < 5) */
if (!document.getElementById && document.all) { document.getElementById = function(id) { return document.all[id]; }}

/* add some aliases for ease of use/backwards compatibility */
var getQueryParamValue = deconcept.util.getRequestParameter;
var FlashObject = deconcept.SWFObject; // for legacy support
var SWFObject = deconcept.SWFObject;

 

Then, upload your flash movie file to your_domain.com/images/flash/your_flash_movie.swf

 

Then, add the following line in the body of your template page:

<script type="text/javascript" src="$templatedir/flash/swfobject.js"></script>

 

Then, add the Flash content to your template as so:

		<td class="styleFlash">
<script type="text/javascript" src="$templatedir/flash/swfobject.js"></script>
	 <div id="flashcontent">This text is replaced by the Flash movie.
  </div>
  <script type="text/javascript">
	 var so = new SWFObject("images/flash/your_flash_movie.swf", "movie", "763", "368", "8", "#ffffff");
	 so.write("flashcontent");
  </script>
	</td>

 

 

The above allows for alternative text in case the flash movie does not load for whatever reason. The flash movie file can be changed to whatever you want (I wouldn't use the .com in the name though) as well as the width and height measurements.

 

You could also add the following to your stylesheet to style the Flash movie file:

 

.styleFlash {
text-align: center;
vertical-align: top;
width: 763px;
height: 368px;
}

 

 

I use the above all of the time and it is rock solid with osCommerce and STS.

 

As you see above, adding Flash to a STS template is exactly the same as adding it to any other HTML page. See http://blog.deconcept.com/swfobject/ for more details on Flash and the SWFObject embed script.

 

Hope this helped,


Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Share this post


Link to post
Share on other sites
James, the following is a little more robust (I prefer it that way).

At the following code to your includes/modules/sts_inc/sts_user_code.php file:

 

 

$sts->start_capture();
$productno = $cart->count_contents();
$totalprice = $currencies->format($cart->show_total());

if ($productno > 1) {
echo ENTRY_HCART_CONTAINS;
echo " ";
echo $productno;
echo " ";
echo ENTRY_HCART_ITEMS;
echo " "; echo " ";
echo ENTRY_HCART_PRICE;
echo " ";
echo $totalprice;
} elseif ($productno == 0) {
echo ENTRY_HCART_EMPTY;
} else {
echo ENTRY_HCART_CONTAINS;
echo " ";
echo $productno;
echo " ";
echo ENTRY_HCART_ITEM;
echo " "; echo " ";
echo ENTRY_HCART_PRICE;
echo " ";
echo $totalprice;
}
$sts->stop_capture ('headcart');

Then, add $headcart in your template where you want it.

 

James, I forgot that you will also need to add the following to your includes/languages/english.php file:

// STS Show Cart In Header
define('ENTRY_HCART_EMPTY', 'Your cart is empty');
define('ENTRY_HCART_CONTAINS', 'You have ');
define('ENTRY_HCART_ITEM', '<a href="shopping_cart.php" class="trailText">item in your cart</a>');
define('ENTRY_HCART_ITEMS', '<a href="shopping_cart.php" class="trailText">items in your cart</a>');
define('ENTRY_HCART_PRICE', '');

 

Hope that didn't throw you off by too much. :blush:


Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Share this post


Link to post
Share on other sites

Hi there,

 

I've browsed all topics and replies related to STS + SSL and although my conclusion is that

STS can't / shouldn't have an impact on using SSL - if used correctly! - I just want to have fully confirmed

this for 200% as I'm having definitely a weird thing going on and I'm quite desperate since nobody had a clue so far....

 

here we go:

 

dedicated SSL has been installed on houseofespresso.nl and my provider has set it up as "http and https in one folder".

I've enabled SSL on OsC according the 1-2-3 install guide on this forum.

 

This is working great for some pages but not working for all chechout pages (shipping, payment, process).

It's difficult to describe, but only few parts of the pages remain when on https, layout and formats are gone and large html-parts are simply not there anymore.

 

To see the difference: first code is the full and correct one when using the page on http.

Second is what I get when using the page on https. As example I've used the output of the checkout_shipping page.

 

Many many thanks if someone could shine a light on this.

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="LTR" lang="nl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>House of Espresso</title>
<base href="http://www.houseofespresso.nl/catalog/">

<!-- start get_javascript(applicationtop2header) //-->
<script language="javascript"><!--
var selected;

function selectRowEffect(object, buttonSelect) {
if (!selected) {
if (document.getElementById) {
selected = document.getElementById('defaultSelected');
} else {
selected = document.all['defaultSelected'];
}
}

if (selected) selected.className = 'moduleRow';
object.className = 'moduleRowSelected';
selected = object;

// one button is not an array
if (document.checkout_address.shipping[0]) {
document.checkout_address.shipping[buttonSelect].checked=true;
} else {
document.checkout_address.shipping.checked=true;
}
}

function rowOverEffect(object) {
if (object.className == 'moduleRow') object.className = 'moduleRowOver';
}

function rowOutEffect(object) {
if (object.className == 'moduleRowOver') object.className = 'moduleRow';
}
//--></script>
<!-- end get_javascript(applicationtop2header) //-->

<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body>
<table width="800" align="center" cellpadding="0" cellspacing="0" BGcolor="FFFFFF">
<tr>
<td height="262" valign="top" colspan="2"><TABLE WIDTH=800 BORDER=0 CELLPADDING=0 CELLSPACING=0>

<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr class="header">
<td valign="middle">
<a href="http://houseofespresso.nl/catalog/index.php">
<img border="0" src="images/logo_header.png"></td> 
</tr>
</table>

<table border="0" width="100%" height="40" cellspacing="0" cellpadding="1">
<tr class="headerNavigation">
<td class="headerNavigation">
  
<a href="http://www.houseofespresso.nl" class="headerNavigation">Hoofdpagina</a> » 
<a href="http://www.houseofespresso.nl/catalog/index.php" class="headerNavigation">Winkel</a> » 
<a href="http://www.houseofespresso.nl/catalog/checkout_shipping.php" class="headerNavigation">Afrekenen</a> » 
<a href="http://www.houseofespresso.nl/catalog/checkout_shipping.php" class="headerNavigation">Verzendmethode</a>
</td>
<td align="right" class="headerNavigation">
<a href=http://www.houseofespresso.nl/catalog/account.php class="headerNavigation">Je klantgegevens</a> | 
<a href=http://www.houseofespresso.nl/catalog/logoff.php class="headerNavigation">Uitloggen</a> | 
<a href=http://www.houseofespresso.nl/catalog/shopping_cart.php class="headerNavigation">Bekijk winkelwagen</a> | 
<a href=http://www.houseofespresso.nl/catalog/checkout_shipping.php class="headerNavigation">Afrekenen</a>
  
</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="left-column" valign="top" width="125">
<table border="0" width="125" cellspacing="0" cellpadding="0">
<a href="http://houseofespresso.nl/catalog/index.php?cPath=1">
<img border="0" src="images/btn_serving.gif"></a> 
<a href="http://houseofespresso.nl/catalog/index.php?cPath=2">
<img border="0" src="images/btn_machines.gif"></a> 
<a href="http://houseofespresso.nl/catalog/index.php?cPath=3">
<img border="0" src="images/btn_chocola.gif"></a> 
<a href="http://houseofespresso.nl/catalog/index.php?cPath=21">
<img border="0" src="images/btn_kopjes.gif"></a> 
<a href="http://houseofespresso.nl/catalog/index.php?cPath=24">
<img border="0" src="images/btn_likeuren.gif"></a> 
<a href="http://houseofespresso.nl/catalog/index.php?cPath=22">
<img border="0" src="images/btn_onderhoud.gif"></a> 
<p> </p>
<a href="http://houseofespresso.nl/catalog/zakelijk.php">
<img border="0" src="images/zakelijk.gif"></a>
<p> </p>
<a href="http://houseofespresso.nl/catalog/servinginfo.php">
<img border="0" src="images/btn_servinginfo.gif"></a> 
<a href="http://houseofespresso.nl/catalog/makingoff.php">
<img border="0" src="images/btn_makingoff.gif"></a>
</table>
</td>
<td class="main-content" valign="top">
<table border="0" width="600" cellspacing="0" cellpadding="0">
<p>
<!-- start Default Content //-->
<form name="checkout_address" action="http://www.houseofespresso.nl/catalog/checkout_shipping.php" method="post">
<input type="hidden" name="action" value="process">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="pageHeading">Verzendinformatie</td>
<td class="pageHeading" align="right"></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main"><b>Verzendadres</b></td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
<tr class="infoBoxContents">
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> 
<td class="main" width="50%" valign="top">Selecteer uit uw adresboek waar de bestelling afgeleverd moet worden.<br><br>
<a href="http://www.houseofespresso.nl/catalog/checkout_shipping_address.php">
<img src="includes/languages/dutch/images/buttons/button_change_address.gif" 
border="0" alt="Adres veranderen" title=" Adres veranderen " width="119" height="29"></a></td>
<td align="right" width="50%" valign="top"><table border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="main" align="center" valign="top"><b>Verzendadres:</b><br><img src="images/arrow_south_east.gif" 
border="0" alt="" width="50" height="31"></td>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> 
<td class="main" valign="top">Bart van Meulenbroek<br> Sw79a<br> Utrecht, 3511vk<br> Netherlands</td>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> 
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main"><b>Verzendmethode</b></td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
<tr class="infoBoxContents">
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td>
<td class="main" width="100%" colspan="2">Beschikbare verzendmethode(n).</td>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td>
</tr>
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td>
<td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td>
<td class="main" colspan="3"><b>Vast tarief</b> </td>
<td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td>
</tr>
<tr id="defaultSelected" class="moduleRowSelected" onmouseover="rowOverEffect(this)" 
onmouseout="rowOutEffect(this)" onclick="selectRowEffect(this, 0)">
<td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td>
<td class="main" width="75%">Best Way</td>
<td class="main" align="right" colspan="2">€5,00<input type="hidden" name="shipping" value="flat_flat"></td>
<td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td>
</tr>
</table></td>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> 
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main"><b>Opmerkingen bij uw bestelling</b></td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
<tr class="infoBoxContents">
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td><textarea name="comments" wrap="soft" cols="60" rows="5"></textarea></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
<tr class="infoBoxContents">
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td>
<td class="main"><b>Ga verder met afrekenen</b><br>om de gewenste betaalwijze te selecteren.</td>
<td class="main" align="right"><input type="image" 
src="includes/languages/dutch/images/buttons/button_continue.gif" border="0" alt="Volgende" title=" Volgende "></td>
<td width="10"><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" align="right"><img src="images/checkout_bullet.gif" border="0" alt="" width="11" height="11"></td>
<td width="50%"><img src="images/pixel_silver.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
</table></td>
<td width="25%"><img src="images/pixel_silver.gif" border="0" alt="" width="100%" height="1"></td>
<td width="25%"><img src="images/pixel_silver.gif" border="0" alt="" width="100%" height="1"></td>
<td width="25%"><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="50%"><img src="images/pixel_silver.gif" border="0" alt="" width="100%" height="1"></td>
<td width="50%"><img src="images/pixel_silver.gif" border="0" alt="" width="1" height="5"></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center" width="25%" class="checkoutBarCurrent">Verzendinformatie</td>
<td align="center" width="25%" class="checkoutBarTo">Betaalinformatie</td>
<td align="center" width="25%" class="checkoutBarTo">Bevestiging</td>
<td align="center" width="25%" class="checkoutBarTo">Gereed!</td>
</tr>
</table></td>
</tr>
</table></form>
<!-- end Default Content //-->
</p>
<p> </p>
</td>
<td class="right-column" valign="top" width="125">
<table border="0" width="125" cellspacing="0" cellpadding="2">
<tr><td>
<!-- start cartbox //-->


<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="11"> 
<td background="images/infobox_03.gif" class="infoBoxHeading" width="1728">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" class="infoBoxHeading">Winkelwagen</td>
</tr>
</table>
</td>
<td width="92" style="background-repeat: norepeat" bgcolor="583317">
<a href="http://www.houseofespresso.nl/catalog/shopping_cart.php">
<img src="images/infobox/arrow_right.gif" border="0" alt="Meer" title=" Meer " width="12" height="10"></a></td>
<td width="11" background="images/infobox_04.gif" style="background-repeat: norepeat"> 
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" 
bgcolor="#FFFFFF" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF" src="images/boxbackgroundwood.png"><table border="0" 
width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
<tr>
<td class="boxText"><table border="0" width="100%" cellspacing="0" cellpadding="0"><tr>
<td align="right" valign="top" class="infoBoxContents"><span class="infoBoxContents">1 x </span></td>
<td valign="top" class="infoBoxContents">
<a href="http://www.houseofespresso.nl/catalog/product_info.php?products_id=28">
<span class="infoBoxContents">Caffe New York - 18st</span></a></td></tr></table></td>
</tr>
<tr>
<td class="boxText"><img src="images/pixel_black.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
<tr>
<td align="right" class="boxText">€6,43</td>
</tr>
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
</table>
</td>
<td> </td>
</tr>
<tr>
<td width="30"> </td>
<td width="100%"> </td>
<td width="31"> </td>
</tr>
</table> 
<!-- end cartbox //-->
</td></tr>
<tr><td>
<!-- start orderhistorybox //-->

<!-- end orderhistorybox //-->
</td></tr>
<tr><td>
<!-- start bestsellersbox_only //-->


<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="11"> 
<td background="images/infobox_03.gif" class="infoBoxHeading" width="1728">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" class="infoBoxHeading">Meest verkocht</td>
</tr>
</table>
</td>
<td width="92" style="background-repeat: norepeat" bgcolor="583317"></td>
<td width="11" background="images/infobox_04.gif" style="background-repeat: norepeat"> 
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" 
style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td bgcolor="#FFFFFF"> </td>
<td bgcolor="#FFFFFF" src="images/boxbackgroundwood.png">
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
<tr>
<td class="boxText"><table border="0" width="100%" cellspacing="0" cellpadding="1"><tr>
<td class="infoBoxContents" valign="top">01.</td><td class="infoBoxContents">
<a href="http://www.houseofespresso.nl/catalog/product_info.php?products_id=29">Illy Normaal</a>
</td></tr><tr><td class="infoBoxContents" valign="top">02.</td><td class="infoBoxContents">
<a href="http://www.houseofespresso.nl/catalog/product_info.php?products_id=28">Caffe New York - 18st</a>
</td></tr><tr><td class="infoBoxContents" valign="top">03.</td><td class="infoBoxContents">
<a href="http://www.houseofespresso.nl/catalog/product_info.php?products_id=30">Illy Caffeïne vrij</a>
</td></tr><tr><td class="infoBoxContents" valign="top">04.</td><td class="infoBoxContents">
<a href="http://www.houseofespresso.nl/catalog/product_info.php?products_id=32">Illy normaal monodose</a>
</td></tr></table></td>
</tr>
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
</table>
</td>
<td> </td>
</tr>
<tr>
<td width="30"> </td>
<td width="100%"> </td>
<td width="31"> </td>
</tr>
</table> 
<!-- end bestsellersbox_only //-->
</td></tr>
<tr><td>
<!-- start informationbox //-->

<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-collapse: collapse" 
bordercolor="#111111" bgcolor="#583317">
<tr>
<td width="11">
</td>
<td background="images/infobox_03.gif" class="infoBoxHeading" width="1428">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" class="infoBoxHeading">Informatie</td>
</tr>
</table>
</td>
<td width="103" style="background-repeat: norepeat">
</td>
</tr>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor= "#FFFFFF" /*"#BBC3D3"*/ 
style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td> </td>
<td bgcolor="#DBF1FF"><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
<tr>
<td class="boxText"><a href="http://www.houseofespresso.nl/catalog/shipping.php">Verzenden & retourneren</a><br>
<a href="http://www.houseofespresso.nl/catalog/privacy.php">Privacy verklaring</a><br>
<a href="http://www.houseofespresso.nl/catalog/conditions.php">Algemene voorwaarden</a><br>
<a href="http://www.houseofespresso.nl/catalog/contact_us.php">Neem contact op</a></td>
</tr>
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
</table>
</td>
<td> </td>
</tr>
<tr>
<td width="30"> </td>
<td width="100%"> </td>
<td width="31"> </td>
</tr>
</table> 
<!-- end informationbox //-->
</td></tr>
</table>
</td>
</tr>
</table>

<table border="0" width="100%" cellspacing="0" cellpadding="1">
<tr class="footer">
<td class="footer">  dinsdag, 26 augustus 2008   </td>
<td align="right" class="footer">  
 House of Espresso luistert ook naar de naam 'HoE'     </td>
</tr>
</table>

<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center" class="smallText">
Copyright © 2008 <a href="http://www.houseofespresso.nl/catalog/index.php">House of Espresso</a>
<br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a>
</td>
</tr>
</table>

<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td align="center">

</td>
</tr>
</table>


<table border="0" cellpadding="3" cellspacing="0" width="100%">
<tr>
</tr>
</table>
</body>
</html>


 

 

And the false one:

 

<!-- left_navigation_eof //-->
</table></td>
<!-- body_text //-->
<td width="100%" valign="top"><form name="checkout_address" 
action="http://www.houseofespresso.nl/catalog/checkout_shipping.php" 
method="post"><input type="hidden" name="action" value="process">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="pageHeading">Verzendinformatie</td>
<td class="pageHeading" align="right"></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="10"></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main"><b>Verzendadres</b></td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
<tr class="infoBoxContents">
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> 
<td class="main" width="50%" valign="top">Selecteer uit uw adresboek waar de bestelling afgeleverd moet worden.<br><br>
<a href="http://www.houseofespresso.nl/catalog/checkout_shipping_address.php">
<img src="includes/languages/dutch/images/buttons/button_change_address.gif" border="0" alt="Adres veranderen" 
title=" Adres veranderen " width="119" height="29"></a></td>
<td align="right" width="50%" valign="top"><table border="0" cellspacing="0" cellpadding="2">
<tr>
<td class="main" align="center" valign="top"><b>Verzendadres:</b><br>
<img src="images/arrow_south_east.gif" border="0" alt="" width="50" height="31"></td>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="10" height="1"></td> 
<td class="main" valign="top">

Edited by meulenb

Share this post


Link to post
Share on other sites
...I use the above all of the time and it is rock solid with osCommerce and STS.

 

As you see above, adding Flash to a STS template is exactly the same as adding it to any other HTML page. See http://blog.deconcept.com/swfobject/ for more details on Flash and the SWFObject embed script.

 

Hope this helped,

 

Ouch.. It hurt my brains...

 

It worked though...

Thanks bkellum! Your really great!

Is that Java script?

What does it all do? Or rather why do one need it?

 

Sincerely,

Tim

Share this post


Link to post
Share on other sites
Hi there,

 

I've browsed all topics and replies related to STS + SSL and although my conclusion is that

STS can't / shouldn't have an impact on using SSL - if used correctly! - I just want to have fully confirmed

this for 200% as I'm having definitely a weird thing going on and I'm quite desperate since nobody had a clue so far....

 

here we go:

 

dedicated SSL has been installed on houseofespresso.nl and my provider has set it up as "http and https in one folder".

I've enabled SSL on OsC according the 1-2-3 install guide on this forum.

 

This is working great for some pages but not working for all chechout pages (shipping, payment, process).

It's difficult to describe, but only few parts of the pages remain when on https, layout and formats are gone and large html-parts are simply not there anymore.

 

To see the difference: first code is the full and correct one when using the page on http.

Second is what I get when using the page on https. As example I've used the output of the checkout_shipping page.

 

Many many thanks if someone could shine a light on this.

 

Issue resolved and not related to STS. for those interested: the general.php uses a function called Eval and many providers don't allow this function to be used under https. My provider had to specifically amend this for my OsCommerce installation to work.

Share this post


Link to post
Share on other sites

How do I add php code to information.php files? I have a no credit check page where I would like to add the code but it just displays the code, even when using an include.

Share this post


Link to post
Share on other sites

How do I add php code to information.php files? I have a no credit check page where I would like to add the code but it just displays the code, even when using an include.

Share this post


Link to post
Share on other sites
How do I add php code to information.php files? I have a no credit check page where I would like to add the code but it just displays the code, even when using an include.

 

Kenny, I'm not sure what you are asking here of if it is even related to STS.


Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Share this post


Link to post
Share on other sites

Hi,

 

I'm not sure if this is related to the sts contribution, but I have sts installed and I am using a fixed width layout.

 

The problem I'm having is on the product info page, here's an example:

 

http://www.totsntales.com/shop/product_inf...5caad4ec70dd300

 

It displays fine in firefox, but in internet explorer, the right hand column drops lower down the page and the middle column, where the product info is, extends the full width of the page. The right hand column then comes in where that ends (product info). Please view in internet explorer to see what I mean.

 

Any help would be greatly appreciated.

 

Many thanks.

 

Grant

Share this post


Link to post
Share on other sites

Hi there!

 

My flash has got some emty space above it.

Q1: How do I erase that?

 

(Is this really sts related?: I belive so, I got sts and Flash on the page... I dont know.. Hope so. )

 

Any way.. it looks something like this:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html $htmlparams>
<head>
<!--$headcontent-->
 <link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body>

<script type="text/javascript" src="$templatedir/flash/swfobject.js"></script>	

         <div id="flashcontent">Products from Couleurful.com
      </div>
      <script type="text/javascript">
         var so = new SWFObject("images/flash/couleurful.com_flash.swf", "movie", "763", "368", "8", "#ffffff");
         so.write("flashcontent");
      </script>
        </div>

 

Css:

 

#flashcontent {
float: left;
margin: 0 30;
}

 

And then some Javascript bkellum was kind enough to provide me with, Accually he gave me everything. Bkellum is A bright light in a dark trubbled world... of sts. ;)

 

Q2: I would like to position something at the bottom of the screen, like the cart. Which is easy with css (fixed position? I belive) in firefox. But Ie dont really like that. Any thoughts?

 

Would be great if someone could help me..

 

Sincerely,

Tim

Edited by SimonSay

Share this post


Link to post
Share on other sites

I don't know if I'm a newbie or more of an oldbie. I haven't done much web stuff since the 90's so I'm kinda stuck in ancient html.

 

This is all I want to do..I want to add a repeating background image to a table in my sts_template page. I've tried <table background="images/pic.gif"> and <table background-image: url('images/pic.gif')> Nothing works.

 

I know this is insanely simple. What's the problem? Thanks.

Share this post


Link to post
Share on other sites
I don't know if I'm a newbie or more of an oldbie. I haven't done much web stuff since the 90's so I'm kinda stuck in ancient html.

 

This is all I want to do..I want to add a repeating background image to a table in my sts_template page. I've tried <table background="images/pic.gif"> and <table background-image: url('images/pic.gif')> Nothing works.

 

I know this is insanely simple. What's the problem? Thanks.

 

Problem solved. I just realized that I need an images folder specifically for the sts_template. I was putting images in the wrong folder. But they have all worked until this table background problem. I'll have to figure that one out. But everything works now so that's good.

Share this post


Link to post
Share on other sites

Can someone tell me how popup image works? Or just point me to some page that's using it to look at? I couldn't really figure it out from the STS docs. What I'd like to to is to have larger image poped up in the same browser window when hovering mouse over a thumbnail in the category list. I've seen it in some osC sample pages. Is this STS or something else?

Edited by Syeager

Share this post


Link to post
Share on other sites

STS is a templating system that allows you to customize the look of your site using html/php rather than just php, you can also create custom templates for different pages (areas) of the cart.

It is a very indepth and flexable templating system, and i suggest it to be used by anyone who is looking to be able to jump into their cart and really make it the way they want to.

 

the mouse over pop up images you are looking for is a seperate mod and can be found here..

pop up mod

 

hope this helps :)

 

 

Can someone tell me how popup image works? Or just point me to some page that's using it to look at? I couldn't really figure it out from the STS docs. What I'd like to to is to have larger image poped up in the same browser window when hovering mouse over a thumbnail in the category list. I've seen it in some osC sample pages. Is this STS or something else?

Share this post


Link to post
Share on other sites
Hi,

 

I'm not sure if this is related to the sts contribution, but I have sts installed and I am using a fixed width layout.

 

The problem I'm having is on the product info page, here's an example:

 

http://www.totsntales.com/shop/product_inf...5caad4ec70dd300

 

It displays fine in firefox, but in internet explorer, the right hand column drops lower down the page and the middle column, where the product info is, extends the full width of the page. The right hand column then comes in where that ends (product info). Please view in internet explorer to see what I mean.

 

Any help would be greatly appreciated.

 

Many thanks.

 

Grant

Things like this are usually a CSS problem which effects different versions of internet explorer in different ways

the best and often most reliable solution is to use internet explorers conditional includes, to specify CSS overrides to solve the problems with each of the different versions

eg

<link rel="stylesheet" type="text/css" href=stylesheet.css">
<!--[if IE 5]>  
<link rel="stylesheet" type="text/css" href="stylesheet_ie5.css">
<!--[if IE 6]>  
<link rel="stylesheet" type="text/css" href="stylesheet_ie6.css">
<![endif]-->
<![endif]-->
<!--[if IE 7]>  
<link rel="stylesheet" type="text/css" href="stylesheet_ie7.css">
<!--[if IE 8]>  
<link rel="stylesheet" type="text/css" href="stylesheet_ie8.css">
<![endif]-->

if you use this method you will need a blank CSS for each of the override files

then just modify to effected style rules so the page looks consistent across the browsers

 

For more info see the msdn article on conditional comments

Share this post


Link to post
Share on other sites
Did you ever get this working? If so, how?

 

Hi,all

 

some question make me crazy!!! please help

 

i am using OSC+STS, I can add two file like infobox_categories.php.html and infobox_categories_header.php.html in the sts_template/test/boxes folder. then i modify the categories.php in include/boxes . so , i can modify the categoriesbox style (because there has a $categories_string variable in categories.php file, i can add some html tag to it)

 

the question is:

 

how can I modify the "new products" box style? i can't find the related file like new_product.php in inlcude/boxes, I just find it in include/modules , but it seems difficault to add html tag in it

 

help me,thanks

Share this post


Link to post
Share on other sites
Hi,all

 

some question make me crazy!!! please help

 

i am using OSC+STS, I can add two file like infobox_categories.php.html and infobox_categories_header.php.html in the sts_template/test/boxes folder. then i modify the categories.php in include/boxes . so , i can modify the categoriesbox style (because there has a $categories_string variable in categories.php file, i can add some html tag to it)

 

the question is:

 

how can I modify the "new products" box style? i can't find the related file like new_product.php in inlcude/boxes, I just find it in include/modules , but it seems difficault to add html tag in it

 

help me,thanks

First off, you need to get out of the "test" folder and either use the "full" folder or create your own template folder that has the "content" and "boxes" and "images" folder in them.

 

See the following post # 3757 for more info on infobox templates: http://forums.oscommerce.com/index.php?s=&...t&p=1227006


Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Share this post


Link to post
Share on other sites

I am just starting to use STS. What I would like to do is to replace "new products" listing on main page with some listing I create myself. Perhaps some hidden category. Though it can still be called "new products". Can I use STS to do it?

Share this post


Link to post
Share on other sites
I am just starting to use STS. What I would like to do is to replace "new products" listing on main page with some listing I create myself. Perhaps some hidden category. Though it can still be called "new products". Can I use STS to do it?

 

Steve,

You could remove the call for the New Products for Month altogether or install a contribution such as Featured Products that replaces that box and allows you to control the products inside the new Featured Products box. You can change the heading to anything you like using STS.

 

Another option is to remove the call for the New Products for Month box (in the index.php file by the way) and then add some product links manually in your template using the following syntax:

 

STS Link to a product:

 

<a href="<?php echo tep_href_link('product_info.php', 'products_id=53&', 'NONSSL'); ?>">Product Name Here</a>


Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Share this post


Link to post
Share on other sites
Steve,

You could remove the call for the New Products for Month altogether or install a contribution such as Featured Products.....

Thanks Bill.

This will work, of course. But I was just wandering if something like this can be done by STS alone. Like replacing "new products" with something else. Like with some particular category. However I couldn't find a placeholders for this. And again, I am just starting learning STS and osC.

 

Thing is that the shop was made and named after one particular type of products and now they started to add stuff that doesn't fall into mainline and these things are showing up on the main page :) And, of course, they want some products to be shown on the main page, so I can't just remove it. So, perhaps, "Featured Products" is the best solution.

 

And I am just looking for the easiest way to fix it.

Edited by Syeager

Share this post


Link to post
Share on other sites
Thanks Bill.

This will work, of course. But I was just wandering if something like this can be done by STS alone. Like replacing "new products" with something else. Like with some particular category. However I couldn't find a placeholders for this. And again, I am just starting learning STS and osC.

 

Thing is that the shop was made and named after one particular type of products and now they started to add stuff that doesn't fall into mainline and these things are showing up on the main page :)

 

So I am looking for the easiest way to fix it.

The 'New Products for Month' is part of the $content tag. The $content tag pulls in whatever is within the content of the PHP page that is being requested, in this case, the index.php file.

 

If you install the Featured Products contribution, it will automatically replace this box for you and then give you some options in the admin as to whether you want to show the Featured Products box/or not, and what products/if any you want displayed in this box.

 

You would then be able to template this box by creating an infobox template named infobox_featured.php.html and change the header text to anything you want.

 

The easiest option would be to simply remove the New Products for Month include statement in the index.php file and be done with it, that is if you do not want this function at all.

 

To remove the "new products for" box...

 

In index.php

 

 

1. About line 121 (for the category pages..)

 

Remove:

<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

 

2. About line 313 (for the front page...)

 

Remove:

<?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>

 

Hope you find this helpful,


Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Share this post


Link to post
Share on other sites

Hi,

 

Fantastic contribution!

 

Just one question (my sincere apologies if this has been answered already, I tried to search and read as much of the 230+ pages here but my eyes began to lose the will to stop working after a while!)

 

I would like to make it possible to use a button to link to individual categories but don't know the placeholder I would need. Is there a uniform one for category 1, 2 etc? I'm sure people have done this before and I'm even sure I've seen OSC sites which implement it but my php knowledge originates solely from using OSC and I'm at a bit of a loss as to what to do. Thank you immensely in advance for any help you could offer

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×