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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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.. |
| Sponsored Links | ||
| ||
| |
|
#2
| |||
| |||
| see http://www.insituconservation.com/catalog/ ------------------------- In quick search box: Printable catalog |
|
#3
| |||
| |||
| 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. |
|
#4
| ||||
| ||||
| 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
|
|
#5
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| 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 |