View · Search · Index

Weblog

Showing 141 - 150 of 698 Postings (summary)

Modifying the look of an installation

Created by Ryan Gallimore, last modified by Benjamin Brink 30 Jun 2017, at 05:23 PM

Please refer to OACS Theming for newer templating information & tutorial.

Template Files 

Almost all pages on an OpenACS site use ACS Templating, and so their appearance is driven by a layer of different files. Let's examine how this works:

  • A templated page uses an ADP/Tcl pair. The first line in the ADP file is usually:

    <master>

    If it appears exactly like this, without any arguments, the template processor uses default-master for that subsite. For pages in /var/lib/aolserver/$OPENACS_SERVICE_NAME/www, this is /var/lib/aolserver/$OPENACS_SERVICE_NAME/www/default-master.adp and the associated .tcl file.

  • The default-master is itself a normal ADP page. It draws the subsite navigation elements and invokes site-master (/var/lib/aolserver/$OPENACS_SERVICE_NAME/www/site-master.adp and .tcl)

  • The site-master draws site-wide navigation elements and invokes blank-master (/var/lib/aolserver/$OPENACS_SERVICE_NAME/www/blank-master.adp and .tcl).

  • Blank-master does HTML housekeeping and provides a framework for special sitewide navigation "meta" elements such as Translator widgets and Admin widgets.

Figure 1. Site Templates

Site Templates

 

CSS Files

 /packages/acs-subsite/www/resources/site-master.css contains styles for the following elements:

  • Header
  • User Bar
  • Footer
  • Navigation
  • Widgets (Buttons)
  • Text Styles
  • Portlets
  • acs-developer-support (along with /packages/acs-developer-support/www/resources/acs-developer-support.css)

 /packages/acs-subsite/www/resources/default-master.css defines styles for the following elements:

  • Table, TR, TD
  • Calendar package
  • combo boxes (for date dropdowns)

/packages/acs-templating/www/resources contains many other css stylesheets that are appropriately named. Each package may also often have its own stylesheet.

 

Selva Theme 

Selva simplifies the work of customizing the look and feel of your OpenACS/dotLRN website. You will find Selva's documentation on each installation of openacs, once the package is installed, you will find its documentation as follows: http://yoursite/doc/theme-selva.

Since Selva is based purely on css you can have a better accessibility on designing your site.

Steps in placing logo using Selva 

  • Go to http://yoursite/admin/site-map/
  • Search on theme-selva package and Click on its parameter link
  • Look for the parameter named " logoUrl" and place the the filename or URL of the Logo that you want to put in.
  • Go to http://yoursite/admin/site-map/, look for "Main Site" and click on parameters, then set the DefaultMaster parameter to  /packages/theme-selva/www/selva-master

Note: This instruction assumed that you have already installed the package theme-selva in your openacs installation.

 

 

 

tdom_0.8.3.orig.tar.gz

Created by Stefan Sobernig, last modified by Benjamin Brink 30 Jun 2017, at 05:12 PM

NameContent TypeLast ModifiedBy UserSize (Bytes)
tdom_0.8.3.orig.tar.gzapplication/gzip2017-06-30 17:12:23+02Benjamin Brink990367

The original file

User interface mockups

Created by Dave Bauer, last modified by Benjamin Brink 30 Jun 2017, at 05:09 PM

NameContent TypeLast ModifiedBy UserSize (Bytes)
file-upload-mockups.pdfapplication/pdf2017-06-30 17:09:01+02Benjamin Brink161631

Files in XoWiki

Created by Benjamin Brink, last modified by Benjamin Brink 30 Jun 2017, at 05:06 PM

    ↑↓ Type↑↓ Name↑↓ Last Modified↑↓ By User↑↓
    ■ tdom_0.8.3.orig.tar.gz2017-06-30 17:12Benjamin Brink
    ■ file-upload-mockups.pdf2017-06-30 17:09Benjamin Brink
    ■ legislative-process.wf2016-09-19 14:10Antonio Pisano
    ■ aolserver-market-position-2013-08.png2013-08-24 13:36Gustaf Neumann
    ■ commits.png2010-11-04 15:22Jeff Davis
    ■ oacs-for-debian.png2008-08-06 14:33Stefan Sobernig
    ■ oacs-dotlrn-vienna-xowiki.pdf2008-01-14 09:10Gustaf Neumann
    ■ site-nodes-tree.svg2007-05-23 23:01Lee Denison
    ■ preview.png2006-12-09 12:43Gustaf Neumann

    Most Popular Pages

    Created by Gustaf Neumann, last modified by Benjamin Brink 30 Jun 2017, at 07:15 AM

    Activity Graph

    Created by Gustaf Neumann, last modified by Benjamin Brink 30 Jun 2017, at 07:12 AM

    You must login to see the activity-graph

    XoWiki: List of the available includelets

    Created by Gustaf Neumann, last modified by Benjamin Brink 30 Jun 2017, at 07:11 AM

    This is a list of the includelets, which can be included in a xowiki page: 

    The following includelets can be used in a page
    • {{LTI-LaunchButton -launch_button_label Join Meeting -launch_button_title Click to join -title "" -presentation window}}

    • {{activity-graph -max_edges 70 -cutoff 0.1 -max_activities:integer 100 -show_anonymous message}}

      Include an activity graph

    • {{available-formfields -flat:boolean false}}

      List the available form field types of this installation.

    • {{available-includelets}}

      List the available includelets of this installation.

    • {{book -category_id -menu_buttons edit -folder_mode false -locale "" -range "" -allow_reorder "" -orderby page_order,asc -with_footer false -publish_status ready}}

      Show contents in book mode.

    • {{bookmarklet-button -siteurl "" -label ""}}

      Include bookmarklet button that makes it easy to add the current page as a bookmark in the browser of the client.

    • {{categories -tree_name "" -tree_style:boolean 1 -no_tree_name:boolean 0 -count:boolean 0 -summary:boolean 0 -locale "" -open_page "" -order_items_by title,asc -style mktree -category_ids "" -parent / -except_category_ids "" -allow_edit false -ordered_composite}}

      List the specified category tree.

    • {{categories-recent -max_entries:integer 10 -tree_name "" -locale "" -pretty_age off}}

      Display recent entries by categories.

    • {{chat -title "" -chat_id "" -mode "" -path "" -skin -login_messages_p -logout_messages_p -avatar_p -timewindow}}

      Include a chat in the current page

    • {{chat_room -chat_id -mode:optional "" -path:optional "" -skin:optional ""}}

      Include a chat room

    • {{child-resources -skin:optional yui-skin-sam -show_types ::xowiki::Page,::xowiki::File,::xowiki::Form,::xowiki::FormPage -regexp:optional -language_specific:boolean false -with_subtypes:boolean,optional false -orderby:token,optional last_modified,desc -publish_status:wordchar ready -view_target "" -html-content -parent . -columns objects edit publish_status object_type name last_modified mod_user duplicate delete -hide "" -menubar ""}}

      Include the content of the current folder somewhat similar to explorer.

    • {{collab-graph -max_edges 70 -cutoff 0.1 -show_anonymous message -user_id}}

      Include a collaboration graph

    • {{community-link -text "" -url ""}}

      Include a link to the community including the current page. This includelet is designed to work with dotlrn.

    • {{composite-form -edit_links:boolean false -pages "" -ordered_pages}}

      Create a form from the selection

    • {{conference-stream}}

      Conference Live Stream

    • {{copy-item-button -page_id -alt copy -book_mode false}}

      Button to copy a page

    • {{countdown-timer -target_time "" -audio_alarm true}}

      Countdown timer

    • {{create-item-button -page_id -alt new -book_mode false}}

      Button to create a new page based on the current one

    • {{creation-date -source "" -format %m-%d-%Y}}

      Include the creation date of the current or specified page in the provided format.

    • {{current-irc-log -date ""}}

    • {{delete-item-button -page_id -title Delete -alt delete -book_mode false}}

      Button to delete the current or a different page

    • {{delicious -description "" -tags "" -url}}

      Add a button to submit article to delicious.

    • {{digg -description "" -url}}

      Add a button to submit article to digg.

    • {{edit-item-button -page_id -title Edit -alt edit -book_mode false -link "" -target ""}}

      Button to edit the current or a different page

    • {{exam-top-includelet -countdown_audio_alarm true -target_time "" -url_poll "" -url_dismiss "" -poll_interval 5000}}

      This is the top includelet for the in-class exam, containing a countdown timer and the personal notifications includelet

    • {{flowplayer -mp4:required,nohtml}}

      Include an mp4 image using flowplayer

    • {{folders -show_full_tree false -context_tree_view false}}

      List the folder tree of the current instance

    • {{form-menu -form_item_id:integer -parent_id -form -buttons new answers -button_objs -return_url}}

      Include a form menu for the specified Form

    • {{form-stats -form -parent_id -property _state -orderby count,desc -renderer table}}

      Include form statistics for the specofied Form page.

    • {{form-usages -form_item_id:integer,1..n -form -parent_id -package_ids "" -orderby _raw_last_modified,desc -view_field _name -publish_status all -field_names -hidden_field_names _last_modified -extra_form_constraints "" -inherit_from_forms "" -category_id -unless -where -extra_where_clause "" -csv true -voting_form -voting_form_form "" -voting_form_anon_instances t -generate -with_form_link true -with_categories -wf -bulk_actions "" -buttons edit delete -renderer "" -return_url -date_format -with_checkboxes:boolean false}}

      Show usages of the specified form.

    • {{get -variable -form_variable -source ""}}

      Get an instance variable from the current or from a different page.

    • {{graph}}

    • {{gravatar -email:required -size 80}}

      Include gravatar picture for the specified email

    • {{html-file -title "" -extra_css "" -levels 0 -file:required}}

      Include the specified HTML file

    • {{iframe -title "" -url:required -width 100% -height 500px}}

      Include an iframe containing the specified URL

    • {{item-button}}

    • {{jquery-carousel}}

      Display a sequence of pages via jquery-carousel, based on book includelet.

    • {{jquery-cloud-carousel}}

      Display a sequence of pages via jquery-cloud-carousel, based on book includelet.

    • {{jquery-infinite-carousel}}

      Display a sequence of pages via jquery-infinite-carousel, based on book includelet.

    • {{jquery-spacegallery}}

      Display a sequence of pages via jquery-spacegalleryl, based on book includelet.

    • {{kibana -chart openacs-status-codes -from now-24h -to now -hash "" -width:integer 800 -height:integer 400}}

      Include a Kibana chart identified by the provided hash

    • {{last-visited -max_entries:integer 20}}

      Display last visited pages.

    • {{launch-bigbluebutton}}

    • {{launch-jupyter}}

    • {{launch-zoom}}

    • {{link-with-local-return-url -text "" -url ""}}

      Insert a link with extra return URL pointing the current object. This is particularly useful in cases, where a return URL must be created for a page that does not yet exist at time of definition (e.g. for link pointing to concrete workflow instances)

    • {{most-frequent-visitors -max_entries:integer 15}}

      List the most frequent visitors.

    • {{most-popular -max_entries:integer 10 -interval}}

      Display most popular pages of this wiki instance.

    • {{my-categories -summary 1}}

      List the categories associated with the current page.

    • {{my-general-comments}}

      List the general comments available for the current page.

    • {{my-references}}

      List the pages which are referring to the current page.

    • {{my-refers}}

      List the pages which are referred to the current page.

    • {{my-tags -summary 1}}

      List the tags associated with the current page.

    • {{my-yahoo-publisher -publisher "" -rssurl}}

      Name of the publisher, when posting URLs to my yahoo (use in connection with with_yahoo_publisher).

    • {{personal-notification-messages -url_poll "" -url_dismiss "" -poll_interval 5000}}

    • {{presence -interval 10 minutes -max_users:integer 40 -show_anonymous summary -page}}

      Show users actively in the wiki.

    • {{random-form-page -form:required -publish_status ready -expires 600}}

      Include random form page (instance of the specified form)

    • {{recent -max_entries:integer 10 -allow_edit:boolean false -allow_delete:boolean false -pretty_age off}}

      Display recent modified entries.

    • {{references-graph -folder . -page "" -link_type link -rankdir LR -fontsize 12}}

      Include a graph of the (partial) link structure in a wiki, starting either with a page or a folder. When a page is provided, the local link structure of this page is visualized (including incoming and outgoing links of the page; e.g. -page "." for the current page). Alternatively, the content of a folder can be shown.

    • {{rss-button -span 10d -name_filter -entries_of -title}}

      Include an RSS button referring to pages of the specified time span.

    • {{rss-client -url:required -max_entries:integer 15}}

      Include RSS content

    • {{s5 -category_id -slideshow:boolean false -pagenr 0 -style standard -menu_buttons view edit copy create delete}}

    • {{selection -edit_links:boolean true -pages "" -ordered_pages "" -source -publish_status ready -menu_buttons edit -range ""}}

      Provide a selection of pages

    • {{set-parameter}}

      Set a parameter accessible to the current page (for certain tailorings), accessible in the page via e.g. the query parameter interface.

    • {{slidy}}

      Display a sequence of pages via W3C slidy, based on book includelet

    • {{tags -limit:integer 20 -summary:boolean 0 -popular:boolean 0 -page}}

      Display specified tags.

    • {{timeline -user_id -data timeline-data -interval1 DAY -interval2 MONTH}}

      Include a timeline of changes (based on yahoo timeline API)

    • {{toc -style "" -renderer "" -open_page "" -book_mode false -folder_mode false -ajax false -expand_all false -remove_levels 0 -category_id -locale "" -orderby "" -source "" -range "" -allow_reorder "" -include_in_foldertree true -CSSclass_top_ul "" -CSSclass_ul ""}}

    • {{unread-items -max_entries:integer 20}}

      List unread items.

    • {{unresolved-references}}

      List the pages with unresolved references in the current xowiki/xowf package. This is intended for use by admins.

    • {{user-timeline -user_id -data timeline-data -interval1 DAY -interval2 MONTH}}

      Include a timeline of changes of the current or specified user (based on yahoo timeline API)

    • {{view-item-button -page_id -title View -alt view -link "" -book_mode false}}

      Button to view the current or a different page

    • {{vimeo-stream}}

      Conference Live Stream

    • {{vspace -height "" -width ""}}

    • {{wf-todo -workflow "" -user_id -ical 0 -max_entries}}

    • {{yui-carousel -title "" -item_size 600x400 -image_size -num_visible 1 -play_interval 0 -auto_size 0 -folder -glob "" -form ""}}

      Include YUI carousel showing the pages of the specified or current folder.

    Collaboration Graph

    Created by Gustaf Neumann, last modified by Benjamin Brink 30 Jun 2017, at 07:10 AM

    You must login to see the collab-graph

    XoWiki: How to save files directly in the wiki

    Created by Gustaf Neumann, last modified by Benjamin Brink 30 Jun 2017, at 07:08 AM

    In order to save files directly in the wiki, just add a link with the content file:yourfile to a page (as for other links, between curly double brackets).

    [[file:oacs-dotlrn-vienna-xowiki.pdf|XoWiki Slides from the Vienna OpenACS conference]]

    When the file link is added, and the file does not exist, the wiki marks the link with a handle to upload the file. According to the current policies, everybody who is logged-in has sufficient permissions is allowed to edit pages.. 

    Here is an example of a file-link, pointing to the xowiki slides from the the Vienna oacs-dotlrn conference XoWiki Slides from the Vienna OpenACS conference

     

    GETable resources, that should be POSTable resources

    Created by Michael Aram, last modified by Benjamin Brink 30 Jun 2017, at 07:05 AM

    TODO: These OpenACS-URLs are available via GET requests, but as the associated actions are either not safe or not idempotent (or both), they should be made available only via POST instead...

    This is more of a problem nowadays as it was earlier, as current browsers (like Chrome or Safari) tend to fetch resources even before the user hits enter in the address bar (i.e. one cannot easily prevent that an unwanted action is taken while entering a similar URL).

    In particular the actual (Jan 2014) versions of Safari on Mac OS X 10.9.1 automatically pre-fetches URLs for an url path, when sub-pages were visited in the past, and a user clicks in the url bar (as soon as it shows possible completions). One can e.g. shut down "automatically" the OpenACS server by on /acs-admin/, since Safari might "prefetch" /acs-admin/server-restart.

    This page is only a TODO list, that should become a bug report later...

     

    • /acs-admin/users/become
    • /acs-admin/server-restart

     

    Next Page
    previous December 2026
    Sun Mon Tue Wed Thu Fri Sat
    29 30 1 2 3 4 5
    6 7 8 9 10 11 12
    13 14 15 16 17 18 19
    20 21 22 23 24 25 26
    27 28 29 30 31 1 2

    Popular tags

    17 , 5.10 , 5.10.0 , 5.10.1 , 5.9.0 , 5.9.1 , ad_form , ADP , ajax , aolserver , asynchronous , Azure , bgdelivery , bootstrap , bugtracker , CentOS , COMET , compatibility , conference , CSP , CSRF , cvs , debian , docker , docker-compose , emacs , engineering-standards , exec , fedora , FreeBSD
    No registered users in community xowiki
    in last 30 minutes
    Contributors

    OpenACS.org