osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

How do I open a link (into) a new window

This is a discussion on How do I open a link (into) a new window within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hi guys... As the subject says, during my ripping and tweaking I think I took away the syntax for the ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-13-2004, 12:47 AM
Member
 
Join Date: Nov 2003
Location: Greece
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vandiike
Default How do I open a link (into) a new window

Hi guys...

As the subject says, during my ripping and tweaking I think I took away the syntax for the (printable catalog) to open in a new window.

In boxes/search.php I have:

$boxContent .= '<a href="' . tep_href_link(FILENAME_CATALOG_PRODUCTS_WITH_IMAGE S, '', 'NONSSL') . '">' . BOX_CATALOG_PRODUCTS_WITH_IMAGES . '</a><br>';

How can I make it open in a new window.

Thanks for your guruing.....and by the way...with regards to another topic, I think in 10 years from now, OScommerce might be viewed as a masterpice or atleast the start of one!



Van..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 02-13-2004, 01:03 AM
Member
 
Join Date: Nov 2003
Location: Greece
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vandiike
Default

see http://www.insituconservation.com/catalog/
-------------------------
In quick search box:

Printable catalog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-14-2004, 01:22 AM
New Member
 
Join Date: Jan 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
SWILLIAMS
Default Quick fix

The idea of Printable catalog is for customers to print a catalog with out your site header, footer, left and right columns, which does not happen with the default setup of 1.5 max.

A quick and easy fix is to edit the file:

catalog/catalog_products_with_images.php and change the line

require(DIR_WS_TEMPLATES . TEMPLATENAME_MAIN_PAGE);

to

require(DIR_WS_TEMPLATES . TEMPLATENAME_POPUP);

Printable catalog will now open with out your site header, footer, left and right columns.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 02-14-2004, 10:43 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,479
Thanks: 73
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

SWILLIAMS, vandiike, Yes, printable catalog added to the BTS system in max so it would be easy to add a new template of your making. It is up to you to create a new template for the printable catalog, we cannot do everything for you...

You could create a new template called template_page.tpl.php and define it as TEMPLATENAME_PRINTABLE. Then you could make it look like anything you want. That is the whole purpose of the BTS template system, easy page additions. Using this feature, you could make a really cool printable catalog, with great page layout, design etc, and have it look totally different from your website.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 02-16-2004, 04:20 AM
Member
 
Join Date: Nov 2003
Location: Greece
Posts: 69
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vandiike
Default

Williams, thanks for tip. it worked good.
In order to have the new window effect I also edited

include/boxes/search.php <- where my link appears in the page

$boxContent .= '<a href="' . tep_href_link(FILENAME_CATALOG_PRODUCTS_WITH_IMAGE S, '', 'NONSSL') . '" target="_blank">' . BOX_CATALOG_PRODUCTS_WITH_IMAGES . '</a><br>';

now there is a case for designing the template_productcat.php

Thanks for your time..

Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
how do i set a link active, if the link links to actual page poschiman osCommerce 2.2 Modification Help 0 06-03-2006 04:10 PM
Mopics Window Resize over 'close window' text ericcech osCommerce 2.2 Modification Help 0 03-08-2006 06:42 PM
Anyway to get a popup window from FCK editor?? Redeye_Joe osCMax v2 Features Discussion 1 03-07-2006 12:00 PM
Scrollable popup window fuzzyphil osCMax v1.7 General Mods Discussion 0 10-10-2005 03:39 AM
popup window too small jlee osCommerce 2.2 Modification Help 1 02-18-2003 12:24 PM


All times are GMT -8. The time now is 06:45 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax