joomla3.1

Manually control <head> markup in Joomla

瘦欲@ 提交于 2020-01-02 08:12:47
问题 Is there a way to manually configure the contents of the <head> section of the site in Joomla 3.1? I want to use the templating system for the entire markup of the page, including everything between <html></html> . I just read this: http://forum.joomla.org/viewtopic.php?f=466&t=230787 and I am astonished at the response. Surely this is template/data separation 101. Has this been fixed in the latest Joomla release? 回答1: If you are planning for a template development and you need all your

JFolder::create: Could not create directory - Joomla

北战南征 提交于 2019-12-30 08:32:18
问题 I end up with below error when I try to install a component,module or plugin. JFolder::create: Could not create directory What could be the issue? 回答1: Change the below variable to in your configuration file( configuration.php ) as shown. public $log_path = '/logs'; public $tmp_path = '/tmp'; Also make sure that these folder has the folder permission 755. Read more 回答2: Now I found two solutions for resolving this issue,and both of them has been worked very well: Solution One: First find the

Migrating from Joomla 2.5 to 3x Generating Errors

只愿长相守 提交于 2019-12-25 11:14:27
问题 Trying to migrate some of the custom components which works well in Joomla 2.5.14 to Joomla 3.1.5, however getting some errors like - 404 component not found in Joomla Backend & other errors in frontend Is there any migration guide from Jooma 2.5 to 3x series, of what changes need to be done in custom components Front End Section of Site 1st error Notice: Use of undefined constant DS - assumed 'DS' in forms.php 2nd error Warning: require_once(com_formsDScontroller.php) [<a href='function

Add a quick icon in Joomla 3

落爺英雄遲暮 提交于 2019-12-23 20:12:40
问题 Anyone know how to add a quick icon or maybe even edit the current list of quick icons in Joomla 3.1? To be more specific, that would be the series of links that appear on the right side of the screen immediately after logging in to Joomla admin. I searched and couldn't find this question on stackoverflow. 回答1: If you go to the following file: administrator/modules/mod_quickicon/helper.php You will see on the start of line 51 , arrays such as the following: array( 'link' => JRoute::_('index

What is difference between conservative caching and progressive caching in joomla 2.5?

老子叫甜甜 提交于 2019-12-18 12:47:33
问题 In Global Config in joomla have 2 caching is conservative and progressive, what is difference both ? 回答1: Conservative caching is the standard type of caching. Here’s how it works: A visitor visits a page on your website. Joomla checks if there is a non-expired version of that page in its cache directory. If the cached page exists (and it’s not expired), then Joomla will serve it to the visitor – otherwise, a cached version of the page is created, and that cached version will be served to the

How can you fix server error 500, received when upgrading from Joomla 3.1.5?

自古美人都是妖i 提交于 2019-12-14 03:31:10
问题 While attempting to upgrade joomla using the button, I receive the server error 500. I have read this joomla forum post which related to my problem, but the update_site table in my server doesn't have any blank entries. 回答1: probably your hosting server is weak. So it can not handle this kind of process. I suggest: 1) Make a full back-up and restore on localhost, then upgrade to 3.3.4. Make a full back-up and override your old joomla also database. 2) Change hosting company. By the way, after

Joomla 3.1 Category list date format

不羁的心 提交于 2019-12-12 02:58:04
问题 currently the date displayed in the page that uses category list is like this 31/05/13 .. how do i change it into Friday, 22 March 2013.. ive already tried changing the en-GB.ini file but to no avail.. btw..i use the blog layout 回答1: Copy layouts/joomla/content/info_block/publish_date.php to templates/<your_template>/html/layouts/joomla/content/info_block/publish_date.php and edit as you like (you can copy modify_date.php and create_date.php as well). In your case it's sufficient to replace

Joomla 3.1 intro image as read more link

蓝咒 提交于 2019-12-12 02:52:14
问题 In joomla 3.1 I edited in this file \components\com_content\views\featured\tmpl\default_item.php <?php if (isset($images->image_intro) && !empty($images->image_intro)) : ?> <?php $imgfloat = (empty($images->float_intro)) ? $params->get('float_intro') : $images->float_intro; ?> <div class="pull-<?php echo htmlspecialchars($imgfloat); ?> item-image"> <img <?php if ($images->image_intro_caption): echo 'class="caption"'.' title="' .htmlspecialchars($images->image_intro_caption) .'"'; endif; ?>

add code in joomla contact form

一世执手 提交于 2019-12-11 18:05:32
问题 Please Help me I am trying to setup attached file in send mail Joomla v3.1.5 I have set all but attached file not receiving in mail. $strSid = md5(uniqid(time())); $strHeader = ""; //$strHeader .= "From: ".$_POST["contact_name"]." <".$_POST["contact_email"].">\nReply-To: ".$_POST["contact_email"].""; $strHeader .= "MIME-Version: 1.0\n"; $strHeader .= "Content-Type: multipart/mixed; boundary=\"".$strSid."\"\n\n"; $strHeader .= "This is a multi-part message in MIME format.\n"; $strHeader .= "--

Basic php to set column width in Joomla

自古美人都是妖i 提交于 2019-12-11 05:48:26
问题 I am using Joomla with bootstrap to create a Joomla template. I have a 3 column layout (container totalling 12 so Bootstrap: span12). I am setting parameters in the Joomla backend to set the $left and $right column widths and then echoing those variables in my template to set the left and right div column widths (in index.php) However, I want to use a simple bit of logic in my template to automatically calculate and set the span value of the middle column based on the $left and $right values