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

Finding template file - complete description of function #999

Merged
merged 1 commit into from
Apr 7, 2023
Merged

Finding template file - complete description of function #999

merged 1 commit into from
Apr 7, 2023

Conversation

mildabre
Copy link
Contributor

@mildabre mildabre commented Apr 5, 2023

Hi, presenter actually searches more files as templates than written in the documentation - see: https://github.com/nette/application/blob/master/src/Application/UI/Presenter.php#L514

First he searches files in /template directory insight directory with presenter class. After that he searches files in /template directory one level higher e.g. at the same level as directory with presenter class. This is very useful feature and many developers use this.

I propose to complete the description of the searching template files in the documentation.

Hi, presenter actually searches more files as templates than written in the documentation - see: https://github.com/nette/application/blob/master/src/Application/UI/Presenter.php#L514

First he searches files in /template directory insight directory with presenter class. After that he searches files in /template directory one level higher e.g. at the same level as directory with presenter class. This is very useful feature and many developers use this.

I propose to complete the description of the searching template files in the documentation.
@dg dg merged commit a85cde1 into nette:master Apr 7, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 8, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 9, 2023
dg pushed a commit that referenced this pull request Apr 18, 2023
dg pushed a commit that referenced this pull request Apr 18, 2023
dg pushed a commit that referenced this pull request Apr 18, 2023
dg pushed a commit that referenced this pull request Apr 25, 2023
dg pushed a commit that referenced this pull request Apr 27, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants