<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:media="http://search.yahoo.com/mrss/"><channel><title><![CDATA[Gernot Weithofer]]></title><description><![CDATA[API Engineer, Sys Admin and System Designer. Posting Hints and Hacks for everyDay Purpose.]]></description><link>https://blog.weithofer.it/</link><image><url>http://blog.weithofer.it/favicon.png</url><title>Gernot Weithofer</title><link>https://blog.weithofer.it/</link></image><generator>Ghost 2.22</generator><lastBuildDate>Tue, 20 May 2025 12:41:28 GMT</lastBuildDate><atom:link href="https://blog.weithofer.it/rss/" rel="self" type="application/rss+xml"/><ttl>60</ttl><item><title><![CDATA[Migrate mailcow from older version to current]]></title><description><![CDATA[How to migrate your emails from a dovecot system to mailcow.]]></description><link>https://blog.weithofer.it/migrate-mailcow-from-older-version-to-current/</link><guid isPermaLink="false">65a241645a67cb4e70c68fa0</guid><category><![CDATA[installation]]></category><category><![CDATA[maintenance]]></category><category><![CDATA[not working]]></category><category><![CDATA[support]]></category><category><![CDATA[error]]></category><category><![CDATA[email]]></category><category><![CDATA[mailcow]]></category><dc:creator><![CDATA[Gernot Weithofer]]></dc:creator><pubDate>Sat, 13 Jan 2024 08:08:10 GMT</pubDate><media:content url="http://blog.weithofer.it/content/images/2024/01/mariia-shalabaieva-HyyHIYz_l0A-unsplash.jpg" medium="image"/><content:encoded><![CDATA[<img src="http://blog.weithofer.it/content/images/2024/01/mariia-shalabaieva-HyyHIYz_l0A-unsplash.jpg" alt="Migrate mailcow from older version to current"><p>I was stuck with an older version of mailcow from 2017 which was not upgradeable via update.sh, and if you are too you can follow this steps to solve it.</p><!--kg-card-begin: html--><div style="border-radius: 8px; border: 1px solid #000; padding: 20px 30px; margin-bottom: 40px;">Please create a Backup of your mailcow server first. If you cann not access the interface but have access to the server via a terminal you can also only save/migrate the email-volume in /var/lib/docker/volumes/mailcowdockerized_vmail-vol-1</div><!--kg-card-end: html--><!--kg-card-begin: markdown--><ul>
<li>install the newest mailcow version: <a href="https://docs.mailcow.email/de/i_u_m/i_u_m_install/">https://docs.mailcow.email/de/i_u_m/i_u_m_install/</a></li>
<li>recreate all domains and users manualy (todo: create script to do this from maildir via API)</li>
<li>rsync only the maildir from old installation:</li>
</ul>
<p> </p>
<pre><code class="language-bash">rsync -aHhP --numeric-ids --delete /var/lib/docker/volumes/mailcowdockerized_vmail-vol-1/_data/ root@host:/var/lib/docker/volumes/mailcowdockerized_vmail-vol-1/_data
</code></pre>
<p> </p>
<ul>
<li>use the importer.sh script to import all emails to the corresponding email-address directly in the container:</li>
</ul>
<p> </p>
<pre><code class="language-bash">#!/bin/bash

# Define the parent path of the Maildir
MAILDIR_PARENT=&quot;/var/vmail&quot;

# Get all users from doveadm
USERS=$(doveadm user '*')

# Loop through each user
for FULL_USER in $USERS; do
    # Extract domain and username
    DOMAIN=$(echo &quot;$FULL_USER&quot; | cut -d@ -f2)
    USER=$(echo &quot;$FULL_USER&quot; | cut -d@ -f1)

    # Construct the path to the user's Maildir
    USER_MAILDIR=&quot;${MAILDIR_PARENT}/${DOMAIN}/${USER}&quot;

    # Check if the Maildir exists
    if [ -d &quot;$USER_MAILDIR&quot; ]; then
        echo &quot;Processing $USER_MAILDIR&quot;

        # Insert your command to import mails from the user's Maildir
        # For example, using doveadm import (adjust as necessary):
        doveadm import -u $FULL_USER maildir:$USER_MAILDIR &quot;&quot; all

        # Replace the above line with your actual command for importing mails.
    else
        echo &quot;Maildir not found for $FULL_USER&quot;
    fi
