mamuz / mamuzblog Goto Github PK
View Code? Open in Web Editor NEWProvides blog feature for ZF2 with Doctrine
License: MIT License
Provides blog feature for ZF2 with Doctrine
License: MIT License
Implements Events to support plugins
Create a terminology in README.md.
I have this all working and your software is almost perfect for what I was needing, so thanks...
My question is that I can get the URL correctly with the encrypted permalink, but is there a more user friendly way to access a blog article?
For example, instead of this:
/blog/post/VqmX3Xkv9/domain-name-privacy
but like this:
/blog/post/domain-name-privacy
or even
/blog/domain-name-privacy
Hi,
I can't use this module in last zend framework version.(Doctrine installed and configured).
For some reason the module 'Zend/Console' wasn't installed (deleted) and this give error in all place where class Console where used in Zf2.
I think it's related to some dependencies in this module.
To reproduce :
let me know if i did some mistake or miss smt in my install maybe.
Thanks,
In my over ride for published-posts.phtml view, there is a collection of $entity. Entities contain title, description, id, etc...
How can I get a create a link to a particular blog post since I don't have the encrypted article ID in the view?
I tried to get it by title, but this doesn't seem to work:
"/blog/post/getTitle()); ?>"
I have completed the installation and configuration of Doctrine 2 and created the sql schema and did the crypt step. When I go to my website/blog, I see the that it is routing correctly to an empty blog. Sweet!
I created a test blog entry, a test tag and added the ids of each to the junction table.
When I go to my domain/blog, I get the follow 2 errors (any idea what I might be doing wrong?):
! ) Warning: include(/var/www/module/Application/config/../view/error/about.phtml): failed to open stream: No such file or directory in /var/www/vendor/zendframework/zendframework/library/Zend/View/Renderer/PhpRenderer.php on line 506
Call Stack
1 0.0012 245872 {main}( ) .../index.php:0
2 1.0736 5925496 Zend\Mvc\Application->run( ) .../index.php:26
3 2.0828 10665616 Zend\Mvc\Application->completeRequest( ) .../Application.php:327
4 2.0828 10665696 Zend\EventManager\EventManager->trigger( ) .../Application.php:352
5 2.0828 10665832 Zend\EventManager\EventManager->triggerListeners( ) .../EventManager.php:207
6 2.0829 10667592 call_user_func:{/var/www/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php:468} ( ) .../EventManager.php:468
7 2.0829 10667936 Zend\Mvc\View\Http\DefaultRenderingStrategy->render( ) .../EventManager.php:468
8 3.2392 15727168 Zend\EventManager\EventManager->trigger( ) .../DefaultRenderingStrategy.php:113
9 3.2392 15727304 Zend\EventManager\EventManager->triggerListeners( ) .../EventManager.php:207
10 3.2392 15730528 call_user_func:{/var/www/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php:468} ( ) .../EventManager.php:468
11 3.2392 15730560 Zend\Mvc\View\Http\DefaultRenderingStrategy->render( ) .../EventManager.php:468
12 3.2392 15730560 Zend\View\View->render( ) .../DefaultRenderingStrategy.php:103
13 3.2395 15731488 Zend\View\View->renderChildren( ) .../View.php:198
14 3.2395 15732504 Zend\View\View->render( ) .../View.php:233
15 3.2396 15733432 Zend\View\Renderer\PhpRenderer->render( ) .../View.php:205
( ! ) Warning: include(): Failed opening '/var/www/module/Application/config/../view/error/about.phtml' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/vendor/zendframework/zendframework/library/Zend/View/Renderer/PhpRenderer.php on line 506
Call Stack
1 0.0012 245872 {main}( ) .../index.php:0
2 1.0736 5925496 Zend\Mvc\Application->run( ) .../index.php:26
3 2.0828 10665616 Zend\Mvc\Application->completeRequest( ) .../Application.php:327
4 2.0828 10665696 Zend\EventManager\EventManager->trigger( ) .../Application.php:352
5 2.0828 10665832 Zend\EventManager\EventManager->triggerListeners( ) .../EventManager.php:207
6 2.0829 10667592 call_user_func:{/var/www/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php:468} ( ) .../EventManager.php:468
7 2.0829 10667936 Zend\Mvc\View\Http\DefaultRenderingStrategy->render( ) .../EventManager.php:468
8 3.2392 15727168 Zend\EventManager\EventManager->trigger( ) .../DefaultRenderingStrategy.php:113
9 3.2392 15727304 Zend\EventManager\EventManager->triggerListeners( ) .../EventManager.php:207
10 3.2392 15730528 call_user_func:{/var/www/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php:468} ( ) .../EventManager.php:468
11 3.2392 15730560 Zend\Mvc\View\Http\DefaultRenderingStrategy->render( ) .../EventManager.php:468
12 3.2392 15730560 Zend\View\View->render( ) .../DefaultRenderingStrategy.php:103
13 3.2395 15731488 Zend\View\View->renderChildren( ) .../View.php:198
14 3.2395 15732504 Zend\View\View->render( ) .../View.php:233
15 3.2396 15733432 Zend\View\Renderer\PhpRenderer->render( ) .../View.php:205
Create a feed feature filterable by tags
Implement an icon next to calendar in meta footer to provide a permalink
I recommend you add a unique constraint for the table MamuzBlogTag's name porperty. I can't see a reason that you would want the same tag name in there.
/**
* @ORM\Column(type="string", nullable=false, unique = true)
* @Annotation\Filter({"name":"StripTags"})
* @Annotation\Filter({"name":"StringTrim"})
* @Annotation\Validator({"name":"Alnum", "options": {"allowWhiteSpace":"false"}})
* @Annotation\Validator({"name":"StringLength", "options": {"min":"1", "max":"255"}})
* @Annotation\Options({"label":"Name"})
* @Annotation\Required()
* @var string
*/
private $name = '';
Is there a way to customize the views?
Admin
Rename entity property "active" to "published"
Tag list is needed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.