Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.
www.smarty.net
•
phpinsider.com
•
Forum Index
•
FAQ
•
Search
•
Memberlist
•
Profile
•
Log in to check your private messages
•
Register
•
Log in
Search found 7 matches
Smarty Forum Index
Author
Message
Topic:
Smarty 3.1.14: nested block problem
zardrell
Replies:
6
Views:
15428
Forum:
Bugs
Posted: Thu Jul 25, 2013 3:08 pm Subject:
Smarty 3.1.14: nested block problem
Hi.
I've got some problems when using nested block.
a.tpl
{block name='body'}
{block name='main'}{/block}
{/block}
b.tpl extends ...
Topic:
Nested {block} problem
zardrell
Replies:
5
Views:
9019
Forum:
General
Posted: Wed Jan 16, 2013 12:18 pm Subject:
Nested {block} problem
I have tried the following code:
grandparent.tpl
<html>
<head>
<title>Smarty</title>
</head>
<body>
{block body}
...
Topic:
Nested {block} problem
zardrell
Replies:
5
Views:
9019
Forum:
General
Posted: Wed Oct 31, 2012 1:04 am Subject:
Nested {block} problem
Ok, thank you.
Topic:
Nested {block} problem
zardrell
Replies:
5
Views:
9019
Forum:
General
Posted: Tue Oct 30, 2012 10:56 pm Subject:
Nested {block} problem
I'm sorry, I have the {$smarty.block.child} in the {block script}{/block}
pc_structure.tpl
<html>
<head><title>Smarty</title></head>
<body>
...
Topic:
Nested {block} problem
zardrell
Replies:
5
Views:
9019
Forum:
General
Posted: Tue Oct 30, 2012 1:15 pm Subject:
Nested {block} problem
Hi.
I have the following code:
PHP 5.3.8
Smarty 3.1.12
pc_structure.tpl
<html>
<head><title>Smarty</title></head>
<body>
{block 'body' ...
Topic:
Overwrite {block} with attributes
zardrell
Replies:
1
Views:
20287
Forum:
Feature Requests
Posted: Wed Aug 29, 2012 1:47 pm Subject:
Overwrite {block} with attributes
Hi.
I want to overwrite blocks which contain {$smarty.block.child} and I do not want to use wrapper blocks.
Attributes like clear may be helpful?
parent.tpl
{block name='a'}
< ...
Topic:
{$smarty.block.child} not working in nested {block}
zardrell
Replies:
8
Views:
13296
Forum:
General
Posted: Tue Dec 20, 2011 6:06 am Subject:
{$smarty.block.child} not working in nested {block}
I've tried 3.1.7 but the code after {$smarty.block.child} got disappeared?
index.tpl
<html>
<head>
<title>Smarty</title>
</head>
<body>
...
Page
1
of
1
All times are GMT
Jump to:
Select a forum
General
----------------
Announcements
Installation and Setup
FAQ (Frequently Asked Questions)
Testimonials
Showcase
Help Wanted (commercial)
User Supported Help
----------------
General
Tips and Tricks
Plugins
Add-ons
Frameworks
Article Discussions
Development
----------------
Smarty Development
Feature Requests
Bugs
Documentation
Smarty 3
International Discussions
----------------
Language: German
Language: French
Language: Portuguese
Language: Russian
Language: Spanish
Language: Italian
Language: Japanese
Language: Persian
Language: Polish
Language: Indonesian
Powered by
phpBB
© 2001, 2005 phpBB Group
Protected by
Anti-Spam ACP