iCreative Website

Jeg skaber smukke og funktionelle websites - Skal vi snakke?

How to setup login with .htaccess on your domain

General

No Comments


Share this post

It’s actually quite easy to do…

Follow this small guide, and your website will be protected with a login screen, with .htaccess.

First things first – Open your .htaccess file and then add the following:

AuthName "Login is required"
AuthType Basic
AuthUserFile /THE PATH TO THE FILE/htpasswd_sequre
require valid-user

Now save your .htaccess file – Next thing is that we have to create the file where AuthUserFile is pointing to.

Create a new file, without any extension, call it: htpasswd_sequre

After creating the file, then go to: http://www.kxs.net/support/htaccess_pw.html to create a username and password, – Copy this to the new file..

Example: insert the following code in the file:

nicky:U7ktIBGoX1/vo

Upload the files to the server, and you’re all done :)

Simple right? :)

Read more

Do people use the mobile web ?

General

No Comments


Share this post

Do people use they smartphone to surf the web ?

The short answer is Yes, according to a report from comScore MobiLens, about mobile patterns in Japan, US, and Europe (UK, DE, FR, ES og IT)

“… 34.0 percent of mobile users in the U.S. and 25.8 percent in Europe used their mobile browsers, with 31.1 percent in the U.S. and 24.9 percent in Europe accessing applications.”

Select Mobile Behaviors in Japan, United States and EU5 (UK, DE, FR, ES and IT)
June 2010
Total Mobile Audience Age 13+
Source: comScore MobiLens
Percent of Total Mobile Audience
Japan United States Europe
Total Audience: 13+ yrs old 100.0% 100.0% 100.0%
Used connected media (Browsed, Accessed Applications or Downloaded Content) 75.2% 43.7% 38.5%
Used browser 59.3% 34.0% 25.8%
Used application 42.3% 31.1% 24.9%
Messaging Usage
Sent text message to another phone 40.1% 66.8% 81.7%
Used major instant messaging service 3.3% 17.2% 12.6%
Used email (work or personal) 54.0% 27.9% 18.8%
Social Media/Entertainment
Accessed Social Networking Site or

Blog

17.0% 21.3% 14.7%
Listened to music on mobile phone 12.5% 13.9% 24.2%
Took photos 63.0% 50.6% 56.8%
Captured video 15.4% 19.2% 25.8%
Watched TV and/or video on mobile

phone

22.0% 4.8% 5.4%
Played games 16.3% 22.5% 24.1%
Financial Information
Accessed bank accounts 8.0% 9.4% 7.1%
Accessed financial news or stock

quotes

16.1% 10.0% 7.2%
Retail/Travel
Accessed online retail 7.2% 5.5% 4.1%
Accessed classifieds 4.2% 6.6% 4.2%
Accessed travel service 3.3% 4.7% 4.1%
Other
Accessed maps 15.7% 16.0% 10.8%
Accessed traffic reports 12.6% 8.2% 5.9%
Accessed weather 34.1% 22.3% 13.7%

Read more

Flash Problem in Synkron VIA’s File Snippet

Synkron VIA

No Comments


Share this post

Synkron VIA’s default file snippet has en error when outputting Flash – The error is that it doesn’t create a <embed> tag – Which means – IT ONLY WORKS IN IE – That’s not good enough….

Anyway, it’s in easy fix – Simply add these lines to the code:

<xsl:variable name="height"><xsl:value-of select="Field[@Name='Height']" /></xsl:variable>
<xsl:variable name="width"><xsl:value-of select="Field[@Name='Width']" /></xsl:variable>
<embed src="{@Src}" quality="high" width="{$width}" height="{$height}" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />

Now your template that outputs the Flash tag should look like this:

<!--Flash object tag -->
  <xsl:template match="FileConfigurationEdition[@Extension='swf']">
		<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{@Width}" height="{@Height}" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
		  <!-- Attributes should be attributes to the object tag, there for we need to apply these before any param tags will be written -->
		  <xsl:apply-templates select="Field[@Name='Attributes']"/>
		  <xsl:apply-templates select="Field"/>
		  <param name="movie" value="{@Src}"/>
		  <xsl:variable name="height"><xsl:value-of select="Field[@Name='Height']" /></xsl:variable>
		  <xsl:variable name="width"><xsl:value-of select="Field[@Name='Width']" /></xsl:variable>
		  <embed src="{@Src}" quality="high" width="{$width}" height="{$height}" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
		</object>
  </xsl:template>

Read more

HTML5 Gets an Official Logo

General

No Comments


Share this post

I read on Mashable today that HTML5 has got a new official logo from W3C

The logo is:

My opinion is that, I dont like it – In someway I reminds the of the logo from Transformer:

I dont know, maybe it’s just me :) What your opinion?

Read more

CMS Systems

Featured

No Comments


Share this post

I’ve created alot of websites in my time, and im still creating :)

The websites I create is always build around a CMS system or a CMS framework – I’ve worked with numerous CMS systems – However my favourite systems and the systems that has got my primary focus is:

Dynamicweb CMS

Do you need a new website or webshop? Contact me @ nickychristensen@i-creative.dk

Read more

Do you need a website?

Featured

No Comments


Share this post

Design

The visual identity has to be just as unique as a fingerprint.

On one side the visual expierience of a website has to give you the feeling of comfort and safety, and on the other side the design has to challenge the recipient, and create some feelings and senses!

Wanna talk ? Contact me at: nickychristensen@i-creative.dk

I Create websites

When creating websites I usually build the website in a CMS system – I work with these systems:

PSD to XHTML or HTML5

Do you have a webdesign that you need coded? I create beautifull, semantic and valid cross-browser tested code.
I optimize for

Read more

Dive into HTML5 – A free e-book

General

No Comments


Share this post

Interested in learning more about HTML5? – Mark Pilgrim has made a book about HTML5 – I’ll suggest that you have a look at it, it’s a good read :)
“Dive Into HTML5 seeks to elaborate on a hand-picked Selection of features from the HTML5 specification and other fine Standards. The final manuscript has been published on paper by O’Reilly, under the Google Press imprint. Buy the printed Work — artfully titled “HTML5: Up & Running” — and be the first in your Community to receive it. Your kind and sincere Feedback is always welcome. The Work shall remain online under the CC-BY-3.0 License.”

Find the ebook right here

Read more

Get the XML from Dynamicweb

Dynamicweb

2 Comments


Share this post

If you are using XSLT templates in Dynamicweb, then you need to know the XML output from Dynamicweb.

That can be done in a couple of different ways….

One way to get the XML is to write after the URL:
&SaveTemplateXML=true or http://www.i-creative.dk/mynews?id=122&SaveTemplateXML=true

This will create a XML file in the backend of Dynamicweb with the XML structure – However I find this way to a bit time consuming – But fear not, there is a much more easier way to get the XML output.

In your XSLT snippet, simply create a textarea where your output the XML:

<textarea>
	<xsl:copy-of select="." />
</textarea>

Be sure that you create the textarea in the correct xslt template.

Ex. If it is a Dynamicweb paragraph xslt template, you would do it like this:

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="html" omit-xml-declaration="yes" indent="yes" encoding="utf-8"/>
	<xsl:param name="html-content-type"/>
	<xsl:template match="/Template">
		<textarea>
			<xsl:copy-of select="." />
		</textarea>
		<xsl:value-of select="ParagraphText" disable-output-escaping="yes"/>
		<xsl:value-of select="ParagraphModule" disable-output-escaping="yes"/>
	</xsl:template>
</xsl:stylesheet>

Read more