Announcement

#1 2019-02-25 21:26:06

Jonic
Member
2012-11-10
9

Add <head> element and Google fonts

Hi All,

I like to use Google fonts. So I have to add a link in the <head> of the index page sorce. To do this I added the "Add <head> element" and enabled it.

After adding:
 
  <link href='https://fonts.googleapis.com/css?family=Oswald' rel='stylesheet'>

I press submit, but nothing happens. (no green confirmation bar on top like normal)

I've no clue whats going wring.

Any idea?

Piwigo version: 2.9.4
PHP version: 7.2.1
MySQL version: 5.5.5-10.1.37-MariaDB

Offline

 

#2 2019-02-25 22:45:02

executive
Member
2017-08-16
1214

Re: Add <head> element and Google fonts

Jonic wrote:

I added the "Add <head> element" and enabled it.

What does this mean? You added it where?

Offline

 

#3 2019-02-26 09:32:45

Jonic
Member
2012-11-10
9

Re: Add <head> element and Google fonts

(I hope this message is better than the initial...)

In the plugin menu I added the extension  "Add <head> Element". (without qwuotes)
See image 1.

From https://piwigo.org/ext/extension_view.php?eid=582

Everything installs fine.

After installing I pasted my link, which is meant foor int the head secton, in the form and pressed submit.
See mage 2

And normally, when you perform an action, you get an green message on top of the screen, but not now.

After opening my gallery and check the souce, there is the default head section with several <link...> rules, but not the one I submitted :(

I've no idea what goes wrong.

Someone?

Offline

 

#4 2019-02-26 20:31:50

executive
Member
2017-08-16
1214

Re: Add <head> element and Google fonts

I just tried it. There was no green message. But the html was added to <head>.

Offline

 

#5 2019-02-26 22:53:25

Jonic
Member
2012-11-10
9

Re: Add <head> element and Google fonts

Indeed at my Administrator site itoo. But only in the Administrator site, not in the Gallery site.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact