Author |
Message |
Topic: Tło pod napisem |
bordeux
Replies: 1
Views: 17766
|
Forum: Language: Polish Posted: Wed May 30, 2012 11:07 am Subject: Tło pod napisem |
Super, tylko to akurat nie jest związane z Smarty. Naucz się podstaw CSS (element background) i html |
Topic: Żywioły, ataki etc. |
bordeux
Replies: 1
Views: 16498
|
Forum: Language: Polish Posted: Wed May 30, 2012 11:07 am Subject: Żywioły, ataki etc. |
500zł i moge ci pomóc |
Topic: foreach, tablica asocjacyjna |
bordeux
Replies: 1
Views: 19584
|
Forum: Language: Polish Posted: Wed May 30, 2012 11:06 am Subject: foreach, tablica asocjacyjna |
Masz tablicę 7 elementową!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Robisz foreach
{foreach item=value from=$filelist}
Cudnie, tylko przy pierwszym wywołaniu pętli $val ... |
Topic: Odczytanie tablicy POST |
bordeux
Replies: 1
Views: 19635
|
Forum: Language: Polish Posted: Wed May 30, 2012 11:00 am Subject: Odczytanie tablicy POST |
Nie wiem jakim ci cudem działa
{$post.NAZWA}
Aby dostać się do tablicy $_POST, używa się
{$smarty.post.NAZWA}
Ale nie o to ci chodzi.
O to ... |
Topic: {cache}/{static} section |
bordeux
Replies: 0
Views: 4839
|
Forum: Plugins Posted: Mon Dec 27, 2010 11:41 pm Subject: {cache}/{static} section |
Why there is no section {cache} (or {static})?
example:
<?php
require('Smarty.class.php');
$smarty = new Smarty;
// uses the value of $smarty->cacheLifetime() to det ... |
Topic: Dodawanie do nagłówku |
bordeux
Replies: 0
Views: 15699
|
Forum: Language: Polish Posted: Mon Dec 27, 2010 11:15 pm Subject: Dodawanie do nagłówku |
Witam.
Mam pewien problem
Otóż moj kod wyglada tak:
{include "header.tpl"}
{include "menu.tpl"}
tutaj moja tresc tralalalla. Nagle potrzebuje dodac tutaj do naglowka css ... |
Topic: Inline plugin to smarty 3 |
bordeux
Replies: 2
Views: 8325
|
Forum: Plugins Posted: Mon Dec 27, 2010 10:55 pm Subject: Inline plugin to smarty 3 |
Hah! Smarty 3 is the best!!!!!!!!!!!!!!!!!!!!
Thank you! |
Topic: Inline plugin to smarty 3 |
bordeux
Replies: 2
Views: 8325
|
Forum: Plugins Posted: Sat Dec 25, 2010 1:49 pm Subject: Inline plugin to smarty 3 |
<?php
/**
* Smarty inline prefilter plugin
*
* File: prefilter.inline.php<br>
* Type: prefilter<br>
* Name: inline<br>
* Date: Dec 5, 2003<br>
* Purp ... |
Topic: Array problem |
bordeux
Replies: 1
Views: 4121
|
Forum: General Posted: Tue Jul 27, 2010 3:47 pm Subject: Array problem |
Hello!
I want to do
{if $MyArray[$ObjectDOM->getAttribute('admin')] == true }
trallala
{/if}
My result is:
Fatal error: Smarty error: [in view_show ... |
Topic: Problem z array i obiektem. |
bordeux
Replies: 1
Views: 21554
|
Forum: Language: Polish Posted: Tue Jul 27, 2010 3:43 pm Subject: Problem z array i obiektem. |
Witam.
To co chce zrobić wygląda tak:
{if $Tablica[$ObiektDOM->getAttribute('admin')] == true }
cosik
{/if}
No i wywala mi tak błąd kr ... |
|