Jump to content

 

NBO_Mike

Member Since 09 Jul 2007
Offline Last Active Aug 24 2007 03:18 AM
-----

Topics I've Started

Category Menus take you to Product Pages?

21 August 2007 - 04:10 AM

Has anybody ever tried getting to a product page directly from the drop-down menus? I'd like to keep the drop down feature, but have the customer taken immediately to the product page, instead of to categories.

So when I roll over, I'd like the drop down to list products rather than subcategories. Anybody know how to do this?

How to add to the same query string?

16 August 2007 - 07:32 AM

This is more of a PHP question, I think. I added a custom page to my site that can be accessed like this:

http://www.mysite.com/index.php?target=custompage

The thing is that this page is self-submitting, and I would like to add the form variables to the query string. Currently, when the form submits, the URL looks like this:

http://www.mysite.com/index.php?formvariable=formvalue

But I would like it to do something like this:

http://www.mysite.com/index.php?target=custompage&formvariable=formvalue

In other words, it's going back to index.php (my default shopping cart page) instead of index.php?target=custompage (my custom page). I'm relatively new to PHP. Can someone tell me how to get the desired behavior? Thanks.

Replace Header from Another Skin.

15 August 2007 - 06:45 PM

Could somebody tell me what files I'd need to modify in order to change the default skin header to the New Vision header? Thanks.

Accidentally overwrote config.php

14 August 2007 - 03:51 PM

My site's all messed up now. I tried to restore it by copying and pasting the config.php from my local environment and then setting the proper values for db connection. This didn't work at first because I kept getting this error:

Fatal error: Call to undefined function: mysqli_connect() in /home/nbomike/public_html/core/db_mysql41.php on line 25


So I changed the "Database layer" in config.php from "mysql41" to "mysql" and I guess it's working (I'm not getting that error any more)? The site is skinless and imageless. Can someone please help?! :confused:

I have a couple of questions that might help me figure it out. In config.php, there's this line of code:

@include_once($cscart_dir . DS . 'local_conf.php');

Can somebody tell me where local_conf.php is located? I can't find it anywhere. I even tried doing a search for the file on my local machine and it's not there. Also, does anybody know where $cscart_dir is initialized? I noticed that the paths for many of the subsequent variables (including local_conf.php) are set using this variable. Maybe $cscart_dir is causing the paths to be set to the wrong values...

Is this possible with quick links?

14 August 2007 - 01:14 PM

Hello. I was wondering if it's possible to somehow get sublinks to drop down from a quick link? I want something that behaves like the category menus, but for CMS pages. The link text is getting squished, so I want to put some links together. I was thinking of putting pages in a topic through the CMS section of the admin interface. But once I do that, I don't know how to get it up there and convert it to drop downs. Can someone tell me what files I'd need to change? Thanks.