#45 ✓resolved
Brian Michalski

Concerto Wall Links

Reported by Brian Michalski | September 14th, 2009 @ 06:09 PM | in Concerto 1.9.1

I tested a config.inc.php file that doesn't use .htaccess and uses index.php and the wall DIAF. We use ADMIN_BASE_URL in wall/index.php for things that I think should be ADMIN_URL (as they're non-static resources).

Mike, can you sign off on this patch as the person who knows the ADMIN_URL vs ADMIN_BASE_URL differences? This patch is in-place on the demo install and the wall now works as intended.

Index: admin/app/wall/index.php
===================================================================
--- admin/app/wall/index.php    (revision 672)
+++ admin/app/wall/index.php    (working copy)
@@ -39,7 +39,7 @@
 function loadFeed(id, feedname) {
        $.ajax({
                type: "GET",
-               url: "<?= ADMIN_BASE_URL ?>/wall/feedgrid/"+id+"?ajax=1",
+               url: "<?= ADMIN_URL ?>/wall/feedgrid/"+id+"?ajax=1",
                success: function(data){
                                $('#wall_feed_insert').empty();
                                $("#progressbar").progressbar({ value: 0 });
@@ -115,7 +115,7 @@
               $name = substr($name, 0, 26) . '...';
             }
           ?>
-             <div class="UIWall_feedbutton" style="position:relative;"><a href="<?= ADMIN_BASE_URL ?>/wall/feedgrid/<?= $id ?>" onclick="loadFeed(<?= $id ?>, '<?= $name ?>'); return false;" title="<?= $name ?>"><div class="UIWall_contentnum"><?= $feed['count'] ?></div><?= $name ?></a></div>
+             <div class="UIWall_feedbutton" style="position:relative;"><a href="<?= ADMIN_URL ?>/wall/feedgrid/<?= $id ?>" onclick="loadFeed(<?= $id ?>, '<?= $name ?>'); return false;" title="<?= $name ?>"><div class="UIWall_contentnum"><?= $feed['count'] ?></div><?= $name ?></a></div>
           <? } ?>
             <br clear="both" />
         </div>
@@ -149,6 +149,6 @@
 
 <div id="bottomstrip">
        <div id="bottomstrip-padding">
-               <a href="<?= ADMIN_BASE_URL ?>">&lt;&lt; Back to the Concerto Panel</a>
+               <a href="<?= ADMIN_URL ?>">&lt;&lt; Back to the Concerto Panel</a>
        </div>
 </div>

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Concerto is an open source digital signage system that makes it easy to engage a large community of people with graphical and text-based announcements, bulletins, and other messages... but enough about us, you came here to get involved.
<br />
If you think you've <b>found a bug in Concerto</b>, please click 'Create new ticket' and let us know about it.
<br />
Looking to peek at our source code? Head to <a href="https://github.com/concerto/concerto_v1">https://github.com/concerto/concerto_v1</a> (Concerto version 1) or <a href="https://github.com/concerto/concerto">https://github.com/concerto/concerto</a> (Concerto version 2).
<br />
Our getting started guide is available here: <a href="https://github.com/concerto/concerto/wiki/Getting-Involved">https://github.com/concerto/concerto/wiki/Getting-Involved</a>.

People watching this ticket

Tags

Referenced by

Pages