I haven't found anyone asking this question yet although it seems like this should be a more commonly asked question.
Is there a way of selecting which action a plugin should use depending on the page?
If I go to example.com/news then the news plugin should use the listAction but if I go to example.com/clear the news plugin should be using the deleteAllAction. Is there a way to accomplish this? Or rather is there an easier way than using extbase routeEnhancers?
I guess the easiest way would be to register a new plugin with a different action but the same base.
Related
I was wondering if I could i ask the best way forward. I am making a joomla site which will have an advanced registration form. Which I am planning to create with rsform pro. What would be the best method for people to able to search those registered users on the front page .
Any other method that one could or would advice rather than rsform pro like some extension that would ease both the registration and searching as a single component. The search function also needs to be multi optioned. I am trying to take the most informed decision before I start with the coding.
Thank you.
Easy Profile does a great job of this:
https://extensions.joomla.org/extension/easy-profile
See the example at https://www.easy-profile.com/users-list.html for a searchable user list.
You'll need the paid version for custom fields.
I think you can try JoomProfile. Is seems quite useful extension for joomla user profile management. If also has good and fast search http://demo.function90.com/joom-profile/search-in-joom-profile.html
Joomla already has some search components, so the best thing to do is to use it. Actually there is two components that you can use
Search, based on com_search component which do the work on the fly
Advanced search, based on com_finder component which index data and give it back after, it is more efficient and has more functionalities
In both case, you'll have to write a plugin to search user, joomla doesn't have it by default (or you can search some on joomle extensions).
I just recently started working with a Magento site, and so far I'm really not liking it. I need to remove a couple links from the main navigation, but I can't seem to find the option for it. I've googled it numerous times, and all I see are examples for coding the navigation. My question is, can you edit the site navigation like you can with say wordpress? Seeing how it's a cms I'd imagine the user should be able to make changes to the navigation using some type of interface, and without having to pull the files from the server and edit them.
Also just out of curiosity, for anyone experienced with Magento would you say it's a good choice for a cms? I've heard of it before, but haven't seen many sites that use it.
No!, so you have three options here.
Learn how to extend the navigation with the 100's of tutorials out there, it is really not that hard, assuming you have a theme you just have to edit app/design/frontend/[theme]/default/template/page/html/topmenu.phtml
Get an extension to do it for you.
Hire a developer to do it for you, we create a static block with installer for the html which make it slightly more user friendly to update in the future.
Stackoverflow is a bad place to ask questions like this, it is aimed at programmers and doing such a procedure is rudimentary stuff, I really hope you are a client trying to be cheap rather than someone who claims they can run this site.
Edit: The cms features are ok but you need to be able to code to set them all up so the end user can make the changes with WYSIWYG.
If you don't want to code for navigation then you can do below things
1) Create category and then Display Settings=>Display Mode=>static block only and Display Settings=>CMS Block=>static block name. In static block u can include in page url or custom page
2)You need to hire developer
If you're using Magento and have an integrated WordPress blog, it's possible to design a completely custom menu in the WordPress Admin using the menu builder. You have complete control over what menu items you want and the hierarchy of each item.
To get this to work, you need to integrate your WordPress blog using WordPress Integration in full integration mode. Your Magento template also has to be using the default Topmenu block.
Hey there. I'm currently learning how to write plugins for wordpress platform and I already know the basics. However, I need to invoke some function when a single article page (single.php) loads. Basically, I want to take that post ID and use it in my algorithm. I can't find any pre-defined action hook in wordpress framework so I thought I could write my very own one, but I don't know what's the mechanism for it. I read several guides on internet but still have no clue how it works. Can someone help me with this? Code examples are welcome.
You can start at the loop_start hook and check is_single() or whatever else you need to determine if you're being called from a singular page. I highly doubt you need to be creating new action hooks in the WordPress core for whatever you're doing.
I would like to know if there's a PHP CMS which makes things like editing a block of text easy.
It also should let the user separtare content in columns.
I'm using Wordpress right now, but it seems like the only way of letting the user add content is in form of posts.
Any suggestions?
Take a look at MojoMotor it's different from the standard CMS packages and is based off CodeIgniter.
Joomla is the Answer. It has all the properties you mentioned
Wordpress allows adding pages too. These live outside the blog and are not automatically shown in the blog index.
If you decide to drop WordPress after all, you could take a look at 9 alternatives to WordPress.
I am using symfony 1.4.8 with sfDoctrineGuardPlugin for my backend.
My question is how can i customise sfDoctrineGuardPlugin's default content? For example, how can i do something on the page between filter and table (on the left hand site)? Or, how can i customize table (http://goo.gl/ZmRey)?
I cannot find any solution for using partials on backend. Is there any way to use partials/components/slots on backend?
I hope you understand my question and tell me a way.
Thanks for your answer(s),
Erman
Partials, components and slots are no different on the back-end to the front-end - your "backend" is just another Symfony application. From the screenshot you gave, it looks like you're looking to customise the admin generator theme.
The quickest way to get started with this is to look in your cache/appname/ folder and see the automatically-generated modules here, with all the template files, partial files and so on. You can then create an empty module in your application, and override select parts of the theme with whatever you want to change. See this part of the Symfony docs for a full list of partials etc, and how to go about overriding them in more detail.
In the specific case of sfDoctrineGuardPlugin-module pages, these can be overrided in the same way as normal modules - simply create eg an sfGuardAuth module and override the selected parts of the module you want to.
If you want to go further and create your own admin generator theme, this is a bit more advanced. Here I will shamelessly promote a blog post I wrote last year ;-) John Cleveley's presentation also provides some great tips.