<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rssdatehelper="urn:rssdatehelper"><channel><title>TSWE news and events RSS feed</title><link>http://www.tswe-berlin.de/en/home.aspx</link><pubDate>Thu, 06 Oct 2011 09:02:17 GMT</pubDate><lastBuildDate>Thu, 06 Oct 2011 09:02:17 GMT</lastBuildDate><generator>Umbraco V4 XSLT-Script RSS Generator</generator><description>A list of TSWE news and events that are going on.</description><language>en-US</language><ttl>120</ttl><item><title>Steve Paul Jobs 1955-2011</title><link>http://www.tswe-berlin.de/en/news/steve-paul-jobs-1955-2011.aspx</link><author>Immo Wache</author><pubDate>Thu, 06 Oct 2011 09:02:17 GMT</pubDate><guid isPermaLink="true">http://www.tswe-berlin.de/1677.aspx</guid><content:encoded><![CDATA[ 
<p>Steve, you really were amazing.<br />
 You brought ideas to matter that touch our souls.</p>

<p><a href="http://thankyousteve.org" target="_blank"
title="Thank you Steve.">thankyousteve.org</a></p>
]]></content:encoded></item><item><title>Using the Umbraco dictionary with GUI controls</title><link>http://www.tswe-berlin.de/en/news/using-the-umbraco-dictionary-with-gui-controls.aspx</link><author>Johannes Eschrig</author><pubDate>Tue, 27 Sep 2011 15:54:57 GMT</pubDate><guid isPermaLink="true">http://www.tswe-berlin.de/1565.aspx</guid><content:encoded><![CDATA[ 
<p>Umbraco's multilingual infrastructure can be easily used with
combined ASP.NET GUI controls. With the belonging source code,
translation relevant elements can be preoccupied with corresponding
entries from the Umbraco dictionary. This is done inside the
OnInit() method:</p>

<pre>
protected override void OnInit(EventArgs e)
{
    btnSearch.InnerHtml = getDictionaryItem("cwsSearch");
}
</pre>

<p>The helper-method getDictionaryItem() takes over all required
tasks related to the communication with the Umbraco-API:</p>

<pre>
private string getDictionaryItem(string key)
{
    string result = umbraco.library.GetDictionaryItem(key);
    if (String.IsNullOrEmpty(result)) result = "[#" + key + "]";
    return result;
}
</pre>
]]></content:encoded></item><item><title>Restoring the Umbraco database</title><link>http://www.tswe-berlin.de/en/news/restoring-the-umbraco-database.aspx</link><author>Johannes Eschrig</author><pubDate>Tue, 27 Sep 2011 15:46:11 GMT</pubDate><guid isPermaLink="true">http://www.tswe-berlin.de/1564.aspx</guid><content:encoded><![CDATA[ 
<p>This is a step-for-step tutorial on how to restore a backup
script into a SQL Server 2008 instance. To generate a backup
script, please see the article on <a href="/en/news/backing-up-the-umbraco-database.aspx"
title="Backup der Umbraco Datenbank">Backing up the Umbraco
database.</a></p>

<ol>
<li>Open SQL-Server Management Studio 2008 and connect to desired
database server.</li>

<li>Menu: File &gt; Open &gt; File... &gt; select your backup
script (*.sql)</li>

<li>In the opened window, check to see if your script is running as
the desired database. The script should begin with: 

<pre>
USE
[MySqlDatabase]
GO
</pre>
</li>

<li>If this is not the case, edit the script.</li>

<li>Run script with F5 &gt; check to see if the script was run
successfully &gt; Finish.</li>
</ol>

<p>&nbsp;</p>
]]></content:encoded></item><item><title>Backing up the Umbraco database</title><link>http://www.tswe-berlin.de/en/news/backing-up-the-umbraco-database.aspx</link><author>Johannes Eschrig</author><pubDate>Tue, 27 Sep 2011 15:33:55 GMT</pubDate><guid isPermaLink="true">http://www.tswe-berlin.de/1563.aspx</guid><content:encoded><![CDATA[ 
<p>Transferring the Umbraco database from the local developing
system to the running system (and back) is quite simple with SQL
Server 2008 Management Studio Express. It is also possible to
manually backup the running system with this program.</p>

<p>Management Studio 2008 information: <a
href="http://technet.microsoft.com/en-us/library/ms365247.aspx">http://technet.microsoft.com/en-us/library/ms365247.aspx</a></p>

