Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extends children block (invalid result) #200

Closed
Invision70 opened this issue Mar 8, 2016 · 2 comments
Closed

extends children block (invalid result) #200

Invision70 opened this issue Mar 8, 2016 · 2 comments

Comments

@Invision70
Copy link

After upgrade from 3.1.5 to 3.1.30-dev i have a problem:

File: admin/table.tpl

{block name="content"}
.. some code..
   {block name="table"}
     // ex. return:
     <b>12345</b>
    {/block}
.. some code..
{/block}

File: admin/users.tpl

{extends file="admin/table.tpl"}

{block name="table"}
 // ex. need return:
  <b>67890</b>
{/block}

Result is 12345, but I need to value: 67890.
Block table in admin/users.tpl is not extends.

@uwetews
Copy link
Contributor

uwetews commented Mar 8, 2016

I can't reproduce your problem

$smarty->display('admin/users.tpl') does return the expected result of 67890

@uwetews
Copy link
Contributor

uwetews commented Jul 23, 2016

As this problem cant be reproduced I close this issue now

@uwetews uwetews closed this as completed Jul 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants