Resources
Joomla
Joomla is a free and open source content management system (CMS), Joomla is written in PHP uses object-oriented programming (OOP), stores data in a MySQL database, and includes features such as RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for International languages.
Edit registration form :
components/com_user/views/register/tmpl/default.php
open your joomla database in your db manager. I generally do this in "PHPMYADMIN".
From there open the table and then add your additional fields that you require.
<?php echo JText::_( 'Address' ); ?>
value="<?php echo $this->escape($this->user->get( 'address' ));?>"
open your joomla database in your db manager. I generally do this in "PHPMYADMIN".
From there open the table and then add your additional fields that you require.
<?php echo JText::_( 'Address' ); ?>
value="<?php echo $this->escape($this->user->get( 'address' ));?>"
Creating variable : libraries/joomla/database/table/user.php
var $Country = null;
Admin user editing :
administrator/components/com_users/views/user/tmpl/form.php
For flash file working joomla
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0
height="200" width="100%">
<param name="wmode" value="transparent" />
<param name="movie" value="<?php echo $this->baseurl ?>/
templates/wm_gred/images/header.swf" />
<param name="quality" value="best" />
<param name="play" value="true" />
<embed height="200" pluginspage=http://www.macromedia.com/go/getflashplayer
src="<?php echo $this->baseurl ?>/
templates/wm_gred/images/header.swf"" type="application/x-shockwave-flash" width="100%"
quality="best" play="true" wmode="transparent"></embed>
</object>
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0
height="200" width="100%">
<param name="wmode" value="transparent" />
<param name="movie" value="<?php echo $this->baseurl ?>/
templates/wm_gred/images/header.swf" />
<param name="quality" value="best" />
<param name="play" value="true" />
<embed height="200" pluginspage=http://www.macromedia.com/go/getflashplayer
src="<?php echo $this->baseurl ?>/
templates/wm_gred/images/header.swf"" type="application/x-shockwave-flash" width="100%"
quality="best" play="true" wmode="transparent"></embed>
</object>
For text change in admin: joomla
Open administrator/language/en-GB/en-GB.ini
Change the line number 314 using Dreamweaver from
JOOMLA! ADMINISTRATION LOGIN=Joomla! Administration Login
to
JOOMLA! ADMINISTRATION LOGIN=Your Administration Login
Image path
<?php echo $this->baseurl ?> templates/templatename/images/filename OR <img src="templates/<?php echo $this->template; ?>/images/flashimage.jpg" width="1000" height="216" />
Admin to change Footer text copyright
GNU/GPL License editing Open
administrator/language/en-GB/en-GB.ini Change the line number 309 .
Phoca download remove footer
components/com_phocadownload/views/sections/tmpl/default.php
//echo $this->tmpl['pem'];
Jevents blue info remove
Go to components > com_jevents > views > default > helpers > defaultviewhelperheader.php
line 110 //$view->information();
Mail to Friend :
components\com_mailto\views\mailto\tmpl\default.php
Speed test joomla site
http://www.joomlaspan.com/webtools/website-speed-test-tool.php
Exporting Excel Values to MYSQL
1. File (mergedatabase.xls) set the value in this excel sheet.
2. Convert file .xls to .csv format by using File> Save As> Save as type: CSV (Comma Delimited).CSV
3. Open CSV file in Notepad edit top header and save it.
4. Import into MYSQL select CSV using LOAD DATA , Fields terminated by : change ; to ,
5. Table jos_users id will be the jos_core_acl_aro value ( value and id are Colum name of table )
6. Table jos_core_acl_groups_aro_map , aro_id will be jos_core_acl_aro id
2. Convert file .xls to .csv format by using File> Save As> Save as type: CSV (Comma Delimited).CSV
3. Open CSV file in Notepad edit top header and save it.
4. Import into MYSQL select CSV using LOAD DATA , Fields terminated by : change ; to ,
5. Table jos_users id will be the jos_core_acl_aro value ( value and id are Colum name of table )
6. Table jos_core_acl_groups_aro_map , aro_id will be jos_core_acl_aro id
Group_id :
18=Registered
25=Super Administrator
File (mergedatabase.xls) for setting values from Chronicle
File (jos_core_acl_aro.xls) for setting values from jos_users id and username
File (jos_core_acl_group_aro_map.xls) for setting values from jos_core_acl_aro id
Joomla module positioning
<?php if($this->countModules('modulename')) : ?>
<jdoc:include type="modules" name="modulename" style="" />
<?php endif; ?>
Search result editing pages
components\com_search\views\search\tmpl\ default_form.php
Login page editing pages
components\com_user\views\login\tmpl\ default_login.php
For getting better speed delete trash article in trash menu
Author permission stop to edit their own content
components\com_content\ controller.php line 72 comment
Seo setting to change apache mode rewrite
Apache httpd.conf file set AllowOverride All, change joomla htaccess.txt change to .htaccess through dreamweaver or open dos command promt type ren htacces.txt .htacces
######### Begin - Rewrite rules to block out some common exploits # # Block out any script trying to set a mosConfig value through the URL RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR] # Block out any script trying to base64_encode crap to send via URL RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR] # Block out any script that includes a < script> tag in URL RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR] # Block out any script trying to set a PHP GLOBALS variable via URL RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR] # Block out any script trying to modify a _REQUEST variable via URL RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2}) [OR] # Block out any script that tries to set CONFIG_EXT (com_extcal2 issue) RewriteCond %{QUERY_STRING} CONFIG_EXT([|%20|%5B).*= [NC,OR] # Block out any script that tries to set sbp or sb_authorname via URL (simpleboard) RewriteCond %{QUERY_STRING} sbp(=|%20|%3D) [OR] RewriteCond %{QUERY_STRING} sb_authorname(=|%20|%3D) # Send all blocked request to homepage with 403 Forbidden error! RewriteRule ^(.*)$ index.php [F,L] # ########## End - Rewrite rules to block out some common exploits
######### Begin - Rewrite rules to block out some common exploits # # Block out any script trying to set a mosConfig value through the URL RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR] # Block out any script trying to base64_encode crap to send via URL RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR] # Block out any script that includes a < script> tag in URL RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR] # Block out any script trying to set a PHP GLOBALS variable via URL RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR] # Block out any script trying to modify a _REQUEST variable via URL RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2}) [OR] # Block out any script that tries to set CONFIG_EXT (com_extcal2 issue) RewriteCond %{QUERY_STRING} CONFIG_EXT([|%20|%5B).*= [NC,OR] # Block out any script that tries to set sbp or sb_authorname via URL (simpleboard) RewriteCond %{QUERY_STRING} sbp(=|%20|%3D) [OR] RewriteCond %{QUERY_STRING} sb_authorname(=|%20|%3D) # Send all blocked request to homepage with 403 Forbidden error! RewriteRule ^(.*)$ index.php [F,L] # ########## End - Rewrite rules to block out some common exploits
Joomla theme assigning for links
* Go to Extensions>>Template Manager
* Select the Template and click the edit icon (or click the template name)
* In the left column, change "None" to "Select from List."
* Select the links you want to apply the template to.
* Save
* Select the Template and click the edit icon (or click the template name)
* In the left column, change "None" to "Select from List."
* Select the links you want to apply the template to.
* Save
Before going to install Virtuemart change the php.ini, inside the file change 2m file size to 4m
For logo image change
administrator\templates\khepri\images\h_green
Speed test joomla site
http://www.joomlaspan.com/webtools/website-speed-test-tool.php