Site wise custom evaluator in alfresco - alfresco-share

I am facing some problems to create,
Site wise evaluator to show or hide create menu option in alfresco.
In below Attached image i want to show create market option for one site and create project option for other site.
can anyone help me regarding this, if possible please provide sample custom evaluator code.
i am using Alfresco 5.0.d version
Thanks in Advance.

This blog post describes how to to the site evaluator for updating Alfresco Share configuration. Judging from your screenshot you are already able to create and add multi-select actions for the Document Library. You just need to place your configuration within extension modules as described in the blog post.

Related

I need a WordPress plugin that can create an IDE for codes to run on my website

I have a WordPress site, and I teach python on it and I want to share some code on it. I want a code editor that users can see my code and run it.
Please if you know any plugin that can do this help me.
I really do not think that there is such kind of a plugin available as of now. However, you can always search for such a plugin inside the official WordPress plugin repository.
Still, my recommendation would be to consider building your custom website ( not based on WordPress at all ) in order to achieve that using a different application or framework that has already developed a tool for that purpose.

Adding Wordpress Blog to Existing Website: Is Database Required

I have been asked to add a Wordpress blog to an existing website and wanted to ask the group a few tech questions.
The website is static, does not run with a database in the background, was created with plain html/css and is hosted on a generic server.
If I were to add a blog to this site, would I need to set up a database to hold the content?
If no database is needed, could content be uploaded/removed using ftp software one would normally use to manage a website like this?
Could the original Wordpress navigation and css be replaced with the css and navigation for the website?
Could the blog support widgets like as 'like' or 'add this' without the use of a database?
If anyone has insights they can share I would really appreciate it.
Thanks,
Peter
If you want to install WordPress, you will need a database. Check the codex for the full list of requirements for installing WP.
Other than this, yes, you can mimic the navigation and design of the main website by creating a custom theme.

Wordpress Advanced Search Plugin

I want to design a Wordpress site that contains all of the usual Wordpress components (blog, contact us, image gallery, etc). I want to have a separate section of the site for "Books" and "Articles".
Admins will be able to enter a book/article with its detailed information (title, author, reference, etc.). I need to have a way for users (non admin) to be able to do an advanced search on these books entered by the Admin.
Should I use Wordpress for the entire site, and write a custom plugin for the book search piece? OR Have a custom PHP page for the searching? OR Is there a plugin that already exists where I could leverage Wordpress to do this advanced search for me? Any information to point me in the right direction would help.
Take a look at this Wordpress Plugin. It should provide you with what you need within the bounds of Wordpress. This should save time from having to write custom PHP code for this functionality.
There are probably other plugins available too that could work for you. One of the benefits of open source is there is a lot of user created content. This should help get you started.

How do I use Google Custom Search with Drupal without installing a module?

I'd like a more capable search for my website. My current search is unable to ignore spelling mistakes and since our site is a multi lingual we really need this capability. Google has a great way of doing this.
I'm aware of the Google custom search, how do I install this to drupal without installing a module?
Thanks in advance!
Here is the documentation for how to add GCS to your web site by pasting some code into your template (or a block or node)
https://developers.google.com/custom-search/docs/element.
I did this method on http://www.greens.org.nz/ so see that web site for a working example.

Wordpress: Editing pages with another editor

Relatively simple question, but I can't find the answer: How can I edit static pages (or posts) with my own editor instead of using WordPress? I'm not asking about the details of how to FTP, but instead where can I actually find the pages I created using WordPress in the WordPress directory?
Thanks.
The content of the pages you create are stored in the mySQL database rather than as static files so you cannot just see them if you look through the directory. The software reads out the data from the db when requested and renders it according to various settings.
As for editing your wordpress pages/entries using an external editor, wordpress supports an XML RPC interface which can be used to communicate with it. For an example of an emacs extension to edit WP articles, check out http://www.tolchz.net/2008/01/06/posting-to-wordpress-with-emacs-webloggerel/. I'm sure many other editors have this facility as well (including, I'm led to believe, Microsoft Word).
Finally, if you want to use the web interface but use your own editor for the textboxes where you edit pages/articles, check out the it's all text plugin for Firefox.
Windows Live Writer is an excellent editor for this purpose. The latest version (2011) surprisingly better than the first, which was already more than I expected for a freebie, and a small project team.
Make sure you avoid all the extra "Live" options and just leave the Writer checked for install. And in WP admin settings, enable XML RPC.
wp generates dynamic pages - that means the pages only exist the moment they are requested. You would first need to "statify" them - simply downlowding would do, but there's also plugins that can do this.. Usually needed for optimizing speed/cache
Looking for "wordpress static pages plugin" might help..
PS: this would do the job of making wp 'static'
http://wordpress.org/extend/plugins/really-static/

Resources