This module is for people who have need of some static pages on their site.
It provides an easy way to create/manage these pages.
Functionality:
1. Allows you to declare static pages in the administration interface.
2. Allows 3 different display modes:
- Use theming layer - Allows you to add static content that will display as a standard themed Drupal page.
- Do not use theming layer - Allows you to add static content that will be displayed on the screen as is. This method is the same as declaring a whole HTML page.
- Page disabled - Declared static page is not accessible.
3. Provide tools to manage the static content in the administration interface.
4. Provides feature functionality to export the created static content.
link: https://www.drupal.org/sandbox/popams/2352633
git clone: git clone --branch 7.x-1.x http://git.drupal.org/sandbox/PopaMS/2352633.git static_content_manager
Automated Review
http://pareview.sh/pareview/httpgitdrupalorgsandboxpopams2352633git
Vetted user access request is for user: PopaMS
Comment | File | Size | Author |
---|---|---|---|
#13 | Screen Shot 2015-02-08 at 12.56.02 pm.png | 90.46 KB | naveenvalecha |
#9 | static_content_manager.admin_.inc_.patch | 599 bytes | abacaba |
Comments
Comment #1
PopaMS CreditAttribution: PopaMS commentedComment #2
PA robot CreditAttribution: PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #3
suhel.rangnekar CreditAttribution: suhel.rangnekar commentedAutomated Review
http://pareview.sh/pareview/httpgitdrupalorgsandboxpopams2352633git
Review of the 7.x-1.x branch (commit ced0e48):
No issues found.
Manual Review
Looks good to me.
Comment #4
Ben Howes CreditAttribution: Ben Howes commentedNo duplication
This module appears to bypass the features of the core node system. I've been thinking about this and my normal workflow in this situation is to:
Could you explain a bit more why your module does not use drupal entities?
Comment #5
PopaMS CreditAttribution: PopaMS commentedComment #6
PopaMS CreditAttribution: PopaMS commented@Ben Howes: The ideea behind the module implies that there will never be to many of those pages in your site as they are static. As an example a good use for such a page would be a 404-error page. That is the reason I considered not to use nodes, as using a content type for just 2-3 nodes would be a waste when you already have lots of CTs for more important things. The module is structured so you can have those pages up and running with almost no configurations, and if needed export them with ease.
As for a non-fieldable custom entity I pondered on this a little if I should / should not implement one, but I did not find a good reason that would conpensate for the increase in overhead and decided to keep it simple. If you provide some good reasons to use a custom entity I would gladly transition to them.
Thank you for the review.
Comment #7
PopaMS CreditAttribution: PopaMS commented@suhel.rangnekar Thank you for the review.
Comment #8
abacaba CreditAttribution: abacaba commentedwhen cloning the folder name do static_content_manager
Comment #9
abacaba CreditAttribution: abacaba commentedand offline $form = array();
Missing an advertisement forms, but further down the code below already have
Comment #10
Marcus_Johansson CreditAttribution: Marcus_Johansson commentedI'm not going to make a review, more of a question - why do you require CKEditor? I had WYSIWYG installed and it overrides CKEditor anyway - isn't it better that the user can decide if they need an editor or not?
Comment #11
PopaMS CreditAttribution: PopaMS commentedComment #12
naveenvalechaAssigning to myself to review.
Comment #13
naveenvalechaAutomated Review
[Best practice issues identified by pareview.sh are fine.
Manual Review
The access callback to this page is TRUE.As Its seems that static pages to be visible to all users.So Just add some loosely coupled permission here like "access content" to this path.
The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Comment #14
naveenvalechaComment #15
PopaMS CreditAttribution: PopaMS commented@artmix fixed both issues.
Thank you for the review.
Comment #16
PopaMS CreditAttribution: PopaMS commented@Marcus_Johansson at first I thought it would be easier for users if they had a Rich Text Editor out of the box but as you said maybe not all need it and who need it can easily enable it. I removed the dependency as it is not really needed.
Thank you for your idea.
Comment #17
PopaMS CreditAttribution: PopaMS commentedComment #18
naveenvalechaAdded security tag due to #13 so that we can keep this information for learning for later reviewers.
As I am not a git administrator, so I would recommend you, please help to review other project applications to get a review bonus. This will put you on the high priority list, then git administrators will take a look at your project right away :-)
Comment #19
fabian.fernandes_30 CreditAttribution: fabian.fernandes_30 as a volunteer commentedHi PopaMS,
good job.
the module works perfectly.
just one doubt, how is it different from Basic Page(content type)?
Comment #20
cllamas CreditAttribution: cllamas as a volunteer commentedWorking fine to me.
Comment #21
pankajsachdeva CreditAttribution: pankajsachdeva at QED42 commentedComment #22
pankajsachdeva CreditAttribution: pankajsachdeva at QED42 commentedComment #23
klausiWhile duplication is bad and we should definitely point that out it is not an application blocker. Anything else that you found or should this be RTBC instead?
Comment #24
pankajsachdeva CreditAttribution: pankajsachdeva at QED42 commentedHi @klausi,
There is no other blocker in this module. We should move it to RTBC.
Comment #25
pankajsachdeva CreditAttribution: pankajsachdeva at QED42 commentedComment #26
DamienMcKennaThanks for your contribution, PopaMS!
I updated your account so you can promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.