X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to pop up a window. (https://forum.x-cart.com/showthread.php?t=25567)

BizzyB 06-24-2007 06:26 PM

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

rogue 06-25-2007 05:09 AM

Re: How to pop up a window.
 
I'm not sure how you would do this.

BizzyB 06-25-2007 07:07 PM

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

jgilford 09-17-2007 04:22 AM

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!

rogue 09-17-2007 05:42 AM

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.

Learner 01-23-2009 11:45 PM

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.


baronmunchowsen 02-13-2009 07:59 AM

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"


Warwick 03-21-2012 12:53 AM

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?


All times are GMT -8. The time now is 12:14 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.