Access to PrestaShop corporate website French English Change language
Hello, Guest |
| Register
Remember me Forgot password ?
Site Map Site Map Contact us Contact us
PrestaShop job
 
Forum  >  PrestaShop v1.1  >  Modules  >  Thread

Team members online:


1 of 6
1
Post Reply
New Topic
Horizontal Navigation Bar Module v0.5 NOW AVAILABLE !!! 

offline
Posted: 19 August 2008 01:09 AM   [ Ignore ]
Moderator
RankRankRankRankRankRankRank
Avatar

Messages :

  • total: 789
  • last 7 days: 0
Joined: 2008-04-08

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 wink

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()
))
;


header.tpl change:
<!-- Header -->
            <
div>
                <
h1 id="logo"><a href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"><img src="{$base_dir}img/logo.jpg" alt="{$shop_name|escape:'htmlall':'UTF-8'}"></a></h1>
                <
div id="header">
                    
{$HOOK_TOP}
                
</div>
            </
div>

to:
<!-- Header -->
            <
div>
                <
h1 id="logo"><a href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"><img src="{$base_dir}img/logo.jpg" alt="{$shop_name|escape:'htmlall':'UTF-8'}"></a></h1>
                <
div id="header">
                    
{$HOOK_TOP}
                
</div>
            </
div>
            <
br class="clear">{$HOOK_NAV_BAR}</br>

Thats it your done enjoy tongue wink

File Attachments
categoriesbar_v0.5.zip  (File Size: 8KB - Downloads: 812)
 Signature 

Merry Christmas & Happy New Year to all smile
Looking forward to working more with Prestashop in 2009
Lots of New Modules Coming Soon cool grin

find us on skype
SKYPE:amwdesign

 
offline
Posted: 19 August 2008 03:32 AM   [ Ignore ]   [ # 1 ]
Apprentice
RankRank
Avatar

Messages :

  • total: 15
  • last 7 days: 0
Joined: 2008-07-24
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?

 
offline
Posted: 19 August 2008 03:40 AM   [ Ignore ]   [ # 2 ]
Apprentice
RankRank

Messages :

  • total: 12
  • last 7 days: 0
Joined: 2008-08-16

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

I’ll try on Firefox to see..

Thanks

Charlton

Image Attachments
nav.jpg
 
offline
Posted: 19 August 2008 04:13 AM   [ Ignore ]   [ # 3 ]
Apprentice
RankRank

Messages :

  • total: 12
  • last 7 days: 0
Joined: 2008-08-16

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

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

Thanks

Charlton

Image Attachments
nav2.jpg
 
offline
Posted: 19 August 2008 07:53 AM   [ Ignore ]   [ # 4 ]
Senior Member
RankRankRankRankRank
Avatar

Messages :

  • total: 159
  • last 7 days: 13
Joined: 2008-05-21

work link a charme for me.

i’ll translate the installation guide for french user.

 
offline
Posted: 19 August 2008 07:56 AM   [ Ignore ]   [ # 5 ]
Apprentice
RankRank

Messages :

  • total: 12
  • last 7 days: 0
Joined: 2008-08-16

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

 
offline
Posted: 19 August 2008 10:53 AM   [ Ignore ]   [ # 6 ]
Senior Member
RankRankRankRankRank
Avatar

Messages :

  • total: 159
  • last 7 days: 13
Joined: 2008-05-21

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 -->
            <
div>
                <
h1 id="logo"><a href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"><img src="{$base_dir}img/logo.jpg" alt="{$shop_name|escape:'htmlall':'UTF-8'}"></a></h1>
                <
div id="header">
                    
{$HOOK_TOP}
                
</div>
            </
div>

et remplacez par ceci:

<!-- Header -->
            <
div>
                <
h1 id="logo"><a href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"><img src="{$base_dir}img/logo.jpg" alt="{$shop_name|escape:'htmlall':'UTF-8'}"></a></h1>
                <
div id="header">
                    
{$HOOK_TOP}
                
</div>
            </
div>
            <
br class="clear">{$HOOK_NAV_BAR}</br>

Votre installation a ete effectué avec succès.

 
offline
Posted: 19 August 2008 12:20 PM   [ Ignore ]   [ # 7 ]
Moderator
RankRankRankRankRankRankRank
Avatar

Messages :

  • total: 789
  • last 7 days: 0
Joined: 2008-04-08

Thanks SmartiesKiller wink
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 tongue laugh

 Signature 

Merry Christmas & Happy New Year to all smile
Looking forward to working more with Prestashop in 2009
Lots of New Modules Coming Soon cool grin

find us on skype
SKYPE:amwdesign

 
offline
Posted: 19 August 2008 12:49 PM   [ Ignore ]   [ # 8 ]
Beginner
Rank

Messages :

  • total: 5
  • last 7 days: 0
Joined: 2008-08-17

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

http://www.jonjewels.com

 
offline
Posted: 21 August 2008 11:52 AM   [ Ignore ]   [ # 9 ]
Apprentice
RankRank

Messages :

  • total: 16
  • last 7 days: 0
Joined: 2008-08-20
companyxyz - 19 August 2008 03:32 AM
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 !!!

 
offline
Posted: 21 August 2008 11:57 AM   [ Ignore ]   [ # 10 ]
Apprentice
RankRank

Messages :

  • total: 16
  • last 7 days: 0
Joined: 2008-08-20
companyxyz - 19 August 2008 03:32 AM
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

 
offline
Posted: 21 August 2008 07:46 PM   [ Ignore ]   [ # 11 ]
Senior Member
RankRankRankRankRank
Avatar

Messages :

  • total: 181
  • last 7 days: 0
Joined: 2008-07-03

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 smile

 Signature 

logofini.jpg

userbar.jpg

Merci à Prestashop et à sa communauté

 
offline
Posted: 21 August 2008 08:25 PM   [ Ignore ]   [ # 12 ]
Moderator
RankRankRankRankRankRankRank
Avatar

Messages :

  • total: 789
  • last 7 days: 0
Joined: 2008-04-08

Thanks for your comments wink

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

 Signature 

Merry Christmas & Happy New Year to all smile
Looking forward to working more with Prestashop in 2009
Lots of New Modules Coming Soon cool grin

find us on skype
SKYPE:amwdesign

 
offline
Posted: 22 August 2008 03:35 AM   [ Ignore ]   [ # 13 ]
Apprentice
RankRank

Messages :

  • total: 13
  • last 7 days: 0
Joined: 2008-08-02

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

Image Attachments
未命名.JPG
 Signature 

iPods,iPhone,iPhone3G accessories professional supplier. Website : http://www.idoer.com

 
offline
Posted: 22 August 2008 05:28 AM   [ Ignore ]   [ # 14 ]
Apprentice
RankRank

Messages :

  • total: 20
  • last 7 days: 0
Joined: 2008-07-09

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 !

 
offline
Posted: 22 August 2008 09:17 AM   [ Ignore ]   [ # 15 ]
Senior Member
RankRankRankRankRank

Messages :

  • total: 108
  • last 7 days: 7
Joined: 2008-07-26

Hungnh - 22 August 2008 05: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 !

I’ve got the same problem!. “not installed successfully”. What’s the problem here???.

 Signature 

http://www.dmclothing.com.au - My first PS!
http://www.secondhandfurniture.net.au - My last PS!

 
 
1 of 6
1
Fast Reply
New Topic