done
</code></pre>
<!--kg-card-end: markdown--><p>I made a Github repo, so you can download the importer script here: <a href="https://github.com/gweit/mailcow-importer">https://github.com/gweit/mailcow-importer</a></p><p>This should also work for non-mailcow installations, as long as the folder structure is dovecot-like.</p><!--kg-card-begin: html--><button data-feedback-fish="">
  Feedback
</button><!--kg-card-end: html--><!--kg-card-begin: html--><div style="margin-top: 40px;">Feel free to reach out if you need some help: <a href="mailto:gernot@weithofer.it">gernot@weithofer.it</a></div><!--kg-card-end: html-->]]></content:encoded></item><item><title><![CDATA[Vue Cli 3 add Iubenda Cookie Banner]]></title><description><![CDATA[<p>When you use Server Side Rendering (SSR) in your Vue project with webpack or some other tool you might see your code doubled down. As this can be caused by adding external Javascript Sources to your Headers here´s a little Workaround.</p><p>By using this plugin (<a href="https://github.com/chrisvfritz/prerender-spa-plugin">https://github.com/chrisvfritz/</a></p>]]></description><link>https://blog.weithofer.it/vue-cli-3-add-iubenda-cookie-banner/</link><guid isPermaLink="false">60827d963af7a76c97210738</guid><dc:creator><![CDATA[Gernot Weithofer]]></dc:creator><pubDate>Fri, 23 Apr 2021 08:28:51 GMT</pubDate><media:content url="http://blog.weithofer.it/content/images/2021/04/pankaj-patel-_SgRNwAVNKw-unsplash.jpg" medium="image"/><content:encoded><![CDATA[<img src="http://blog.weithofer.it/content/images/2021/04/pankaj-patel-_SgRNwAVNKw-unsplash.jpg" alt="Vue Cli 3 add Iubenda Cookie Banner"><p>When you use Server Side Rendering (SSR) in your Vue project with webpack or some other tool you might see your code doubled down. As this can be caused by adding external Javascript Sources to your Headers here´s a little Workaround.</p><p>By using this plugin (<a href="https://github.com/chrisvfritz/prerender-spa-plugin">https://github.com/chrisvfritz/prerender-spa-plugin</a>) you can add your script after rendering:</p><!--kg-card-begin: markdown--><pre><code>const path = require('path')
const PrerenderSPAPlugin = require('prerender-spa-plugin')
const PuppeteerRenderer = PrerenderSPAPlugin.PuppeteerRenderer
const iubenda = '&lt;script type=&quot;text/javascript&quot; src=&quot;//cdn.iubenda.com/cs/iubenda_cs.js&quot; charset=&quot;UTF-8&quot; async&gt;&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;var _iub = _iub || [];_iub.csConfiguration = {&quot;consentOnContinuedBrowsing&quot;:false,&quot;whitelabel&quot;:false,&quot;lang&quot;:&quot;it&quot;,&quot;siteId&quot;:&lt;your_id&gt;,&quot;floatingPreferencesButtonColor&quot;:&quot;#010101&quot;,&quot;floatingPreferencesButtonCaptionColor&quot;:&quot;#ffffff&quot;,&quot;logLevel&quot;:&quot;noLog&quot;,&quot;askConsentAtCookiePolicyUpdate&quot;:true,&quot;countryDetection&quot;:true,&quot;gdprAppliesGlobally&quot;:false,&quot;cookiePolicyId&quot;:&lt;your_id&gt;, &quot;banner&quot;:{ &quot;customizeButtonDisplay&quot;:true,&quot;customizeButtonColor&quot;:&quot;#ffffff&quot;,&quot;customizeButtonCaptionColor&quot;:&quot;#333333&quot;,&quot;rejectButtonColor&quot;:&quot;#0073CE&quot;,&quot;rejectButtonCaptionColor&quot;:&quot;white&quot;,&quot;position&quot;:&quot;float-bottom-center&quot;,&quot;textColor&quot;:&quot;white&quot;,&quot;backgroundColor&quot;:&quot;#ff0132&quot;,&quot;acceptButtonDisplay&quot;:true,&quot;acceptButtonColor&quot;:&quot;#222222&quot;,&quot;acceptButtonCaptionColor&quot;:&quot;white&quot; }};&lt;/script&gt;'

module.exports = {
  pages: {
    index: {
      entry: 'src/main.js',
      title: 'Title'
    }
  },
  pwa: {
    name: 'Cool App',
    themeColor: '#4DBA87',
    msTileColor: '#000000',
    appleMobileWebAppCapable: 'yes',
    appleMobileWebAppStatusBarStyle: 'black',
    iconPaths: {
		favicon32: 'icons/android/icon_36.png',
		favicon16: 'icons/android/icon_36.png',
		appleTouchIcon: 'icons/ios/icon_152.png'
	}
  },
  configureWebpack:  {
    plugins: process.env.NODE_ENV === 'production' ? [
      new PrerenderSPAPlugin({
        // Required - The path to the webpack-outputted app to prerender.
        staticDir: path.join(__dirname, 'dist'),
        // Required - Routes to render.
        postProcess (context) {
          const bodyEnd = context.html.indexOf('&lt;/body&gt;')
          context.html = context.html.substr(0, bodyEnd) + iubenda + context.html.substr(bodyEnd)

          return context
        },
        routes: [ '/'],
        renderer: new PuppeteerRenderer({
          renderAfterTime: 4000
        })
      })
    ] : []
  }
}</code></pre>
<!--kg-card-end: markdown--><p>Photo by <a href="https://unsplash.com/@pankajpatel?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Pankaj Patel</a> on <a href="https://unsplash.com/s/photos/code?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></p>]]></content:encoded></item><item><title><![CDATA[prestashop description copy and paste is not working or not saving]]></title><description><![CDATA[<!--kg-card-begin: markdown--><!--kg-card-begin: markdown--><p>Some of you using Prestashop might wonder why their copied and pasted Content might not be saved.</p>
<p>This can be caused by a simple 0 in <strong>Setting -&gt; Article -&gt; max length of Description</strong>.</p>
<p>Simply change this with a value that is comfortable for you and copy &amp;</p>]]></description><link>https://blog.weithofer.it/prestashop-description-copy-and-paste-is-not-working-or-not-saving/</link><guid isPermaLink="false">5ce531c03919d665a80fbc88</guid><category><![CDATA[prestashop]]></category><category><![CDATA[help]]></category><dc:creator><![CDATA[Gernot Weithofer]]></dc:creator><pubDate>Wed, 04 Apr 2018 21:00:38 GMT</pubDate><media:content url="http://blog.weithofer.it/content/images/2019/05/bench-accounting-49908-unsplash-1.jpg" medium="image"/><content:encoded><![CDATA[<!--kg-card-begin: markdown--><!--kg-card-begin: markdown--><img src="http://blog.weithofer.it/content/images/2019/05/bench-accounting-49908-unsplash-1.jpg" alt="prestashop description copy and paste is not working or not saving"><p>Some of you using Prestashop might wonder why their copied and pasted Content might not be saved.</p>
<p>This can be caused by a simple 0 in <strong>Setting -&gt; Article -&gt; max length of Description</strong>.</p>
<p>Simply change this with a value that is comfortable for you and copy &amp; paste should work as expected.</p>
<p>Photo by Bench Accounting on Unsplash</p>
<!--kg-card-end: markdown--><!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[How to avoid sleep mode on your Mac]]></title><description><![CDATA[<!--kg-card-begin: markdown--><!--kg-card-begin: markdown--><p>Sometimes you need to keep your Mac runing, allthough you are not there.</p>
<p>Normally it would go in Sleep Mode, but you might need to download something big or keep your Dropbox syncing - so there´s a little Trick you can use.</p>
<p>If you are handy in your Terminal</p>]]></description><link>https://blog.weithofer.it/how-to-avoid-sleep-mode-on-your-mac/</link><guid isPermaLink="false">5ce531c03919d665a80fbc87</guid><dc:creator><![CDATA[Gernot Weithofer]]></dc:creator><pubDate>Wed, 10 May 2017 15:55:21 GMT</pubDate><media:content url="http://blog.weithofer.it/content/images/2019/05/jay-wennington-2250-unsplash.jpg" medium="image"/><content:encoded><![CDATA[<!--kg-card-begin: markdown--><!--kg-card-begin: markdown--><img src="http://blog.weithofer.it/content/images/2019/05/jay-wennington-2250-unsplash.jpg" alt="How to avoid sleep mode on your Mac"><p>Sometimes you need to keep your Mac runing, allthough you are not there.</p>
<p>Normally it would go in Sleep Mode, but you might need to download something big or keep your Dropbox syncing - so there´s a little Trick you can use.</p>
<p>If you are handy in your Terminal this is very easy, but also if not - this will make your Day ;)</p>
<ul>
<li>Open a Terminal Window on your Mac</li>
<li>type in the following:</li>
</ul>
<pre><code>caffeinate
</code></pre>
<p>This will execute some kind of &quot;placeholder execution&quot; while you are not there.</p>
<p>If you know how long the Process will be needed you can use this one:</p>
<pre><code>caffeinate -t 3600
</code></pre>
<p>where the number indicates the Time of Execution. Once passed the process will close and your Mac will go to sleep if there´s no further Action.</p>
<p>To Shut down your Monitor/s in the Meantime use this one:</p>
<pre><code>Ctrl + Shift + Eject
</code></pre>
<p>Photo by Jay Wennington on Unsplash</p>
<!--kg-card-end: markdown--><!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[How to add a property in css to every class matching]]></title><description><![CDATA[<!--kg-card-begin: markdown--><!--kg-card-begin: markdown--><p>If you've ever been in a Situation where you have to meet a property for every class beginning or ending the same this is how you can get it done.</p>
<p>Lets assume we have Bootstrap as our Ground-Framework because we like the Grid or the Aligning or all the Buttons</p>]]></description><link>https://blog.weithofer.it/how-to-add-a-property-in-css-to-every-class-matching/</link><guid isPermaLink="false">5ce531c03919d665a80fbc86</guid><dc:creator><![CDATA[Gernot Weithofer]]></dc:creator><pubDate>Thu, 22 Oct 2015 00:13:44 GMT</pubDate><media:content url="http://blog.weithofer.it/content/images/2019/05/greg-rakozy-129733-unsplash.jpg" medium="image"/><content:encoded><![CDATA[<!--kg-card-begin: markdown--><!--kg-card-begin: markdown--><img src="http://blog.weithofer.it/content/images/2019/05/greg-rakozy-129733-unsplash.jpg" alt="How to add a property in css to every class matching"><p>If you've ever been in a Situation where you have to meet a property for every class beginning or ending the same this is how you can get it done.</p>
<p>Lets assume we have Bootstrap as our Ground-Framework because we like the Grid or the Aligning or all the Buttons or What-so-ever:</p>
<p><strong>remove padding from all the .col</strong></p>
<pre><code class="language-language-css">div[class*=col] {
	padding: 0;
}
</code></pre>
<p>Photo by Greg Rakozy on Unsplash</p>
<!--kg-card-end: markdown--><!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[Prestashop - Revolution Slider Multilanguage Solution]]></title><description><![CDATA[<!--kg-card-begin: markdown--><!--kg-card-begin: markdown--><p><strong>For anyone using the Revolution Slider in Prestashop and wants to get multilanguage Support in his Slides!</strong></p>
<p>You can achieve this by following these Steps:</p>
<ul>
<li>Activate Multilanguage Support for the Slider</li>
<li>go to Slides List</li>
<li>click on the Pencil and set the Language for the Slide</li>
<li>now you can set/</li></ul>]]></description><link>https://blog.weithofer.it/prestashop-revolution-slider-multilanguage-solution/</link><guid isPermaLink="false">5ce531c03919d665a80fbc85</guid><dc:creator><![CDATA[Gernot Weithofer]]></dc:creator><pubDate>Thu, 08 Oct 2015 08:09:27 GMT</pubDate><media:content url="http://blog.weithofer.it/content/images/2019/05/igor-miske-174209-unsplash.jpg" medium="image"/><content:encoded><![CDATA[<!--kg-card-begin: markdown--><!--kg-card-begin: markdown--><img src="http://blog.weithofer.it/content/images/2019/05/igor-miske-174209-unsplash.jpg" alt="Prestashop - Revolution Slider Multilanguage Solution"><p><strong>For anyone using the Revolution Slider in Prestashop and wants to get multilanguage Support in his Slides!</strong></p>
<p>You can achieve this by following these Steps:</p>
<ul>
<li>Activate Multilanguage Support for the Slider</li>
<li>go to Slides List</li>
<li>click on the Pencil and set the Language for the Slide</li>
<li>now you can set/change the Content and it will only be shown for the choosen Language</li>
</ul>
<p>Best, Gernot ;)</p>
<p>Photo by Igor Miske on Unsplash</p>
<!--kg-card-end: markdown--><!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[Why i think Ghost is the ultimate Blog and Writing Tool]]></title><description><![CDATA[<!--kg-card-begin: markdown--><!--kg-card-begin: markdown--><p><strong>Well, because it is:</strong></p>
<ul>
<li>clean</li>
<li>fast</li>
<li>smooth</li>
<li>very well done</li>
<li>great UX and UI</li>
<li>packed with all you need</li>
</ul>
<p><strong>and it has:</strong></p>
<ul>
<li>a big Comunity</li>
<li>lot of Potential</li>
<li>not to much Muscles to keep runing</li>
<li>great Developers in the Back</li>
<li>a persistent Update Cycle</li>
</ul>
<p><strong>so much said i like it</strong></p>]]></description><link>https://blog.weithofer.it/why-i-think-ghost-is-the-ultimate-blog-and-writing-tool/</link><guid isPermaLink="false">5ce531c03919d665a80fbc84</guid><category><![CDATA[ghost]]></category><category><![CDATA[theme]]></category><category><![CDATA[templates]]></category><category><![CDATA[installation]]></category><category><![CDATA[maintenance]]></category><category><![CDATA[help]]></category><category><![CDATA[support]]></category><category><![CDATA[error]]></category><category><![CDATA[blog]]></category><dc:creator><![CDATA[Gernot Weithofer]]></dc:creator><pubDate>Wed, 23 Sep 2015 22:07:22 GMT</pubDate><media:content url="http://blog.weithofer.it/content/images/2019/05/andrew-neel-308138-unsplash.jpg" medium="image"/><content:encoded><![CDATA[<!--kg-card-begin: markdown--><!--kg-card-begin: markdown--><img src="http://blog.weithofer.it/content/images/2019/05/andrew-neel-308138-unsplash.jpg" alt="Why i think Ghost is the ultimate Blog and Writing Tool"><p><strong>Well, because it is:</strong></p>
<ul>
<li>clean</li>
<li>fast</li>
<li>smooth</li>
<li>very well done</li>
<li>great UX and UI</li>
<li>packed with all you need</li>
</ul>
<p><strong>and it has:</strong></p>
<ul>
<li>a big Comunity</li>
<li>lot of Potential</li>
<li>not to much Muscles to keep runing</li>
<li>great Developers in the Back</li>
<li>a persistent Update Cycle</li>
</ul>
<p><strong>so much said i like it because:</strong></p>
<ul>
<li>i can write (and style) without my Mouse (yes, i miss you to...)</li>
<li>did i mention it's very fast?</li>
<li>it keeps me focused</li>
</ul>
<p><strong>Hmm..., but there are also some Cons of course:</strong></p>
<ul>
<li>Installation</li>
<li>Maintenance</li>
<li>Updates</li>
<li>Templating and Theming</li>
</ul>
<hr>
<p><strong>Next Up: How to start</strong></p>
<p>Photo by Andrew Neel on Unsplash</p>
<!--kg-card-end: markdown--><!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[Apostrophe CMS]]></title><description><![CDATA[<!--kg-card-begin: markdown--><!--kg-card-begin: markdown--><p>In my daily Routine of getting updated on what's hot and (sometimes) deprecated, i found this <strong>node.js</strong> based CMS called <a href="http://apostrophenow.org">Apostrophe</a>.</p>
<p>Trying to do some Templating you can see my Tentatives right on <a href="http://sandbox.node.systems/">sandbox</a>.</p>
<!--kg-card-end: markdown--><!--kg-card-end: markdown--><p></p><p></p><p>Photo by <a href="https://unsplash.com/photos/npxXWgQ33ZQ?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Glenn Carstens-Peters</a> on <a href="https://unsplash.com/search/photos/blog?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></p>]]></description><link>https://blog.weithofer.it/apostrophe-cms/</link><guid isPermaLink="false">5ce531c03919d665a80fbc82</guid><dc:creator><![CDATA[Gernot Weithofer]]></dc:creator><pubDate>Mon, 14 Sep 2015 20:47:42 GMT</pubDate><media:content url="http://blog.weithofer.it/content/images/2019/05/glenn-carstens-peters-203007-unsplash.jpg" medium="image"/><content:encoded><![CDATA[<!--kg-card-begin: markdown--><!--kg-card-begin: markdown--><img src="http://blog.weithofer.it/content/images/2019/05/glenn-carstens-peters-203007-unsplash.jpg" alt="Apostrophe CMS"><p>In my daily Routine of getting updated on what's hot and (sometimes) deprecated, i found this <strong>node.js</strong> based CMS called <a href="http://apostrophenow.org">Apostrophe</a>.</p>
<p>Trying to do some Templating you can see my Tentatives right on <a href="http://sandbox.node.systems/">sandbox</a>.</p>
<!--kg-card-end: markdown--><!--kg-card-end: markdown--><p></p><p></p><p>Photo by <a href="https://unsplash.com/photos/npxXWgQ33ZQ?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Glenn Carstens-Peters</a> on <a href="https://unsplash.com/search/photos/blog?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></p>]]></content:encoded></item><item><title><![CDATA[Prestashop - Revolution Slider not working]]></title><description><![CDATA[Prestashop Revolution Slider not working - this might be the Solution.]]></description><link>https://blog.weithofer.it/prestashop-revolution-slider-not-working/</link><guid isPermaLink="false">5ce531c03919d665a80fbc80</guid><category><![CDATA[prestashop]]></category><category><![CDATA[help]]></category><category><![CDATA[support]]></category><category><![CDATA[slider]]></category><category><![CDATA[revolution]]></category><category><![CDATA[error]]></category><category><![CDATA[not working]]></category><dc:creator><![CDATA[Gernot Weithofer]]></dc:creator><pubDate>Mon, 14 Sep 2015 20:29:59 GMT</pubDate><media:content url="http://blog.weithofer.it/content/images/2019/05/headway-537308-unsplash.jpg" medium="image"/><content:encoded><![CDATA[<!--kg-card-begin: markdown--><!--kg-card-begin: markdown--><img src="http://blog.weithofer.it/content/images/2019/05/headway-537308-unsplash.jpg" alt="Prestashop - Revolution Slider not working"><p>Usually when you install a new Theme in Prestashop there are some Modules installed to.</p>
<p>Normally after uploading the Theme you'll see a List of it added, activated and deactivated.</p>
<p>Recently i installed a Theme which uses the Revolution Slider. Unfortunaely after the Activation the Settings were a little messed up, and Chrome Log showed some Errors.</p>
<p><strong>Solution</strong></p>
<ul>
<li>deacivate all Sliders</li>
<li>deactivate Revolution Slider</li>
<li>reactivate Revolution Slider</li>
</ul>
<p>Now everything should work as expected.</p>
<p>If not feel free to drop me a line on <a href="mailto:support@superswitch.co">support@superswitch.co</a> - i can take a look and maybe help you out ;)</p>
<!--kg-card-end: markdown--><!--kg-card-end: markdown--><p>Photo by <a href="https://unsplash.com/photos/5QgIuuBxKwM?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Headway</a> on <a href="https://unsplash.com/search/photos/website?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></p>]]></content:encoded></item><item><title><![CDATA[Prestashop 1-click-upgrade Database not working]]></title><description><![CDATA[<!--kg-card-begin: markdown--><!--kg-card-begin: markdown--><p>When this happen try to check if your Password is coherent with the one in /config/settings.inc.php .</p>
<p>Sometimes when you use special Character in your Passwords the Upgrade Script interprets this not very well.</p>
<!--kg-card-end: markdown--><!--kg-card-end: markdown--><p>Photo by <a href="https://unsplash.com/photos/3To9V42K0Ag?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">John Baker</a> on <a href="https://unsplash.com/search/photos/website?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></p>]]></description><link>https://blog.weithofer.it/prestashop-1-click-upgrade-database-not-working/</link><guid isPermaLink="false">5ce531c03919d665a80fbc7f</guid><category><![CDATA[prestashop]]></category><category><![CDATA[help]]></category><category><![CDATA[support]]></category><category><![CDATA[Getting Started]]></category><category><![CDATA[database]]></category><category><![CDATA[error]]></category><category><![CDATA[not working]]></category><dc:creator><![CDATA[Gernot Weithofer]]></dc:creator><pubDate>Mon, 24 Aug 2015 22:09:55 GMT</pubDate><media:content url="http://blog.weithofer.it/content/images/2019/05/john-baker-349282-unsplash.jpg" medium="image"/><content:encoded><![CDATA[<!--kg-card-begin: markdown--><!--kg-card-begin: markdown--><img src="http://blog.weithofer.it/content/images/2019/05/john-baker-349282-unsplash.jpg" alt="Prestashop 1-click-upgrade Database not working"><p>When this happen try to check if your Password is coherent with the one in /config/settings.inc.php .</p>
<p>Sometimes when you use special Character in your Passwords the Upgrade Script interprets this not very well.</p>
<!--kg-card-end: markdown--><!--kg-card-end: markdown--><p>Photo by <a href="https://unsplash.com/photos/3To9V42K0Ag?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">John Baker</a> on <a href="https://unsplash.com/search/photos/website?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></p>]]></content:encoded></item><item><title><![CDATA[How to get Skrollr working on Mobile and Touch Devices]]></title><description><![CDATA[<!--kg-card-begin: markdown--><!--kg-card-begin: markdown--><p>Recently i had a small Problem with Skrollr. It didn't work on Mobile and Touch by hiding the Skroll Bar.</p>
<p>The sweet Hint is to wrap all your scrollable Content into a DIV with the ID <strong>skrollr-body</strong>.</p>
<pre><code>&lt;div id=&quot;skrollr-body&quot;&gt;

&lt;/div&gt;
</code></pre>
<p>If you entire</p>]]></description><link>https://blog.weithofer.it/how-to-get-skrollr-working-on-mobile-and-touch-devices/</link><guid isPermaLink="false">5ce531c03919d665a80fbc7e</guid><dc:creator><![CDATA[Gernot Weithofer]]></dc:creator><pubDate>Fri, 05 Jun 2015 14:31:55 GMT</pubDate><media:content url="http://blog.weithofer.it/content/images/2019/05/william-iven-8515-unsplash.jpg" medium="image"/><content:encoded><![CDATA[<!--kg-card-begin: markdown--><!--kg-card-begin: markdown--><img src="http://blog.weithofer.it/content/images/2019/05/william-iven-8515-unsplash.jpg" alt="How to get Skrollr working on Mobile and Touch Devices"><p>Recently i had a small Problem with Skrollr. It didn't work on Mobile and Touch by hiding the Skroll Bar.</p>
<p>The sweet Hint is to wrap all your scrollable Content into a DIV with the ID <strong>skrollr-body</strong>.</p>
<pre><code>&lt;div id=&quot;skrollr-body&quot;&gt;

