Jump to content

convict

Member
  • Posts

    1,302
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by convict

  1. Site Docs:

    open styleSheets/style.css under your skin in skins directory, search for

    .txtSiteDocs, a.txtSiteDocs {
    color: #XXXXXX;  - XXXXXX your color code
    
    
    
    Search box:
    
    open styleTemplates/global/index.tpl under your skin in skins directory, search for {SEARCH_FORM} add <div> tag with appropriate style setting like
    
    <div style="background-color: #XXXXXX;">{SEARCH_FORM}</div>

    XXXXXX is your color code

  2. yes, CC2 admin code is quite different.....

    1. set time into session.gc_maxlifetime in php.ini

    or

    2. add @ini_set('session.gc_maxlifetime', '3600'); to every file, where session_start(); occurs....(almost every :) )....as the first PHP command....

    maybe ... much more effective method exists, but im not familiar with CC2 by now

  3. ;)

    Little modification.....paste code after

    	<!-- END: more_images -->

    this moves the price and Add to Basket to the top above Product Description, What i was writting first, moves the price and Add to Basket to the top above products image....

    nobody is perfect :)

  4. When using PHP as an Apache module, you can also change the configuration settings using directives in Apache configuration files like .htaccess

    arg_separator.output is separator used in PHP generated URLs to separate arguments. PHP default setting is &.

    Ampersands in URLs should be encoded (&amp;)....

    W3C recommendation:

    Entity references start with an ampersand (&) and end with a semicolon. If you want to use a literal ampersand in your document you must encode it as "&amp;" (even inside URLs)

    Most of sites run PHP in cgi mode that doesnt support php_value commands in .htacces files.

    I believe that has been a sufficient explanation :)

  5. Open styleTemplates/content/viewProd.tpl under your skin directory

    (KILLER)

    Quantity + Add button

        <!-- BEGIN: buy_btn -->
    
    	<div style="position: relative; text-align: left;">{LANG_QUAN} 
    
    	<input name="quan" type="text" value="1" size="2" class="textbox" style="text-align:center;" />
    
    	<a href="javascript:submitDoc('addtobasket');" class="txtButton">{BTN_ADDBASKET}</a>
    
    	</div>
    
    	<!-- END: buy_btn -->
    
    
    Price & Sale price
    
    <p>
    
    <strong>{LANG_PRICE}</strong> {TXT_PRICE} 
    
    <span class="txtSale">{TXT_SALE_PRICE}</span>
    
    </p>
    
    
    In/Out of stock
    
    	{TXT_INSTOCK}<span class="txtOutOfStock">{TXT_OUTOFSTOCK}</span>
    
    
    
    
    Group codes above together like
    
    	<p>
    
      <strong>{LANG_PRICE}</strong> {TXT_PRICE} 
    
      <span class="txtSale">{TXT_SALE_PRICE}</span>
    
    	<div>
    
    	{TXT_INSTOCK}<span class="txtOutOfStock">{TXT_OUTOFSTOCK}</span>
    
    	
    
        <!-- BEGIN: buy_btn -->
    
    	<div style="position: relative; text-align: left;">{LANG_QUAN} 
    
    	<input name="quan" type="text" value="1" size="2" class="textbox" style="text-align:center;" />
    
    	<a href="javascript:submitDoc('addtobasket');" class="txtButton">{BTN_ADDBASKET}</a>
    
    	</div>
    
    	<!-- END: buy_btn -->
    
    	</div> 
    
    	</p>
    (modify div tags, or remove) and paste after 
    
    <p class="txtContentTitle"><strong>{TXT_PRODTITLE}</strong></p>

    Thats all

  6. I deleted all the other languages and hardcoded the server path into the lang file.  A botch job for sure, but I had to get the cart running.

    You did NOT. Try to change language - then appears:

    Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/husabergstore.com/httpdocs/language/pt/lang.inc.php on line xxxx
    line xxxx is line where include("config.inc.php") resides.
    
    Your config.inc.php is like this?
    
    $glob['rootDir'] = '/usr/local/psa/home/vhosts/husabergstore.com/httpdocs';
    
    $glob['rootRel'] = '/';
    
    $glob['storeURL'] = 'http://www.husabergstore.com';

  7. Im not lawyer, just technician :)

    There are copuple of methods of pulling the title without the copyright notice. Just open main index.php an there is wanting code

    	if(isset($meta)){
    
      $body->assign("META_TITLE",$config['siteTitle'].c().$meta['siteTitle']);
    
      $body->assign("META_DESC",$meta['metaDescription']);
    
      $body->assign("META_KEYWORDS",$config['metaKeyWords']);
    
    	} else {
    
      $body->assign("META_TITLE",$config['siteTitle'].c());
    
      $body->assign("META_DESC",$config['metaDescription']);
    
      $body->assign("META_KEYWORDS",$config['metaKeyWords']);
    
    	}

    c() is responsible for your trable. :errm:

  8. never mind a bit here and a bit there it should be completed at some point  ;)
    I am NOT a cook therefore I dont write any cookbook :)

    Personaly, all about backup is drill, drill, drill, drill...even though NO safety :errm:

×
×
  • Create New...