Microformat on Villa Bellucci Template, doesn't works!

Support desk for Villa Belluci Joomla Hotel Template
GK User
Fri Oct 16, 2015 11:42 am
Please help me: I'm desperate.
The microformat plugin does not work in this template.
The assistance of plgun fails to fix.

Watch the stars under the title H1, in this page:
http://www.terapiamusicale.eu/seminario

There is a problem on Java; someone can help me? :(
User avatar
Junior Boarder

GK User
Fri Oct 16, 2015 10:41 pm
The problem is that mootools should go in the head, before all the scripts!
How can I move from code?
User avatar
Junior Boarder

teitbite
Mon Oct 19, 2015 2:17 pm
Hi

I would try use Easy jQuery plugin. There You can select how to deal with mootools, but joomla is moving permanently to jQuery, so You ma ask this plugin developer if there is a jQuery based engine for it.
User avatar
Moderator

GK User
Mon Oct 19, 2015 7:52 pm
I tried to install Easy Jquery but it does not work anyway.
The problem is that Mootools is loaded after the plugin!
I can move the loading mootolls ???
I can anticipate it?
User avatar
Junior Boarder

teitbite
Thu Oct 22, 2015 2:42 pm
Hi

Try add a lines loading mootools manually at the very top of /layout/blocks/head.php file. This way mootools will be loaded as first. You may also need to block the mootools which is loading right now so there will be no duplication.
User avatar
Moderator

GK User
Thu Oct 22, 2015 8:03 pm
I tried to put as first line:

// include JavaScript
$this->API->addJSFragment("\n".' $GKMenu = { height:'.($this->API->get('menu_height','0') == 1 ? 'true' : 'false') .', width:'.($this->API->get('menu_width','0') == 1 ? 'true' : 'false') .', duration: '.($this->API->get('menu_duration', '500')).' };');
$this->API->addJS($this->API->URLtemplate() . '/js/modernizr.js');
$this->API->addJS($this->API->URLtemplate() . '/js/gk.scripts.js');
$this->API->addJS($this->API->URLtemplate() . '/js/gk.menu.js');


...but the plugin is loaded always first.

What is the line Mootools?
User avatar
Junior Boarder

teitbite
Sun Oct 25, 2015 4:39 pm
Hi

Mootools is loaded by joomla, not template, so please try add it directly with a code like:

Code: Select all
<script src="https://ajax.googleapis.com/ajax/libs/mootools/1.2.4/mootools-yui-compressed.js" type="text/javascript" />
User avatar
Moderator

GK User
Sun Oct 25, 2015 7:08 pm
Courteously, can you tell me in which file I must put the string?
I tried in
/templates/gk_hotel/layouts/default.php
but Joomla crashes
User avatar
Junior Boarder

teitbite
Tue Oct 27, 2015 6:11 pm
Hi

This is a HTML code, so You cannot put it between php tags or it will crash. File /templates/gk_hotel/layouts/default.php is correct.

Can You make a screen of how it's placed so I tell You what is wrong exactly ?
User avatar
Moderator

GK User
Tue Oct 27, 2015 7:24 pm
Forgive me. I was wrong.
The script is loaded but the idea not worked.
I give up.
hahahahahaha .. !!
User avatar
Junior Boarder

teitbite
Fri Oct 30, 2015 1:10 pm
Hi

Unfortunately there is too many different extensions available and it's simply not possible to make it work with every one of them. Try maybe looking for a similar extension but based on jQuery library.
User avatar
Moderator

GK User
Tue Nov 17, 2015 11:51 am
Solved!!!
comment the line 7526:
.list-3 > li {
list-style: none;
overflow: inherit;
padding: 10px 0 10px 42px;
/* position: relative; */
}

And line:

.item-body ul > li,
.list-1 > li,
.list-2 > li,
.list-3 > li {
list-style: none;
overflow: inherit;
padding: 10px 0 10px 42px;
/*position: relative;*/
}
And remove 7540::
/* content: "\f111"; */

Now, works!
User avatar
Junior Boarder

teitbite
Thu Nov 19, 2015 11:56 am
Hi

Ok. Great to hear it. Thank You for sharing it with us. Closing this thread now.
User avatar
Moderator


cron