convict
-
Posts
1,302 -
Joined
-
Last visited
-
Days Won
1
Posts posted by convict
-
-
This means that Multinational company's with employees from diferent nationality's can use CC and be administrated by diferent users in their own language from diferent locations without asking "what does this mean".
That was the main reason what this mod was written for :)
-
Those that are under your language folder.
-
:rolleyes:
lang.inc.php doesnt contain MODULES and Admin permisions settings (Section names and desctriptions)
-
@vrakas you are absolutely right :rolleyes:
-
File Name :: Multilanguage support for Cubecart3 Administration
Author :: convict
Category :: Admin
Description
This tiny mod allows you to assign others languages as default to administrators in CC3 Admin control panel.
-
Temlates are for html code or for temlate variables from appropriate php defined, php commands doesnt work. Search post from 90 days ago and newer....
Same line problem:
Yes, <form> makes a 'break'
Solutions:
1. make centered table for {SESSION} {SEARCH_FORM}
2. use realive positons and some float for <div>
Code below does not center both boxes, but they are at the same line, SESSION on right and SEARCH_FORM on the left side. I think thats the best solution for you.
<div style="position:relative;float:right">{SESSION}</div> <div style="position:relative;float:left">{SEARCH_FORM}</div>
-
That is probably why it doesn't work in CubeCartâ„¢ stylesheets
This is BROWSER mode settings dependet . Code below is responsible that colored scrollbar doesnt show in IE :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Apply scroll-bar styles and remove code above temorary .
Finally, thats true - scrollbar is non-standard style property.
-
EDITED: read my post below
-
@markscarts gladly
support for everyone and everywhere :sourcerer:
-
Hi Jonathan,
It depends to used skin. Generally, this is question of styles. Classic & Legend - div styles definition, Killer - table style definition.
Handiwork with layout.css :sourcerer:
-
pippopluto
You have to write your own box tepmlate file, appropriate php file, additional LANG variable(s).
I suppose, you dont know anything about PHP TEMPLATES.
Principle in practice
-----------------------
Have look to includes/boxes folder. Lot of boxes php files here. Appropriate templates folder is skins/<-your favorite skin->/styleTemplates/boxes.
How the whole parsing works?
----------------------------------
Php files for boxes are included into index.php like this
include("includes/boxes/searchForm.inc.php"); $body->assign("SEARCH_FORM",$box_content);
Just have look at SEARCH_FORM in code above, open the main index template skins/<-your favorite skin->/styleTemplates/global/index.tpl and search for SEARCH_FORM. Here is {SEARCH_FORM} - template variable parsed by $body->assign("SEARCH_FORM",$box_content) command . It means, that whole code for this box just in this position resides. And what about box code?. Open skins/<-your favorite skin->/styleTemplates/boxes/searchForm.tpl. This is plain html code, except template variables like {LANG_SEARCH_FOR}. This variable is parsed in appropriate php for searchForm.tpl - includes/boxes/searchForm.inc.php just open it and yes, we are right
$box_content = new XTemplate ("skins/".$config['skinDir']."/styleTemplates/boxes/searchForm.tpl");
Command like
$box_content->assign("LANG_GO",$lang['front']['boxes']['go']);
does already used language assignation for {LANG_GO} and $lang['front']['boxes']['go'] is language variable defined within lang.inc.php. Finally, all of our variables, which are needed for template must be parsed.
$box_content->parse("search_form"); $box_content = $box_content->text("search_form");
As you see, $box_content contains search box html code.
OK, thats all. You are welocome to PM me, if you have any problem.
-
in a general way:
Root SECURE Public HTML Folder to store = $glob['rootRel']
Absolute SECURE URL to store = $glob['storeURL'] (but https instead of http)
Server SECURE Root Directory = $glob['rootDir']
-
PM URL pls.
More than 90% paths stored into php scripts are relative. Your global.inc.php variables, what i have mentioned are BAD configured, or your moving and relocating has been crashed.
-
Check admin folder and all subfolders for Read and Execute permisions to Everyone or check these permisions for account IIS is running.
-
-= simple examples =-
CLICKABLE IMG:
<a href="<-- TARGET URL-->"><img src="<-- IMAGE URL -->" border="0"></a>
LINK TO VIEW IMAGE:
<a href="<-- IMAGE URL -->"><-- SOME TEXT, OR IMG URL--></a>
-
I did some changes in my phpadmin and then I could edit and delete language....
just don't ask me what I did lol
Just a fair database admin B)
-
Example: www.siteaddress.com/cart///////cart.php?act=step2
Your $glob['storeURL'] is ended with a trailing slash. Is NOT?
Function currentPage() in v3.0.5 is recoded completely. Slashes issue above occurs, when this one is used and $glob['storeURL'] is ended with a trailing slash.
-
Surely, but dont forget - make change into global.inc.php $glob['rootDir'], $glob['rootRel'], $glob['storeURL'] and SSL settings too.
-
Are NOT. Read...
-
This is source code, not -=Forbidden it says=- . Open includes/viewCat.inc.php ... and have look at the first line <?php is missing!
EDIT> I dont know, what is the reason, may be causal key stroke DEL by editing. Just put it onto right place (PHP start mark). I suppose all will be fine.
-
@roban, great work - CC3 styles tutorial for newbies ;)
-
skins/<--your skin-->/styleSheets
target files:
layout.css
style.css
-
don't mention it ;)
-
or use upgrade/scripts/3.0.2-3.0.3/upgrade.php from CC 3.0.5 installaltion package.
how can I add header navigation bar?
in Customising Look & Feel
Posted
you are right :)