Author |
Topic |
|
Mark Priest
VP-CART Expert
United Kingdom
580 Posts |
Posted - April 15 2014 : 08:03:06
|
Hi All
I''m trying to use prettyphoto to call an iframe, but it uses the command [iframe] to do it.
This obviously conflicts with VPASP as it tries to look for a field in the database for iframe.
Is there anyway to tell VPASP to ignore this tag with an escape character or something?
Regards,
Mark [URL="http://www.fireworkscrazy.co.uk"]Fireworks For Sale[/URL] |
|
diegomilito
VP-CART Expert
Argentina
779 Posts |
Posted - April 18 2014 : 04:48:49
|
seems hard, what if just change to using the other coding that similar prettyphoto but does not using [iframe] i know there are a lot lot of photos widget out there. diego. |
|
|
Mark Priest
VP-CART Expert
United Kingdom
580 Posts |
Posted - April 18 2014 : 05:38:43
|
I think I might have found a work around. Just add iframe to the database but leave it blank.
Regards,
Mark [URL="http://www.fireworkscrazy.co.uk"]Fireworks For Sale[/URL] |
|
|
manilow
VP-CART New User
France
134 Posts |
Posted - April 18 2014 : 17:46:49
|
Mark,
I just added Google Translation on my web site. However, an error occured when inserting the Google JS code in a free text box in the page manager (the quotes in the code weren''t sql string compatible).
To make it work, I created a new language field including the Google JS code. Then I inserted the new language field in the free text box.
I think you could use the same way to insert a field with [] brackets. Create a language field like langiframe and put the [iframe] code in it. Then call the code by [getlang langiframe].
I hope it will help you further.
Kind regards,
Erik www.aquathermia.com |
|
|
diegomilito
VP-CART Expert
Argentina
779 Posts |
Posted - April 19 2014 : 04:05:30
|
i think ur idea will work manilow. how good ur. diego |
|
|
Mark Priest
VP-CART Expert
United Kingdom
580 Posts |
|
Mark Priest
VP-CART Expert
United Kingdom
580 Posts |
Posted - April 30 2014 : 10:16:39
|
This doesn''t appear to be working.
I added the following to the language table.
927
English
langiframe
[iframes]
And this returns the following [iframes] tag as needed, but I also get the same error.
Field iframes not in database
So I added.
929
English
iframes
To the database and reloaded, but I''m STILL getting the iframes not in database error????
Regards,
Mark [URL="http://www.fireworkscrazy.co.uk"]Fireworks For Sale[/URL] |
|
|
Mark Priest
VP-CART Expert
United Kingdom
580 Posts |
Posted - April 30 2014 : 10:20:38
|
I think this is because its not a lang call.
How do I add just iframes to the database?
Regards,
Mark [URL="http://www.fireworkscrazy.co.uk"]Fireworks For Sale[/URL] |
|
|
manilow
VP-CART New User
France
134 Posts |
Posted - April 30 2014 : 17:58:31
|
Mark,
You may try to insert the following code into your shopfileio.asp file, in the ProcessKeyword subroutine (around lines 750 - 800). The code in green is to be inserted just above the existing code at the end of the sub routine (in red).
case "INSERTIFRAME" response.Write("[iframe]") rc=0
End S elect End sub
Then, in any template, an [INSERTIFRAME] tag will write [iframe] in the html code.
I hope this will do the trick.
Kind regards,
Erik www.aquathermia.com
|
|
|
|
Topic |
|