| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Add popup window - can't get it to work | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I have found several threads about this subject, getting a popup window to appear but can't get it to work.
In a .tpl file I added the following: --- <a href="popup_info.php?action=templatename" onclick="javascript: return typeof(window.popupOpen) == 'undefined' || !popupOpen('popup_info.php?action=templatename', '{$title|wm_remove|escape:javascript}');" class="popup-link" target="_blank"><img src="{$ImagesDir}/spacer.gif" alt="{$lng.lbl_popup_help|escape}" /></a> --- With this code the x-cart questionmark icon is shown and it is clickable, opening a popu which should hold the content of hlp_templatename.tpl; So in skin1/help/ I created the hlp_templatename.tpl file which is called. But I keep on getting a popup (so at least that part works) but with a message the page can't be found or isn't accessable. I have read several posts about this but can't find an answer. Any idea what could be going wrong?
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ![]() ----------------------------------------------------------------------------------------------------------------------------------------- ![]() ![]() |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() what version of XC are you using?
__________________
If you need professional help on your x-cart site or any website. Feel free to PM me or Skype me to discuss your project. |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() Version 4.2
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ![]() ----------------------------------------------------------------------------------------------------------------------------------------- ![]() ![]() |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() Anybody got this working?
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ![]() ----------------------------------------------------------------------------------------------------------------------------------------- ![]() ![]() |
|||||||||
#5
|
|||||||||
|
|||||||||
![]() The code you are using doesn't support your version of XC
Code:
So this need to be hard coded or you can consider upgrading your site to 4.4.5 which is the latest version
__________________
If you need professional help on your x-cart site or any website. Feel free to PM me or Skype me to discuss your project. |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() Unfortunately upgrading is not an option.
Any suggestions on how to properly hardcode this?
__________________
Installs: X-Cart 4.1.x - 4.4.x ∙∙ MySQL version: 5.0.45 ∙∙ Apache version: 2.2.8 (Unix) ∙∙ PHP version: 5.25 X-Cart add-ons: all ∙∙ Mods: A lot; too many ∙∙ Skin templates: Many ∙∙ Experience: Somewhere beyond newbie ![]() ----------------------------------------------------------------------------------------------------------------------------------------- ![]() ![]() |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() Warwick, I am having the same issue. I have the Pop-Up, but no content from the specified template. There are no symbols & everything is in lower case, but the pop up does not read the content of the template.
Let's hope we find an answer, soon!
__________________
4.2.3 X-Cart Gold BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers -------[installed]----------------------[installed]--------------[installed]----[installed]-- 5: in development ![]() |
|||||||||
#8
|
|||||||||
|
|||||||||
![]() I'm not sure if there are any other solutions to this... but try this
http://www.smarty.net/forums/viewtopic.php?p=46991 http://www.allwebco-templates.com/support/S_add_pop.htm http://www.blazonry.com/javascript/windows.php
__________________
If you need professional help on your x-cart site or any website. Feel free to PM me or Skype me to discuss your project. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|