Commit 1e2b48e5 authored by xavidp's avatar xavidp

[NEW]New screens at the Site Profiles Wizard, as suggested earlier in the...

[NEW]New screens at the Site Profiles Wizard, as suggested earlier in the devel list and in http://dev.tiki.org/Profiles+Wizard : one for potentially useful profiles for production sites (Mobile, etc), and another to showcase some features for demostration purposes. 
[MOD]Names for the former profile-related wizard files and functions have been renamed to allow other cases to be added (Useful and Demo), and apply-profile links open in new window, so that user can continue revising other profiles from the wizard before finishing it.
[NEW]Icons have been added to all profiles in the Profile Wizard, to make it a little bit more user friendly (too much text still maybe?). all of them taken from openclipart (public domain icons): https://openclipart.org . They could be modified to have a similar color palette, since we have the svg version for all of them except the togetherJS one.
parent 450fc30b
......@@ -1044,6 +1044,17 @@ img/icons/large/performance48x48.png -text
img/icons/large/plugins.png -text
img/icons/large/plugins48x48.png -text
img/icons/large/prefs.gif -text
img/icons/large/profile_bug_tracker48x48.png -text
img/icons/large/profile_collaborative_community48x48.png -text
img/icons/large/profile_company_intranet48x48.png -text
img/icons/large/profile_debug_mode48x48.png -text
img/icons/large/profile_dynamic_items_list48x48.png -text
img/icons/large/profile_mobile48x48.png -text
img/icons/large/profile_personal_blog_and_profile48x48.png -text
img/icons/large/profile_small_org_web_presence48x48.png -text
img/icons/large/profile_timesheet48x48.png -text
img/icons/large/profile_together48x48.png -text
img/icons/large/profile_tracker_as_calendar48x48.png -text
img/icons/large/profiles.png -text
img/icons/large/profiles48x48.png -text
img/icons/large/quizzes48x48.png -text
......@@ -4875,7 +4886,9 @@ lib/wizard/pages/admin_language.php -text
lib/wizard/pages/admin_login.php -text
lib/wizard/pages/admin_look_and_feel.php -text
lib/wizard/pages/admin_namespace.php -text
lib/wizard/pages/admin_profiles.php -text
lib/wizard/pages/admin_profiles_demo.php -text
lib/wizard/pages/admin_profiles_featured.php -text
lib/wizard/pages/admin_profiles_useful.php -text
lib/wizard/pages/admin_search.php -text
lib/wizard/pages/admin_structures.php -text
lib/wizard/pages/admin_text_area.php -text
......@@ -6665,7 +6678,9 @@ templates/wizard/admin_language.tpl -text
templates/wizard/admin_login.tpl -text
templates/wizard/admin_look_and_feel.tpl -text
templates/wizard/admin_namespace.tpl -text
templates/wizard/admin_profiles.tpl -text
templates/wizard/admin_profiles_demo.tpl -text
templates/wizard/admin_profiles_featured.tpl -text
templates/wizard/admin_profiles_useful.tpl -text
templates/wizard/admin_search.tpl -text
templates/wizard/admin_structures.tpl -text
templates/wizard/admin_text_area.tpl -text
......
<?php
// (c) Copyright 2002-2013 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
require_once('lib/wizard/wizard.php');
/**
* Show the profiles choices
*/
class AdminWizardProfilesDemo extends Wizard
{
function pageTitle ()
{
return tra('Demo Site Profiles');
}
function isEditable ()
{
return false;
}
function onSetupPage ($homepageUrl)
{
global $smarty, $prefs;
// Run the parent first
parent::onSetupPage($homepageUrl);
// Assign the page temaplte
$wizardTemplate = 'wizard/admin_profiles_demo.tpl';
$smarty->assign('wizardBody', $wizardTemplate);
return true;
}
function onContinue ($homepageUrl)
{
// Run the parent first
parent::onContinue($homepageUrl);
}
}
......@@ -8,9 +8,9 @@
require_once('lib/wizard/wizard.php');
/**
* Show the initial profiles choices
* Show the initial featured profile choices
*/
class AdminWizardProfiles extends Wizard
class AdminWizardProfilesFeatured extends Wizard
{
function pageTitle ()
{
......@@ -29,7 +29,7 @@ class AdminWizardProfiles extends Wizard
parent::onSetupPage($homepageUrl);
// Assign the page temaplte
$wizardTemplate = 'wizard/admin_profiles.tpl';
$wizardTemplate = 'wizard/admin_profiles_featured.tpl';
$smarty->assign('wizardBody', $wizardTemplate);
return true;
......@@ -40,4 +40,4 @@ class AdminWizardProfiles extends Wizard
// Run the parent first
parent::onContinue($homepageUrl);
}
}
\ No newline at end of file
}
<?php
// (c) Copyright 2002-2013 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
require_once('lib/wizard/wizard.php');
/**
* Show the profiles choices
*/
class AdminWizardProfilesUseful extends Wizard
{
function pageTitle ()
{
return tra('Useful Site Profiles');
}
function isEditable ()
{
return false;
}
function onSetupPage ($homepageUrl)
{
global $smarty, $prefs;
// Run the parent first
parent::onSetupPage($homepageUrl);
// Assign the page temaplte
$wizardTemplate = 'wizard/admin_profiles_useful.tpl';
$smarty->assign('wizardBody', $wizardTemplate);
return true;
}
function onContinue ($homepageUrl)
{
// Run the parent first
parent::onContinue($homepageUrl);
}
}
{* $Id$ *}
<div class="adminWizardIconleft"><img src="img/icons/large/profiles48x48.png" alt="{tr}Check out some profiles{/tr}" /></div>
{tr}Each of these profiles create a working instance of some features, such as trackers and wiki pages customized for specific purposes, for example{/tr}.
{tr}They are initially intended for testing environments, so that, after you have played with the feature, you don't have to deal with removing the created objects, nor with restoring the potentially changed settnigs in your site{/tr}.
{tr}Once you know what they do, you can also apply them in your production site, in order to have working templates of the underlying features, that you can furhter adapt to your site later on{/tr}.</br></br>
<div class="adminWizardContent">
<fieldset>
<legend>{tr}Demo Profiles{/tr}</legend>
<table style="width:100%">
<tr>
<td style="width:48%">
<div class="adminWizardIconright"><img src="img/icons/large/profile_bug_tracker48x48.png" alt="{tr}Bug Tracker{/tr}" /></div>
<b>{tr}Bug Tracker{/tr}</b> (<a href="tiki-admin.php?profile=Bug_Tracker&categories%5B%5D=12.x&repository=http%3a%2f%2fprofiles.tiki.org%2fprofiles&page=profiles&preloadlist=y&list=List#step2" target="_blank">{tr}apply profile now{/tr}</a>)
<br>
{tr}This profile allows you to see a tracker in action with some demo data, and a custom interface in a wiki page to add new items, as well as having them listed for you below.{/tr}
<ul>
<li>{tr}Uses PluginTracker in a wiki page to add items{/tr}</li>
<li>{tr}Create some custom feedback for message to the user after item insertion{/tr}</li>
<li>{tr}Uses PluginTrackerList to display inserted items{/tr}</li>
<br/><em>{tr}See also{/tr}: <a href="https://doc.tiki.org/Trackers" target="_blank">{tr}Trackers in doc.tiki.org{/tr}</a></em>
</ul>
</td>
<td style="width:4%">
&nbsp;
</td>
<td style="width:48%">
<div class="adminWizardIconright"><img src="img/icons/large/profile_dynamic_items_list48x48.png" alt="{tr}Dynamic Items List{/tr}" /></div>
<b>{tr}Dynamic Items List{/tr}</b> (<a href="tiki-admin.php?profile=Dynamic_items_list_demo&categories%5B%5D=12.x&repository=http%3a%2f%2fprofiles.tiki.org%2fprofiles&page=profiles&preloadlist=y&list=List#step2" target="_blank">{tr}apply profile now{/tr}</a>)<br/>
<br>
{tr}This profile creates two linked trackers. One that allow pre-selecting the items in a drop down list based on the items in a previous drop down field. And a second tracker that holds the options displayed in the drop down fields.{/tr}
<ul>
<li>{tr}Useful for Geographic data (State, Country/Province, ...){/tr}</li>
<li>{tr}Useful for Types and Subtypes{/tr}</li>
<li>{tr}Useful for Program Names and Versions{/tr}</li>
<li>{tr}Easily mamange the options in the second tracker without editing the dropdown in the first tracker{/tr} </li>
<br/><em>{tr}See also{/tr}: <a href="https://doc.tiki.org/Dynamic+items+list" target="_blank">{tr}Dynamic items list in doc.tiki.org{/tr}</a></em>
</ul>
</td>
</tr>
<tr>
<td style="width:48%">
<div class="adminWizardIconright"><img src="img/icons/large/profile_tracker_as_calendar48x48.png" alt="{tr}Tracker as Calendar{/tr}" /></div>
<b>{tr}Tracker as Calendar{/tr}</b> (<a href="tiki-admin.php?profile=Tracker_as_Calendar_10&categories%5B%5D=12.x&repository=http%3a%2f%2fprofiles.tiki.org%2fprofiles&page=profiles&preloadlist=y&list=List#step2" target="_blank">{tr}apply profile now{/tr}</a>)
<br>
{tr}This profile creates a tracker with some demo data and wiki interface that will be used to display and manage a Calendar of events in a fancy visual way.{/tr}
<ul>
<li>{tr}Advanced use of Plugin TrackerList{/tr}</li>
<li>{tr}Working example of Plugin TrackerCalendar{/tr}</li>
<li>{tr}Drag & Drop to resize or move events{/tr}</li>
<li>{tr}Several display modes, useful for Project & Resource Management{/tr}</li>
<br/><em>{tr}See also{/tr}: <a href="https://doc.tiki.org/PluginTrackerCalendar" target="_blank">{tr}Plugin TrackerCalendar in doc.tiki.org{/tr}</a></em>
</ul>
</td>
<td style="width:4%">
&nbsp;
</td>
<td style="width:48%">
</td>
</tr>
</table>
<br>
<em>{tr}See also{/tr} <a href="tiki-admin.php?page=profiles&alt=Profiles" target="_blank">{tr}Profiles admin panel{/tr}</a></em>
</fieldset>
<br>
</div>
......@@ -4,11 +4,12 @@
{tr}Initialize Tiki as an application, e.g. a blog., by means of applying one of the 4 featured configuration profiles{/tr}. </br></br>
<div class="adminWizardContent">
<fieldset>
<legend>{tr}Profiles{/tr}</legend>
<legend>{tr}Featured Site Profiles{/tr}</legend>
<table style="width:100%">
<tr>
<td style="width:48%">
<b>{tr}Collaborative Community{/tr}</b> (<a href="tiki-admin.php?profile=&categories%5B%5D=12.x&categories%5B%5D=Featured+profiles&repository=http%3a%2f%2fprofiles.tiki.org%2fprofiles&page=profiles&preloadlist=y&list=List#step2" target="_self">{tr}apply profile now{/tr}</a>)
<div class="adminWizardIconright"><img src="img/icons/large/profile_collaborative_community48x48.png" alt="{tr}Collaborative Community{/tr}" /></div>
<b>{tr}Collaborative Community{/tr}</b> (<a href="tiki-admin.php?profile=&categories%5B%5D=12.x&categories%5B%5D=Featured+profiles&repository=http%3a%2f%2fprofiles.tiki.org%2fprofiles&page=profiles&preloadlist=y&list=List#step2" target="_blank">{tr}apply profile now{/tr}</a>)
<br>
{tr}Setup to help subject experts and enthusiasts work together to build a Knowledge Base{/tr}
<ul>
......@@ -22,7 +23,8 @@
&nbsp;
</td>
<td style="width:48%">
<b>{tr}Company Intranet{/tr}</b> (<a href="tiki-admin.php?profile=&categories%5B%5D=12.x&categories%5B%5D=Featured+profiles&repository=http%3a%2f%2fprofiles.tiki.org%2fprofiles&page=profiles&preloadlist=y&list=List#step2" target="_self">{tr}apply profile now{/tr}</a>)
<div class="adminWizardIconright"><img src="img/icons/large/profile_company_intranet48x48.png" alt="{tr}Company Intranet{/tr}" /></div>
<b>{tr}Company Intranet{/tr}</b> (<a href="tiki-admin.php?profile=&categories%5B%5D=12.x&categories%5B%5D=Featured+profiles&repository=http%3a%2f%2fprofiles.tiki.org%2fprofiles&page=profiles&preloadlist=y&list=List#step2" target="_blank">{tr}apply profile now{/tr}</a>)
<br>
{tr}Setup for a Corporate Intranet of a typical medium-sized business{/tr}.
<ul>
......@@ -35,7 +37,8 @@
</tr>
<tr>
<td style="width:48%">
<b>{tr}Personal Blog and Profile{/tr}</b> (<a href="tiki-admin.php?profile=&categories%5B%5D=12.x&categories%5B%5D=Featured+profiles&repository=http%3a%2f%2fprofiles.tiki.org%2fprofiles&page=profiles&preloadlist=y&list=List#step2" target="_self">{tr}apply profile now{/tr}</a>)
<div class="adminWizardIconright"><img src="img/icons/large/profile_personal_blog_and_profile48x48.png" alt="{tr}Personal Blog and Profile{/tr}" /></div>
<b>{tr}Personal Blog and Profile{/tr}</b> (<a href="tiki-admin.php?profile=&categories%5B%5D=12.x&categories%5B%5D=Featured+profiles&repository=http%3a%2f%2fprofiles.tiki.org%2fprofiles&page=profiles&preloadlist=y&list=List#step2" target="_blank">{tr}apply profile now{/tr}</a>)
<br>
{tr}Setup with many cool features to help you integrate the Social Web and establish a strong presence in the Blogosphere{/tr}
<ul>
......@@ -49,7 +52,8 @@
&nbsp;
</td>
<td style="width:48%">
<b>{tr}Small Organization Web Presence{/tr}</b> (<a href="tiki-admin.php?profile=&categories%5B%5D=12.x&categories%5B%5D=Featured+profiles&repository=http%3a%2f%2fprofiles.tiki.org%2fprofiles&page=profiles&preloadlist=y&list=List#step2" target="_self">{tr}apply profile now{/tr}</a>)
<div class="adminWizardIconright"><img src="img/icons/large/profile_small_org_web_presence48x48.png" alt="{tr}Small Organization Web Presence{/tr}" /></div>
<b>{tr}Small Organization Web Presence{/tr}</b> (<a href="tiki-admin.php?profile=&categories%5B%5D=12.x&categories%5B%5D=Featured+profiles&repository=http%3a%2f%2fprofiles.tiki.org%2fprofiles&page=profiles&preloadlist=y&list=List#step2" target="_blank">{tr}apply profile now{/tr}</a>)
<br>
{tr}Setup for a Web Presence of a typical small business or non-profit{/tr}.
<ul>
......
{* $Id$ *}
<div class="adminWizardIconleft"><img src="img/icons/large/profiles48x48.png" alt="{tr}Check out some potentially useful profiles{/tr}" /></div>
{tr}Check out some potentially useful profiles for your site. {/tr}. </br></br>
<div class="adminWizardContent">
<fieldset>
<legend>{tr}Potentially Useful Profiles{/tr}</legend>
<table style="width:100%">
<tr>
<td style="width:48%">
<div class="adminWizardIconright"><img src="img/icons/large/profile_mobile48x48.png" alt="{tr}Mobile{/tr}" /></div>
<b>{tr}Mobile{/tr}</b> (<a href="tiki-admin.php?profile=Mobile&categories%5B%5D=12.x&repository=http%3a%2f%2fprofiles.tiki.org%2fprofiles&page=profiles&preloadlist=y&list=List#step2" target="_blank">{tr}apply profile now{/tr}</a>)
<br>
{tr}This profile allows to switch the site layout, text and icons to users with smartphones and tablets{/tr}
<ul>
<li>{tr}Automatic switch when a mobile device is detected{/tr}</li>
<li>{tr}Manual switch allowed with provided side module{/tr}</li>
<li>{tr}Enhanced mobile mode in Tiki 12{/tr}</li>
<br/><em>{tr}See also{/tr}: <a href="https://doc.tiki.org/Mobile" target="_blank">{tr}Mobile in doc.tiki.org{/tr}</a></em>
</ul>
</td>
<td style="width:4%">
&nbsp;
</td>
<td style="width:48%">
<div class="adminWizardIconright"><img src="img/icons/large/profile_debug_mode48x48.png" alt="{tr}Debug Mode Enabled{/tr}" /></div>
<b>{tr}Debug Mode Enabled{/tr}</b> (<a href="tiki-admin.php?profile=Debug_Mode_Enabled&categories%5B%5D=12.x&repository=http%3a%2f%2fprofiles.tiki.org%2fprofiles&page=profiles&preloadlist=y&list=List#step2" target="_blank">{tr}apply profile now{/tr}</a>)<br/>
<b>{tr}Debug Mode Disabled{/tr}</b> (<a href="tiki-admin.php?profile=Debug_Mode_Disabled&categories%5B%5D=12.x&repository=http%3a%2f%2fprofiles.tiki.org%2fprofiles&page=profiles&preloadlist=y&list=List#step2" target="_blank">{tr}apply profile now{/tr}</a>)
<br>
{tr}Profile <i>Debug_Mode_Enabled</i> will help you detect potential errors and warnings which are hidden otherwise.{/tr}
{tr}Once applied, you might like to apply the opposite profile: <i>Debug_Mode_Disabled</i>, if not changing the appropriate settings by hand.{/tr}
<ul>
<li>{tr}Enables/Disables debugging tools{/tr}</li>
<li>{tr}Enables/Disables logging tools{/tr}</li>
<li>{tr}Disables/Enables redirections to similar pages{/tr}</li>
<li>{tr}Enables/Disables error and warning display to all users, not only admins{/tr} </li>
<br/><em>{tr}See also{/tr}: <a href="https://dev.tiki.org/Recovery" target="_blank">{tr}Recovery in dev.tiki.org{/tr}</a></em>
</ul>
</td>
</tr>
<tr>
<td style="width:48%">
<div class="adminWizardIconright"><img src="img/icons/large/profile_together48x48.png" alt="{tr}Together{/tr}" /></div>
<b>{tr}Together{/tr}</b> (<a href="tiki-admin.php?profile=Together&categories%5B%5D=12.x&repository=http%3a%2f%2fprofiles.tiki.org%2fprofiles&page=profiles&preloadlist=y&list=List#step2" target="_blank">{tr}apply profile now{/tr}</a>)
<br>
{tr}This profile adds a simple wiki page on a side module (using the Module menupage), showing the button to start co-writing with TogetherJS.{/tr}
<ul>
<li>{tr}Allows cowriting documents in real time{/tr}</li>
<li>{tr}Allows voice communication in real time while editing{/tr}</li>
<li>{tr}Uses the TogetherJS Mozilla widget{/tr}</li>
<br/><em>{tr}See also{/tr}: <a href="https://doc.tiki.org/PluginTogether" target="_blank">{tr}Plugin Together in doc.tiki.org{/tr}</a></em>
</ul>
</td>
<td style="width:4%">
&nbsp;
</td>
<td style="width:48%">
<div class="adminWizardIconright"><img src="img/icons/large/profile_timesheet48x48.png" alt="{tr}Timesheet{/tr}" /></div>
<b>{tr}Timesheet{/tr}</b> (<a href="tiki-admin.php?profile=Time_Sheet&categories%5B%5D=12.x&repository=http%3a%2f%2fprofiles.tiki.org%2fprofiles&page=profiles&preloadlist=y&list=List#step2" target="_blank">{tr}apply profile now{/tr}</a>)
<br>
{tr}This profile allows recording time spent on projects. It creates two trackers: one to hold the time spent, and the other with the project names. Both trakers are linked, so that project names can be chosen when entering items to the timesheet tracker{/tr}.
<ul>
<li>{tr}Allows to track your time spent on projects{/tr}</li>
<li>{tr}Timesheet & Projects linked trackers already{/tr}</li>
<li>{tr}Customize your project categories{/tr}</li>
<li>{tr}Add or edit your timesheet fields as desired{/tr} </li>
<br/><em>{tr}See also{/tr}: <a href="https://doc.tiki.org/Timesheet" target="_blank">{tr}Timesheet feature{/tr}</a> {tr}and{/tr} <a href="https://doc.tiki.org/PluginTimesheet" target="_blank">{tr}Plugin Timesheet in doc.tiki.org{/tr}</a></em>
</ul>
</td>
</tr>
</table>
<br>
<em>{tr}See also{/tr} <a href="tiki-admin.php?page=profiles&alt=Profiles" target="_blank">{tr}Profiles admin panel{/tr}</a></em>
</fieldset>
<br>
</div>
......@@ -37,8 +37,14 @@ if ($useDefaultPrefs) {
// Store the default prefs selection in the wizard bar
$smarty->assign('useDefaultPrefs', $useDefaultPrefs);
require_once('lib/wizard/pages/admin_profiles.php');
$pages[] = new AdminWizardProfiles();
require_once('lib/wizard/pages/admin_profiles_featured.php');
$pages[] = new AdminWizardProfilesFeatured();
require_once('lib/wizard/pages/admin_profiles_useful.php');
$pages[] = new AdminWizardProfilesUseful();
require_once('lib/wizard/pages/admin_profiles_demo.php');
$pages[] = new AdminWizardProfilesDemo();
} else {
require_once('lib/wizard/pages/admin_language.php');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment