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
| allow_call_time_pass_reference | On |
| allow_url_fopen | On |
| allow_url_include | Off |
| always_populate_raw_post_data | Off |
| display_errors | On |
| error_reporting | 2 |
| exit_on_timeout | Off |
| expose_php | On |
| file_uploads | On |
| implicit_flush | Off |
| log_errors | Off |
| magic_quotes_gpc | Off |
| magic_quotes_runtime | Off |
| magic_quotes_sybase | Off |
| mail.add_x_header | On |
| register_argc_argv | Off |
| register_globals | Off |
| register_long_arrays | Off |
| report_memleaks | On |
| report_zend_debug | On |
| request_order | GP |
| safe_mode | Off |
| safe_mode_gid | Off |
| short_open_tag | On |
| y2k_compliance | On |
| zend.enable_gc | On |
Vcube works on:
Vtiger 5.2.0
Vtiger 5.2.1
Vtiger 5.3.0
Vtiger 5.3.1
Vtiger 5.4.0
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:
yourportaldirectory/Vcube/date
yourportaldirectory/Vcube/css
yourportaldirectory/Vcube/templates
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:
Languages
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.
Skin
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.
Extensions
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.
Extension Basis
Vcube extension is structured by these files:
- helper.php
- cfg.php
- save.cfg.php
In this example the goal is write the variable $my_extension_variable and put it into the template
helper.php
is the files that represents the user interface.
the basic structure syntax:
<div class="loaded_module">
<table>
<tr>
<td width="50%" align="right" valign="top"><h1 class="step">My Extension</h1></td>
<td valign="top"> My extension description</td>
</tr>
<tr>
<td colspan="2" align="right" valign="middle"><strong>Test</strong><br />
Test</td>
</tr>
<tr>
<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>
</tr>
</table>
</div>
cfg.php
contain the saved data
<?php
$my_extension_variable = 'true'
?>
save.cfg
takes care of writing the module.
Its structure is composed of a simple file writer:
<?php
//start header writer
$savesetting = "data/myextension.cfg.php";
touch($savesetting);
chmod($savesetting,0777);
$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 = "?>";
fwrite($fh, $stringData);
fclose($fh);
chmod($savesetting,0755);
//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
<?php
print $my_extension_variable
?>
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