<p>Download-link: <a
href="http://go.microsoft.com/fwlink/?LinkId=144346">http://go.microsoft.com/fwlink/?LinkId=144346</a></p>

<p>The following steps are required (Management console needs to be
installed):</p>

<ol>
<li>Connect to the database.</li>

<li>Expand the folder "databases" and select the desired
database.</li>

<li>In the context menu [right-click] open &gt; Tasks &gt; generate
scripts...</li>

<li>Confirm the script assistant with &gt; next</li>

<li>Select database &gt; next</li>

<li>Use the following configuration: 

<ul>
<li>Drop as Skript: <strong>True</strong></li>

<li>Include 'IF NOT EXISTS': <strong>True</strong></li>

<li>Create script for Server: <strong>SQL Server 2005</strong></li>

<li>Create script for data: <strong>True</strong></li>

<li>Then click &gt; next</li>
</ul>
</li>

<li>Choose object type: select in table &gt; next</li>

<li>Select tables: Select all &gt; next</li>

<li>Output options: select write script in file &gt; choose
meaningful filename &gt; next &gt; Finish</li>

<li>After successful generation &gt; close the assistant</li>
</ol>

<p>&nbsp;</p>
]]></content:encoded></item><item><title>XSLT-elements of the current document</title><link>http://www.tswe-berlin.de/en/news/xslt-elements-of-the-current-document.aspx</link><author>Johannes Eschrig</author><pubDate>Tue, 27 Sep 2011 15:29:56 GMT</pubDate><guid isPermaLink="true">http://www.tswe-berlin.de/1562.aspx</guid><content:encoded><![CDATA[ 
<p><img src="/media/7910/xslt_icon.gif" width="128" height="128" alt="XSLT Icon"/></p>

<p>If you have (like me) been wondering why accessing data elements
of the current document would always return empty values, you
should take a look at the following XSLT advice:</p>

<p>When using the toolbar to insert a data element (here:
'<em>article photo</em>'), following code is added:</p>

<pre>
&lt;xsl:value-of select="data [@alias = 'articlePhoto']"/&gt;
</pre>

<p>This code is correct if it is part of an enumeration loop.
Without this reference to the current item, the code snippet has to
read:</p>

<pre>
&lt;xsl:value-of select="$currentPage/data [@alias = 'articlePhoto']"/&gt;
</pre>

<p>Furthermore, the variable $currentPage in the XSLT-script needs
to be initialized correctly:</p>

<pre>
&lt;xsl:param name="currentPage"/&gt;
</pre>

<p>HTH</p>
]]></content:encoded></item><item><title>Runway picture gallery without icons</title><link>http://www.tswe-berlin.de/en/news/runway-picture-gallery-without-icons.aspx</link><author>Johannes Eschrig</author><pubDate>Tue, 27 Sep 2011 15:26:25 GMT</pubDate><guid isPermaLink="true">http://www.tswe-berlin.de/1561.aspx</guid><content:encoded><![CDATA[ 
<h3>Picture gallery without icons</h3>

<p>After installing Runway along with Umbraco, one might realise
that the navigation icons in the Lightbox viewer go missing. Reason
for this is the associated XSLT-script
"<em>galleryListPhotos.xslt</em>". The terms "<em>runway</em>" and
"<em>runway-modules</em>" were introduced only shortly before
release, causing some minor inconsistencies.</p>

<p>To show the icons correctly, a fix for XSLT-script is needed.
Instead of:</p>

