Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 11 matches
Smarty Forum Index
Author Message
  Topic: need help with function
kingnalz

Replies: 5
Views: 24177

PostForum: Plugins   Posted: Mon Aug 26, 2013 3:15 pm   Subject: need help with function
Hello,

Can somebody teach me to using this code and plugin?
I cannot get.

please teach me how to write at php files and tpl files.

urgent,

thank you.
  Topic: Need help {if}{else}{/if} in tpl files
kingnalz

Replies: 4
Views: 8839

PostForum: General   Posted: Sat Aug 24, 2013 1:11 pm   Subject: Need help {if}{else}{/if} in tpl files
All solve,

Need to call javascript src/link outside the {literal}{/literal}.
  Topic: Need help {if}{else}{/if} in tpl files
kingnalz

Replies: 4
Views: 8839

PostForum: General   Posted: Sat Aug 24, 2013 1:05 pm   Subject: Need help {if}{else}{/if} in tpl files
Resolve for calling CSS and Images.
But the the problem now is JavaScript not working.

code chage in php;


$firstUrl = 'http://'.$_SERVER['HTTP_HOST'];
$secondUrl = 'http:// ...
  Topic: Need help {if}{else}{/if} in tpl files
kingnalz

Replies: 4
Views: 8839

PostForum: General   Posted: Sat Aug 24, 2013 12:46 pm   Subject: Need help {if}{else}{/if} in tpl files
Declare in php;



$firstUrl = $_SERVER['HTTP_HOST'];
$secondUrl = $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];


Im get few idea, using the {$firstUrl} infront all ...
  Topic: Need help {if}{else}{/if} in tpl files
kingnalz

Replies: 4
Views: 8839

PostForum: General   Posted: Sat Aug 24, 2013 12:22 pm   Subject: Need help {if}{else}{/if} in tpl files
I try this and working,
But A messy header.tpl I get because need to copy a lot under {if} condition and {else} condition;

PHP;

$firstUrl = $_SERVER['HTTP_HOST'];
$secondUrl = $_SERVER ...
  Topic: Need help {if}{else}{/if} in tpl files
kingnalz

Replies: 4
Views: 8839

PostForum: General   Posted: Sat Aug 24, 2013 6:02 am   Subject: Need help {if}{else}{/if} in tpl files
I just write Php code at index.php

global $_GET;
global $_POST;
$get = $_GET;
$post = $_POST;
$frm = array_merge ($get, $post);

global $ENV;
global $SERVER;
$frm_env = array (& ...
  Topic: Please Help Me {foreach}
kingnalz

Replies: 8
Views: 7854

PostForum: General   Posted: Wed Aug 21, 2013 5:32 pm   Subject: Please Help Me {foreach}
Nevermind, I already solve by php code.

anyway, thank you very much.
  Topic: Please Help Me {foreach}
kingnalz

Replies: 8
Views: 7854

PostForum: General   Posted: Wed Aug 21, 2013 5:15 pm   Subject: Please Help Me {foreach}
By the way,

How to change the GMT of the time format?
  Topic: Please Help Me {foreach}
kingnalz

Replies: 8
Views: 7854

PostForum: General   Posted: Wed Aug 21, 2013 5:10 pm   Subject: Solve
Thank you very much mohrt,

Its works perfect!!

Very appreciate with this.

Very Happy Very Happy Very Happy Very Happy Very Happy Very Happy
  Topic: Please Help Me {foreach}
kingnalz

Replies: 8
Views: 7854

PostForum: General   Posted: Wed Aug 21, 2013 4:14 pm   Subject: Please Help Me {foreach}
I still got error,
Undefine Index on cache.tpl & template c..

What wrong?
  Topic: Please Help Me {foreach}
kingnalz

Replies: 8
Views: 7854

PostForum: General   Posted: Wed Aug 21, 2013 2:25 pm   Subject: Please Help Me {foreach}
Hello,
I'm new here, please help me to settle this,
I have this code in regular PHP but I need to know how to convert to smarty.
Please help me how to write at index.php & main.tpl

Thank Yo ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP