- Posts: 32
- Thank you received: 0
Template problem 2
-
hzarrabi
Inactive member - Topic Author
- Member
Less
More
11 years 1 month ago - 11 years 1 month ago #34132
by hzarrabi
Template problem 2 was created by hzarrabi
Hi,
lalitote.ca/Melodie
admin/admin
1- When you are in CONTACT page in both languages (FR, EN) and when you hover on menu title, child don't developed.
2 - There is a dirty code (bellow) in the bottom of both Home pages (FR & EN) between footer and bottom position which separate strongly this two positions which I can't eliminate.
<div class="sparky_full">
<div class="container">
<div class="row">
<div class="content_sparky span12">
<div class="cell_pad">
<div id="system-message-container"> … </div>
<div class="item-page">
<p> … </p>
<!--
this is an empty page
-->
</div>
</div>
</div>
</div>
<div class="clr"></div>
</div>
<div class="clr"></div>
</div>
Thanks for your support.
lalitote.ca/Melodie
admin/admin
1- When you are in CONTACT page in both languages (FR, EN) and when you hover on menu title, child don't developed.
2 - There is a dirty code (bellow) in the bottom of both Home pages (FR & EN) between footer and bottom position which separate strongly this two positions which I can't eliminate.
<div class="sparky_full">
<div class="container">
<div class="row">
<div class="content_sparky span12">
<div class="cell_pad">
<div id="system-message-container"> … </div>
<div class="item-page">
<p> … </p>
<!--
this is an empty page
-->
</div>
</div>
</div>
</div>
<div class="clr"></div>
</div>
<div class="clr"></div>
</div>
Thanks for your support.
Last edit: 11 years 1 month ago by hzarrabi.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 1 month ago #34142
by ivan.milic
Replied by ivan.milic on topic Template problem 2
What do you refer as dirty code?
Please Log in to join the conversation.
-
hzarrabi
Inactive member - Topic Author
- Member
Less
More
- Posts: 32
- Thank you received: 0
11 years 1 month ago #34146
by hzarrabi
Replied by hzarrabi on topic Template problem 2
Hi Ivan,
Please don't be upset. As you know in Computer Jargon, Dirty Code means also some part of code which is useless.
I explained in my last post its exact position in the home pages (FR, EN) and how it is represented in the source of the page showed by browsers.
By the way could you please resolve as well the point one in my last support request because it's more urgent.
Best Regards
Please don't be upset. As you know in Computer Jargon, Dirty Code means also some part of code which is useless.
I explained in my last post its exact position in the home pages (FR, EN) and how it is represented in the source of the page showed by browsers.
By the way could you please resolve as well the point one in my last support request because it's more urgent.
Best Regards
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 1 month ago #34154
by ivan.milic
Replied by ivan.milic on topic Template problem 2
If you think of <!-- this is an empty page --> that is content form home page article. You can not save article unless there is come content so that is from there.
For contact page, copy php files from:
components\com_contact\views\contact\tmpl\
to (create folders)
templates\hot_kindergarten\html\com_contact\contact\
then edit templates\hot_kindergarten\html\com_contact\contact\default.php
after
jimport('joomla.html.html.bootstrap');
place this code:
unset($doc->_scripts[JURI::root(true) . '/media/jui/js/jquery.min.js']);
unset($doc->_scripts[JURI::root(true) . '/media/jui/js/jquery-noconflict.js']);
For contact page, copy php files from:
components\com_contact\views\contact\tmpl\
to (create folders)
templates\hot_kindergarten\html\com_contact\contact\
then edit templates\hot_kindergarten\html\com_contact\contact\default.php
after
jimport('joomla.html.html.bootstrap');
place this code:
unset($doc->_scripts[JURI::root(true) . '/media/jui/js/jquery.min.js']);
unset($doc->_scripts[JURI::root(true) . '/media/jui/js/jquery-noconflict.js']);
Please Log in to join the conversation.
-
hzarrabi
Inactive member - Topic Author
- Member
Less
More
- Posts: 32
- Thank you received: 0
11 years 1 month ago - 11 years 1 month ago #34160
by hzarrabi
Replied by hzarrabi on topic Template problem 2
It is not yet working with your instruction. Could you please check on my demo site.
www.lalitote/Melodie
admin/admin
Could you trait it urgently. I'm behind scheduled.
Regards
-bash-3.2$ ls -la components/com_contact/views/contact/tmpl/default.php
-rw-r--r-- 1 inetuser 8968 Nov 5 11:36 default.php
COPY
-bash-3.2$ ls -la templates/hot_kindergarten/html/com_content/contact/default.php
-rw-r--r-- 1 inetuser 9178 Nov 8 06:05 default.php
EDIT new default.php
<?php
/**
* @package Joomla.Site
* @subpackage com_contact
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$cparams = JComponentHelper::getParams('com_media');
jimport('joomla.html.html.bootstrap');
unset($doc->_scripts[JURI::root(true) . '/media/jui/js/jquery.min.js']);
unset($doc->_scripts[JURI::root(true) . '/media/jui/js/jquery-noconflict.js']);
?>
www.lalitote/Melodie
admin/admin
Could you trait it urgently. I'm behind scheduled.
Regards
-bash-3.2$ ls -la components/com_contact/views/contact/tmpl/default.php
-rw-r--r-- 1 inetuser 8968 Nov 5 11:36 default.php
COPY
-bash-3.2$ ls -la templates/hot_kindergarten/html/com_content/contact/default.php
-rw-r--r-- 1 inetuser 9178 Nov 8 06:05 default.php
EDIT new default.php
<?php
/**
* @package Joomla.Site
* @subpackage com_contact
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$cparams = JComponentHelper::getParams('com_media');
jimport('joomla.html.html.bootstrap');
unset($doc->_scripts[JURI::root(true) . '/media/jui/js/jquery.min.js']);
unset($doc->_scripts[JURI::root(true) . '/media/jui/js/jquery-noconflict.js']);
?>
Last edit: 11 years 1 month ago by hzarrabi.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 1 month ago #34168
by ivan.milic
Replied by ivan.milic on topic Template problem 2
backup:
/media/jui/js/jquery.min.js
/media/jui/js/jquery-noconflict.js
and delete all content from those files
/media/jui/js/jquery.min.js
/media/jui/js/jquery-noconflict.js
and delete all content from those files
Please Log in to join the conversation.
Time to create page: 0.105 seconds