SonataAdmin, add a page in the dashboard - symfony

I'm working on Symfony2 and SonataAdminBundle.
I need to add a module in my admin for send email to all users.
So, i need a new page with a link in the menu.. How can i do that simply ?
Fow now i have my blocks in my dashboard, so one one page..

Related

Plugin with custom registration and login

I've created a login and registration pages in a plugin. I've created them as custom templates within my plugin.
I would like a page I created within my plugin as a third custom template to have login and register buttons on there. I can't work out how to do this. Please could I have some advise or someone point me in the right direction

Wordpress query regarding creating admin login

I have a question regarding creating a WordPress site:
* Is it possible to create admin login and user login from WordPress? (and when I mean admin login, I don't mean the backend of the site.)
I need admin login to the website where only the admin can enter posts via a form and a submit button and user login can view those posts and comment on them. SO basically I need a different UI for the admin to add and edit posts.
Any suggestions for easy ways?
Easy: mark those posts / pages as PRIVATE.

How to seperate woocommerce login and register page separate?

I want to have separate woocommerce login and register pages. I want to have a link on login page for redirection to register page. Kindly help me in this issue.
Thank you.
Woocommerce Login / Signup Lite
With this free Sign Up/ Login plugin, you can easily create a sign-up and login process for your e-commerce site. This WordPress plugin gives you three simple shortcodes that you can paste on your site code to create a simple Signup/Login system for your website.
You can separate your login/registration page with shortcode. Also, there is a pop-up feature.
You can either create Sign Up/ Login Widgets or Pages.
With this plugins, you get short codes for:
Short code for login form – [lsphe-login-form]
Short code for signup form – [lsphe-signup-form]
Shortcode for both login and register form – [lsphe-header]
After creating pages with those shortcodes just set your login and registration menu. Then you will get an individual page to login or register.

how to create wordpress user that can only view the plugin I wrote

I have written a plugin, where pre-created users can log in to the system and configure the application. Problem is when I give them higher roles they can view other content on the back-end of the site.Such as creating posts, pages and etc. If I give law level role such as subscriber, user can not view the pluging page. They can't do any configuration.
What I need is only give permission to view my admin panel.
This is the code I create admin panel in wordpress.
function oscimp_admin_actions() {
add_management_page("Pages", "My Pages", "activate_plugins", "Skill-Pages", "skills_list_admin");
}
I would like to create a user from subscriber and allow only to this plugin's admin panel. Can we do it?
You can resolve this with add_cap() method of Wordpress. http://codex.wordpress.org/Function_Reference/add_cap
Also you would like to read those articles about roles and caps: http://www.garyc40.com/2010/04/ultimate-guide-to-roles-and-capabilities/ and http://wp.tutsplus.com/articles/quick-tip-user-permissions-and-your-plugin/, no doubt they will help you

buddypress registration issue

Please suggest me that how can I stop using buddypress registration and profile page.
As, I already do have registration and profile page.
I want to use that only. My earlier registration page ” http://www.ferie.nu/wp-login.php?action=register” which is redirecting to register page of buddy press.
If you already have a registration page then choose that page as buddypress register page.
Go to dashboard.
Under settings menu-> buddypress.
Click on "pages" tab in buddypress settings.
Under Registration section, Select your registration page from drop down and save it.
With this you might get redirected to your registration page.

Resources