You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.
and all my frontend is not displayed correctly because the files are included in the wrong order.
I say its bug.
Comment
User: @Ocramius
Created On: 2015-09-19T10:31:38Z
Updated At: 2015-09-19T10:31:38Z
Body
Please don't use #1 and such, as they have very specific meaning in github (issue linking)
The text was updated successfully, but these errors were encountered:
This issue has been moved from the
zendframework
repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.htmlOriginal Issue: https://api.github.com/repos/zendframework/zendframework/issues/7623
User: @EugeneVdovenko
Created On: 2015-09-08T18:39:51Z
Updated At: 2015-11-06T22:21:01Z
Body
I write:
and I have:
Then, I add
and I have now:
I see, that index change.
If I have some link in layout and some link in view - in result I have wrong order
Comment
User: @vrkansagara
Created On: 2015-09-14T14:12:54Z
Updated At: 2015-09-14T14:12:54Z
Body
Have you looked into documentation?
It's well written there.
You can also take a reference from skeleton application if you like so.
This will help you much better.
Comment
User: @EugeneVdovenko
Created On: 2015-09-14T14:51:35Z
Updated At: 2015-09-14T14:51:35Z
Body
Give me link, plz. I don't saw it's into doc
Comment
User: @vrkansagara
Created On: 2015-09-14T15:34:48Z
Updated At: 2015-09-14T15:34:48Z
Body
http://framework.zend.com/manual/current/en/modules/zend.view.helpers.head-link.html
Comment
User: @EugeneVdovenko
Created On: 2015-09-14T16:47:26Z
Updated At: 2015-09-14T16:47:26Z
Body
I don't see anyway.
I may have written incorrectly, and may translate incorrectly.
But I think why there is a offset()-method if after configure stack and a parameter is passed to __invoke()-method all indexes reset at stack?
Comment
User: @Xerkus
Created On: 2015-09-16T10:14:50Z
Updated At: 2015-09-16T10:14:50Z
Body
You use prepend, that resets indexes. See:
https://github.com/zendframework/zend-view/blob/master/src/Helper/Placeholder/Container/AbstractContainer.php#L268
I can't say if it is bug or expected behavior.
Comment
User: @EugeneVdovenko
Created On: 2015-09-19T09:51:00Z
Updated At: 2015-09-19T10:31:50Z
Body
I think that
its right way.
When, I add with priority
#1
and#2
at layout,#4
and#5
in view-file I have in stackand before the output this stack is sorted by index.
But, if I add rule
$this->headLink();
after I have
and all my frontend is not displayed correctly because the files are included in the wrong order.
I say its bug.
Comment
User: @Ocramius
Created On: 2015-09-19T10:31:38Z
Updated At: 2015-09-19T10:31:38Z
Body
Please don't use
#1
and such, as they have very specific meaning in github (issue linking)The text was updated successfully, but these errors were encountered: