Although I have learned a lot about joomla 1.7 extensions recently, but most of them have no practical experience, I have prepared different plug-ins from today and recorded this process in practical ways. However, before doing this, I tried a few free templates, and I felt that it was okay, but after all it was free and I felt that it was not so precise, so I was prepared to delete several templates.
The strange thing is:
In the "extensions" -->
Basically have a fixed format to use, in this not much to say, this is mainly about the application of XML in creating forms. The function of the form is self-evident, in the module configuration inside has the form, the component inside also has the form, here's configuration inside the parameter setting is the XML generation form, relative to through directly constructs the form to be convenient many, Here, by editing the use of the article form, before using, let's take a look at the types of
This article is an example of how Joomla simply determines whether a user is logged in. Share to everyone for your reference, specific as follows:
More about Joomla interested readers can view the site topics: "The introduction of YII framework and common skills summary", "PHP Excellent Development Framework Summary", "Smarty Template Primer Tutorial", "thinkphp Common Methods Summary", "PHP object
Joomla website built, upload server, domain name can be accessed, the next problem is the site SEO optimization, as well as Baidu crawl, ranking and so on.
Therefore, the dynamic Web site needs to rewrite the rewrite through Apache, to achieve (pseudo) static page output:
(1) need in Joomla global settings
Then an access error occurs:
(2) modified in httpd.conf in Apache:
① will modify the #LoadModule rew
This would have been a apt project, so the details are inconvenient to specifically disclose, involving sensitive things, I use the local test environment instead.
Before infiltration, the target station is most of Joomla's CMS, then gave up, the recent Joomla SQL injection loophole Let me rekindle the hope, and then find all Joomla, according to the background of the look, probably judged version, and then
The usage is as follows:Enter the following code at the top of the page for using the form function:JHTML: _ ('behavior. formvalidation ');Add the following script to the page.Copy codeThe Code is as follows: Modify the code at the form LocationCopy codeThe Code is as follows: After the above Code is added, you only need to add class = "required" to the input in form, and the verification function will take effect.The joomla verification script is imp
Release date:Updated on:
Affected Systems:Joomla! Sexy Polling Description:--------------------------------------------------------------------------------CVE (CAN) ID: CVE-2013-7219
Sexy Polling is a customizable voting software.
The Joomla extension Sexy Polling 1.0.8 does not properly filter the "answer_id []" POST parameter value of/components/com_sexypolling/vote. php, which can cause arbitrary SQL code injection.
Link: http://secunia.com/adv
The usage is as follows:
Enter the following at the top of the page for using the form function:
Code
JHTML: _ ('behavior. formvalidation ');
Add the following script to the page.
Copy code The Code is as follows:
Modify the code at the Form LocationCopy codeThe Code is as follows:
After the above Code is added, you only need to add class = "required" to the input in form, and the verification function will take effect.The joomla verification
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
Ajax is rarely seen in joomla. I have mentioned that jquery is used for implementation. for applications that verify that the user name cannot be repeated, the mailbox cannot be repeated, and the linked menu, etc, the use of ajax is inevitable. today I will talk about how to implement ajax using the mootools javascript library that comes with joomla. because it comes with a library, you don't have to worry
Ajax is rarely seen in joomla. I have mentioned that jquery is used for implementation. for applications that verify that the user name cannot be repeated, the mailbox cannot be repeated, and the linked menu, etc, the use of ajax is inevitable. today I will talk about how to implement ajax using the mootools javascript library that comes with joomla. because it comes with a library, you don't have to worry
In Joomla, you can use configuration. php to store simple data code. For more information, see.
Write process
The code is as follows:
// Get the path of the configuration file$ Fname = JPATH_CONFIGURATION.DS. 'configuration. php ';// Clear cache$ Cache = JFactory: getCache ();$ Cache-> clean ();// Update the credentials with the new settings$ Config = JFactory: getConfig ();$ Config-> setValue ('config. custom_var ', 'XXX ');// Get the config
How do I obtain the parameters in joomla ??? The data in the images field is: {"image_intro": "images \/image1.jpg", "float_intro": "", "image_intro_alt": "", "image_intro_caption ":"", "image _ How do I obtain the parameters in the joomla document ???
The data in the images field is:
{"Image_intro": "images \/image1.jpg", "float_intro": "", "image_intro_alt": "", "image_intro_caption": "," image_fulltext "
Please recommend a good joomla mass mailing PHP module to help your friends make a marketing website. you need to send mails in mass mailing mode. I used joomla1.6 for my website. I don't know what modules are better? I have tried cb_mailing and hecmailing. their versions are relatively low and direct installation fails. Which modules are relatively mature? Including the above two ., Com_aiContactS please recommend a good
Joomla has its own form verification function, which can be easily used for verification. If the verification fails, the input box is marked with a red border when an error is reported. It is clear that the missing items are missing.
Joomla has its own form verification function, which can be easily used for verification. If the verification fails, the input box is marked with a red border when an error is
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
JFactory: getDBO usage of Joomla database operations, joomlagetdbo
This example describes how to operate a Joomla database using JFactory: getDBO. We will share this with you for your reference. The details are as follows:
JFactory is a static class used to obtain references of various system objects.
GetDBO is the method for obtaining database objects and obtains the database connection object code:
$
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
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.