joi, 18 iulie 2013

Installing typo3 on windows. try 281039

Reasons for which i hate typo3:

It's the millionth try for me to install typo3 on windows. I think i've managed a couple of times, but then i backed up because of the difficulty in using it.

This time i think i have a new version (dated 2013), so there are NEW installation problems.

Here is a sample: excerpt from the installation instructions that came with it:
On Windows Vista or Windows 7 create a symbolic link named typo3_src
pointing to the source package:
    mklink /D C:\<dir>\typo3_src-4.6.0 C:\<dir>\example.com\typo3_src


Well, how can i put this..? NO!
It just doesn't work like that because the syntax is vice-versa:
MKLINK /D Link Target

        /D      Creates a directory symbolic link.  Default is a file
                symbolic link.
        Link    specifies the new symbolic link name.
        Target  specifies the path (relative or absolute) that the new link
                refers to.



How can one release such a package when this kind of basic information is wrong? I can't even get past the installation point, having this in mind, what kind of problems can one expect when inside?

Just a side-note, it's the third try only today. Cause i've tried different packages and i just couldn't get it to work.

luni, 1 iulie 2013

How to include a php file in typo3

From your typo3 backend, choose from the left menu: Web/Template/Setup section or Web /Template/ Your extension / Setup
And add the following line (change the path to your corresponding file) in the 'setup' section of your template record:

config.includeLibrary = fileadmin/lib/file.inc.php

You can read more here:
http://typo3.org/documentation/document-library/references/doc_core_tsref/current/