Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How to pop up a window.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 06-24-2007, 06:26 PM
  BizzyB's Avatar 
BizzyB BizzyB is offline
 

Senior Member
  
Join Date: Sep 2006
Location: Australia
Posts: 102
 

Default Re: How to pop up a window.

Thank you for the clarification willirl - it is appreciated.

I substituted 'Specifications' for 'YYYYY' but it didn't show in the page title but that is a minor thing that I am not really concerned about.

I apologise for taking up your time but in your opinion is there a method whereby I can create a global text variable ($prod_spec for example) then assign different texts to this varaible, enabling me to use the variable for the same hlp_XXXX.tpl.

If not then it appears my solution is to create more hlp_XXXX.tpl files, each one having different text.

Thanks once again for the method and for your reply.

Regards
__________________
Version = X-Cart 4.1.3 Gold
Status - Closed
Addon: Magnifier
OS = Windows
Western Australia
Reply With Quote
  #12  
Old 06-25-2007, 05:09 AM
  rogue's Avatar 
rogue rogue is offline
 

X-Adept
  
Join Date: Apr 2007
Location: Loveland, Ohio
Posts: 770
 

Default Re: How to pop up a window.

I'm not sure how you would do this.
__________________
Richard Williams
Rogue Wave Limited

Initial Inventory Imports
Daily Inventory Updates
Daily Inventory Reports
Drop Ship Support
Order Export to Shipper/Supplier
Shopping Feeds That Work
Programming for X-Cart

richard@roguewavelimited.com
http://www.roguewavelimited.com
Reply With Quote
  #13  
Old 06-25-2007, 07:07 PM
  BizzyB's Avatar 
BizzyB BizzyB is offline
 

Senior Member
  
Join Date: Sep 2006
Location: Australia
Posts: 102
 

Default Re: How to pop up a window.

Quote:
Originally Posted by BizzyB
I apologise for taking up your time but in your opinion is there a method whereby I can create a global text variable ($prod_spec for example) then assign different texts to this varaible, enabling me to use the variable for the same hlp_XXXX.tpl.

I was barking up the wrong tree. What I finished up doing was to create a pop-up window called hlp_productlink.tpl, then created several text variables in Admin called txt_prod_speci_001, txt_prod_speci_002 etc.

Within hlp_productlink.tpl I then called the appropriate text. For example, {$lng.txt_prod_speci_001} or {$lng.txt_prod_speci_002} and so on.

However, having done that, I can't help thinking there must be a better way.

Regards
__________________
Version = X-Cart 4.1.3 Gold
Status - Closed
Addon: Magnifier
OS = Windows
Western Australia
Reply With Quote
  #14  
Old 09-17-2007, 04:22 AM
 
jgilford jgilford is offline
 

Member
  
Join Date: Aug 2005
Posts: 18
 

Default Re: How to pop up a window.

Greetings,
I've followed these instructions and still get an error in the popup window:

Page not found!
The requested page does not exist or you are not allowed to access it!

I've changed the .htaccess to allow for all. Is there any other suggestions?
Does it matter that I need the pop up window on my checkout page but it seems like the help files are unsecure?
I've searched for the cvv2_tpl link ( so that maybe I could duplicate it) as that popup works fine.
Thanks so much!
__________________
Shea Sensations (not live)
www.sheabutter-skincare.com
X Cart Gold+ V 4.5.4
Reply With Quote
  #15  
Old 09-17-2007, 05:42 AM
  rogue's Avatar 
rogue rogue is offline
 

X-Adept
  
Join Date: Apr 2007
Location: Loveland, Ohio
Posts: 770
 

Default Re: How to pop up a window.

I'm not sure what's wrong but I think you're on the right track. I don't have any experience with http vs. https. Perhaps someone else here might be able to help.
__________________
Richard Williams
Rogue Wave Limited

Initial Inventory Imports
Daily Inventory Updates
Daily Inventory Reports
Drop Ship Support
Order Export to Shipper/Supplier
Shopping Feeds That Work
Programming for X-Cart

richard@roguewavelimited.com
http://www.roguewavelimited.com
Reply With Quote
  #16  
Old 01-23-2009, 11:45 PM
 
Learner Learner is offline
 

X-Adept
  
Join Date: Dec 2008
Posts: 807
 

Default Re: How to pop up a window.

Hi,
Thanks jgilford, I have seen your site www.junkyjewelry.com, it is very beautiful.

I have tried adding some JavaScript popup code in product thumbnail in the products page that would open a small window/popup for additional information or small information /description about product on mouseover (like your site which shows Zoom image).Ideally it should take info from the detailed description field (product page) and show in this popup. Searched the forum but couldn▓t find the post/thread on this.Can you help me to do this code or any hints.

Is it possible to show a product description/small description in a small popup?

Any help/inputs on this would be highly appreciated.

__________________
4.6.1 Platinum


Reply With Quote
  #17  
Old 02-13-2009, 07:59 AM
 
baronmunchowsen baronmunchowsen is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 31
 

Default Re: How to pop up a window.

If you're getting the

Quote:
Page not found!
The requested page does not exist or you are not allowed to access it!


message, you need to make sure that the hlp_XXXX.tpl files you're creating are all lowercase. You'll see in includes/popup_info.php there is this line of code:

PHP Code:
$template_name "help/hlp_".strtolower($action).".tpl"
__________________
----------------------------------------
Looking for helpful pointers with his x-cart installation
X-Cart version 4.1.8
Reply With Quote
  #18  
Old 03-21-2012, 12:53 AM
  Warwick's Avatar 
Warwick Warwick is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Somewhere on the web through European connection
Posts: 868
 

Default Re: How to pop up a window.

Quote:
Originally Posted by baronmunchowsen
If you're getting the message, you need to make sure that the hlp_XXXX.tpl files you're creating are all lowercase. You'll see in includes/popup_info.php there is this line of code:

PHP Code:
$template_name "help/hlp_".strtolower($action).".tpl"

I am having the same message, files are in lower case.
Did somebody get 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
-----------------------------------
------------------------------------------------------------------------------------------------------
Looking for the best dutch language pack? 4.1.x - 4.6.x compatibel, native speaker translation! More info
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:45 AM.

   

 
X-Cart forums © 2001-2020