Liferay's own database is very mini, generally is to play.In the real development process, we often need to connect it to our local database.There are 3 ways, and I'm just going to introduce my favorite method here. Even MySQL.1. Create the portal-ext.properties file in the root directory of the Liferay portal, where the contents are Jdbc. default. driverclassname=com.mysql.jdbc.Driver jdbc. default. Url=jdbc:mysql://Localhost/lportal?useunicode
See a lot of people about Joomla and Drupal article, it seems that everyone is saying that Joomla is not good, much worse than Drupal, in fact, is it true?
Or is this just before, to the time of Joomla 3 and Drupal 7/8, or is that so?
Reply content:Joomla has now developed to the framework level, currently based on the Joomla framework of either tag or CCK can b
Drupal uses the. info file to save topic (theme) and module (modules) basic data (metadata).Coding: We recommend using UTF-8. This is a no BOM (Byte Order Mark).Here is an example of a. InfoName = really Neat Widgetdescription = provides a really Neat widget for your site ' s sidebar.core = 7.xpackage = Viewsdepe Ndencies[] = viewsdependencies[] = panelsfiles[] = Tests/example.testconfigure = Admin/config/content/exampleThe attributes he contains are:
Locally, we can use the Docker for Windows or Docker for MAC as the development environment for the application. However, if you plan to use Docker data volumes to store the application code, especially the application of the file more, such as Drupal, you will feel particularly slow when running it. This is because Docker for Windows and Docker for MAC use localized virtual technology to provide us with a more downstream experience, but the performan
Introduction to Liferay Portal
Liferay is a complete portal solution based on the Java EE architecture, using the EJB, JMS and other technologies, the foreground interface using the Struts MVC Framework, template technology and other open source mainstream technology, xml-based portlet configuration file can dynamically expand, using the W EB Services To support the acquisition of some remote information,
I recently discussed with you whether you should upgrade your website to Drupal 8, and not recommend that you upgrade it (for details, see if I should upgrade to Drupal 8 now?). 》)。 However, if you are building a new website, is it appropriate to use Drupal 8?The answer remains: not appropriate!Similar to the reason for not recommending an upgrade to
The domestic use of Drupal is not too much, on-line information is very few. It is important to note that Drupal does not use apt to install, especially the Ubuntu platform Drupal has made some changes that will hinder later learning and use. Before the installation of Drupal to complete the lamp, if not installed can
Drupal uses the. info file to save the basic data about theme and modules (metadata ).
Encoding: UTF-8 is recommended, that is, BOM (byte order mark) is not included ).
The following is an example of. info.
name = Really Neat Widgetdescription = Provides a really neat widget for your site's sidebar.core = 7.xpackage = Viewsdependencies[] = viewsdependencies[] = panelsfiles[] = tests/example.testconfigure = admin/config/content/example
Its attributes i
Automatically get the external link picture in Drupal, and then extract the function share to upload to your website.function Get_external_image ($url) {$external _image = file_get_contents ($url);$parsed _url = Parse_url ($url);$name _dest = rand (1000,9999). " _". basename ($parsed _url["path"));$file = File_save_data ($external _image, ' public://'. $name _dest, File_exists_replace);if (Is_object ($file) file_exists ($file->uri)) {$file->status =
First of all, why do this because I work on a large Drupal project, the database files are large, and each new feature is developed on the branch, which means I need to build multiple local environments and often need to delete old branches and create new branches.Since the database uses most of the InnoDB engine, and InnoDB is not released after the space is allocated, it can not be reused (this may be the way I haven't found the right method), so be
When installing D7, you need to create a database with phpMyAdmin, and it is not recommended to use the root account to establish a new account. Generally, create a new account, such as Foo, and simultaneously build a database of the same name, select localhost (if local). However, the set up database its collation default is latin1_swedish_ci, how to modify it? The problem has been around for a long time. In fact, only choose the database you want to modify, such as Foo, and then choose operati
0 reply content: 1. Your understanding of Drupal. If you do not know about Drupal development, do not accumulate, do not provide guidance, and give up.
2. Project expectations. If the business logic between entity is very complex and the process is very long, it cannot be implemented using rule.
3. Most Powerful modules are not used. Drupal itself is powerful a
Php Chinese network (www.php.cn) provides the most comprehensive basic tutorial on programming technology, introducing HTML, CSS, Javascript, Python, Java, Ruby, C, PHP, basic knowledge of MySQL and other programming languages. At the same time, this site also provides a large number of online instances, through which you can better learn programming... Reply: 1. your understanding of Drupal. If you do not know about
Reply content:1. How much you know about Drupal. If you do not understand the development of Drupal, did not accumulate, no guidance, decisively give up.
2, the project is expected. If the complexity of the business logic between the entity is very high, the process is very long, can not be implemented by the rule, give up decisively.
3, most of the powerful module is not used.
There is no best CMS in the world, and only the most suitable one. The recent drupalcamp conference was held in Helsinki, Finland, called exove.The local company provided a demonstration of the four major CMS platforms, Drupal, WordPress, EZ publishAnd CMS Made SimpleA horizontal comparison was conducted. Drupal vs. WordPress
WordPress has its advantages. It has surpassed a blog platform.CommunityThe field
Introduction:
For debugging purposes, most people will set css_fast_load to 0, so that they can see the loading of each separate css style file. On the product server, in order to speed up, if this parameter is set to 1 and multiple css files are merged into a single file, what is the mystery of this?
Debugging analysis:
Taking advantage of the free time on the last day of Sprint, I was lucky enough to analyze the Liferay source code and find out the
Iii. ProblemsDue to the above reasons, liferay may face the following problems:-The user originally wanted to save the private data to the session of the application, but actually saved it to the session object of the portal system.-Other applications can freely access session data that does not belong to this application.-Other systems can access the session data of the portal system at will.-Different applications cannot use the same key to store da
Part 1: Click the "ADD" process from the page to find the event handler function:
In Liferay, when we select a portlet from the left and add it, a series of actions are triggered and the portlet is eventually displayed on the page, and now we are spy the mysterious process.
On the page, in order to find the event handler we bound after clicking Add, we first find this code corresponding to the JSP page in/html/portlet/layout_configuration/view_cat
When clicking on the DockBar on the Add->more ... , he entered the layout_configuration:
This is also a portlet (a special portlet in the Liferay kernel), portlet_id 87, see Liferay-portlet.xml:
The page corresponding to this portlet is in/html/portlet/layout_configuration/view.jsp:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.