Author |
Message |
Topic: Sending Smarty variabel to external javascript file |
Weccop
Replies: 2
Views: 6691
|
Forum: General Posted: Tue Sep 08, 2009 4:56 pm Subject: Sending Smarty variabel to external javascript file |
Thx for the solution. Working fine. I used your first suggestion. |
Topic: Sending Smarty variabel to external javascript file |
Weccop
Replies: 2
Views: 6691
|
Forum: General Posted: Sun Sep 06, 2009 12:02 pm Subject: Sending Smarty variabel to external javascript file |
Hello,
We are using Smarty and jQuery. For jquery we have some codes to manage the tabs in the header so that i will show in bold when a person is on that page. We define the page like this:
{in ... |
Topic: Include template |
Weccop
Replies: 2
Views: 4797
|
Forum: General Posted: Fri Jan 23, 2009 4:24 pm Subject: Include template |
Ah yes thats it!
Thx! |
Topic: Include template |
Weccop
Replies: 2
Views: 4797
|
Forum: General Posted: Fri Jan 23, 2009 10:12 am Subject: Include template |
Hello,
I was wondering if it's possible to add 2 variables to the include tag like this:
{include file='header.tpl' menu='2' title=$nieuws.titel $serie.titel }
The way i do it now gives me a ... |
Topic: Php in {literal} javascript |
Weccop
Replies: 3
Views: 6334
|
Forum: General Posted: Thu Oct 30, 2008 11:16 am Subject: Php in {literal} javascript |
Oke thats works fine, wel i use a smart variabel so i have it now like this:
$("#headermenu > ul").tabs({ selected: {/literal}{$menu}{lite ... |
Topic: Php in {literal} javascript |
Weccop
Replies: 3
Views: 6334
|
Forum: General Posted: Wed Oct 29, 2008 6:54 pm Subject: Php in {literal} javascript |
Hello,
I am having some trouble. I want to add some php to a javascript thats between {literal}. I have the following code:
{literal}
<script>
$(document).ready(f ... |
Topic: include_php problem |
Weccop
Replies: 3
Views: 5763
|
Forum: General Posted: Mon Jan 07, 2008 11:20 am Subject: include_php problem |
I mad a simple plugin and it works now. |
Topic: include_php problem |
Weccop
Replies: 3
Views: 5763
|
Forum: General Posted: Sun Jan 06, 2008 5:16 pm Subject: include_php problem |
Hi,
I want to do the following.
I have this:
<?php
$smarty->assign("userid", $list['id']);
$smarty->display("sub/index.tpl");
?> ... |
Topic: Block function or something |
Weccop
Replies: 4
Views: 6211
|
Forum: General Posted: Wed Dec 05, 2007 8:54 am Subject: Block function or something |
I think thats the best option then. |
Topic: Block function or something |
Weccop
Replies: 4
Views: 6211
|
Forum: General Posted: Tue Dec 04, 2007 10:12 pm Subject: Block function or something |
I hoped there would be sug a easy option like my suggestion. Then you would assign a template with:
$smarty->display("pagina.tpl", mail);
And then it would only show the mail error. ... |
Topic: Block function or something |
Weccop
Replies: 4
Views: 6211
|
Forum: General Posted: Tue Dec 04, 2007 8:23 pm Subject: Block function or something |
Hello,
I am working for the first time with smarty and i was wondering how i have to solve the following.
[block=priveberichten]
<table border="1">
{foreach it ... |
Topic: Smarty on every project... |
Weccop
Replies: 7
Views: 96354
|
Forum: Testimonials Posted: Tue Dec 04, 2007 8:23 pm Subject: Smarty on every project... |
Nice one with all the styles. |
|