-
Posts
6,808 -
Joined
-
Last visited
-
Days Won
159
Everything posted by Soma
-
First off I would have never guessed that there's a gallery link hidden in that picture frame icon. I clicked the images to no success (hm what's supposed to be here?) Ok just a glance at html <!DOCTYPE HTML> <!-- copyright 2014 OwlTree Web Solutions Ltd --> <html lang="en"> Not sure but some long year experience says this comment could cause issues. Definately if it would be at top (for IE) Aand we have a js error $ undefined., which 99.999% is jquery not included/loaded before a jquery script using $. <script type="text/javascript" src="/carman/site/templates/scripts/main.js"></script> <!-- Pretty Photo CSS and scripts --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script type="text/javascript" src="/carman/site/templates/scripts/jquery.easing.js"></script> <script src="/carman/site/templates/scripts/jquery.prettyPhoto.js" type="text/javascript"></script> <link rel="stylesheet" href="/carman/site/templates/styles/prettyPhoto.css" type="text/css" media="screen" /> Even if main.js seems empty to you there's a $(document) and it's included before jquery core. Loading jquery core like this <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> What do you do if server google isn't available. There should be a fallback like https://github.com/h5bp/html5-boilerplate/blob/master/dist/index.html#L25 Finally this is the gallery markup <a href='/carman/site/assets/files/1036/con11.jpg' class='gallery' data-rel='prettyPhoto[pp_gal]'><img src='/carman/site/templates/images/gallery.png' alt='Conservatories Gallery' /></a> <a href='/carman/site/assets/files/1036/con12.jpg' class='gallery' data-rel='prettyPhoto[pp_gal]'> </a> <a href='/carman/site/assets/files/1036/con3.jpg' class='gallery' data-rel='prettyPhoto[pp_gal]'> </a> <a href='/carman/site/assets/files/1036/con4.jpg' class='gallery' data-rel='prettyPhoto[pp_gal]'> </a> <a href='/carman/site/assets/files/1036/con5.jpg' class='gallery' data-rel='prettyPhoto[pp_gal]'> </a> <a href='/carman/site/assets/files/1036/con6.jpg' class='gallery' data-rel='prettyPhoto[pp_gal]'> </a> <a href='/carman/site/assets/files/1036/con7.jpg' class='gallery' data-rel='prettyPhoto[pp_gal]'> </a> <a href='/carman/site/assets/files/1036/con8.jpg' class='gallery' data-rel='prettyPhoto[pp_gal]'> </a> <a href='/carman/site/assets/files/1036/con9.jpg' class='gallery' data-rel='prettyPhoto[pp_gal]'> </a> <a href='/carman/site/assets/files/1036/con10.jpg' class='gallery' data-rel='prettyPhoto[pp_gal]'> </a> Possibly the use of 'attr' instead of "attr", you'll laugh but I got caught by it once, but don't remember what case it was. I don't think so here is the case. In my Firefox it loads the gallery but the container is positioned far far down. Only after scrolling some it shows up. Offset is inline calculated from top and seems wrong. I removed you CSS "height: 100%" from <body> and <html> and it works fine.
- 17 replies
-
- 4
-
-
- PrettPhoto
- Lightbox
-
(and 1 more)
Tagged with:
-
Repeaters are stored in admin with own template not "admin" template, so a logged in superuser see's them but others not. it's not a bug. You could exclude admin or by template if you want superuser not see them. has_parent!=2
-
Birthday bottle ahoy! Felizidads Mr pirate! Have a great one or two.
-
Did you manage to install joss? That was quiet confusing.
-
Yeah super cool something like this should be in core just more complete and with fields too. Monster
-
Too bare to be that useful for a official module. IF I had time Id do a full featured template batch editing. Access is only minorit. .. but other settings are often more needed.
-
This is the json http://modules.processwire.com/export-json/?apikey=pw223&debug=1&class_name=HannaCodeHelper There's wrong infos in there... not good. I'd guess Teppo just needs to save the module repository to get module repo updated, but can't tell for sure.
-
The 0.0.0 >= 0 is strange, but netherless it's not the 2.3,2.4 but something else, but it works fine and you can install it.
-
Exactly, cause the module has still PW compatible 2.3, 2.4 but you can install it manually or via zip link.
-
Hanna 1.9 Hann Helper 0.5.0 Where you'r seeing this and how do you download install it? I used built in module download via link Requirements are here and are fullfilled if you have Hanna Code installed. https://github.com/teppokoivula/HannaCodeHelper/blob/master/HannaCodeHelper.module#L35 Does it say what requirements aren't meat? I'd guess you try to intall through ClassName and PW checks to see the PW version which it doesn't meet, although the module doesn't have this requirement. http://modules.processwire.com/modules/hanna-code-helper/ 2.3 2.4
-
I also have Hanna code installed and is working fine - this is an existing project.
-
I update to 2.5.9 and still can install it. You need to have those installed before: ProcessHannaCode, TextformatterHannaCode
-
I can install it just fine in 2.5.6.
-
Make setting field settings in context of templates less verbose via API
Soma replied to owzim's topic in Wishlist & Roadmap
I use this: $fg = $fieldgroups->get("basic-page"); $fields->saveFieldgroupContext($fg->getFieldContext("sidebar")->set("label", "aside"), $fg); -
Maybe set maximum width and height to 0?
-
ROFL. (some text to get around posting guidance legals and says something meaningful)
-
How can I show the title of a Page Field in admin Page List?
Soma replied to doolak's topic in General Support
Some enlightenment (damn difficult word) tea from Soma would also help! -
Pffffff ah, yes correct, wasn't this ever different? Hm guess not lol. I must have been dreaming or experienced something else way back in the early days. Maybe it's just not reading the f***** description as the label doesn't suggest so: "Vorschaubilder im Seiten-Editor anzeigen?"
-
@Horst like what? Turn off thumbnails? Martin how about lazy load? @horst actually you have to turn them on in the first place.
-
Or turn off thumbnails on the image field.
-
How can I show the title of a Page Field in admin Page List?
Soma replied to doolak's topic in General Support
Like pagefield.title ? -
"Unfortunately" cause you and I've spend hours to think, link and respond
-
There's a option to set a PageArray as the root page https://github.com/somatonic/MarkupSimpleNavigation#build-a-menu-using-a-pagearray-instead-of-a-single-root-page So you could very well create a top level menu with a multiple page select using asm select for input so you could sort them. Or get the top level pages and then append or insert a page $items = $pages->get("/")->children(); $other_item = $pages->get(1234); if($other_item->id) $items->append(); echo $treeMenu->render(null, null, $items);