Jump to content


qwr

Member Since 03 Jun 2014
Offline Last Active Aug 16 2014 02:02 AM
-----

#14591 Nginx installation

Posted by qwr on 07 August 2014 - 07:03 AM

Has anyone tried to install zurmo in nginx? I have tried doing so but got stuck on the initial system check as it requires apache2.2 or higher. My current configuration right now is an isolated bitnami instance (version 2.7.1), and using nginx as proxy. I'm running Ubuntu 14.04 LTS.


  • qwr likes this


#14588 Online User Tracking

Posted by qwr on 07 August 2014 - 06:44 AM

We have tried tracking user sessions by using the Audit Trail. We have successfully tracked users logging in and, those logging out correctly (by clicking the appropriate Sign Out link under the profile menu). The problem is, when a user was logged out of the system due to session expiration or inactivity the user stays logged in.


  • qwr likes this


#14143 Creating a new View in HomeDashboardView.

Posted by qwr on 06 June 2014 - 06:33 AM

Is it possible to do this? What the are other files that I have to edit/create?
 

public function __construct($controllerId, $moduleId, $uniqueLayoutId, $model, $params)
        {
            parent::__construct(3, 1);
            $this->setView(new ???) // I have no idea what to put here...
            $this->setView(new TitleBarView (strval($model)), 0, 0);
...




#14142 Creating a new View in HomeDashboardView.

Posted by qwr on 06 June 2014 - 06:15 AM

I'm new to Zurmo and coding, I have tried to search for similar queries about this topic but was not able to conclude on what to do.
 

The code below contains the edited HomeAndDashboardView.php

$prependContent = '<table class="items">
<tbody>
<tr><td>Test</td></tr>
<tr><td>test data</td></tr>
</tbody>
</table><br />';
            $this->setView(new TitleBarView(strval($model), null, 1,
                $prependContent), 0, 0);

TitleBarView.php for reference.

public function __construct($title, $description = null, $styleSize = 1, $prependContent = null)
        {
            $this->title          = $title;
            $this->description    = $description;
            $this->styleSize      = $styleSize;
            $this->prependContent = $prependContent;
        }

This is the result...
Screenshot from 2014-06-06 14:13:27.png

 

What are the alternatives to doing this? Thanks in advance!