&lt;/div&gt;
</code></pre>
<p>If you entire Site is to scroll so you can apply this also to the <strong>body</strong> Element, but if you have a sticky Navbar (Bootstrap or something similar) you have to exlude the Navigation by wrapping your Content in the DIV described above.</p>
<!--kg-card-end: markdown--><!--kg-card-end: markdown--><!--kg-card-begin: markdown--><p>Photo by William Iven on Unsplash</p>
<!--kg-card-end: markdown-->]]></content:encoded></item><item><title><![CDATA[Avoid Content jumping with Bootstrap Affix]]></title><description><![CDATA[Bootstrap Affix Content Jump not working]]></description><link>https://blog.weithofer.it/avoid-content-jumping-with-bootstrap-affix/</link><guid isPermaLink="false">5ce531c03919d665a80fbc7c</guid><dc:creator><![CDATA[Gernot Weithofer]]></dc:creator><pubDate>Mon, 25 May 2015 20:46:14 GMT</pubDate><media:content url="http://blog.weithofer.it/content/images/2019/05/goran-ivos-245581-unsplash.jpg" medium="image"/><content:encoded><![CDATA[<!--kg-card-begin: markdown--><!--kg-card-begin: markdown--><img src="http://blog.weithofer.it/content/images/2019/05/goran-ivos-245581-unsplash.jpg" alt="Avoid Content jumping with Bootstrap Affix"><p>I guess a lot of you knows about this little snatchy Thing, that happens when you use Bootstraps Affix in Order to get something sticky when it hits a given Point on your Website.</p>
<p><strong>The Rest of your Content makes a little (or sometimes big) Jump upwards...</strong></p>
<p>By reading this i can assure you that i tried a lot of different Approaches to get this running smooth and clean, like custom jQuery to get Viewports Height and Width, to use on other custom Scripts which calculates how much Jump there will be when my second bar hits the Top of my Page, and so on and on and on, until the End of our Days. But lets break it down: - nothing worked very well.</p>
<ul>
<li>custom jQuery and Bootstrap-.js Coding will slow down you Site as there will be a lot of stuff calculated Client-Side</li>
<li>Custom .css may drive you nuts o.O</li>
</ul>
<p>So i did it simple and nice (after a few Days of struggle of course):</p>
<p><strong>Wrapping Containers</strong> - yes, this is the magic Word!</p>
<p>I guess you know the Height of your to-affix-element? Ok, then lets wrap a Container (a div for example) around it which has the exact Height of your to-affix-element. <strong>This will prevent the Rest of the Site to jump when the Affix removes the to-affix-element from the DOM</strong>.</p>
<p><strong>.css</strong></p>
<pre><code>nav {
  height: 80px;
  width: 100%;
}

.nav-container {
  height: 80px;
  width: 100%;
  display: table;
}
</code></pre>
<p><strong>html</strong></p>
<pre><code>&lt;div class=&quot;nav-container&quot; data-spy=&quot;affix&quot; data-offset-top=&quot;60&quot; data-offset-bottom=&quot;200&quot;&gt;
&lt;nav&gt;

&lt;/nav&gt;
&lt;/div&gt;
</code></pre>
<p><strong>js</strong></p>
<pre><code> $('nav').affix({
    offset: {
    top: 100,
    bottom: function () {
    return (this.bottom = $('.footer').outerHeight(true))
    }
   }
  })
</code></pre>
<!--kg-card-end: markdown--><!--kg-card-end: markdown--><p>Photo by <a href="https://unsplash.com/photos/T8LMIN09-mo?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Goran Ivos</a> on <a href="https://unsplash.com/search/photos/code?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></p>]]></content:encoded></item></channel></rss>