-
Posts
6,808 -
Joined
-
Last visited
-
Days Won
159
Everything posted by Soma
-
I use fontello too, you can also easily create your own using SVG. I don't think it's a good idea for a non designer to make icons There's some lack of consistency and size/detail problems with your icons, they won't work small size etc.
-
Just committed little update - added support for adding custom services via site config - some minor fixes and improvements - added config for what fields module searched on {title} and {text} placeholder fields - added placeholder field „media“ => pinterest - added services tumblr, reddit (off by default) and pinterest (off by default) - updated themes with {themeUrl} - updated readme
-
Did you read somewhere that it's possible? No it's not, but feel free to make suggestions what to add. There's already all available social media icons included so only a matter of adding them. https://github.com/somatonic/MarkupSocialShareButtons/tree/master/themes/black/png
-
Just when you think you got it you see something you forgot. I just commited a few corrections to descriptions and fixes and missing stuff, minor. If you already got it the moment before you may update.
-
I completely rewrote the module kinda. New version just committed earlier: See readme here for more infos: https://github.com/somatonic/MarkupSocialShareButtons There comes now a GUI in the module config screen to select themes (with live preview), and configure all options like links and url params. Theming has changed a little to make things easier, and the bundled themes use PNG icons instead of SVG. Edit: updated first post too.
-
https://processwire.com/talk/topic/1732-shop-for-processwire-apeisa/?p=77642
- 69 replies
-
- e-commerce
- digital downloads
-
(and 2 more)
Tagged with:
-
https://processwire.com/blog/posts/processwire-core-updates-2.5.9/
-
RT @processwire: New blog post: ProcessWire 2.5.9 core updates–New admin thumb settings, new ProcessHello, System Notifications… https://t.…
-
The path is the same inside as outside of PHP. Fun time. Good suggestions by the young entrepreneurs. You can also use echo "{$config->urls->assets}/images/IcoMoon/Icons/SVG/globe.svg"; I thought more it was about loading a file within PHP on server using path $file = $config->paths->assets . "/images/..";
-
Is that a question??? You don't know what Ryan has under his sleeves. Fun times ahead.
-
How to figure Multilanguage Images with one image var ?
Soma replied to iNoize's topic in General Support
No no function "And it will choose the right one depending on language." Readup http://processwire.com/api/multi-language-support/multi-language-fields/#language-alternate-fields somefield //default somefield_fr / must match a language name "fr" And PW will look for them and take care of which field is used according user language of course. 1. I think for carousel I would create a image per page and add language alternate fields for each language. Then create the slider from the those pages. 2. Or use the new core PageTable field to handle the slider. in the end it's the same as 1 as it creates a page for each PageTable entry, but nicer editing features. 3. Repeaters are still nice to also handle sliders, again each item is a page at the end anyway. ... not sure, it's what you have and it works fine. This is also one of those cases you wish there were no languages I had to always deal with these sort of things and while it can't be simple it has to be complicated. An image has language descriptions that's enough most of the time, but there's cases where the image also has to be translated. PW doesn't have an image field that could stores an image per language (yet), which is a shame kinda If you'd ask Ryan, he would response with my first post, that you can use language alternate fields for that. But it's not always the optimal and most practical solution. And it's really a edge case. In projects I work they're most likely often "Institutions etc" they like to have images of graphs and Political images that exist in various languages, flyers etc etc. After all it would be nice to have, and if PW could in some way support that, it would be really cool. -
Actually I have no AB anymore since 1-2 years. What framework? Yeah it's only half namespaced, I was about to add it but thought hmm it's so nice and short! The UL has the module class name, i'll add them to all classes or make it a var so it could be configured in case.
-
No problem. I was waiting for your facepalm post Looks nice!
-
I'm not seeing anything here. Well I'm innocent and it doesn't make sense as there is nothing. Have you installed ad blocker or any plugins ? What browser?
-
There's nothing in my module that makes them hidden, so it must be your CSS? E-mail has no "popup" class for example. Can you verify?
-
Adding image or file field to a module configuration
Soma replied to Hari KT's topic in General Support
There was many changes to file or images and overall, I had once in ImageManager used a InputfieldFile on a process admin module, set the upload dir etc, and then loaded the file from there to create image pages. But then since 2.5 I think it didn't work suddenly, and I couldn't get Ryan to explain what happens (as so many times) So I'm not sure what's working and what not anymore. Well after hours of trying and thinking I got it working, just something I can't make sense of it. All I remember was that the admin page is used to upload the image from a InputfieldImage, where before it wasn't. This code is interesting, but as said I have no idea what worked and why. https://github.com/somatonic/ImagesManager/blob/master/ImagesManager.module#L173 Ohhh, and you might be on a module settings config screen you are having this? There it won't work anyway as there's no page! -
@sinnut, yeah that's the purpose of why I made the module public. Donations welcome
-
Adding image or file field to a module configuration
Soma replied to Hari KT's topic in General Support
$field = wire('modules')->get('InputfieldFile'); That's a Inputfield not a Field! A field is something you add to a template/page and an Inputfield is only the input, so no storage for the image. -
How to figure Multilanguage Images with one image var ?
Soma replied to iNoize's topic in General Support
Alternative language fields maybe? image // default image_fr // alternative for "fr" lang image_en // alternative for "en" lang In template use echo $page->image->url; And it will choose the right one depending on language. -
There's no Page::localUrl on a 404 page in case you have a language switch using localUrl. Edited title... Can you let us know the PW version please uh?
-
Erm, use https?
-
MarkupSocialShareButtons This module outputs a list of share links for the following services by default * E-Mail (kinda extra) * Facebook * Twitter * Google+ * LinkedIn * Thumblr * Reddit (off by default) * Pinterest (off by default) Usage examples echo $modules->MarkupSocialShareButtons->render(); This outputs a simple UL list with links <ul class='MarkupSocialShareButtons cf'> <li class='mssb-item mssb-facebook mssb-popup'><a href='url'><i>facebook</i></a></li> etc ... </ul> Config Screen See more details and examples on github or modules directory https://github.com/somatonic/MarkupSocialShareButtons http://mods.pw/8j
- 74 replies
-
- 16
-
-
My ImagesManager also supports reading exif data and saves it to a field.
-
SFTP for sublime has many features like sync, monitoring etc. Quite handy. When I need it I use https://sublime.wbond.net/packages/LiveReload with the Chrome LiveReload extension.
-
SFTP http://wbond.net/sublime_packages/sftp