Friday, December 10, 2010
Set user role from Ilance admin
in here add your new role then go to the tag "plans"
add a new plan on your new role it will come front end registration
you can add new permission from permission tab also.
Change currencies in Ilance
go to accounting->currencies->settings
now you can change Default "marketplace currency locale"
Thursday, December 9, 2010
Ilance store the email template
Sunday, December 5, 2010
Create a static page in ilance project
<?php
define('LOCATION','example');
define('LOCATION_NAV','example');
require_once('./functions/config.php');
$navcrumb = array("$ilpage[example]" => $ilcrumbs["$ilpage[example]"]);
$area_title = 'Area title';
$page_title = SITE_NAME.' - Page title';
$ilance->template->fetch('main', 'example.html'); //$ilance->template->fetch(‘main’, ‘example.html’);
$ilance->template->parse_hash('main', array('ilpage' => $ilpage));
$ilance->template->parse_if_blocks('main');
$ilance->template->pprint('main', array('login_include','headinclude','area_title','page_title','site_name','https_server', 'http_server','lanceads_header','lanceads_footer'));
exit();
?>
now create a example.html file under templates\default\
<table width='100%' border='0? cellpadding='2? cellspacing='0? align='center'>
<tr>
<td><strong>{_where_to}</strong></td>
<tr>
<td><table width='100%' border='0? cellspacing='1? cellpadding='2?>
<tr>
<td width='9%' align='center'><img src='{template_relativeimagepath}{template_imagesfolder}arrow_right.gif' width='18? height='18? /></td>
<td width='91%'><a href='{ilpage[main]}'>{_main_menu}</a></td>
</tr>
</table></td>
</table>
no go to the functions\api\class.ilance.inc.php
find
$ilpage = array(
add
'example' => 'example' . $ilconfig['globalsecurity_extensionmime'],
now you can get this page http://your site/main-example
Thursday, December 2, 2010
Change your site name in ilance
find "globalserversettings_sitename" in your name field now change the valu field with your site name
Database connection file of ilance
But must remember Database SERVER PORT should be
define('DB_SERVER_PORT', '3306');
and again go to the config.php and set this settings
define('LICENSEKEY', 'LICENSEKEY', 'ouLfNceGJ2cM-avki33tLFqalsuJ-3rku-NEdsKn-nzrLsZusY');
define('HTTP_SERVER', 'http://localhost/ilance/');
define('HTTPS_SERVER', 'http://localhost/ilance/');
define('DIR_SERVER_ROOT', '/wamp/www/ilance/');
define('SEARCHBOXHEADER', 1);
define('SUB_FOLDER_ROOT', '');
define('http_server', 'http://localhost/ilance/');
define('https_server', 'http://localhost/ilance/');