Hola , Usuario |
| Registro
Recordar mi cuenta ¿Ha olvidado la contraseña ?
Site Map Mapa de sitio Contact us Contacte con nosotros
PrestaShop e-commerce software
  840 Usuarios en línea
Forum  >  English Forum  >  Third party modules  >  Thread

1 of 5
1
Post Reply
New Topic
WizW-Nav Bar

offline
Posted: 26 January 2009 10:25 PM   [ Ignore ]
V.I.P.
RankRankRankRank
Avatar

Messages :

  • total: 503
  • last 7 days: 0
Joined: 2008-11-15

Hi all
I made this little navigation bar that is very simple but can be handy to use with themes


Upload the content inside the UPLOAD folder to your Prestashop root

The wizwnavbar.tpl file needs to be at your root theme folder in use, sample:

Prestashop/themes/prestashop/TPL_file_Goes_here
and you need to add this code to your header.tpl file:

<div>{include file=$tpl_dir./wizwnavbar.tpl}</div>

Here is a sample where the code is add on to show just like in the picture:

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

Search is off by default if you need it on delete line 12 in wizwnavbar.tpl file and save!

Any adjustments that you need to match your theme will be at the wizwnavbar folder like change the images or
minor adjustments at the css file.

Cheers!!

Image Attachments
WizW-NavBar.jpg
File Attachments
WizW-NavBar.zip  (File Size: 29KB - Downloads: 2448)
 Signature 

SIGNATURE & AVATAR OFF

 
offline
Posted: 26 January 2009 10:41 PM   [ Ignore ]   [ # 1 ]
Senior Member
RankRankRank

Messages :

  • total: 302
  • last 7 days: 0
Joined: 2008-11-09

…GREAT…!!! …. THANKS grin

 
offline
Posted: 27 January 2009 12:54 AM   [ Ignore ]   [ # 2 ]
Senior Member
RankRankRank

Messages :

  • total: 302
  • last 7 days: 0
Joined: 2008-11-09

hello, I tried but it does not work:

1) I have inserted the files in the folder UPLOAD (in WizW-NavBar) in the folders “img” and “css” in the root of my prestashop;

2) I added the file wizwnavbar.tpl inside the root of my theme (eg Prestashop / themes / prestashop / TPL_file_Goes_here)

3) I have added to the file header.tpl (found in the root of my theme) code:

<div> (include file = $ tpl_dir. / wizwnavbar.tpl) </ div>

As in the example:

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

————————————-

I have done what you wrote but do not see the bar. Do you have any idea?

Image Attachments
1.jpg
 