<pre>
$(function() {
   $('.nitroGallery a:rel:lightbox').lightBox({
</pre>

<p>The correct version is:</p>

<pre>
$(function() {
   $('.runwayGallery a:rel:lightbox').lightBox({
</pre>

<p>This should deal with the issue.</p>
]]></content:encoded></item><item><title>Macro Parameters</title><link>http://www.tswe-berlin.de/en/news/macro-parameters.aspx</link><author>Johannes Eschrig</author><pubDate>Tue, 27 Sep 2011 15:20:56 GMT</pubDate><guid isPermaLink="true">http://www.tswe-berlin.de/1559.aspx</guid><content:encoded><![CDATA[ 
<h3>Syntax of item and macro parameters</h3>

<ul>
<li>param="[$item]"</li>
</ul>

<p>&nbsp;</p>

<ul>
<li>param="[#item]"</li>
</ul>

<p>&nbsp;</p>

<ul>
<li>param="const"</li>
</ul>

<p>Calling macro within anchor-tag's href-attribute</p>

<p>The problem was solved by changing the outer " to '<br />
<br />
 &lt;a href='&lt;umbraco:Macro Alias="GetNiceUrl"
sourceUrl="[#banner1Link]" runat="server"/&gt;'&gt;</p>

<p>For more information visit Umbraco-Books:<br />
 <a
href="http://umbraco.org/documentation/books/macro-parameters-syntax/advanced-parameter-syntax"
 target="_blank">Macro parameter syntax</a></p>
]]></content:encoded></item><item><title>Page redirecting with Umbraco</title><link>http://www.tswe-berlin.de/en/news/page-redirecting-with-umbraco.aspx</link><author>Johannes Eschrig</author><pubDate>Tue, 27 Sep 2011 15:17:24 GMT</pubDate><guid isPermaLink="true">http://www.tswe-berlin.de/1558.aspx</guid><content:encoded><![CDATA[ 
<h3>Program-controlled redirect to a CMS-page</h3>

<p>For redirecting, two possibilities exist with ASP.NET:</p>

<ul>
<li>Redirect on the HTTP protocol layer</li>

<li>Server redirect</li>
</ul>

<p>The second approach does not work with the method
<em>server.transfer("url")</em> because in Umbraco, the addresses
of the target site are virtual ASPX-pages that are not available in
the physical server directory.</p>

<p>Redirects have to be done with the method
<em>response.redirect("url")</em>.</p>
]]></content:encoded></item><item><title>Multilingual Website with CWS2</title><link>http://www.tswe-berlin.de/en/news/multilingual-website-with-cws2.aspx</link><author>Johannes Eschrig</author><pubDate>Tue, 27 Sep 2011 15:11:44 GMT</pubDate><guid isPermaLink="true">http://www.tswe-berlin.de/1557.aspx</guid><content:encoded><![CDATA[ 
<h3>A Multilingual Website with Umbraco and CWS2</h3>

<p>It is simple to create a multilingual website using Umbraco
together with Warren Buckley's Creative Website Starter 2.0. All
the required steps will be explained here:</p>

<ul>
<li>Different approaches with Umbraco</li>

<li>Practical page structure</li>

<li>Necessary add-ons</li>

<li>Program-controlled integration of a language</li>

<li>Navigating between available languages</li>
</ul>
]]></content:encoded></item><item><title>Pagenames containing umlauts </title><link>http://www.tswe-berlin.de/en/news/pagenames-containing-umlauts-.aspx</link><author>Johannes Eschrig</author><pubDate>Tue, 27 Sep 2011 14:44:31 GMT</pubDate><guid isPermaLink="true">http://www.tswe-berlin.de/1556.aspx</guid><content:encoded><![CDATA[ 
<h3>CWS: Pagenames containing umlauts</h3>

<p>No umlauts in page headlines</p>

<p>If CWS2 is used to develop a German website, the umlauts in the
page headlines go missing. Reason for this is the technology used
for displaying any desired font with the sIFR JavaScript
Plugin.</p>

<p>sIFR is short for Scalable Inman Flash Replacement. For
displaying a letter, a matching vector graphic is loaded from an
Adobe Flash file. The file CWS2 uses is called Amasis_MT.swf.
However, this file does not contain any German umlauts. To fix
this, a different Flash file must be used.</p>

<p>The online generator <a href="http://www.sifrgenerator.com/"
target="_blank" title="sIFR Generator">sIFR Generator</a> can be
used to create a suitable Flash file. In order to do this, you must
choose a TrueType font from your computer and upload it to the
generator. Then choose the <strong>sIFR 3 r436</strong> Version and
continue by selecting <strong>full character set</strong> of the
font file, so that the umlauts are included. The Flash file can now
be downloaded and used to replace the old Amasis_MT.swf file under
the same name.</p>

<p>Other very useful information on sIFR can be found here:</p>

<ul>
<li><a href="http://wiki.novemberborn.net/sifr3/" target="_blank"
title="sIFR 3 Documentation &amp; FAQ">sIFR 3 - Documentation &amp;
FAQ</a></li>

<li><a href="http://www.sifrvault.com/" target="_blank"
title="sIFRvault - font type resource">sIFRvault - font type
resource</a></li>

<li><a
href="http://www.wakeuplater.com/website-building/use-your-own-fonts-a-simple-sifr-guide.aspx"
 target="_blank" title="sIFR Tutorial: Use Your Own Fonts">sIFR
Tutorial: Use Your Own Fonts</a></li>
</ul>
]]></content:encoded></item></channel></rss>
