Jump to content

bsmither

Member
  • Posts

    18,177
  • Joined

  • Last visited

  • Days Won

    609

Posts posted by bsmither

  1. I can guess that the form is a third-party mod thats installed based on a declared path at the time of the mod's purchase. Maybe you said the form is for "domain", and the publisher gave you a key (or hard-coded it) for "domain", but you installed it at "domain/path".

    Dunno.

  2. I'm looking for the code in FCKEditor that replaces \n with <br/>. I've globally scanned the rte folder for "br/" (without the quotes) and all I find is a commented out section.

    I'm experiencing an anomaly where my e-mail reader is (probably) not properly interpreting <br/>, thus running all text together into one line. (Well, except where <p> and </p> is used.)

    To try to fix this, I want to change the editor code to use <br-space-/> where -space- is a space character.

    Any ideas what file I can find this in?

    CC 3.0.15 with FCKEditor 2.4.3 (although this happens with the stock RTE as well).

  3. Ok, try this:

    .txtDefault a {
    
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    
    	color: #00FF00;
    
    	text-decoration:none;
    
    }
    
    .txtDefault a:hover, {
    
     	font-family: Verdana, Arial, Helvetica, sans-serif;
    
    	color: #FF3300;
    
    	text-decoration:none;
    
    }

    Put these after the two sections I mentioned earlier. Make sure you're working in the right skin.

    Remove what you added to the top of your text document.

    Keep this:

    <div class="txtDefault">{DOC_CONTENT}</div>

  4. You copied the whole thing to another server? Including the database?

    In the database, there are a few settings that make reference to the URL and path to your site. That probably got copied over.

    Get the Config editor file from this site (look for CubeCart Config Tool in the Downloads section) and make changes to the settings that pertain to your development server.

    Also make changes to /includes/global.inc.php to point the URLS and paths to your development server.

    DO NOT TRANSFER the database or the global.inc.php file back to the live server.

  5. I'm looking at /skins/Killer/styleSheets/style.css at around line 141 where the declaration is made for "a.txtLink". The next one is for "hover". Maybe you can edit your documents and add this class to the anchor tags.

    If you have a personal css file, then see:

    skins/Killer/styleTemplates/content/viewDoc.tpl

    and wrap {DOC_CONTENT} within a "div class" corresponding to your declarations.

  6. I'm doing something similar (selling memberships). I got Email Template System and am working on modifying that product so that a successful purchase on specific items will send to the customer default log in information.

    Now, I would have had CC open the membership database and add a new record, but this database is not on the same server and isn't even the same type of database.

    The best I figure I can do is have CC also send the admin an email that is automaticallt picked up by a trouble ticket parser. The parser then loads the membership database withe the basic data.

    But it's a lot of work yet to be accomplished.

  7. include_once(/home/fone-xs/public_html/shop/classes/db.inc.php

    /home/fonexs/public_html/shop/admin/includes/auth.inc.php on line 59

    Note how in the first part of the line there is: "fone-xs" while CC is actually trying to find it at "fonexs".

    So check the global.inc.php and make sure the absolute root to your store is correct.

  8. Right. In lang.inc.php, in the $lang['front']['gateway'] array, in the 'admin_email_body_1' element, add after:

    Name: %s

    this line:

    Phone: %s

    Repeat for each language desired.

    Then in file includes/content/gateway.inc.php, add after:

    $ccUserData[0]['title']." ".$ccUserData[0]['firstName']." ".$ccUserData[0]['lastName'],

    this line:

    $ccUserData[0]['phone'],

    Do not forget the comma at the end of that line.

    This is a really minor hack and so this response to your query should be acceptable to the powers that be, against discussing modifying the code.

×
×
  • Create New...