Author |
Message |
Topic: code not working |
zdig1
Replies: 2
Views: 4133
|
Forum: General Posted: Sat Nov 16, 2013 11:22 pm Subject: code not working |
thx man it work
you seem to be smart on smarty
can you plz take a look on this pb unsolved
http://www.smarty.net/forums/viewtopic.php?t=24570 |
Topic: code not working |
zdig1
Replies: 2
Views: 4133
|
Forum: General Posted: Sat Nov 16, 2013 6:32 pm Subject: code not working |
hello
ia hve this code working on html
<script src="http://www.google.com/jsapi"></script>
<script>google.load("jquery", "1");</scrip ... |
Topic: Javascript calling smarty |
zdig1
Replies: 46
Views: 46521
|
Forum: General Posted: Sun Nov 03, 2013 2:32 am Subject: Javascript calling smarty |
{capture assign="player"}{include file="player.tpl" page="detail"}{/capture}
var player3 = '{$player|regex_replace:"/[ ... |
Topic: Javascript calling smarty |
zdig1
Replies: 46
Views: 46521
|
Forum: General Posted: Sun Nov 03, 2013 1:06 am Subject: Javascript calling smarty |
the link
http://img22.imageshack.us/img22/8972/olmi.jpg
no error (concerning the script and the variable etc ... ) |
Topic: Javascript calling smarty |
zdig1
Replies: 46
Views: 46521
|
Forum: General Posted: Fri Nov 01, 2013 5:42 pm Subject: Javascript calling smarty |
of corse no |
Topic: Javascript calling smarty |
zdig1
Replies: 46
Views: 46521
|
Forum: General Posted: Fri Nov 01, 2013 2:07 pm Subject: Javascript calling smarty |
On {include file="player.tpl" page="detail"}
working give :
<div id="Playerholder">
You need to have the <a href="http://www.macr ... |
Topic: Javascript calling smarty |
zdig1
Replies: 46
Views: 46521
|
Forum: General Posted: Fri Nov 01, 2013 2:00 pm Subject: Javascript calling smarty |
do you have any other idea Sir ??
by the way did you remember when we have
var player3 = "{include file="player.tpl" page="detail"}";
the code repa ... |
Topic: Javascript calling smarty |
zdig1
Replies: 46
Views: 46521
|
Forum: General Posted: Fri Nov 01, 2013 1:32 am Subject: Javascript calling smarty |
i get
<script type="text/javascript">
var player3 = ' <div id=\"Playerholder\"> You need to have the <a href=\"http://www.macromedia.com/go/getflas ... |
Topic: Javascript calling smarty |
zdig1
Replies: 46
Views: 46521
|
Forum: General Posted: Wed Oct 30, 2013 7:54 pm Subject: Javascript calling smarty |
player.tpl -> done
<script type="text/javascript" >
{capture assign="player"}{include file="player.tpl" page="detail"}{ ... |
Topic: Javascript calling smarty |
zdig1
Replies: 46
Views: 46521
|
Forum: General Posted: Sun Oct 27, 2013 11:16 pm Subject: Javascript calling smarty |
i get something
$embed_code = str_replace( array("\n", "\r", "\t"), "", $embed_code);
i found this line on my fuction.php
$embed_code .= ... |
Topic: Javascript calling smarty |
zdig1
Replies: 46
Views: 46521
|
Forum: General Posted: Sun Oct 27, 2013 11:02 pm Subject: Javascript calling smarty |
nothing change withe the escape:qoutes
but i notice that some code with '/n' and '/' work normal for example this one ( with the escape quotes)
<script type="text/javascript" >
... |
Topic: Javascript calling smarty |
zdig1
Replies: 46
Views: 46521
|
Forum: General Posted: Sat Oct 26, 2013 12:31 pm Subject: Javascript calling smarty |
hello i did what you mention
all jwplayer variable on only one line so all /n was removed
but still got slash '/' with cpature
so any idea for how to remove them ??
<script> {cap ... |
Topic: Javascript calling smarty |
zdig1
Replies: 46
Views: 46521
|
Forum: General Posted: Sat Oct 19, 2013 7:19 pm Subject: Javascript calling smarty |
thanks admin for all your help
i will try to change jwplayer code |
Topic: Javascript calling smarty |
zdig1
Replies: 46
Views: 46521
|
Forum: General Posted: Thu Oct 17, 2013 5:05 pm Subject: Javascript calling smarty |
i can't use the new methode
because the hole 3 script alloawing auto post on open graph is based on using the variable
so i i use the methode hidden ihave to change 3 hole script
i thought the ... |
Topic: Javascript calling smarty |
zdig1
Replies: 46
Views: 46521
|
Forum: General Posted: Thu Oct 17, 2013 3:24 pm Subject: Javascript calling smarty |
without escaping var "player 3" is correct, but
we back to the old pb ( variable crrect but dont be called on javasript"
also on chrome we can see again player3 is not defined
... |
|