Jump to content

new theme merge up with default


Recommended Posts

hi all,

i am new to ps and i installed ps and it works fine..

 

when installed a new theme "leo_sportshoes_template_v1560", it raised some error messages such as,

 

Warning: Copy/Paste your errors if you want to manually set the image type (in the "Images" page under the "Preferences" menu):
Some kind of image could not be added because they exists. Here's the list:
  • Name image type: small_default (Width: 45px, Height: 45px)
  • Name image type: medium_default (Width: 58px, Height: 58px)
  • Name image type: large_default (Width: 264px, Height: 264px)
  • Name image type: thickbox_default (Width: 600px, Height: 600px)
  • Name image type: category_default (Width: 250px, Height: 75px)
  • Name image type: home_default (Width: 124px, Height: 124px)
  • Name image type: scene_default (Width: 520px, Height: 189px)
  • Name image type: m_scene_default (Width: 161px, Height: 58px)
  • Name image type: product (Width: 225px, Height: 135px)
  • Name image type: manufac (Width: 145px, Height: 70px)
  • Name image type: new_product (Width: 220px, Height: 180px).

after that i choose default theme as main theme, the newly installed theme merged with my default themes . 

 

please help...thanks in advance...

 

post-762647-0-71712700-1392727585_thumb.png

Link to comment
Share on other sites

no worries, this message is not an error,

its just an internal prestashop message which informs that you've got these imagetypes defined.

you can manage list of messages under preferences > images tab.

 

and regarding to your screenshot.

it's because your leo theme installed nondefault module, 

remove these modules and your default theme will work as before.

  • Like 1
Link to comment
Share on other sites

displayhome is a hook, it's a part of IndexController inside initContent function

	public function initContent()
	{
		parent::initContent();

		$this->context->smarty->assign('HOOK_HOME', Hook::exec('displayHome'));
		$this->setTemplate(_PS_THEME_DIR_.'index.tpl');
	}

but i think that this isn't what you're looking for...

  • Like 1
Link to comment
Share on other sites

hai  vekia,

 

in ps default theme, the front office index page has the jquery slider.

 

i have to fix the slider for all the pages next to company logo.

 

so that i need the index page template to cut the slider code.

 

in the themes/index.tpl the {$hook_home} smarty object only is there.

 

how do i find the index page template code..

 

please help...

Link to comment
Share on other sites

if you unable to  understand my questions , sorry for my inconvenience English..

 

i need to see the code which combine modules for each pages.

 

homepage.

leftcolumn,right column,slider,cart,featured products etc....

 

product page.

 

leftcolumn,right column,cart,products etc....

 

something i think like.

 

function  displayHome()

{

left.tpl

right.tpl

featured_prod.tpl

}

function  productHome()

{

left.tpl

right.tpl

product.tpl

}

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...