Vcube is an additional Template System for Vtiger Customer Portal.
Vcube 1.5 needs to be installed:
- FTP Super Administrator and system rights to perform the installation of the product.
- Installation of Vtiger Customer Portal, fully functional.
- PHP 5.3
- Suggest Php Values
Vcube works on:
The absence of even one of the requirements we strongly recommend contact your service provider, or your agency/webmaster/internet site provider.
In case of absence of rights can make a request to our staff will only have access to the FTP login information. Without FTP access data you can not make any claims intervention, the cost of the installation is about 45 €
Just after the purchase you will receive an email with the link for download. The email reference is used at Customer registration on our website. If you do not receive this email check your SPAM folder your email account, or alternatively contact us.
receipt the email click on the download link. You will be redirected to the download link, the field of secret code will automatically filled.
Warning: You must be logged in correctly on www.scarletkangaroo.com with your customer details to proceed to download.
• Click Start Download and save the file where you want
• The file will be named similarly or mytemplate.zip
Once you download Vcube package unzip it on your PC.
1. Upload the Vcube folder of your FTP site.
Careful not to upload into the same folder of Vtiger, this would endanger the integrity of the CRM and Customer Portal
2. Once you upload all the files assign permissions 0777, including subfolder and file, to the folders:
through your FTP client
This will allow to generate vcube Their configuration files
3. Now open your browser to vcube on which it resides.ex.: http://www.yourcustomerportal.com
A screen will appear warning that the first firing of the application.
The username and password you set when you first start are admin and admin.
Click on now go to installer to continue
4.The login window appear, make the login.
The first launch script check if the date, css templates and folders are writable by the user browser.
Logged in you will notice that the configuration files have not yet been created.
5. Click SAVE to create the new configuration file.
Insert the configuration parameters to ensure access to the data of Vtiger by Vcube.
Proxy, Vtiger Path, secure path and temp parth
To change the password for vcube click Administrator Password and enter the desired data.
Vcube Allows a number of options that provide good customization of the portal let us see the main features:
The panel languages Allows you to make all the changes to the functions of language through the module Zone.
The module Zone will make the automatic detection of languages installed on the Customer Portal before, reading the files in the folder "language".
If any other languages Vcube will offer the option to edit through the buttons on the Language section Builder.
To make changes to the language files simply click on the green button with the language codes (ex.:en_us).
Once the first load you can change the short and long descriptions of all sections, change the title and subtitle of the site, and specify the alignment of the text, whether from right to left or from left to right.
NB: into LONG DESCRIPTION is highly discouraged the use of commas, accents, apostrophes, quotation marks and html tags.
This could affect the correct operation of the Language Builder Preventing reading.
In case of failure to follow the guidance in this faq.
Vcube automatically reads the templates available from Vcube folder/templates/
The main template is default, and have 5 different skin CSS, select the preferred option.
Vcube Allows the packaging of extensions.
The PHP engine processes Vcube of the folders in yourportal.com/Vcube/module/ and processes them as separate modules.
You can create custom forms inside the folder yourportal.com/Vcube/module where it will be sufficient to modify the parameters of the main file module.cfg.php to create a new one.
With this system you can pass the recorder variables into the template system.
Vcube extension is structured by these files:
In this example the goal is write the variable $my_extension_variable and put it into the template
is the files that represents the user interface.
the basic structure syntax:
<td width="50%" align="right" valign="top"><h1 class="step">My Extension</h1></td>
<td valign="top"> My extension description</td>
<td colspan="2" align="right" valign="middle"><strong>Test</strong><br />
<td align="right" valign="middle"><strong>Feed RSS<br />
</strong>Change password for the SK Installer Login </td>
<td valign="top"><input type="text" name="my_extension_variable" id="my_extension_variable" value="<?php echo "$my_extension_variable" ?>" /></td>
contain the saved data
$my_extension_variable = 'true'
takes care of writing the module.
Its structure is composed of a simple file writer:
//start header writer
$savesetting = "data/myextension.cfg.php";
$fh = fopen($savesetting, 'w') or die("can't open path cfg.php");
$stringData = "<?php\n";
fwrite($fh, $stringData);fwrite($fh, $stringData); //end header writer //start custom varables writer
$stringData = "$"."position_login = '".$_GET[my_extension_variable]."';\n";
fwrite($fh, $stringData); //end custom varables writer
//start footer writer
$stringData = "?>";
//end footer writer
Vcube will automatically load all the variables recorded and put them in the module.
We recommend using the prefixes in the variable declaration for vtiger conflict.
Apart from these little tips, there are no restrictions on the use of php code.
To use the variable $my_extension_variable into the template put this syntax into your php template files
Warning: include(../catalog/view/theme/default/template/product/faq.php): failed to open stream: No such file or directory in /home/diegocampiglia/domains/scarletkangaroo.com/public_html/docs/vcube.php on line 303 Warning: include(): Failed opening '../catalog/view/theme/default/template/product/faq.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/diegocampiglia/domains/scarletkangaroo.com/public_html/docs/vcube.php on line 303