Jump to content

add right column in home page


Recommended Posts

Hi.

 

The right column on the home page is restricted in the footer.tpl file:

{if $page_name != "index"}
						<div id="leo-rightcol" class="span3">
							{$HOOK_RIGHT_COLUMN}
						</div><!--righttcol-->
						{/if}	

Regards.

 

Robin.

 

The CartExpert Team

 

thanks for the answer :), i already saw the "code" way..

i'm am new in prestashop, i was asking more like if there's some way in backoffice to edit the page structure, i saw position live edit, but there i can just move, not add position, am i right?

 

so in backoffice if i would add a left column (not provided by the template) the only way is editing the code?

Link to comment
Share on other sites

thanks :D

 

another little question:

i'm editing the menu module (the developed by leotheme one, not the disabled prestashop default module) adding and removing item, but the menu stays the same! the menu doesnt take any effect..kind of frustrating..

what am i doing wrong?

Edited by alfredopacino (see edit history)
Link to comment
Share on other sites

there are several possibilities, but most possible is: cache.

try to clear it

 

i clicked on clear smarty cache, but now i get a blank page in backoffice and frontoffice! :blink:

its appened the same activating seo url yesterday..

how can i solve this issue and never experience again??

 

ps: display_errors = On in php.ini and i restarted apache/mysql (im in local) 

Edited by alfredopacino (see edit history)
Link to comment
Share on other sites

weird.

turn on error reporting, will see what's goin on then (what and where doesn't work)

 

open config/defines.inc.php

 
find this line define('_PS_MODE_DEV_', false);
change to look like this: define('_PS_MODE_DEV_', true);
 
i bet that problem is related to not enough memory, but of course i have to be sure - in this case turn on errors as i described above
Link to comment
Share on other sites

 

weird.

turn on error reporting, will see what's goin on then (what and where doesn't work)

 

open config/defines.inc.php

 
find this line define('_PS_MODE_DEV_', false);
change to look like this: define('_PS_MODE_DEV_', true);
 
i bet that problem is related to not enough memory, but of course i have to be sure - in this case turn on errors as i described above

 

 

i will try this and let you know if i solve.

 

mean time, cause of a joomla project i already set ThreadStackSize at 8MB in httpd.conf but joomla causes me a apache crash, not a blank page..

i just hope this isn't a PS or leotheme template instability/bug..

Edited by alfredopacino (see edit history)
Link to comment
Share on other sites

i will try this and let you know if i solve.

 

mean time, cause of a joomla project i already set ThreadStackSize at 8MB in httpd.conf but joomla causes me a apache crash, not a blank page..

i just hope this isn't a PS or leotheme template instability/bug..

 

it's not a solution, but a way to get more information about errors :) 

Link to comment
Share on other sites

it's not a solution, but a way to get more information about errors :)

 

tryng to activate again the smarty cache, i get this error (printed like 400 times) 

Warning: rmdir(C:\xampp\htdocs\prestashop/cache/smarty/compile\00/): Directory not empty in C:\xampp\htdocs\prestashop\classes\Tools.php on line 713

Warning: rmdir(C:\xampp\htdocs\prestashop/cache/smarty/compile\01/8a/): Directory not empty in C:\xampp\htdocs\prestashop\classes\Tools.php on line 713

Warning: rmdir(C:\xampp\htdocs\prestashop/cache/smarty/compile\01/): Directory not empty in C:\xampp\htdocs\prestashop\classes\Tools.php on line 713

Warning: rmdir(C:\xampp\htdocs\prestashop/cache/smarty/compile\02/c6/): Directory not empty in C:\xampp\htdocs\prestashop\classes\Tools.php on line 713

Warning: rmdir(C:\xampp\htdocs\prestashop/cache/smarty/compile\02/): Directory not empty in C:\xampp\htdocs\prestashop\classes\Tools.php on line 713

Warning: rmdir(C:\xampp\htdocs\prestashop/cache/smarty/compile\04/): Directory not empty in C:\xampp\htdocs\prestashop\classes\Tools.php on line 713

Warning: rmdir(C:\xampp\htdocs\prestashop/cache/smarty/compile\05/93/): Directory not empty in C:\xampp\htdocs\prestashop\classes\Tools.php on line 713

Warning: rmdir(C:\xampp\htdocs\prestashop/cache/smarty/compile\05/): Directory not empty in C:\xampp\htdocs\prestashop\classes\Tools.php on line 713

Warning: rmdir(C:\xampp\htdocs\prestashop/cache/smarty/compile\06/62/): Directory not empty in C:\xampp\htdocs\prestashop\classes\Tools.php on line 713




[...................]
 

 

at last line

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\prestashop\classes\Tools.php:713) in C:\xampp\htdocs\prestashop\classes\Tools.php on line 141
i guess this was the blank page error, how can i solve? Edited by alfredopacino (see edit history)
Link to comment
Share on other sites

now i get in frontoffice and backoffice both :(  

Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file C:\xampp\htdocs\prestashop/cache/smarty/compile\70\21\fb\wrt52d7f68ce318c3.33200932' in C:\xampp\htdocs\prestashop\tools\smarty\sysplugins\smarty_internal_write_file.php:44 Stack trace: #0 C:\xampp\htdocs\prestashop\tools\smarty\sysplugins\smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('C:\xampp\htdocs...', '<?php /* Smarty...', Object(Smarty)) #1 C:\xampp\htdocs\prestashop\tools\smarty\sysplugins\smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() #2 C:\xampp\htdocs\prestashop\controllers\admin\AdminHomeController.php(159): Smarty_Internal_TemplateBase->fetch() #3 C:\xampp\htdocs\prestashop\controllers\admin\AdminHomeController.php(692): AdminHomeControllerCore->_displayOptimizationTips() #4 C:\xampp\htdocs\prestashop\classes\controller\Controller.php(167): AdminHomeControllerCore->initContent() #5 C:\xampp\htdocs\prestashop\classes\Dispatcher.php(348): ControllerCore->run() in C:\xampp\htdocs\prestashop\tools\smarty\sysplugins\smarty_internal_write_file.php on line 44 
Link to comment
Share on other sites

so it looks like your xampp hasn't got rights to modify these files (mentioned in error code)

please empty whole directory: C:\xampp\htdocs\prestashop/cache/smarty/compile

what's going on then?

 

now i dont get any error, i tried to set off and set on the smarty cache :)

i hope this issue is solved....

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...