Announcement

#1 2017-02-23 15:40:05

PEU
Member
Buenos Aires, Argentina
2017-02-12
100

[bug] PWG Stuffs Plugin

Hello

For my gallery I used PWG stuffs plugin for the footers, there is a validation bug in it, if I enter some html pages with header/body sections there are no problems, but if I enter, for example this header, along its body I get a permissions error

Code:

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="themes/footerpeu/assets/css/Footer.css">

</head>

I solved it by creating two blocks, one for the header and one for the footer, it works as expected.


Piwigo version: 2.86
Piwigo URL: http://www.peu.net

Offline

 

#2 2017-02-23 22:19:02

teekay
Member
2013-06-12
427

Re: [bug] PWG Stuffs Plugin

Now you have two <head>..</head> sections in your document. Use the "add <head> element" plugin instead.

BTW Font awesome is loaded by bootstrap darkroom, no need to load it again. And the meta charset and viewport tags are duplicates, too.

Offline

 

#3 2017-02-23 23:01:18

PEU
Member
Buenos Aires, Argentina
2017-02-12
100

Re: [bug] PWG Stuffs Plugin

Great to know, tried removing the fontawesome but I miss the telegram icon included in 4.7.0, can you update to load the latest fontawesome iconset?

In the meantime I did what you suggested and added the head definitions to the add head plugin and left only the footer for PWG stuffs.

Do you have an ETA for the new darkroom version?

Thanks again!!

Offline

 

#4 2017-02-24 21:35:26

teekay
Member
2013-06-12
427

Re: [bug] PWG Stuffs Plugin

New version is out with font-awesome 4.7.0 included.

Offline

 

#5 2017-02-25 16:20:22

PEU
Member
Buenos Aires, Argentina
2017-02-12
100

Re: [bug] PWG Stuffs Plugin

awesome! already installed it!!

Offline

 

Board footer

Powered by FluxBB

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