<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Permalink 1.12 minor feature request</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Permalink-1_12-minor-feature-request-82879</link>
        <description></description>
        <pubDate>Mon, 20 Apr 2026 06:55:37 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Permalink-1_12-minor-feature-request-82879" rel="self" type="application/rss+xml" />

                <item>
          <title>Permalink 1.12 minor feature request</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247637#post2247637</link>
          <description><![CDATA[<p>Hi Jeff, </p>
<p>Thanks for the report!  I've updated it to show the current scheme for the next release.</p>
<p>Appreciate the feedback.</p>]]></description>
          <pubDate>Wed, 06 Nov 2024 11:43:40 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247637#post2247637</guid>
        </item>
                <item>
          <title>Permalink 1.12 minor feature request</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2247566#post2247566</link>
          <description><![CDATA[<p>In the permalink_cmsMenus.php file around line 43 is this function:</p>
<pre class="language-markup"><code>function permalink_cms_onEditShowFieldPrefix($tableName, $recordNum)
{
    // for sections with a permalink field:
    if (array_key_exists('permalink', $GLOBALS['schema'])) {
        // update permalink prefix/suffix to show current hostname (whatever that may be)
        $GLOBALS['schema']['permalink']['fieldPrefix'] = implode(' ', array($GLOBALS['schema']['permalink']['fieldPrefix'], "http://" . htmlencode($_SERVER['HTTP_HOST']) . PREFIX_URL . '/'));
        $GLOBALS['schema']['permalink']['description'] = '/ &amp;nbsp;' . $GLOBALS['schema']['permalink']['description'];
    }

    // not yet used
    //if ($tableName == '_permalinks' &amp;&amp; array_key_exists('customSourceUrl', $GLOBALS['schema'])) {
    //  $GLOBALS['schema']['customSourceUrl']['fieldPrefix']  = $GLOBALS['SETTINGS']['webRootDir'];
    //}

}</code></pre>
<p>This function shows the field prefix using the hostname with '/' , and trailing '/', however the protocol is defaulting to http://. This should show the actual protocol being used or default to https:// - in my opinion.</p>
<pre class="language-markup"><code>function permalink_cms_onEditShowFieldPrefix($tableName, $recordNum)
{
    // for sections with a permalink field:
    if (array_key_exists('permalink', $GLOBALS['schema'])) {
        // update permalink prefix/suffix to show current hostname (whatever that may be)
        $GLOBALS['schema']['permalink']['fieldPrefix'] = implode(' ', array($GLOBALS['schema']['permalink']['fieldPrefix'], "https://" . htmlencode($_SERVER['HTTP_HOST']) . PREFIX_URL . '/'));
        $GLOBALS['schema']['permalink']['description'] = '/ &amp;nbsp;' . $GLOBALS['schema']['permalink']['description'];
    }

    // not yet used
    //if ($tableName == '_permalinks' &amp;&amp; array_key_exists('customSourceUrl', $GLOBALS['schema'])) {
    //  $GLOBALS['schema']['customSourceUrl']['fieldPrefix']  = $GLOBALS['SETTINGS']['webRootDir'];
    //}

}</code></pre>]]></description>
          <pubDate>Tue, 15 Oct 2024 11:05:46 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2247566#post2247566</guid>
        </item>
              </channel>
    </rss>
  