Re: CSS Dropdown menu for your header- With Categories!
Quote:
Originally Posted by
limelites
Exactly, the instructions that ship with the mod contradict what you're saying. It'd be useful if the readme.txt mentioned the simple approach instead of the long winded method :-)
You're welcome.
My instructions are very correct, I am not contradicting ANYTHING. If you WANT to add a page, LIKE the about us page, to be able to edit it in the admin, to have it have the word "about_us" in the link, THE WAY IN THE README.TXT IS THE WAY TO DO IT. Once that "long winded" process is done, the actual link to a page can be added in the normal HTML way.
There's a LOT of things I could add to the readme.txt, but then it would be a book, wouldn't it? There is already a LOT OF HELPFUL THINGS in the readme.txt. It would also be useful if most people actually READ the README.TXT, but most people don't.
It would be really nice, if people were GRATEFUL for all the FREE support I give, but that doesn't always happen either.
It would seem that I have offended you by replying to your question with a response, so I will be sure not to do that again.
It was a simple suggestion. I may choose to add that to my readme.txt, if I find the time, I appreciate your suggestion.
Re: CSS Dropdown menu for your header- With Categories!
Quote:
Originally Posted by
shocker
This was my first approach until I reread the mods instructions.
So are you saying that the documented method doesn't worK?
Thanks for your clarification.
My documented method refers to adding the about_us page. Yes the documented method works fine. Yes, the documented method works if you want to add any other page as well.
As far as my response that you are asking about. I saw the person struggling with language files and such, and it was just a quick suggestion when I had a couple of minutes online. HTML works just fine in these PHP pages, so once you add a new page in the about_us method, you can THEN add the actual link in the drop menu the old fashioned way, like this: <li><a href="index.php?main_page=contact_us">Contact Us</a></li>
I saw no need in adding instructions on adding the about us page LINK, SINCE that link is already helpfully there, it just has to be un-hidden to use.
Now, if you want a really simple way to add links to the drop down menu, AS DESCRIBED IN MY README.TXT, just add an ezpage, and follow the instructions on getting them to show up in the menu.
SIGH
Re: CSS Dropdown menu for your header- With Categories!
Quote:
Originally Posted by
jettrue
It would be really nice, if people were GRATEFUL for all the FREE support I give, but that doesn't always happen either.
It would seem that I have offended you by replying to your question with a response, so I will be sure not to do that again.
If I came across as ungrateful or offended then I apologise, that was never my intention. I am extremely grateful for all the time and effort you must have ploughed into such a fantastic contribution.
It's just that this thread is so long it makes it really hard to find things. I appreciate that the readme could quite easily be turned into a book thickness, but I'm sure nonetheless, it'd still be more condensed than this thread ;-)
Re: CSS Dropdown menu for your header- With Categories!
Quote:
Originally Posted by
limelites
If I came across as ungrateful or offended then I apologise, that was never my intention. I am extremely grateful for all the time and effort you must have ploughed into such a fantastic contribution.
It's just that this thread is so long it makes it really hard to find things :-)
I appreciate that the readme could quite easily be turned into a book thickness, but I'm sure it'd be much more condensed than this thread ;-)
I accept your apology. I've spent a lot of time deciding what goes in the readme, and I feel it's very thorough. I was offended by you telling me it was insufficient and contradictory.
As described in the readme.txt, and as mentioned in my post just above this, the easiest way to add a new page is to do it with an ezpage. In looking back just now, I see I had missed your first post where you were asking how to get an ezpage to show up. From the readme:
Quote:
4. I've added the ability to have your ezpages automatically shown in the INFORMATION drop down menu. To get this to work, follow these steps:
--> go to your admin, and go to "Tools", "Layout Boxes controller". There should be a new sidebox (ezpages_drop_menu.php). You must turn the SINGLE COLUMN STATUS TO ON, leave the LEFT/RIGHT COLUMN STATUS off.
--> Under "Tools", "EZPages", make sure the ezpages are set to ON for the header. The sort orders also have to be greater than "0".
--> If you want to have the regular zen cart horizontal header bar off, go to "Configuration", "EZPages Settings", and turn the header bar display status to off (0).
Re: CSS Dropdown menu for your header- With Categories!
Quote:
Originally Posted by
oavs
Great contribution jettrue. Well done and thank you.
Can I ask a silly question?
Can this be used as vertical menu like in 'http://www.musicoutletusa.com/' ?
And what is is called so I can download it
Thank you
This is only horizontal, sorry!
Re: CSS Dropdown menu for your header- With Categories!
Quote:
Originally Posted by
oavs
Great contribution jettrue. Well done and thank you.
Can I ask a silly question?
Can this be used as vertical menu like in 'http://www.musicoutletusa.com/' ?
And what is is called so I can download it
Thank you
http://www.zen-cart.com/index.php?ma...products_id=75
This is a CSS Vertical Fly Out Menu. I've not tried it but if it does what it says on the box then it should be good for your needs :-)
Re: CSS Dropdown menu for your header- With Categories!
Jet true I am playing with .htaccess thing to address that issue and when I upload a .htaccess file to the server it disappears, but makes changes. Have you ever heard of that?
I.E I found a .htaccess file in the includes folder of zencart on my local machine. It wasnt visible on the server (apache2), so I uploaded it and my whole site stopped working. I checked out the file, and it had some code in there which prevented .php files from running. So I replaced that code with your code, saved it, uploaded it and my site started working again...yet the .htaccess file still isnt visible on my server. What is the deal there?
Also, because my store sits one file deep in my zencart do I have to modify your code thusly...
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.sgtpepper.com.au/store$ [NC]
RewriteRule ^(.*)$ http://sgtpepper.com.au/store/$1 [R=301,L]
Or do I not need to put store at the end?
Re: CSS Dropdown menu for your header- With Categories!
Quote:
Originally Posted by
YZ250
Jet true I am playing with .htaccess thing to address that issue and when I upload a .htaccess file to the server it disappears, but makes changes. Have you ever heard of that?
I.E I found a .htaccess file in the includes folder of zencart on my local machine. It wasnt visible on the server (apache2), so I uploaded it and my whole site stopped working. I checked out the file, and it had some code in there which prevented .php files from running. So I replaced that code with your code, saved it, uploaded it and my site started working again...yet the .htaccess file still isnt visible on my server. What is the deal there?
Also, because my store sits one file deep in my zencart do I have to modify your code thusly...
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.sgtpepper.com.au/store$ [NC]
RewriteRule ^(.*)$ http://sgtpepper.com.au/store/$1 [R=301,L]
Or do I not need to put store at the end?
.htaccess files are hidden files, and I bet your server isn't set to show hidden files.
I don't think you need the /store.
Re: CSS Dropdown menu for your header- With Categories!
Hi Jade I am fairly new to css etc, I have installed your drop down on site that I am currently building, I was wondering is there a way to make a single image pop up above a the top row without it actually popping up while (say for example) the categories in the category drop down without it ( the image ) following the drop downs? clear as mud, sorry not up with all the terminology yet, Thanks
div#dropMenu li a:hover {color: #4f4f4f!important;background:#8e0011;background-image: url(../images/cattop2.gif);
height:230px;
margin-top: -230px;
}
That's what I did anyway? I know it's not right, any advice for me, it would be really appreciated, :smile:
Re: CSS Dropdown menu for your header- With Categories!
Hello everyone,
I would like to have the hovering color or image or background to show when visting a link (active link), so customers can see in what gategory they's browsing.
Any sugestions ?
Thanks