Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 8 matches
Smarty Forum Index
Author Message
  Topic: problem with assign
MaaSTaaR

Replies: 0
Views: 1658

PostForum: General   Posted: Sat Aug 06, 2005 12:40 am   Subject: problem with assign
Hello ..

i have main class and use it in sub class , my main class name is SmartWS and i have sub class like DB,Smarty .

i try to use assign in sub class , but it's don't give me result ..

th ...
  Topic: use frameset with Smarty
MaaSTaaR

Replies: 1
Views: 2398

PostForum: General   Posted: Mon Jun 27, 2005 8:40 am   Subject: use frameset with Smarty
Hello ..

how i can use frameset with Smarty ?

i want compile templates wich uses in frame
  Topic: problem with register_function
MaaSTaaR

Replies: 2
Views: 3283

PostForum: General   Posted: Sat May 21, 2005 9:44 pm   Subject: problem with register_function
Great Smile

thank you very much Embarassed
  Topic: mysql_num_rows() with Smarty
MaaSTaaR

Replies: 2
Views: 6543

PostForum: General   Posted: Sat May 21, 2005 9:36 pm   Subject: mysql_num_rows() with Smarty
ok , when i want get info from db i will use {section} .

for example :

php :

<?
$getinfo = mysql_query("SELECT * FROM table");
while ($row = mysql_fetch_array($getinfo)) {
$rows

HTM ...
  Topic: problem with register_function
MaaSTaaR

Replies: 2
Views: 3283

PostForum: General   Posted: Sat May 21, 2005 9:29 pm   Subject: problem with register_function
hello Rolling Eyes

i register function :


$Smarty->register_function("SmartCode_replace","SmartCode_replace");

i try it :


{SmartCode_replace info=" ...
  Topic: mysql_num_rows() with Smarty
MaaSTaaR

Replies: 2
Views: 6543

PostForum: General   Posted: Wed Jan 19, 2005 3:42 am   Subject: mysql_num_rows() with Smarty
Hello ..

how i can make like this code with smarty ?

<?php
$query = mysql_query("SELECT * FROM table");
while ($row = mysql_fetch_array($query)) {
echo "section title : " . $row

thanks ...
  Topic: [STControl] Smarty Template Control
MaaSTaaR

Replies: 2
Views: 14024

PostForum: Add-ons   Posted: Mon Oct 11, 2004 3:42 pm   Subject: [STControl] Smarty Template Control
good work Smile

thanks bokhalifa Embarassed
  Topic: [STControl] Smarty Template Control
MaaSTaaR

Replies: 2
Views: 14024

PostForum: Add-ons   Posted: Fri Oct 08, 2004 7:47 pm   Subject: [STControl] Smarty Template Control
Hello all ..

yesterday i written simple class for smarty template .

this class used to show template name , and can you edit template from script control panel , finally can you add template .
...
 
Page 1 of 1
All times are GMT
Jump to:  


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