PrestaShop Forums: Horizontal Navigation Bar Module v0.5 NOW AVAILABLE !!! - PrestaShop Forums

Jump to content


Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.

Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

NYC

Vous parlez français ? par ici !


Horizontal Navigation Bar Module v0.5 NOW AVAILABLE !!!


Horizontal Navigation Bar Module v0.5 NOW AVAILABLE !!!

#1 ejectcore

    PrestaShop Addict

  • 08 Apr 2008
  • Members
  • PipPipPip
  • 827 posts
  • Location:UK

Posted 18 August 2008 - 10:09 PM

Module Developed by Alpha Media

Finally after fixing a lot of bugs in this module
I am happy to release this to the Prestashop Community ;)

After testing this module out in the last couple of days I decided to add a new hook to the DB so the navigation can stretch 100% width of your template

v0.5 now includes inserting the new navBar Hook into the DB so you don't have to do this manually!

Please follow these simple install instructions below

STEP 1
We need to first install then assign to the new navBar hook!
a) - Unzip then upload "categoriesbar" to your modules directory, the module is auto assigned to Top Hook on install
b) - Next click on positions & first remove this module from your top of pages hook to avoid duplication.
c) - Now you are ready to transplant this module to the new hook which was created through the install
Please select "Horizontal Navigation Bar" from your dropdown menu then select
Hook this into the last item in your drop down list “Navigation Bar”
STEP 2
Now we need to define this new hook position in both header.php & finally header.tpl

header.php change:

/* Hooks are volontary out the initialize array (need those variables already assigned) */
$smarty->assign(array(
'HOOK_HEADER' => Module::hookExec('header'),
'HOOK_LEFT_COLUMN' => Module::hookExec('leftColumn'),
'HOOK_TOP' => Module::hookExec('top'),
'static_token' => Tools::getToken(false),
'token' => Tools::getToken()
));

To:
/* Hooks are volontary out the initialize array (need those variables already assigned) */
$smarty->assign(array(
'HOOK_HEADER' => Module::hookExec('header'),
'HOOK_LEFT_COLUMN' => Module::hookExec('leftColumn'),
'HOOK_TOP' => Module::hookExec('top'),
'HOOK_NAV_BAR' => Module::hookExec('navBar'),
'static_token' => Tools::getToken(false),
'token' => Tools::getToken()
));

[/code]
header.tpl change:

<!-- Header -->

{$shop_name|escape:'htmlall':'UTF-8'}





to:

<!-- Header -->

{$shop_name|escape:'htmlall':'UTF-8'}





{$HOOK_NAV_BAR}



Thats it your done enjoy ;-P

Attached File(s)


Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#2 companyxyz

    PrestaShop Newbie

  • 24 Jul 2008
  • Members
  • Pip
  • 15 posts

Posted 19 August 2008 - 12:32 AM

Quote

c) – Now you are ready to transplant this module to the new hook which was created through the install Please select “Horizontal Navigation Bar” from the dropdown then Hook into dropdown select “Navigation Bar”


At step 1 c - After I click transplant and choose "Horizontal Navigation Bar" as the module, I am not able to see "Navigation Bar" from dropdown of 'Hook Into'. Did i miss anything?

#3 CKWT

    PrestaShop Newbie

  • 16 Aug 2008
  • Members
  • Pip
  • 12 posts

Posted 19 August 2008 - 12:40 AM

Hi
In My IE 7 I see the bar behind..

I'll try on Firefox to see..

Thanks

Charlton

Attached File(s)

  • Attached File  nav.jpg (15bytes)
    Number of downloads: 44801


#4 CKWT

    PrestaShop Newbie

  • 16 Aug 2008
  • Members
  • Pip
  • 12 posts

Posted 19 August 2008 - 01:13 AM

I re-done the installation process and now I have it duplicated

I'm sure I'm doing somwthing wrong.. any pointers.

Thanks

Charlton

Attached File(s)

  • Attached File  nav2.jpg (23bytes)
    Number of downloads: 44146


#5 SmartiesKiller

    PrestaShop Addict

  • 20 May 2008
  • Members
  • PipPipPip
  • 542 posts
  • Location:Calais

Posted 19 August 2008 - 04:53 AM

work link a charme for me.

i'll translate the installation guide for french user.

#6 CKWT

    PrestaShop Newbie

  • 16 Aug 2008
  • Members
  • Pip
  • 12 posts

Posted 19 August 2008 - 04:56 AM

I will try again tomorrow.. I'll let u know any install probs

#7 SmartiesKiller

    PrestaShop Addict

  • 20 May 2008
  • Members
  • PipPipPip
  • 542 posts
  • Location:Calais

Posted 19 August 2008 - 07:53 AM

Pour les Francais:

Etape 1

Nous avons besoin d'installer et d'assigner la nouvelle navBar
a) – dezippez et uploadez “categoriesbar” dans votre Repertoire Module, le module sera assigner automatiquement a Top Hook une fois installé.
b) – Ensuite Cliquez sur Positions et enlevez ce module.
c) – Ensuite Cliquez sur Greffer un module et selectionner dans Module Horizontal Navigation Bar” et dans Greffer le module sur selectionnez “Navigation Bar”.Voilou pour l'installation.

Etape 2

Copier Coller ce qui suit.

header.php trouvez:

/* Hooks are volontary out the initialize array (need those variables already assigned) */
$smarty->assign(array(
'HOOK_HEADER' => Module::hookExec('header'),
'HOOK_LEFT_COLUMN' => Module::hookExec('leftColumn'),
'HOOK_TOP' => Module::hookExec('top'),
'static_token' => Tools::getToken(false),
'token' => Tools::getToken()
));


et remplacez par ceci:

/* Hooks are volontary out the initialize array (need those variables already assigned) */
$smarty->assign(array(
'HOOK_HEADER' => Module::hookExec('header'),
'HOOK_LEFT_COLUMN' => Module::hookExec('leftColumn'),
'HOOK_TOP' => Module::hookExec('top'),
'HOOK_NAV_BAR' => Module::hookExec('navBar'),
'static_token' => Tools::getToken(false),
'token' => Tools::getToken()
));


header.tpl trouvez:

<!-- Header -->

{$shop_name|escape:'htmlall':'UTF-8'}





et remplacez par ceci:

<!-- Header -->

{$shop_name|escape:'htmlall':'UTF-8'}





{$HOOK_NAV_BAR}


Votre installation a ete effectué avec succès.

#8 ejectcore

    PrestaShop Addict

  • 08 Apr 2008
  • Members
  • PipPipPip
  • 827 posts
  • Location:UK

Posted 19 August 2008 - 09:20 AM

Thanks SmartiesKiller ;)
Please ensure you follow the instructions which I have just updated!
I have tried to make this a easy as possible by installing the new hook into the DB :-P
Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#9 hdavy2002

    PrestaShop Newbie

  • 17 Aug 2008
  • Members
  • Pip
  • 6 posts

Posted 19 August 2008 - 09:49 AM

Thanks man it works great, check it out at my upcoming site

www.jonjewels.com

#10 zeroman

    PrestaShop Newbie

  • 20 Aug 2008
  • Members
  • Pip
  • 14 posts

Posted 21 August 2008 - 08:52 AM

From 1219102337:

Quote

c) – Now you are ready to transplant this module to the new hook which was created through the install Please select “Horizontal Navigation Bar” from the dropdown then Hook into dropdown select “Navigation Bar”


At step 1 c - After I click transplant and choose "Horizontal Navigation Bar" as the module, I am not able to see "Navigation Bar" from dropdown of 'Hook Into'. Did i miss anything?


I also got this error, please help how to fix this

regards !!!

#11 zeroman

    PrestaShop Newbie

  • 20 Aug 2008
  • Members
  • Pip
  • 14 posts

Posted 21 August 2008 - 08:57 AM

From 1219102337:

Quote

c) – Now you are ready to transplant this module to the new hook which was created through the install Please select “Horizontal Navigation Bar” from the dropdown then Hook into dropdown select “Navigation Bar”


At step 1 c - After I click transplant and choose "Horizontal Navigation Bar" as the module, I am not able to see "Navigation Bar" from dropdown of 'Hook Into'. Did i miss anything?


Oh, very simple
CMOD "“categoriesbar”" to 777 will OK :D

#12 showtime

    PrestaShop Apprentice

  • 03 Jul 2008
  • Members
  • PipPip
  • 169 posts
  • Location:Bertrix, Belgique