offline
Posted: 27 January 2009 01:05 AM   [ Ignore ]   [ # 3 ]
V.I.P.
RankRankRankRank
Avatar

Messages :

  • total: 503
  • last 7 days: 0
Joined: 2008-11-15

Hello myname you do not change anything from the upload folder just upload what ever is inside like this:

PRESTASHOP/wizwnavbar/
PRESTASHOP/wizwnavbar/img
PRESTASHOP/wizwnavbar/css

that’s it !

You do NOT upload like this:

PRESTASHOP/img
PRESTASHOP/css

 Signature 

SIGNATURE & AVATAR OFF

 
offline
Posted: 27 January 2009 01:12 AM   [ Ignore ]   [ # 4 ]
Senior Member
RankRankRank

Messages :

  • total: 302
  • last 7 days: 0
Joined: 2008-11-09

I Solved … the change is working well! The folder wizwnavbar (in UPLOAD folder) must be included in the main root of prestashop.

Great work!

 
offline
Posted: 27 January 2009 01:17 AM   [ Ignore ]   [ # 5 ]
V.I.P.
RankRankRankRank
Avatar

Messages :

  • total: 503
  • last 7 days: 0
Joined: 2008-11-15

Myname usually when you get an UPLOAD folder you upload whatever is inside you do not do any changes to the folders or files inside. If you do is not going to work as the person who made it.

And I’m glad that it work for you now cheese

 Signature 

SIGNATURE & AVATAR OFF

 
offline
Posted: 27 January 2009 01:44 AM   [ Ignore ]   [ # 6 ]
Senior Member
RankRankRank

Messages :

  • total: 302
  • last 7 days: 0
Joined: 2008-11-09

Hello … your horizontal menu works well!
but not to disturb, I wanted to ask:

1) How can I increase the space between the upper and forms the horizontal menu? (img 1)
2) How can I move the search of the horizontal menu right? (img 2)

Thanks

Image Attachments
1.jpg2.jpg
 
offline
Posted: 27 January 2009 08:51 AM   [ Ignore ]   [ # 7 ]
V.I.P.
RankRankRankRank
Avatar

Messages :

  • total: 996
  • last 7 days: 1
Joined: 2008-11-01

Nice work! Very usefull!

 Signature 

http://ehinarr.wordpress.com

 
offline
Posted: 27 January 2009 09:45 AM   [ Ignore ]   [ # 8 ]
V.I.P.
RankRankRankRank
Avatar

Messages :

  • total: 503
  • last 7 days: 0
Joined: 2008-11-15
Ehinarr - 27 January 2009 08:51 AM
Nice work! Very usefull!

Thanks Ehinarr and yes it makes it simple to adjust the themes

 Signature 

SIGNATURE & AVATAR OFF

 
offline
Posted: 27 January 2009 11:36 AM   [ Ignore ]   [ # 9 ]
Regular
RankRank

Messages :

  • total: 57
  • last 7 days: 0
Joined: 2009-01-13

nice one ….
i always figure how to put the search bar inside nav bar and u done it ….
will try it later smile
thanks mate

 
offline
Posted: 27 January 2009 12:32 PM   [ Ignore ]   [ # 10 ]
Regular
RankRank
Avatar

Messages :

  • total: 56
  • last 7 days: 0
Joined: 2008-09-23

I cant get the banner, the only thing i get is this errormessage:

Warning: Smarty error: unable to read resource: “/home/b1113/butik.proby.se/themes/prestashop/./wizwnavbar.tpl” in /home/b1113/butik.proby.se/tools/smarty/Smarty.class.php on line 1095

 
offline
Posted: 27 January 2009 10:41 PM   [ Ignore ]   [ # 11 ]
Senior Member
RankRankRank

Messages :

  • total: 293
  • last 7 days: 0
Joined: 2009-01-25

Hi

Tnx for a great nav-bar. sweet looking

Is there any way to move/remove/delete the ehh thingies i pointede on in the picture?

Image Attachments
top prestashop.jpg
 Signature 

OBS: BRUGER IKKE PRESTASHOP MERE!
NOTICE: I DO NOT USE PRESTASHOP ANYMORE!

If it’s not broken. DON’T fix it!!
http://www.compuland.dk (Shopsystem OSC)
http://www.compuworld.dk (Shopsystem Magento)
Bruger ikke Prestashop mere. Er “sprunget” på Magento.

 
offline
Posted: 27 January 2009 10:44 PM   [ Ignore ]   [ # 12 ]
V.I.P.
RankRankRankRank
Avatar

Messages :

  • total: 503
  • last 7 days: 0
Joined: 2008-11-15

You do that at:

Back Office >> Modules >> Positions

Top of pages area! just click on the red X to delete the ones you don’t want cool hmm
(Do not remove this two: Pages not found v1.0 and Search engine keywords v1.0)

 Signature 

SIGNATURE & AVATAR OFF

 
offline
Posted: 27 January 2009 11:08 PM   [ Ignore ]   [ # 13 ]
Senior Member
RankRankRank

Messages :

  • total: 293
  • last 7 days: 0
Joined: 2009-01-25

Tnx hieloiceberg.

Looking much more clean now.

 Signature 

OBS: BRUGER IKKE PRESTASHOP MERE!
NOTICE: I DO NOT USE PRESTASHOP ANYMORE!

If it’s not broken. DON’T fix it!!
http://www.compuland.dk (Shopsystem OSC)
http://www.compuworld.dk (Shopsystem Magento)
Bruger ikke Prestashop mere. Er “sprunget” på Magento.

 
offline
Posted: 27 January 2009 11:09 PM   [ Ignore ]   [ # 14 ]
V.I.P.
RankRankRankRank
Avatar

Messages :

  • total: 503
  • last 7 days: 0
Joined: 2008-11-15

No problem Compuland!!

 Signature 

SIGNATURE & AVATAR OFF

 
offline
Posted: 27 January 2009 11:24 PM   [ Ignore ]   [ # 15 ]
Senior Member
RankRankRank

Messages :

  • total: 293
  • last 7 days: 0
Joined: 2009-01-25

Ehh what about the prestashop picture?.. possible to remove that?

 Signature 

OBS: BRUGER IKKE PRESTASHOP MERE!
NOTICE: I DO NOT USE PRESTASHOP ANYMORE!

If it’s not broken. DON’T fix it!!
http://www.compuland.dk (Shopsystem OSC)
http://www.compuworld.dk (Shopsystem Magento)
Bruger ikke Prestashop mere. Er “sprunget” på Magento.

 
 
1 of 5
1
Fast Reply
New Topic