$editor = jfactory::geteditor ();
In the template file default.php
Copy the Code code as follows:
echo $editor->display (' Control Name value ', ' content ', ' width ', ' high ', ' Number of columns ', ' Number of rows ', true, ' control ID value ');
More about Joomla related content readers can view this site topi
This paper describes the Jfactory::getdbo usage of Joomla database operation. Share to everyone for your reference, as follows:
Jfactory is a static class that gets references to various system objects
Getdbo get the database connection object code for the method of obtaining the database object:
$db = jfactory::getdbo ();
With the database object, you can do the database operation and execute the query code:
Get the data set and output to see:
$params The parameters of the associative array editor.
Example:
In the view.html.php
$editor = jfactory::geteditor ();
In the template file default.phpCopy the code as follows: Echo $editor->display (' Control Name value ', ' content ', ' width ', ' high ', ' Number of columns ', ' Number of rows ', true, ' control I
Joomla calls the implementation method of the built-in editor. Joomla calls the implementation method of the built-in editor. this example describes how joomla calls the built-in editor of the system. For your reference, refer to:
Joomla template creation tutorial In this tutorial, we will create a specific joomla template step by step. joomla is a powerful openCodeCMS (Content Management System), and she has a wide range of online community support. we will not use table (form), but use Cascading
(The effect is as shown in the picture!) )
Recently in the use of CSDN and Cnblogs Post and write essays, found a lot of it's website or the code has a relationship with some forums, blogs and the like, they have a very good syntax highlighting! Very powerful!
See here the effect is very good, because, oneself also use Joomla to build a small pastime site! Often also paste some code or something, there is no "syntax highlighting" function, the total
This article mainly introduces the implementation method of Joomla to call the built-in editor of the system. The example analyzes the specific steps, functions, and usage skills of Joomla to call the built-in editor of the system, for more information about how Joomla calls
Joomla calls the implementation method of the built-in editor.
This example describes how Joomla calls the built-in editor of the system. We will share this with you for your reference. The details are as follows:
Call the editor in the
This article mainly introduces the implementation method of Joomla to call the built-in editor of the system. The example analyzes the specific steps, functions, and usage skills of Joomla to call the built-in editor of the system. For more information, see Joomla.
This e
Purpose: For Joomla 1.5.x with a good forum, the original thought to install a forum component, now want to or install an independent forum program, and then with Joomla bridge up. Third-party independent forum is basically better than JOOMLA forum components, and more vitality. Look at the Fireboard of the journey to know:
Joomlaboard (1.1)---> Fireboard (1.0.5
When you add another editor in the joomla framework, you can add the editor to the database based on other people's code, but in other people's code lt ;? Phpecho $ this- gt; editor- gt; save ('text ');? Gt; what is stored can be connected, and in my code lt ;? Phpecho $ this- problems encountered when adding anothe
When you add another editor in the joomla framework, you can add the editor to the database based on other people's code, but in other people's code lt ;? Phpecho $ this- gt; editor- gt; save (text );? Gt; what is stored can be connected, and in my code lt ;? Phpecho $ this- gt;
No matter whether it is JCE or CKEDITOR, it does not solve the problem of the Chinese name file. Either the upload fails or the Chinese name is uploaded and cannot be accessed by the web. In contrast, JCE is more user-friendly. For example, after a file is uploaded, It is selected by default. You do not need to search for the uploaded file in a small pop-up window. The source code of JCE is studied, and the method of saving the file name is changed. Pure numbers are used as the file name.
Go
No matter whether it is JCE or CKEDITOR, it does not solve the problem of the Chinese name file. Either the upload fails or the Chinese name is uploaded and cannot be accessed by the web. In contrast, JCE is more user-friendly. For example, after a file is uploaded, It is selected by default. You do not need to search for the uploaded file in a small pop-up window. The source code of JCE is studied, and the method of saving the file name is changed. Pure numbers are used as the file name.Go to t
Whether it is JCE or ckeditor, did not solve the problem of Chinese name files, or upload failed, or passed up the Chinese name can not be Web access. In contrast, JCE more user-friendly, such as file upload by default is selected, do not need users in such a small pop-up window to go up and down search just uploaded files. Study the source of the next jce, change the way to save the file name, using pure numbers as the file name.
To Joomla installe
Either JCE or CKEditor, did not solve the problem of Chinese name file, either upload failed, or passed the Chinese name can not be accessed by the Web. In contrast, JCE is more user-friendly, such as file upload is selected by default, do not need users in such a small pop-up window to search the file just uploaded. Study the next JCE source code, change the way to save the file name, using pure numbers as the file name.
To the Joomla installation d
Introduction: This is a detailed page on how to add JavaScript to the joomla template. It introduces PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 332631 'rolling = 'no'>This articleArticleIt is mainly for those who do not know much about PhP, hmtl and javascriptr. It tells you how to easily
After the Chinese Language Pack is installed in the joomla 2.5 background, if you want to install a new template, the following error occurs in the background: joomla 2.5 Chinese Language Pack Installation Template: Notice: iconv () [function. iconv]: detected an illegal character in input string in c: \ syta \ librari
Joomla directly uses the session to cause template errors. when a user logs in, in addition to recording the session information by default, the following code is added to print $ _ SESSION here to get the value, however, the template page called below is blank. if the two lines of code are removed, the template page w
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.