sharepoint online – Offline SP365 aspx page

User is on a mobile device and needs to access a JavaScript application when the device loses internet connection (elevator, basement, etc).

I’m using service workers to cache my files, and plan on handling data with local storage. When the connection is reestablished the app checks local storage and updates accordingly.

Question is when I turn off the internet the .aspx page doesn’t load the cached version. Is this achievable with service workers and a local storage, or is there a more sharepoint way of doing this?

I don’t have access to powershell.

ssl certificate – Apache stops using VirtualHost and goes back to test page

I am setting up an apache server with SSL and Kerberos.

I keep making progress, but then the server suddenly decides to ignore my virtual host and the webpage switches to an invalid self-signed certificate and only loads the apache test page.

During this time it doesn’t generate any error logs because I am not actually visiting my site.

<VirtualHost *:80>
        Redirect "" ""

<VirtualHost *:443>
    DocumentRoot /var/www/
    ErrorLog /var/www/
    CustomLog /var/www/ combined
    SSLEngine on
    SSLCertificateFile /etc/ssl/private/site.cer
    SSLCertificateKeyFile /etc/ssl/private/site.key
    SSLCertificateChainFile /etc/ssl/private/chain.pem

   <Location />
        AuthName "Domain Login"
        AuthType Kerberos
        Krb5Keytab  /etc/httpd/conf.d/krb5.keytab
        KrbAuthRealms MY.DOMAIN.COM
        KrbServiceName HTTP
        KrbMethodNegotiate On
        KrbMethodK5Passwd Off
        KrbVerifyKDC off
        require valid-user


I was in the middle of configuring the website to use the kerberos details being passed (which seemed to be working), when it stopped liking the certificate again.

I thought I may have broken he php website, but I reverted to a working snapshot and rebooted everything and nothing has changed.

This is the second time today and I don’t know what fixed it last time!

mobile application – Should a navigation be specific to a page?

Let’s say a mobile application has 2 interfaces: one that lists items, and the other that displays the details of one of these items. Both of these interfaces have the same navigation bar on top of the screen.

Should the 2 interfaces be 2 pages, or 2 tabs?

2 pages mean that when I click on an item from the list, a new page opens on top of the current one.
2 tabs mean that there is 1 page, and when I click on an item, the content of the page changes, except for the navigation, that stays there.

It feels weird to me that 2 pages would have the same navigation bar. If the navigation bar is the same, it probably means that these pages should not be pages, but tabs in a single page.

I checked on Facebook, Twitch and Slack, and I never saw a page having the same navigation bar as its parent.

So, if both interfaces have the same navigation, should these interfaces necessarily be tabs and not pages, or is it fine that they are pages?

Google Page Experience: Upcoming Search Ranking Change

Google is planning a search ranking change incorporating Core Web Vitals, and planning for the new algorithm.

troubleshooting – Dynamic page numbers are converted to static page numbers when exchanging files (Word 365 to Word 2019)

Here is what’s happening:

  • Joe uses Word 365 to create a file with dynamic page numbers and emails it to me.
  • I open the file with Word Pro Plus 2019.
    All page numbers have been converted to the static number 2.


  • There are NO section breaks in the file.
  • I recently upgraded to Word 2019 from Word 2010.
  • This was never a problem when I was using Word 2010. I.e., I could work with 2016, 2019, and 365 files without problems.

I tried searching online for a solution, but the hits are for “how to convert,” even when I add keywords such as problem and troubleshoot.


posts – How can I change the product layout in the store page in WooCommerce?

I am a beginner at WordPress and PHP, (coming from mostly java and c#) and I was wondering how can I change the store page in woocommerce, I have knowledge of HTML + CSS and I want to implement my product design to the store page… I am using OceanWP theme.

I am looking for help with overriding the theme somehow,
I also need examples if possible (see code below) please

<div class= "main-body">
<?PHP foreach: product>
<div class ="title">
<?PHP echo product title>
<img src=<?PHP echo product image>

etc (ignore my bad syntax)

Hide SharePoint ribbon(based on permission) using java script injunction without changing master page

I have SharePoint online site I need to hide SP ribbon based on user permission.
Should not change the master page code.

anyone suggest me to achieve this or creating the new control to inject in all pages.

Pagination not work on page but work on category

i am using kriesi Pagination, it is working perfectly fine category page but it when i do similar query on page then it is not working. any idea why ?

function kriesi_pagination($pages = '', $range = 2){  
 $showitems = ($range * 2)+1;  
 global $paged;
 if(empty($paged)) $paged = 1;
 if($pages == '')
     global $wp_query;
     $pages = $wp_query->max_num_pages;
         $pages = 1;

 if(1 != $pages)
     echo "<div class='pagination'>";
     if($paged > 2 && $paged > $range+1 && $showitems < $pages) echo "<a href='".get_pagenum_link(1)."'>&laquo;</a>";
     if($paged > 1) echo "<a class='prev' href='".get_pagenum_link($paged - 1)."'>&lsaquo; Previous</a>";

     for ($i=1; $i <= $pages; $i++)
         if (1 != $pages &&( !($i >= $paged+$range+1 || $i <= $paged-$range-1) || $pages <= $showitems ))
             echo ($paged == $i)? "<span class='current'>".$i."</span>":"<a href='".get_pagenum_link($i)."' class='inactive' >".$i."</a>";

     if ($paged < $pages) echo "<a class='next' href='".get_pagenum_link($paged + 1)."'>Next &rsaquo;</a>";  
     if ($paged < $pages-1 &&  $paged+$range-1 < $pages && $showitems < $pages) echo "<a href='".get_pagenum_link($pages)."'>&raquo;</a>";
     echo "</div>n";


my page query is

    <?php query_posts(array('category_name' => 'm-directory',
                          'meta_key'=> 'mno',
                         'orderby'=> 'meta_value',
                         'order'=> 'ASC')); if ( have_posts() ) :
while ( have_posts() ) : the_post(); ?>       <li class="post">  
   </li>  <?php endwhile;  kriesi_pagination(); ?>     <?php else : ?> <p><?php _e('Sorry, no posts matched your criteria.'); ?></p> <?php

endif; ?>

sharepoint online – CSOM – Get ViewCount for modern page

I am trying to get the “ViewCount” for a modern page via CSOM. I get the property
via CSOM Search API:

var keywordQuery = new KeywordQuery(sourceSiteCtx);
keywordQuery.QueryText = @"Path: " + itemUrl;
SearchExecutor searchExecutor = new SearchExecutor(sourceSiteCtx);
var resultTableCollection = searchExecutor.ExecuteQuery(keywordQuery);
foreach (var result in resultTableCollection.Value(0).ResultRows)
    var viewsLifeTime = result("ViewsLifeTime");

But the value there is another then on the page (ViewsLifeTime is 463 in my case). When I look in the Developer Tools on the page, it makes a request to
https://*** and returns the “right” value

SavedForLater: false
Type: "ItemMetadata"
ViewCount: 261

Is there any chance to get “ViewCount” via CSOM?