Jump to content

Recommended Posts

Hi

 

I have been trying to move the Tags Block from head location to footer.

 

First, I tried to change the module hooks, but this wasn't possible.

post-316405-0-95809400-1376593075_thumb.png

 

Than I have been looking in the support forum and didn't find something similar, so I Uninstall the module and than edited the 'blocktags.php`:

 

 function install()
{
 if (parent::install() == false
|| $this->registerHook('footer') == false
|| Configuration::updateValue('BLOCKTAGS_NBR', 20) == false)
  return false;
 return true;
}

 

After this step, I installed the module and the hook worked.

 

The problem was that the module didn't appear in the footer :huh: :huh: :huh:

 

Did I missed something?

 

Help :lol:

Link to comment
Share on other sites

Hi Vekia, thanks for your respond!

 

I did this in `blocktags.php`:

 

 function install()
{
 if (parent::install() == false
|| $this->registerHook('footer') == false
|| Configuration::updateValue('BLOCKTAGS_NBR', 20) == false)
  return false;
 return true;
}
function hookFooter($params)
{
return $this->hookLeftColumn($params);
}

 

It did 90% of the work: Picture .

 

How can I remove the black background and move the Tags Block to the Left Side of the Footer?

 

Appreciate in advanced.. :)

Link to comment
Share on other sites

now everything depends on css styles for this block.

You have to edit styles for it.

+ change position in the modules > positions tab

  1. search for "displayFooter" modules list
  2. move tags block module to the top of the list

 

Thanks again Vekia,

 

I'll will edit the CSS - can you direct me please where is it located? - its the original default theme of prestashop, couldn't find in global.css or in the module blocktags.css - its only the text inside the module, not the title and background title of the module.

 

I moved the tags module before,it won't change the location of the block in the footer - Picture perhaps there is another code to edit?

 

The picture I added in the last post (Picture) Is based on the module location in "displayFooter". It was already in the right location.

 

How can I move the module the left side of the footer?

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

  • 3 weeks later...
×
×
  • Create New...