PrestaShop Forums: WizW-Nav Bar - 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 !


WizW-Nav Bar


WizW-Nav Bar

#1 hieloiceberg

    PrestaShop Apprentice

  • 15 Nov 2008
  • Members
  • PipPip
  • 480 posts

Posted 26 January 2009 - 08:25 PM

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

Quote


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:

{include file=$tpl_dir./wizwnavbar.tpl}


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

            <!-- Header -->

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




{include file=$tpl_dir./wizwnavbar.tpl}

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

Attached File(s)


FarmVille Addict ;-)

#2 myname

    PrestaShop Apprentice

  • 09 Nov 2008
  • Members
  • PipPip
  • 275 posts

Posted 26 January 2009 - 08:41 PM

...GREAT...!!! .... THANKS :-)

#3 myname

    PrestaShop Apprentice

  • 09 Nov 2008
  • Members
  • PipPip
  • 275 posts

Posted 26 January 2009 - 10:54 PM

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:

Quote

(include file = $ tpl_dir. / wizwnavbar.tpl)


As in the example:

<!-- Header -->

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




{include file=$tpl_dir./wizwnavbar.tpl}

<!-- Left -->


-------------------------

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

Attached File(s)

  • Attached File  1.jpg (57bytes)
    Number of downloads: 13873


#4 hieloiceberg

    PrestaShop Apprentice

  • 15 Nov 2008
  • Members
  • PipPip
  • 480 posts

Posted 26 January 2009 - 11:05 PM

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
FarmVille Addict ;-)

#5 myname

    PrestaShop Apprentice

  • 09 Nov 2008
  • Members
  • PipPip
  • 275 posts

Posted 26 January 2009 - 11:12 PM

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

Great work!

#6 hieloiceberg

    PrestaShop Apprentice

  • 15 Nov 2008
  • Members
  • PipPip
  • 480 posts

Posted 26 January 2009 - 11:17 PM

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:
FarmVille Addict ;-)

#7 myname

    PrestaShop Apprentice

  • 09 Nov 2008
  • Members
  • PipPip
  • 275 posts

Posted 26 January 2009 - 11:44 PM

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

Attached File(s)

  • Attached File  1.jpg (18bytes)
    Number of downloads: 13435
  • Attached File  2.jpg (20bytes)
    Number of downloads: 13419


#8 Ehinarr

    Sir

  • 01 Nov 2008
  • Members
  • PipPipPipPip
  • 1125 posts

Posted 27 January 2009 - 06:51 AM

Nice work! Very usefull!
My Blog
PS v1.4.6.1

#9 hieloiceberg

    PrestaShop Apprentice

  • 15 Nov 2008
  • Members
  • PipPip
  • 480 posts

Posted 27 January 2009 - 07:45 AM

From 1233035518:

Nice work! Very usefull!


Thanks Ehinarr and yes it makes it simple to adjust the themes
FarmVille Addict ;-)

#10 SonnyCooL

    PrestaShop Apprentice

  • 12 Jan 2009
  • Members
  • PipPip
  • 48 posts

Posted 27 January 2009 - 09:36 AM

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

#11 cronberg

    PrestaShop Apprentice

  • 23 Sep 2008
  • Members
  • PipPip
  • 38 posts
  • Location:Sweden

Posted 27 January 2009 - 10:32 AM

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

#12 Compuland

    PrestaShop Apprentice

  • 25 Jan 2009
  • Members
  • PipPip
  • 249 posts
  • Location:Denmark

Posted 27 January 2009 - 08:41 PM

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?

Attached File(s)


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.

#13 hieloiceberg

    PrestaShop Apprentice

  • 15 Nov 2008
  • Members
  • PipPip
  • 480 posts

Posted 27 January 2009 - 08:44 PM

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 :coolhmm:
(Do not remove this two: Pages not found v1.0 and Search engine keywords v1.0)
FarmVille Addict ;-)

#14 Compuland

    PrestaShop Apprentice

  • 25 Jan 2009
  • Members
  • PipPip
  • 249 posts
  • Location:Denmark

Posted 27 January 2009 - 09:08 PM

Tnx hieloiceberg.

Looking much more clean now.
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.

#15 hieloiceberg

    PrestaShop Apprentice

  • 15 Nov 2008
  • Members
  • PipPip
  • 480 posts

Posted 27 January 2009 - 09:09 PM

No problem Compuland!!
FarmVille Addict ;-)

#16 Compuland

    PrestaShop Apprentice

  • 25 Jan 2009
  • Members
  • PipPip
  • 249 posts
  • Location:Denmark

Posted 27 January 2009 - 09:24 PM

Ehh what about the prestashop picture?.. possible to remove that?
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.

#17 hieloiceberg

    PrestaShop Apprentice

  • 15 Nov 2008
  • Members
  • PipPip
  • 480 posts

Posted 27 January 2009 - 09:29 PM

That is your company logo and you can replaced here:

Back Office >> Preferences >> Appearance

Or you can delete the code from your header.tpl at your theme in use


<!-- Header -->

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




{include file=$tpl_dir./wizwnavbar.tpl}

<!-- Left -->



<!-- Header -->

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


{include file=$tpl_dir./wizwnavbar.tpl}

<!-- Left -->

FarmVille Addict ;-)

#18 Compuland

    PrestaShop Apprentice

  • 25 Jan 2009
  • Members
  • PipPip
  • 249 posts
  • Location:Denmark

Posted 27 January 2009 - 10:30 PM

Thanks again.. Is it possible to make drop down menues with that nav-bar.. with like the produkts etc?
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.

#19 myname

    PrestaShop Apprentice

  • 09 Nov 2008
  • Members
  • PipPip
  • 275 posts

Posted 27 January 2009 - 10:33 PM

hello hieloiceberg ,
You are great in your work. I have a gift to help customize your menu ... you can respond to my post #6?

Thanck

#20 hieloiceberg

    PrestaShop Apprentice

  • 15 Nov 2008
  • Members
  • PipPip
  • 480 posts

Posted 28 January 2009 - 12:05 AM

:bug: If I don't respond to post I don't get gift? :-S lmao....... :coolmad:
FarmVille Addict ;-)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users