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

Structuring #1295

Merged
merged 6 commits into from Jan 25, 2014
Merged

Structuring #1295

merged 6 commits into from Jan 25, 2014

Conversation

emanuele45
Copy link
Contributor

Another bit or restructuring of templates.

I started in Post page moving all the options related to attachments (at least the ones I found) to a single index $context['attachments'] so that everything is there.
Then I also split (again) the Post page template to allow override the way attachments are presented/handled. This should help @siddhartha-gupta in replacing the upload system (hint: you can use the hook integrate_post_after you won't find it in the code, but it is provided but the Dispatcher, see emanuele45@88787e0 based on the name of the controller invoked <= note to self: something to document!!)

Signed-off-by: emanuele <emanuele45@gmail.com>
Signed-off-by: emanuele <emanuele45@gmail.com>
… one index of $context - seems more organized

Signed-off-by: emanuele <emanuele45@gmail.com>
…ul (it was always hooking index_action)

Signed-off-by: emanuele <emanuele45@gmail.com>
… attachments templates

Signed-off-by: emanuele <emanuele45@gmail.com>
Signed-off-by: emanuele <emanuele45@gmail.com>
@Spuds
Copy link
Contributor

Spuds commented Jan 25, 2014

looks 👍 to me (is the optimized loading a dupe commit?) .... anyway good for B2 (I think so)? If so lets merge so I can get it on the site for some live testing.

eurich added a commit that referenced this pull request Jan 25, 2014
@eurich eurich merged commit 863c08e into elkarte:master Jan 25, 2014
@siddhartha-gupta
Copy link
Contributor

Oppps, missed this comment somehow. Mean while, with the files modified by @emanuele45 are helping a lot. All suggestions/advises are most welcomed

https://github.com/siddhartha-gupta/Elkarte/commit/add921f95c2a7929b36eea2565019ef101c3e431

@emanuele45 emanuele45 deleted the structuring branch January 25, 2014 12:33
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

4 participants