I have a custom layout so I didn't want to use the side box.
I was advised the above code would work (which it doesn't).
I have a custom layout so I didn't want to use the side box.
I was advised the above code would work (which it doesn't).
The simplest way to get the right code is to turn on the search sidebox, test that it works, then use your browser to View Source and grab the HTML that makes up the search box. Then you can insert that into your custom page.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Got it all working now - many thanks.
I have another question that you may well be able to help with :
In the WOZ install I want to be able to get the WP title and keyword datd to out put instead of the zens cart one.s on the pages that are WP.
In the header file I wanted to write an if/else statement but this doesnt deem to work.
I was going to do it the simple way and just have the wp_head loop first to get the titles and keywords out first where they exsist. So i have
<?php
/**
* Common Template
/**
* load the module for generating page meta-tags
*/
require(DIR_WS_MODULES . zen_get_module_directory('meta_tags.php'));
/**
* output main page HEAD tag and related headers/meta-tags, etc
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?>>
<head>
<?php wp_head(); ?>
<title><?php echo META_TAG_TITLE; ?></title>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" />
<meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" />
<meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" />
is there another way of doing this?
You're posting duplicates of the same question all over the forum.
Please continue that topic in your original discussion: http://www.zen-cart.com/forum/showthread.php?t=104951
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Many thanks >>> please take a look.