<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>View Website</title>
        <link>https://interactivetools.com/forum/forum-posts.php?View-Website-68477</link>
        <description></description>
        <pubDate>Mon, 16 Mar 2026 23:15:59 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;View-Website-68477" rel="self" type="application/rss+xml" />

                <item>
          <title>Re: [gkornbluth] View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2192471#post2192471</link>
          <description><![CDATA[Hi Jerry,<br /><br />There's some support for this with the following features:<br /><br />Special checkbox field &quot;hidden&quot; - you can create this field to hide a record.  You can set it to be an admin only field to only admins and section &quot;managers&quot; can make a record live.<br /><br />Having regular users who can create articles but not make them live, then a section manager or admin user who marked a record as live, then changing the owner (Created By) is one way to implement an approval process and prevent further changes by the user.<br /><br />There's also fields for publishDate, removeDate, and neverRemove to have records go live and be removed on specific dates.  You can read more about special fieldnames here: <br />http://www.interactivetools.com/docs/cmsbuilder/special_fieldnames.html<br /><br />These are pretty basic as far as &quot;hierarchy of approval&quot; features though.  Those types of features would require a major overhaul and advances to how the user accounts work, records are stored, as well as new features to enable users to compare changes between new and changed records, approve them, rollback, etc.  <br /><br />And there's certainly different views on whether advanced approval hierarchy processes are even the best way to deal with the issue. <br /><br />That said, we'll certainly continue to add incremental features and if someone was interested in having this done as a custom job I'd be happy to talk to you about it.  Feel free to email me at dave@interactivetools.com<br /><br />Hope that helps!<br />]]></description>
          <pubDate>Mon, 14 Jul 2008 17:13:16 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2192471#post2192471</guid>
        </item>
                <item>
          <title>Re: [Dave] View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2192470#post2192470</link>
          <description><![CDATA[Dave,<br /><br />I'm really glad that you're dealing with this whole view/preview issue. <br /><br />Just to add my 2 cents, again...<br /><br />I think that it's extremely  important to be able to preview/approve materials before they go &quot;live&quot; and replace the existing materials.<br /><br />A) In case trhe material is not for public consumption at the time it's being created and will ultimately be hidden until a launch date.<br /><br />B) The person who is entering the information really screws it up and needs to fix it BEFORE the old information is off the live site and gone forever.<br /><br />C) In many companies there's a hierarchy of approval that must be adhered to before information is released to the public.<br /><br />I think that the implications of these types of issues could be real &quot;deal breakers&quot; for potential customers, and possible job security and legal challenges for those in the IT development chain.<br /><br />Please give some thought to these &quot;end user&quot; issues during your near term revisions.<br /><br />Thanks<br /><br />Jerry<br />]]></description>
          <pubDate>Mon, 14 Jul 2008 17:01:59 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2192470#post2192470</guid>
        </item>
                <item>
          <title>Re: [Djulia] View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2192466#post2192466</link>
          <description><![CDATA[Yes, you can use the schema _listPage value for this:<br /><br /><code>&lt;?php if (@$schema['_listPage']): ?&gt;<br />  &lt;a href=&quot;&lt;?php echo @$schema['_listPage'] ?&gt;&quot;&gt; ... &lt;/a&gt;<br />&lt;?php else: ?&gt;<br />  &lt;a href=&quot;&lt;?php echo $SETTINGS['websiteUrl'] ?&gt;&quot;&gt;...&lt;/a&gt;<br />&lt;?php endif ?&gt;</code><br /><br />Hope that helps!<br />]]></description>
          <pubDate>Mon, 14 Jul 2008 16:05:18 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2192466#post2192466</guid>
        </item>
                <item>
          <title>Re: [Dave] View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2192454#post2192454</link>
          <description><![CDATA[Hi Dave, <br /><br />That functions perfectly. [:)] <br /><br />It will be possible to apply this for &quot;[font &quot;Verdana&quot;]<font size="2">View Website &gt;&gt;&quot; </font></span>in header.php ? <br /><br />Thank you for your answer. <br /><br />Djulia<br />]]></description>
          <pubDate>Mon, 14 Jul 2008 13:24:42 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2192454#post2192454</guid>
        </item>
                <item>
          <title>Re: [Djulia] View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2192445#post2192445</link>
          <description><![CDATA[I've added a &quot;Preview&quot; button to the record list page.  You need to have &quot;List Page Url&quot; defined under section editors for it to appear.<br /><br />This will be in 1.20, I've attached the latest list.php.<br /><br />Back up your existing /lib/menus/default/list.php and then replace it with the attached file (Make sure you're running 1.19 first!)<br /><br />I'm going to give some more though to how to best do the record previews.<br />]]></description>
          <pubDate>Mon, 14 Jul 2008 10:03:33 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2192445#post2192445</guid>
        </item>
                <item>
          <title>Re: [Dave] View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2192424#post2192424</link>
          <description><![CDATA[That would be great. That's what I was looking for. I also understand Donna's point about the fact that the records could go anywhere, but if we could define the link as you have mentioned that would work great. <br /><br />Thanks Dave!<br />]]></description>
          <pubDate>Fri, 11 Jul 2008 06:15:39 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2192424#post2192424</guid>
        </item>
                <item>
          <title>Re: [Dave] View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2192423#post2192423</link>
          <description><![CDATA[It is an good idea!<br /><br />You can indicate the implementation ? <br /><br />Thanks, <br /><br />Djulia<br />]]></description>
          <pubDate>Fri, 11 Jul 2008 04:44:01 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2192423#post2192423</guid>
        </item>
                <item>
          <title>Re: [InHouse] View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2192418#post2192418</link>
          <description><![CDATA[So what if we had the following:<br /><br />On the record list page: A &quot;View section &gt;&gt;&quot; link that went to the &quot;List Page Url&quot; defined under Section editors.<br /><br />On the record modify we have a &quot;View Page &gt;&gt;&quot; link that went to the &quot;Detail Page Url&quot; defined under Section editors.<br /><br />The on the record create page we could have that link grayed out since there's no public link yet.<br /><br />Would that work for everyone?<br />]]></description>
          <pubDate>Thu, 10 Jul 2008 20:44:00 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2192418#post2192418</guid>
        </item>
                <item>
          <title>Re: [kevbarker] View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2192414#post2192414</link>
          <description><![CDATA[Hey Kevin,<br /><br />The main reason this isn't really possible is because CMS Builder can't really know what page you're actually editing... in fact, the content you're updating could be on any number of different pages. <br /><br />This is why the &quot;View Site&quot; is linked to whatever URL you set in the server options -- because without telling it explicitly what URL you want there, CMS Builder can't know where you want it to be. <br /><br />I hope this helps. :)<br />]]></description>
          <pubDate>Thu, 10 Jul 2008 15:24:20 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2192414#post2192414</guid>
        </item>
                <item>
          <title>Re: [kevbarker] View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2192411#post2192411</link>
          <description><![CDATA[Since it's come up...<br />I regularly alter the code to add a 'View Editors' link to the blue header bar in the backend. I tie it into the section which only shows up for the Admins. Saves me oodles of extra clicks during development and testing.<br />J.<br />]]></description>
          <pubDate>Thu, 10 Jul 2008 13:28:52 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2192411#post2192411</guid>
        </item>
                <item>
          <title>Re: [Djulia] View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2192407#post2192407</link>
          <description><![CDATA[What I would like to be able to do is to have the 'View Site' be linked to the current page you are editing. That way when you click on it you can verify the changes/updates you just made to that section. Is that possible? <br /><br />Thanks, <br /><br />Kevin<br />]]></description>
          <pubDate>Thu, 10 Jul 2008 11:27:59 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2192407#post2192407</guid>
        </item>
                <item>
          <title>Re: [Dave] View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2192404#post2192404</link>
          <description><![CDATA[Hi Dave, <br /><br />I have a suggestion. <br /><br />It would be possible to add a field &quot;View Site&quot; (websiteUrl) in the section User Accounts ? <br /><br />It would be then possible to use a condition in header.php : <br /><br />&lt;?php if ($CURRENT_USER['websiteUrl']): ?&gt;<br />        &lt;a href=&quot;&lt;?php echo $CURRENT_USER['websiteUrl'] ?&gt;&quot;&gt;&lt;?php _e('View Website &amp;gt;&amp;gt;') ?&gt;&lt;/a&gt;<br />&lt;?php elseif ($SETTINGS['websiteUrl']): ?&gt;<br />        &lt;a href=&quot;&lt;?php echo $SETTINGS['websiteUrl'] ?&gt;&quot;&gt;&lt;?php _e('View Website &amp;gt;&amp;gt;') ?&gt;&lt;/a&gt;<br />&lt;?php endif ?&gt; <br /><br /><br />Thank you for your answer. <br /><br />Djulia<br />]]></description>
          <pubDate>Thu, 10 Jul 2008 07:08:30 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2192404#post2192404</guid>
        </item>
                <item>
          <title>Re: [Dave] View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2189532#post2189532</link>
          <description><![CDATA[Hi Dave <br /><br />It is perfect !!! [:)] <br /><br />Thank you, <br /><br />Djulia<br />]]></description>
          <pubDate>Sat, 22 Dec 2007 13:52:42 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2189532#post2189532</guid>
        </item>
                <item>
          <title>Re: [Djulia] View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2189531#post2189531</link>
          <description><![CDATA[Ahh, I forgot the $ in front of 'username'.  Sorry about that. Try this:<br /><br /><code>&lt;?php <br />  $viewUrl  = $SETTINGS['websiteUrl']; <br />  $username = $CURRENT_USER['username']; <br />  if (<b>$</b>username == 'admin') { $viewUrl = &quot;http://www.google.com/&quot;; } <br />  if (<b>$</b>username == 'dave')  { $viewUrl = &quot;http://www.yahoo.com/&quot;; } <br />?&gt;</code><br />]]></description>
          <pubDate>Sat, 22 Dec 2007 13:42:22 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2189531#post2189531</guid>
        </item>
                <item>
          <title>Re: [Dave] View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2189529#post2189529</link>
          <description><![CDATA[Hi Dave <br /><br />I have just tested your proposal, but I have the error :<br />Notice: Use of undefined constant username - assumed 'username' in ... <br /><br />An idea ? <br /><br />Thank you, <br /><br />Djulia<br />]]></description>
          <pubDate>Sat, 22 Dec 2007 13:14:05 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2189529#post2189529</guid>
        </item>
                <item>
          <title>Re: [Dave] View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2189528#post2189528</link>
          <description><![CDATA[Hi Dave, <br /><br />I tested : <br /><br />&lt;?php if ($CURRENT_USER['isMyname']): ?&gt;<br />My url<br />&lt;?php endif ?&gt; <br /><br />...but, that does not function. :( <br /><br />Djulia<br />]]></description>
          <pubDate>Sat, 22 Dec 2007 13:06:22 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2189528#post2189528</guid>
        </item>
                <item>
          <title>Re: [Djulia] View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2189527#post2189527</link>
          <description><![CDATA[If you are comfortable modifying the code, here's how:<br /><br />- open /lib/menus/header.php<br />- search for $SETTINGS['websiteUrl'] and replace with $viewUrl<br />- add this code somewhere above it:<br /><br /><code>&lt;?php<br />  $viewUrl  = $SETTINGS['websiteUrl'];<br />  $username = $CURRENT_USER['username'];<br />  if ($username == 'admin') { $viewUrl = &quot;http://www.google.com/&quot;; }<br />  if ($username == 'dave')  { $viewUrl = &quot;http://www.yahoo.com/&quot;; }<br />?&gt;</code><br /><br />Let me know if that works for you. :)<br /><br />Edit: Fixed code (added $ in front of username)<br />]]></description>
          <pubDate>Sat, 22 Dec 2007 13:04:14 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2189527#post2189527</guid>
        </item>
                <item>
          <title>Re: [Dave] View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2189525#post2189525</link>
          <description><![CDATA[Hi Dave, <br /><br />Thank you for your answer. <br /><br />And with a condition ? <br /><br />For example : <br /><br />&lt;?php if editor == 'name2' ?&gt;<br />url 1<br />&lt;?php elseif  editor == 'name2' ?&gt;<br />url 2<br />&lt;?php endif ?&gt; <br /><br />Thank, <br /><br />Djulia<br />]]></description>
          <pubDate>Sat, 22 Dec 2007 12:24:39 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2189525#post2189525</guid>
        </item>
                <item>
          <title>Re: [Djulia] View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2189523#post2189523</link>
          <description><![CDATA[No, it's not possible to have it link to different urls depending on which user is logged in.<br /><br />A few options for you though.  The simplest might be to create a publishedSections.html page with links to all the published sections.  Then have the &quot;view website&quot; link point to that.  That way all the CMS users could find their section.<br /><br />The other would be the hack the /lib/menus/header.php file to show a different link based on the user.  I could write some quick custom code up for you to do that if you wanted.  But you'd have to re-apply it every time you upgraded or it would get overwritten.<br /><br />Does either of those work for you?  I think the first one would be the easiest, especially if you ever have a user who manages 2 sections.<br /><br />Hope that helps! :)<br />]]></description>
          <pubDate>Sat, 22 Dec 2007 12:13:48 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2189523#post2189523</guid>
        </item>
                <item>
          <title>View Website</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2189518#post2189518</link>
          <description><![CDATA[Hi, <br /><br />I would like to obtain a specific value for : View Website &gt;&gt; <br /><br />For example : <br /><br />I have an editor (1) who has access to the folder News and another editor (2) which has access to folder FAQ. <br /><br />It would be possible to give a different value for each editor? <br /><br />Editor (1) : View Website &gt;&gt; == News <br />Editor (2) : View Website &gt;&gt; == FAQ <br /><br />Thank you for your answer. <br /><br />Djulia<br />]]></description>
          <pubDate>Sat, 22 Dec 2007 11:23:05 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2189518#post2189518</guid>
        </item>
              </channel>
    </rss>
  