Posted 21 August 2008 - 04:46 PM

Thanks for all your job Amwdesign , I wait with attention your caroussel module , and I want to say a little suggestion :

1) Dont forget that all user dont have the defaut prefix database name ( ps_ )

2) Please dont put a white background to this module but transparency in your swf if it's possible ...

thanks for all again

A futur user :) ...

#13 ejectcore

    PrestaShop Addict

  • 08 Apr 2008
  • Members
  • PipPipPip
  • 827 posts
  • Location:UK

Posted 21 August 2008 - 05:25 PM

Thanks for your comments ;)

1) I always use _DB_PREFIX_ so this will not be a problem
2) The Caroussel module is not using flash for the animation this is done through the JS
Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#14 Bigfoot

    PrestaShop Newbie

  • 02 Aug 2008
  • Members
  • Pip
  • 10 posts
  • Location:CHINA

Posted 22 August 2008 - 12:35 AM

How to align this Navigation Bar to the left on the homepage ? My website :http://www.idoer.com

Attached File(s)


China mobile phone,iPods,iPhone,iPhone3G accessories professional,Game asscessories supplier. Website : http://www.idoer.com

#15 Hungnh

    PrestaShop Apprentice

  • 09 Jul 2008
  • Members
  • PipPip
  • 36 posts

Posted 22 August 2008 - 02:28 AM

I'm install have a error:

The following module(s) were not installed successfully:

* categoriesbar

In my database not insert new hook Navigation Bar. how to fix this problem, please help.

regards !

#16 Rod_

    PrestaShop Apprentice

  • 26 Jul 2008
  • Members
  • PipPip
  • 92 posts
  • Location:Australia

Posted 22 August 2008 - 06:17 AM

From 1219368505:

I'm install have a error:

The following module(s) were not installed successfully:

* categoriesbar

In my database not insert new hook Navigation Bar. how to fix this problem, please help.

regards !


I've got the same problem!. "not installed successfully". What's the problem here???.
Southern PS Fan =)

#17 Hungnh

    PrestaShop Apprentice

  • 09 Jul 2008
  • Members
  • PipPip
  • 36 posts

Posted 23 August 2008 - 12:49 AM

From 1219382267:

From 1219368505:

I'm install have a error:

The following module(s) were not installed successfully:

* categoriesbar

In my database not insert new hook Navigation Bar. how to fix this problem, please help.

regards !


I've got the same problem!. "not installed successfully". What's the problem here???.


I think, the problem here is function install() with SQL Insert command, maybe it not execute.

#18 ejectcore

    PrestaShop Addict

  • 08 Apr 2008
  • Members
  • PipPipPip
  • 827 posts
  • Location:UK

Posted 23 August 2008 - 09:50 AM

Are you using the latest version 0.5 :question:
I can't seem to re-produce this issue on my server, please can you send over your FTP & Back Office Access.
I will try to have a quick look at this later today ;)
Filter Search 2.1 Enterprise Edition Now Available

Available Soon
Filter Search 2.1 Lite Edition

Follow us on twitter

#19 Bigfoot

    PrestaShop Newbie

  • 02 Aug 2008
  • Members
  • Pip
  • 10 posts
  • Location:CHINA

Posted 23 August 2008 - 03:07 PM

How to align this Navigation Bar to the left on the homepage ? My website :http://www.idoer.com

Image Attachments
China mobile phone,iPods,iPhone,iPhone3G accessories professional,Game asscessories supplier. Website : http://www.idoer.com

#20 Bigfoot

    PrestaShop Newbie

  • 02 Aug 2008
  • Members
  • Pip
  • 10 posts
  • Location:CHINA

Posted 23 August 2008 - 03:09 PM

From 1219481412:

Are you using the latest version 0.5 :question:
I can't seem to re-produce this issue on my server, please can you send over your FTP & Back Office Access.
I will try to have a quick look at this later today ;)


How to align this Navigation Bar to the left on the homepage ? My website :http://www.idoer.com

Attached File(s)

  • Attached File  00.JPG (20bytes)
    Number of downloads: 4436

China mobile phone,iPods,iPhone,iPhone3G accessories professional,Game asscessories supplier. Website : http://www.idoer.com





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users