Re: [TYPO3-english] Tip a Friend inside a TypoScript menu?

2010-07-16 Thread JoH asenau
>> And in TV you just have to use the right mapping modes. If you want
>> to keep the div, just use mode inner.
> 
> I am using it in inner mode.  Maybe you misunderstood me or I
> explained myself badly (notice that in my explanation above I said
> "inside the div" which for me means inner).  What I was saying was
> that the Victor suggestion would work with the old template system
> but not with Templavoila, because the old system permits arbitrary
> replacements, but Templavoila only permits some kind of replacements.

Exactly, since TV doesn't support stuff like this

© ###MARKER_YEAR### by ###MARKER_COMPANY###

you would have to go for a replacement of the complete content of the  and 
then use i.e. dataWrap to combine dynamic and static values again.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Multi sites sharing the same typo3conf/ext folder

2010-08-02 Thread JoH asenau
> I know it's possible to use only one typo3_src folder with symlinks,
> but the server's running on Windows. Is there a way around it ?

You can use "symlinks" on Windows based servers (WinVista/WinServer 2008 +) as 
well.

mklink /d "your:\virtual\path\here" "your:\real\path\here"

or

mklink /d "your:\virtual\path\here" "\\your\real\share"

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] typolink for parameters with @

2010-08-13 Thread JoH asenau
> my problem is that i must generate typolinks that will contain at
> least one @ symbol in the url but it must not become an email
> (mailto://). hence this is what TYPO3 generates if it finds an @ in
> the parameter data. 
> 
> does somebody know how to force http(s) links generation for the
> typolink function? without a change on the source code of course, i
> need this TYPO3 to be an authentification system - always up to date.

The code says:

$pU = parse_url($link_param);

if(
strstr($link_param,'@') && 
(!$pU['scheme'] || $pU['scheme']=='mailto'))
 {  // If it's a mail address:

So IMHO it should be enough to put the scheme into the parameter like this:
http://whoever:whate...@domain.tld

This way typolink should be forced to recognize it as "no mail adress".

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Perfectlightbox not compatible to Typo3 4.4?

2010-08-16 Thread JoH asenau
> The order of the images from right to left row by row is same order as
> in the backend. The order in the source code (and the lightbox) is
> from top to bottom, column by column.

Uncheck the "no Rows" Checkbox in your BE-form and you're done ;-)

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Quick Conditions question

2010-08-16 Thread JoH asenau
> technically [global] and [end] are both conditions that always return
> true and therefore reset earlier conditions.
> 
> See here:
> http://typo3.org/documentation/document-library/core-documentation/doc_core_ts/4.2.0/view/1/2/#id4124614
> 
> Search for "else"
> 
> [End] is usually used to end an [else] branch. Else is a special
> condition returning true if the previous condition returned false.

Well - just to clarify what TSref says: Technically they do exactly the same: 
Set an "end" to all previous conditions and return to the "global" scope.
So you can safely use "global" to end the "else" condition as well.

BUT: There is still a difference between "end" and "global" because "global" is 
the only condition that can be used within curly braces.
This comes in handy when you want to do something like in the example.

temp.whatever = TEXT

[condition1]
temp.whatever {
value = 1 

[condition2]
temp.whatever {
value = 2

[global]
wrap = |
}

This won't work with "end" unless you rewrite it a bit:

temp.whatever = TEXT
temp.whatever {
wrap = |
}

[condition1]
temp.whatever {
value = 1 
}

[condition2]
temp.whatever {
value = 2
}

[end]

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Tagpack extension: multilanguage tags

2010-08-23 Thread JoH asenau
> is the Tag Pack extension able to handle multilanguage tags? I mean:
> make the BE editors able to define different tags according to the
> available page translations, and display only the tags in the current
> language when using the FE plugin.
> The  tx_tagpack_tags_relations_mm includes a field named
> sys_language_uid, which suggests the above might be possible.
> However, the "Tags" tab is only available in the "Page properties" of
> the BE for the default language, not the other ones.
> What am I missing?

The problem with pages is, that they are using an overlay table to get 
translated records.
You have to make the overlay table taggable as well, but this would not include 
the FE tagcloud out of the box, so I'm not quite sure this would be working.
Any other translated record would be working, since they are usually done 
within the same table.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Can't get typoscript date conditions to work

2010-08-24 Thread JoH asenau
> I need to display content that is appropriate to the current season.
> As a start, I test to just display the name of the current season. But
> while 9 prints out "08" as expected, how come the 6 fail to display
> anything? "08" is in its isInList.
 

5 = TEXT
5.value = Spring
5.if {
value = 03,04,05
isInList.data = date:m
}

See the difference? ;-)

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Who is autor of a21glossary

2010-08-24 Thread JoH asenau
>>   "If I remember correctly there is also some enhancement in TER for
>> this extension."
>> 
>> Ehm, could you explain this sentence or anyone translate it to German
>> please?
> 
> I guess Ben means that there are extensions building on this
> extension. 

So it would be wise to get in contact with the "extension-extenders" as well to 
have a fully fledged glossary extension afterwards and to make the 
"enhancements" obsolete.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Imagewidth in templates and FCEs

2010-09-01 Thread JoH asenau
> I think there will be a way to set a variable at the template-content
> and check at an fce-col witch value it has and take value for
> imagewidth for images in that col, wouldn't?

I am no big fan of TV and therefor no specialist, but usually the page template 
is connected to a page via a value in a DB field.
So why would you want to set/get a TypoScript variable or register, when you 
can directly use that value?

If you want to know how to use the value of a field i.e. as the key for a CASE 
element, you should carefully read the TSref about:
CASE and stdWrap.data

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Is 50 "Include basis templates" max and if so how do I raise that number?

2010-09-16 Thread JoH asenau
> I am able to find the line responsible for the configuration through
> the configuration tool.
> 
> $TCA['sys_template']['columns']['basedOn']['config']['maxitems'] = 50;
> 
> But I am unsure where I actually edit this line?
> 
> I have been looking through the files in the t3lib/stddb folder, but
> with no luck.
> 
> Any suggestions?

Do not edit this in any of the core files, since you will have to do it again 
and again after each update.

You can override it in the extTables.php file that is located in the typo3conf 
folder:

$GLOBALS['TCA']['sys_template']['columns']['basedOn']['config']['maxitems'] = 
99;

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] How to fix max image width for page content?

2010-09-17 Thread JoH asenau
> Max 2 images (for imagein text)
> Postion left and right only
> 
> I tried to define something like styles.content.imgtext.imgMax = 2
> but my users are still able to insert more images than this limit.
> What am I doing wrong here?

You are trying to use TypoScript where it's inappropriate.
TypoScript is used for frontend output only, while what you want to do is 
related to backend forms.

To remove values from a selectbox of a backend form you can use TSconfig.
There are two types page and user TSconfig and it depends on what exactly you 
want to do, which one will be right for you.

Page TSconfig will set stuff that will behave the same way for all users, while 
User TSconfig will change things differently for different users and/or 
usergroups.

Something like

TCEFORM.tt_content.imageorient.removeItems = 0,1,2,3,4,5

should do the job. Just fill in the numbers of the variants you don't want to 
appear.

Read the TSconfig documentation for further information.

To change the maximum number of images to be uploaded you have to edit the 
extTables.php file that is located in your typo3conf directory.

$GLOBALS['TCA']['tt_content']['columns']['image']['config']['maxitems'] = 2;

You can find the array structure for all these settings when looking at 
"Configuration" in the left menu of the backend.
Select $TCA in the selectbox and then click your way through the tree.

The available options for the configuration can be found in the 
API-documentation.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] TCA: default-value is always used if the array isempty

2010-09-21 Thread JoH asenau
> The default value for the the field tx_myext_author should be the
> current user id. As you can see, the minitems-property is set to 0,
> so an empty entry should be accepted. Now, everytime when I open an
> existing record, with no item is selected, it automatically selects
> the default-value. But that should only happen, when I create a new
> record. Is there a way to solve that problem so that the
> default-value is only used, when a new record is created?

In TCA "default value" means "a value, that is set, when no other value is 
given".
So you can't select "nothing" and the minitems value is de facto overriden.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Mapping Content Element Containers withTypoScript

2010-10-12 Thread JoH asenau
> Have tried :
> 
> page.50.marks.MAIN_CONTENT = TEXT
^^
> page.50.marks.MAIN_CONTENT < styles.content.get

Should be just

page.50.marks.MAIN_CONTENT < styles.content.get

for markers or

page.50.subparts.MAIN_CONTENT < styles.content.get

for subparts. But this will only work with the CSS-styled-content static 
included.

To make sure that the markers/subparts are replaced with anything, you could 
try the TEXT element like this:

page.50.marks.MAIN_CONTENT = TEXT
page.50.marks.MAIN_CONTENT.value = It works!

or

page.50.subparts.MAIN_CONTENT = TEXT
page.50.subparts.MAIN_CONTENT.value = It works!

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Mapping Content Element Containers withTypoScript

2010-10-12 Thread JoH asenau
>> as you can see this extension template is pulling in a different CSS
>> file to the main template ( I tried using includeCSS but nothing was
>> outputted :( )

page.includeCSS will work with array keys like these:

page.includeCSS {
your_first_key_here = fileadmin/whatever.css
your_second_key_here = fileadmin/something.css
}

And it will only work as long as you have TYPO3 generate the header.
So when you disabled the header code via config or page.config, includeCSS 
won't work anymore.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Mapping Content ElementContainers withTypoScript

2010-10-12 Thread JoH asenau
> Would you happen to know how to add custom / more columns, since
> NORMAL LEFT RIGHT BORDER may not be enough for my needs.

To add them to the backend you can use TSconfig or extTables.php
After all colPos is just a field that gets rendered as a selectbox.
i.e. you can use this page TSconfig:

TCEFORM.tt_content.colPos.addItems {
4 = My New Column
5 = Another Column
}

The only difference between them will be the colPos used to fetch the content.

styles.content.get

uses colPos 0 within the select of the CONTENT element. The others use 1,2 and 
3.
So you just have to make sure to add new columns and change the colPos in the 
TS accordingly.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Mapping Content ElementContainers withTypoScript

2010-10-12 Thread JoH asenau
> Hmm, thanks again for your reply, however adding the TS above to the
> page 'setup' gives me no new columns, even after a clear cache, sorry
> to be a bother Joey, I am really grateful for all this help!

It's page TSconfig.
This has nothing to do with the TypoScript Setup in your template but is a 
textarea you can find in the "options" tab when editing the page itself.
It will activate the setting for alle subpages as well, so you should put it 
into the TSconfig area of your root page.

Take a look at the core docs at typo3.org to find out more about TypoScript and 
TSconfig.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Custom Columns

2010-10-13 Thread JoH asenau
> I am trying to get custom columns working for page input, I have read
> through the TSref and and come up with the following page TSconfig :
> 
> TCEFORM.tt_content.colPos.addItems {
>  4 = My New Column
>  5 = Another Column
> }

Well - since it's been me who caused this:

You should add the items to the TCA array by putting something like this into 
the extTables.php file located in your thttp://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Frame "No Frame" for content element

2010-10-19 Thread JoH asenau
> After doing this I have no div's in source but one strange thing still
> there. It looks like this: "".
> 
> What is it and how can I rid of it?

This is the anchor for the section index type of menu/sitemap.
Check for the other wraps of tt_content.
IIRC it should be defined via dataWrap

On the other hand: Why would you want to remove it, since an empty tag won't 
hurt anyway?

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] How to integrate a loop when building HMENU?

2010-10-22 Thread JoH asenau
> In fact going further in my reflexion, I would get the expected
> result if I can embed into a HMENU output the output of another HMENU
> (smaller) output. 

Isn't this the default behaviour of an HMENU?

10 = HMENU
10 {
1 = TMENU
1 {
wrap = |
NO {
wrapItemAndSub = |
}
}
2 < .1
2.wrap = |
}

This will put the level2 menu block before the closing li-tag of a level1 item.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] How to integrate a loop when building HMENU?

2010-10-22 Thread JoH asenau
> I need to define level1 plus (if active) directely levels 2 and 3 and
> then level2 and finaly level 3 for the CSS layer.

So you wil get a double output of level2 and 3?
Sounds a bit weird to me.
Can you give us an example HTML code?
 
> The trick here is to be able to get the "block" levels 2+3 at start
> in order to "insert" the block when needed.

Still don't get it - I mean I get what you want, but not why you want it like 
that.

Maybe you can enlighten us :-)

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Extension tagpack: tagging singleview items of tt_news? // singleItemCloud

2010-10-27 Thread JoH asenau
> What I need is a hint on how attach the tagpack Object to the
> displaySingle object: 
> 
> * plugin.tx_tagpack_pi1.userFunc.renderObj
> * plugin.tt_news.displaySingle
> 
> I can see on the showcase that it works in latest and in singleview
> of tt_news: 
> http://tags.4any1.de
> 
> I'd just need the setup ;)

Basically any element that has got a UID available within it's cObj->data can 
get a singleItemCloud.

You just have to add the plugin via TS:

whatever < plugin.tx_tagpack_pi1.userFunc.renderObj
whatever = COA
whatever.10 {
  tableName = yourtable
  singleItemCloud = 1
}

optionally you can set stuff like

whatever.10 {
  minFontSize = 10
  maxFontSize = 10
  maxNumberOfSizes = 10
  linkBoxStdWrap.wrap = Tags: |
}

whatever = COA is only necessary, when you want to make the default output 
(which is COA_INT) cachable.

whatever can be any TS path that is acting as a cObject:

plugin.tt_news.displaySingle {
  title_stdWrap.append < plugin.tx_tagpack_pi1.userFunc.renderObj
  title_stdWrap.append.10 {
tableName = yourtable
singleItemCloud = 1
  }
}

or 

page.10 < plugin.tx_tagpack_pi1.userFunc.renderObj
page.10.10 {
  tableName = pages
  singleItemCloud = 1
}

You just have to make sure that the rest of the plugin settings is already 
available, so that it can find the pid to take the tags from and the other 
settings. Anything that should be different from the default plugin settings, 
can be assigned to the cObject you used as a container for the plugin.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] How to integrate a loop when building HMENU?

2010-10-27 Thread JoH asenau
> As mentionned in my previous email, I prepared an picture and a part
> of html code to explain what I need to create for my website.
> 
> On the attached picture, you can see my menus in different situation.
> When the first page is displayed only the css layer menu are
> available/visible. 

OK - got it now :-)

So what you want to do is to attach an "expanded" branch of the menu to the 
ACTIVE part, while still keeping the already completely expanded CSS-layer 
menu. 

Although I don't think, it's a good idea to have double links in a menu - 
especially when it comes to screenreaders and the like - heres is a very simple 
approach using a second HMENU within the after property of the ACT state of the 
first level TMENU:

10 = HMENU
10 {
1  = TMENU
1 {
expAll = 1
wrap = |
NO = 1
NO {
wrapItemAndSub = |
}
ACT < .NO
ACT {
ATagParams = class="active"
after.cObject = HMENU
after.cObject {
special = directory
special.value.field = uid
1 = TMENU
1 {
wrap = |
NO {
wrapItemAndSub = |
}
}
2 = TMENU
2 {
wrap = |
NO {
wrapItemAndSub = |
}
}
3 = TMENU
3 {
wrap = |
NO {
wrapItemAndSub = |
}
}
}
}
}
2  = TMENU
2 {
expAll = 1
wrap = |
NO = 1
NO {
wrapItemAndSub = |
}
ACT < .NO
ACT {
ATagParams = class="active"
}
}
3 < .2 
3 {
wrap = |
NO.wrapItemAndSub = |
ACT.wrapItemAndSub = |
}
4 < .2 
4 {
wrap = |
NO.wrapItemAndSub = |
ACT.wrapItemAndSub = |
}
}

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] content-handling with TS

2010-11-01 Thread JoH asenau
>> But if I add something at location 5 or 20 it comes once a page
>> before or after all content-pieces.
> 
> I personally don't understand what what the problem is. Can you try to
> rephrase it or state what are the current results and what are the
> expected results?

I guess it's about the difference between "wrapping" the whole CONTENT output 
with the 5 and 20 parts and really wrapping a single content element.

Since the setup of these elements is done withing the tt_content CASE element, 
I guess it could help to take a look at its code.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] content-handling with TS

2010-11-01 Thread JoH asenau
> What I did not found out yet:
> - how can I fetch content-items without caring about start- / endtime
> like the backend uses on preview pages - or more precises: I have
> content items in a sysfolder and several pages that use this folder.
> So most pages should respect start- / endtime, but others should not.
> 
> If anybody could shine me a light on that item, I would appreciate it
> a lot. 

Out of the box you can just get the items with appropriate start-/endtime 
settings, since both fields belong to the so called "enable fields".

So if you want to add start-/endtime for some of the visitors only, you should 
go for the "Insert Records" element.
You can refer to another content element within this element and provide the 
time settings for the "Insert Record" element itself, while leaving the 
original element "clean".

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] content-handling with TS

2010-11-01 Thread JoH asenau
> The backend-form for content-items does not contain fields, I could
> missuse and I'm not very happy with telling the editors that they
> should not use the datefields, but use other fields as date fields.

These fields are NOT date fields but responsible for "release time" and 
"expiration time", so what is it, that your editors don't understand about this 
fact?
 
> You said, that it is not possible "out of the box".
> What do I have do patch to make this happen?

You should never patch anything that is provided by the core or a third party 
extension.
Actually there already is a date field used for the header date - so maybe you 
can use that one and put it somewhere else in the frontend via TS.
Otherwise you have to make your own extension that provides date fields other 
than the fields provided by the core.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Questions regardsing TYPO3 4.5

2010-11-11 Thread JoH asenau
> Please make the Backend fast loading as the current versions of 4.5
> are loading very very slow and it is quite boring to see always this
> turning icon and nothing is happening.

The interesting thing is, that they are actually loading faster in many 
situations even though it feels slower.
In TYPO3 < 4.5 there was no loading indicator at all, so nothing happened as 
well but  - ...
... you just didn't know.

Now that you are "told" that you have to wait it feels as if it was slower than 
before.
Personally I would prefer a backend without fading effects and animated 
indicators, but people seem to like this kind of "iphonish" style. So it might 
be more user_friendly_ even though it can't be used as _fast_ as possible.

Just my 2 cents

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] hmenu including *only* not in menu items

2010-11-14 Thread JoH asenau
> In older version of TYPO3 when the 'not in menu' doktype existed it
> was possible to build a special HMENU *only* from pages with 'hide in
> menu' set, by setting
>   excludeDoktypes >
>   excludeDoktypes = 1,2,3,4,6,7,199,254,255
>   includeNotInMenu = 1
> 
> It's useful being able to do this from time to time, but I can't see
> a way to do this in newer versions though now that the 'to in menu'
> doktype doesn't exist - is there a way to achieve the same thing?

You could add allStdWrap.if to the different item states and check for the 
value of the checkbox "not in menu".
Works for both TMENU and GMENU.

Cheers

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] wrapItemAndSub for GMENU

2010-11-24 Thread JoH asenau
> page.10.1 = GMENU
> page.10.1.wrap=|
> // Take note: the autocomplete functionality of t3editor (4.4.4)
> suggests .wrapItemAndSub here

You are right and both, the editor and TSref are wrong here.
As the name says, wrapItemAndSub belongs to the GMENU item, not the GMENU 
itself.

So could you file a documentation bug, please.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Extensions potentially violating the GPL

2010-12-16 Thread JoH asenau
> If you develop an important extension at your cost, and you have to
> "live" with your work, or you keep all the work for you, or you just
> publish a (complete or reduced) version in compiled state.
> If extension is well documented and complies all TYPO3 programming
> rules, why not including it in TER?

Because this is against the principles of Open Source and TYPO3 as well.
After all "Inspiring people to share" isn't just a slogan, but the TYPO3 way 
from the very beginning.

Don't you think that the TYPO3 core and most of the popular extensions have 
been developed "at someones cost" too?
Would you prefer to get a reduced and compiled core instead of the fully GPLed, 
open and brand new 4.5 stuff all the contributors including myself have been 
developing for you and all the other TYPO3 users, because we have to make a 
living?

The interesting thing about Open Source is, that you will start to easily make 
a living as soon as you have learned to give back without thinking about the 
payment. At least for us this has created most of the contacts to people who 
are doing their bigger paid projects with us today.

Just my 2 cents :-)

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Extensions potentially violating the GPL

2010-12-17 Thread JoH asenau
> A company which works on its own developments must protect its work.
> If TYPO3 does not permit that, TYPO3 is not for professionals.

You still miss the point completely.

And there is bad news for you: Since the TYPO3 license forces you to sell your 
extensions with a compatible license, all your clients already can publish the 
stuff you did for them without having to ask you for permission. 

BUT: GPL doesn't force anybody to publish anything, if people don't want to 
give something back for free, although they got the TYPO3 core for free, which 
is worth hundreds of thousands of working hours. 

So you and your clients can keep your stuff private as long as you like and 
charge other people as much as you like for it. And if the amount you charged 
was high enough, most likely the clients will not publish the stuff you sold 
them as well, although the GPL would allow them to do so.

BUT: Since the current TYPO3 core is bound to the GPL license, you can not 
simply switch to another one, because this is exactly what the GPL license does 
NOT allow. Everybody who contributed stuff for the core did so while accepting 
the terms of the GPL, so publishing the core with another license would be 
possible ONLY with the permission of each and everybody who contributed, which 
is not very realstic. But even IF everybody agreed, the GPL would make sure, 
that the current GPLed version of the core would STILL be available together 
with the version using the other license.

But you should not be afraid too much, since according to some official T3A 
sources the amount of money made by TYPO3 developers and agencies all over the 
world is a few hundred million dollars per year. So I guess there will be 
something left for you as well ;-)

Have a nice weekend

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Extensions potentially violating the GPL

2010-12-17 Thread JoH asenau
>> And there is bad news for you: Since the TYPO3 license forces you to
>> sell your extensions with a compatible license, all your clients
>> already can publish the stuff you did for them without having to ask
>> you for permission.   
> 
> Oh, really? I do not see anything forcing me to sell extensions that
> way. The most you can pretend is I cannot load those extensions in
> TER. 
> 
> If that makes you happy,  continue without problems, I will survive.

Well - maybe you should have read the GPL completely before starting to sell 
extensions to your clients.

You may believe it or not, but the fact that the TYPO3 Core is GPLed 
automatically makes any of your extensions using the TYPO3 core API GPLed by 
definition as well. Even if you didn't explicitly tell your client or gave it 
another license, which is just a violation of the GPL that might cause legal 
actions taken against you, any of your clients has got the privileges that the 
GPL assures him, which are: 
+ to freely modify the code, 
+ to publish it for a certain fee or 
+ to publish it for free
+ to build other pieces of software based on it
with the only restriction for your clients, that any of the above actions 
includes the GPL as the license.

This means that any of your clients could even reserve an extension key in the 
TER, upload your extension and make it available to the community for free. Of 
course nobody can force them to do so, but the GPL would grant them these 
privileges if they wanted to.

Cheers

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Drupal 7 is now officially released!

2011-01-06 Thread JoH asenau

- Image support is now included
- It isn't Typo3


Of course not - since TYPO3 has built in image support from the very 
beginning ...


SCNR ;-)

Joey


--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] +ext page template: only one?

2011-01-24 Thread JoH asenau



of course this is possible.
but i normally use the "include template" feature only when i need a
template on several pages.

the +ext page template for me is for THIS special page.


And you can include any other template within THIS +ext template to make 
it available for THIS particular page as well :-)


Cheers

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] +ext page template: only one?

2011-01-25 Thread JoH asenau

Am 25.01.2011 07:02, schrieb Stephan Bernhard:

hi and thanks for your reply.


And you can include any other template within THIS +ext template to make
it available for THIS particular page as well :-)


understanding the answers of two of the "cracks" i deduce the following
for +ext templates:

- it behaves like a root template (the include rule)


Yes - it can include other templates like the root template.
This is done with "Include Basis Template" in the "Include" tab.


- it has to be the only one on a single page (like the root template)


No - each page can contain lots of templates, but usually only one of 
them should be marked to be "root". Each of these templates can include 
other templates as well.



- this fact is not documented (opposite to the root template)

>

maybe for you "cracks" this is trivial knowledge, but it would be
helpful to have it documented somewhere.

>

when i learnt for the "integrator" test i encountered nowhere any
mentionning of this very general and important rule.


Of course it is not documented, because it is just wrong.

HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] +ext page template: only one?

2011-01-25 Thread JoH asenau

Am 25.01.2011 14:22, schrieb Stephan Bernhard:

@ joey



- it has to be the only one on a single page (like the root template)


No - each page can contain lots of templates, but usually only one of
them should be marked to be "root". Each of these templates can include
other templates as well.


now i get totally confused.

why did i start this thread?
because i found out that TYPO3 recognises only the first +ext page
template on a page and ignores all the others on the same page (i am not
talking about including, only about the listing: first is at the top of
the list)


Is it really so hard to understand?

There are 3 rules

1. You can create as many +ext templates on as many pages as you like.
2. Only the first +ext template of a page will be used by default on 
that page
3. If you want to use the other +ext templates on the same page as well, 
you have to include them via "include base template" within the first 
+ext template of that page


This way you can use as many +ext templates as you like on the same page.
You can even include as many +ext templates as you like from other pages 
as well.
Still all these templates included in the first +ext template of that 
page will only be active for this particular page.


got it?

;-)

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Drag & Drop Content Elements?

2011-01-27 Thread JoH asenau

How can I change the position without the drag'n'drop?
Have no cut and paste symbols here in the site modul.


You can copy & paste as well as cut & paste but: Paste will currently 
work as "paste into page" or "paste after content element".


So currently the only way to change the position of an element is using 
the "column" dropdown in the form of the content element itself.


HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Adding template to extension

2011-02-03 Thread JoH asenau



I created an ext_typoscript_setup.txt in the extension root folder
(typo3/typo3conf/ext/lucas_helpdesk) with this line:
plugin.lucas_helpdesk.templateFile = EXT:lucas_helpdesk/template.html

Added code as mentioned in the wiki to the
class.tx_lucashelpdesk_pi1.php file:

I get an empty page because, my guess is, $conf['templateFile'] is empty.
Which step am I missing?(I cleared the frontend cache)


Shouldnt it be plugin.tx_lucashelpdesk_pi1.templateFile?

HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] multicolumn

2011-02-08 Thread JoH asenau

You are right that it's not wise to add too many feature in the core.
But one would expect that you could copy and paste elements with Page
module. It is impossible without existing content element.


This will be most likely tackled in 4.6 which will introduce CE drag & 
drop as the last missing feature of the grid view stuff we prepared at 
T3UXW.


Cheers

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Typo3 4.5 Sysfolder - general record storage page

2011-02-08 Thread JoH asenau

A little question about Typo3 4.5: I can't find where to specify the
general record storage when the page is a sysfolder.


Isn't it the other way around and you specify a sysfolder being the 
general record storage page when the page is not a sysfolder? I guess 
this is why it has not been put into the folder TCA settings.


So if you got a use case where it is necessary please file a bug report 
so that we can fix this in 4.5.1


HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] page.jsInline strips parts of the JavaScript code

2011-02-08 Thread JoH asenau

Am 08.02.2011 11:00, schrieb Peter Kraume:

I've added the following TypoScript with JavaScript code within an
extension:

page.jsInline {
4711 = TEXT
4711.dataWrap (
window.fbAsyncInit = function() {
FB.init({
appId: '',
status: true,
cookie: true,
xfbml: true
});
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
}());
)
}

The result in the frontend is broken:

window.fbAsyncInit=function());};(function()());


Obviously some parts of the JavaScript are stripped.

It doesen't matter whether config.removeDefaultJS or config.minifyJS are
enabled or disabled. TYPO3 version is 4.4.6

Can someone confirm this issue?


This is a known issue which is a result of the TS syntax interfering 
with the JS syntax due to the braces. Both () and {} are part of the TS 
syntax and therefor you can not use them like in your example.


Since you don't really use the "data" funcitonality of dataWrap you 
could at least remove the problem with the curly braces by using 
4711.value instead. But still the multiline approach might not work as 
expected.


If you want to implement code like that, you should include an external 
JS file via FILE to get rid of these problems.


HTH

JOey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] R: Typo3 4.5 Sysfolder - general record storage page

2011-02-08 Thread JoH asenau

Am 08.02.2011 11:51, schrieb De Contardi Riccardo:

Well...
I use a sysfolder called "Storage folder" is the general record storage page 
for all my pages from home page and is the folder where I save Templavoila records, so 
Every fronted page in my site has this folder as GRSP (General Record Storage Page)
I also use sb_downloader that creates 2 kinds of records: "category downloads" and 
"downloads"
If I'd want to have categories and downloads in the same sysfolder, this is not possible, as the "categories 
downloads" are listed in the "downloads" records only if they are in the general record storage page, 
soI must put categories in "Storage Folder" and the other records in the "Download Folder".
Tt_news would have the same problem if the option "Use "General record storage 
page"" were checked in the extension configuration.
I'm not sure if this could be aknowledged as a bug...


If not a bug at least this has been a breaking change that affects a 
major extension, so we will have to fix it. Will you file the bug report 
on bugs.typo3.org then?


Cheers

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Rename "left" column to "bottom"

2011-02-09 Thread JoH asenau

Im trying to rename the column but I cant manage to find anything that works
in the interwebs. Is there anyway to rename a content column in the TS
config (or any other way, really)??


If you are using TYPO3 4.5 just try the new grid view.
Even if you don't need a real grid but just renamed columns, you can 
easily do that by creating a grid record and assigning colPos values and 
their respective names to the columns.


http://news.typo3.org/news/article/the-grid-view-a-new-concept-for-a-backend-that-matches-your-layout/

HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] SQL Problem in Update wizard

2011-02-10 Thread JoH asenau

ALTER TABLE tx_skcalendar_event CHANGE cost cost tinytext default 0;


Check the SQL file of tx_skcalendar.
It seems there is a default 0 in there, that should be removed before 
using the COMPARE wizard of the install tool.


HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Grid layout and moving content between columns

2011-02-13 Thread JoH asenau

Building a new backend layout is extremely simple and straight forward,
kudos Joey!


Actually this was made by the whole T3UXW team - I was just part of it 
and the presenter of the video.



But now I need to move a lot of content to new columns, and the only
ways I can find to do this are fairly awkward:
- edit each record, change the value in the selectbox for columns, and save
- or, using the page-module, click the icon of the record and select cut
from the context menu, then click a content record icon in the
destination column and choose paste. but this doesn't work if there
are no records in that column yet!

>

The clipboard should actually be working here, and should automatically
show paste icons when and where appropriate (TemplaVoila has this
already since many years). Is it possible to enable this in the page
module nowadays?


It stil seems to be missing which IMHO is a bug.


In Joey's video [1] he demonstrates drag and drop behaviour, but this
doesn't work here. Is it not implemented yet, or am I missing something?


Drag & Drop has been postponed to 4.6.

But there is a workaround to speed up the stuff you currently have to do 
manually:


Go to the list view and click on the table header of the tt_content 
table. Then select the colPos field to be shown in the list.


Now click on the pencil icon left of the column header and you should be 
able to change the colPos selectors of each element of this page in one go.


HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Dynamic path in file.import

2011-03-02 Thread JoH asenau

10.file.import = uploads/
10.file.import.current = 1
10.file.import.listNum = 0
10.file.import.stdWrap.wrap = |tx_templavoila/



Just to test if it would then use "uploads/tx_templavoila/ as upload path.
But i does not work.


this would result in a path like

uploads/currentfilenametx_templavoila/

it should be

10.file.import.stdWrap.wrap = tx_templavoila/|


cheers

Joey 


___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] getText and rootLine

2011-07-29 Thread JoH asenau

Am 27.07.2011 21:05, schrieb Rik Willems:

Hi all,

I'd like to do an if through stdWrap. Kinda similar to
[PIDinRootline=x,y,z] but than through getText.
I thought of if.value.data = TSFE:rootLine

The php code in tslib_content makes it look like this should work. Or
alternatively TSFE:tmpl|rootLine


10 = TEXT
10.value = blah
10.if.value.data = TSFE:rootLine
10.if.isInList = 123

Checks if 123 is a uid of a page in the list found at TSFE:rootLine.

But since rootLIne is not a list but an Array you should try using a 
rootline menu together with if:


10 = TEXT
10.value = blah
10.if {
value = 0
value.append = HMENU
value.append {
special = rootline
special.range = 0|-1
1 = TMENU
1 {
NO {
doNotLinkIt = 1
stdWrap.field = uid
allWrap = ,|
}
}
}
isInList = 123
}

If you need it more than once you should create the HMENU inside a 
LOAD_REGISTER and then use the register as the data of your if.value.


HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] drag and drop for content elements (without templavoila)

2011-07-29 Thread JoH asenau

There has been a proof of concept at the T3UXW09. Unfortunately, nobody
found the time to create an up-to-date core patch until now.

As it should not be *that* hard.. do you have interest in fixing that? I
would assist you. IIRC it was published as EXT:modernbe, which only
worked with 4.3.


Since I have been on of the guys working on that issue at the T3UXW 
maybe we can join forces again and try to make it a new feature for 4.7 
(since I don't think we will manage to make it run until 4.6. feature 
freeze)


I have been thinking about a kind of draggable content element 
repository containing predefined dummy content elements as well. It 
could be put together with a grid view for content elements, so that we 
would get a real FCE/TV replacement without the XML overhead and real DB 
normalization.


Maybe we can present and discuss a proof of concept at T3CON11 in Hanau
- what do you think about that?

Cheers

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] TYPO3 6.0 at the corner? How is it possible

2012-03-06 Thread JoH asenau

Am 06.03.2012 10:59, schrieb Tonix (Antonio Nati):

Speaking only about numbering (and marketing), I don't see why two
different (and incompatible) CMS should have same name and versions schema.

So, I agree, due to the confusion made from announcements, TYPO3 V5
could be jumped, specifying clearly everywhere:

TYPO3 v5 version will not exist, given the ambiguity of previous
announcements.
TYPO3 v6 will be the logical prosecution of TYPO3 V4.
Phoenix V1 (or whatsoever name) will be the forked CMS project based on
FLOW3.

OR (better)

TYPO3 v5 will be the logical prosecution of TYPO3 V4.
Phoenix V1 (or whatsoever name) will be the forked CMS project based on
FLOW3.


Well - I just see another product created from scratch on a completely 
different code base. So no reason to use the word everybody seems to be 
so afraid of - since it's actually not a FORK at all.


But we should try to keep it that way and stop "backporting" features 
from one product to the other, since this has been proven to be 
counterproductive in the past.


See my comment to this article: 
http://buzz.typo3.org/people/sebastian/article/the-transition-is-well-alive-and-kickin/


Just my 2 cents

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] TYPO3 6.0 at the corner? How is it possible

2012-03-06 Thread JoH asenau

Backporting refers to "keeping Extbase and FLOW3 in sync" (as well as
each their own version of Fluid)? We should imho do that discussion in
the repsective teams. To sum it up, it has lately been agreed upon that
we need to get the cooperation between both teams more together.
But having them diverge too much is not a solution either imho. So we
need to find a way for cooperation and the "backporting" which you think
is counterproductive (I tend to have a slightly different view - though
it might be hard work from time to time).


As long as we do keep just these two components (extbase and fluid) in 
sync, I would not call this "backporting of features" but the usual 
bugfixing. Of course this is necessary and of course there should be 
cooperation between the teams. And of course I don't think that 
backporting as such is counterproductive.


But in case of ExtJS and the caching framework we got premature stuff 
with lots of performance problems and blocking bugs forced into the 
TYPO3 core just because some people thought it would be cool to do 
things the way the Phoenix guys do it. Today the Phoenix team has 
stepped back from ExtJS, but TYPO3 still has to struggle with all the 
problems that we had to buy with it.


Instead of improving existing things regarding their usability during 
the User Experience Week, there were tons of untested new features 
pushed mainly due to the enthusiasm about the upcoming v5. Some people - 
including myself - have been there and tried to prevent it, but were 
more or less ignored.


The result were huge performance problems especially for the target 
group the T3 marketing people are aiming at: Enterprise clients.


So what I would like to get is a less enthusiastic but more careful and 
professional way of thinking about those "backports" before pushing them 
into the core of the product that currently still pays the bills for all 
of us. If things are backported, they should always be optional so that 
people can activate them on demand and test them in the wild.


This is for example.why our grid elements extension, although it is the 
consequent enhancement of the backend layout feature which has been done 
on request, is based on existing hooks only and does not require any 
core patches or XCLASSes. So the core can stay stable and reliable but 
the new feature can still be tested and might be merged into the core or 
added as a sysext when it has proven to be as stable and reliable as well.


Maybe this is something we could discuss at the T3DD?

Cheers

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Censorship on http://buzz.typo3.org/article/the-transition-is-well-alive-and-kickin/

2012-03-06 Thread JoH asenau

Am 06.03.2012 14:46, schrieb Jigal van Hemert:

Hi,

On 6-3-2012 14:36, Michael Stucki wrote:

Hi Peter,


On 06/03/12 11:50, Peter Russ wrote:

Just wondering why comments on this article are gone:
http://buzz.typo3.org/article/the-transition-is-well-alive-and-kickin/

Which of those comments there do you consider worth to be censored?!


I only see:

comments

No comments yet. Be the first to comment on this!

 and no form below.
I assume that is what Peter is referring to.

Do you see comments and/or a form?



It seems to depend on the URL you are using to read the article:

This one shows the comments:
http://buzz.typo3.org/people/sebastian/article/the-transition-is-well-alive-and-kickin/
The other one does not, so I guess this was the reason for Peter's question.

Cheers

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] TYPO3 CMS 6.0 activate sorting in page module?

2012-12-08 Thread JoH asenau

Am 07.12.2012 11:33, schrieb Sacha Vorbeck:

Hi Gregor,
 >> Can anyone confirm this or help me with enabling it?

you can use drag & drop for sorting now...


;-) I`m aware of that and would still like to know if and how the
sorting buttons can be enabled again.


Exactly: Drag & drop is nice when you want to move elements between 
columns or for longer distances. In any other case a simple click on a 
sorting icon is much faster and therefor the better choice regarding 
usability and performance.


While checking 6.x compatibility of Grid Elements I noticed the missing 
icons as well.

IMHO the "redesign" of the page module is at least questionable.
On the one hand important buttons have been removed (sorting, add CE on 
top of the module etc.) on the other hand buttons have been moved to 
places where they are just wasting space (add CE after another CE), 
which leads to a signifcant change of the overall height of the page 
module forcing the user to scroll down.


Not reloading the page module with drag & drop IMHO is questionable as 
well, since you won't notice changes made by other editors early enough. 
Especially when you enable copies with drag & drop you would have to 
create ALL the classes, JS and HTML code for the newly created element 
at the client side and modify the rest of the elements accordingly, 
which is.much more complicated than a simple reload. (Maybe this is the 
reason, why drag & drop currently only works while moving elements?)


Currently our plan in the Grid Elements team is, to reenable the "old" 
behaviour with Grid Elements and provide a slightly modified page module 
with less waste of space, more functionality, active sorting buttons, 
completely working drag & drop actions and drag in of new content 
elements. After all we should take care of the needs of the users, which 
seems to be slightly different to the perception of these needs within 
the design team.


This is why have been asking the users before we will start refactoring 
our extension and why we enabled people to buy features they find 
important enough for the code sprint in January 2013.


Maybe we can convince the core team to go this way together with us. :-)

Have a nice weekend

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] TYPO3 CMS 6.0 activate sorting in page module?

2012-12-10 Thread JoH asenau

Am 09.12.2012 11:50, schrieb Jigal van Hemert:

Hi,

On 8-12-2012 11:57, JoH asenau wrote:

Exactly: Drag & drop is nice when you want to move elements between
columns or for longer distances. In any other case a simple click on a
sorting icon is much faster and therefor the better choice regarding
usability and performance.


Reloading the entire page is faster? Besides, dragging can be done with
the entire title bar and you don't have to look at a small triangle to
see which button you should use. Most people prefer drag&drop over buttons.
Also if you have to move it more than one position you would need to
click multiple times, you would have to wait for multiple page reloads.
Talking about speed...


Did you notice the "long distance"? - Moving elements up or down will be 
faster with a click, moving them for more than one or two steps will be 
faster with D&D.



On the one hand important buttons have been removed (sorting, add CE on
top of the module etc.)


Add a CE on the top position of a "column"? That button is there. It's
only visible on mouseover to reduce the amount of information.


Of course it is there, but I meant the button on top of the page module 
(not just one of its columns). It has been used to first select the 
element type with the "new CE wizard" and then select the column to put 
it in. And with Grid Elements it is used to trigger the drag in wizard.



on the other hand buttons have been moved to
places where they are just wasting space (add CE after another CE),
which leads to a signifcant change of the overall height of the page
module forcing the user to scroll down.


That button was there in TemplaVoilà and people liked it. It is far more
logical than a button in the title bar of a CE to add a new element
below. The new CE button is now in the location where the new element
will be placed.


So it is wasting a space that is currently not in use.
I agree that a position on top of the element is suboptimal as well, but 
actually it would have been enough to keep it at the bottom of the 
element but still inside it.



Not reloading the page module with drag & drop IMHO is questionable as
well, since you won't notice changes made by other editors early enough.


If you open a page for editing there is a message that another editor
has started modifying that page. That should trigger you into asking the
other editor if he's still busy.


First of all, you can't do that when working on different content 
elements, since you will only get that notice, when editing the page 
itself. And of course this only works for small teams but not in 
enterprise situations with lots of editors working in different locations.



Reloading the page after drag&drop is something that nobody does,
because it causes an interruption in working on that page.


Reloading currently is the only way to get all the necessary information 
about the current state of all elements on that page. The longer you 
stay while this status gets changed by other editors, the more you will 
possibly break with your Drag & Drop actions.



Especially when you enable copies with drag & drop you would have to
create ALL the classes, JS and HTML code for the newly created element
at the client side and modify the rest of the elements accordingly,
which is.much more complicated than a simple reload. (Maybe this is the
reason, why drag & drop currently only works while moving elements?)


Maybe current drag&drop is simply a replacement for the sorting buttons?
Other implementations of drag&drop for TYPO3 that I've seen don't have a
drag&drop-copy action.


It's there in the page tree so you could expect it for content elements 
as well.


> Besides, it only requires rendering the newly created element. No need
> to "modify the rest of the elements accordingly".

You definitely have to modify the other elements, since they need to 
know about i.e. their new position and other things in relation to the 
copied element, otherwise the page module JS won't work properly anymore.



Currently our plan in the Grid Elements team is, to reenable the "old"
behaviour with Grid Elements and provide a slightly modified page module
with less waste of space, more functionality, active sorting buttons,
completely working drag & drop actions and drag in of new content
elements. After all we should take care of the needs of the users, which
seems to be slightly different to the perception of these needs within
the design team.



Maybe we can convince the core team to go this way together with us. :-)


You know very well that the core team tries to make/keep the core as
light weight as possible and have extra functionality in extensions from
TER. Yes, there are a number of system extensions which should also be
moved out of the core and work on that is slowly done; simulatestatic
was first

Re: [TYPO3-english] TYPO3 Customer Feedback Initiative

2012-12-21 Thread JoH asenau



Honestly I have problems understanding the goal of this page, and why a
development frameworks should speak to end users, which will never use
directly the framework.

My customers do not care if I use TYPO3 or WordPress or whatever CMS.
Important for them is if I understand their needs and provide a good
solution. Which CMS I use is not important for them.

And again, an end customer can say things like 'I need an easy way to
make forms', which is different from 'I need a flexible form constructor
package, to be integrated with kickstarter or callable as library, with
mysql constraints and transaction management', which can be asked by a
developer which spoke with his end customers.


Well - it depends on the definition of "end customer".
In your case this is an "ordinary" user, who still might have some needs 
you don't know of - so this is what Søren meant.


But there a re lots of other scenarios beside this scope especially when 
it comes to those "enterprise clients" TYPO3 CMS officially aims at.


Currently for example I am working as external consultant for a project 
of German Telekom.
There is no agency or integrator in between and most of the decision 
makers are working in several IT-departments.


These people have certain criteria that makes them decide in favor or 
against a CMS framework. If we don't meet these criteria due to a lack 
of communication between those decision makers and the developers 
creating the solutions provided by TYPO3, we might lose some important 
customers. At the same time this means losing a lot of budget for 
development that might have been contributed later on, as this was the 
case for example with the current version of Grid Elements.


Still these decision makers are "end customers" as well.

IMHO the goal of Patricks approach is to have developers - especially 
core developers but other developers as well - listening for the needs 
of any kind of customer before they start to define the requirements 
they want to provide solutions for. Otherwise TYPO3 CMS might become a 
developer oriented tool, which is certainly not the goal of a CMS. 
Actually this would be a job for TYPO3 FLOW.


Cheers

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] TYPO3 Customer Feedback Initiative

2012-12-21 Thread JoH asenau

Honestly, I see a lot of confusion in what you say.


Exactly this is the reason for Patrick's approach, since actually there 
should be no confusion in what I described, but it seems some developers 
are confused by this way of thinking. No offense meant, I just would 
like to see people start looking beyond the rim of their teacup.



These customers should be business/application oriented people. If they
are able to discriminate between different CMS is because some CMS are
more oriented to their business needs, while other are not.


One of these business needs is - and in this case it's a very important 
one - that editors working on the same project will be able to provide 
content for the intranet solution based on TYPO3 as fast as possible 
without any performance impact on the frontend users. So one of the 
major demands is a focus on performance and usability, while for example 
maintainability and clean code are not as important. - Do you see the 
difference to the current scope of TYPO3 development?



And I don't see how a core developer could write a business oriented
function, without beeing extremely expert on the business logic.


The "business oriented function" in this case would be a really fast 
backend with lots of helpers for the daily work of a power user. There 
are of course lots of other scenarios that would enable any core 
developer to provide a solution without being an expert on the 
particular business of that client.



At the contrary, if they are evaluating a CMS for internal development
(as it looks because you say they work in IT departments), they are
developer and not end customers. Real end customers are the non IT
departments which will use the final product.


They are evaluating a CMS that prvoides most of the functionality they 
need for the management of the content of their intranet out of the box, 
so they don't have to develop too many functions on their own. Of course 
there are custom extensions as well, but they have been developed mainly 
due to the fact that things like Extbase or TemplaVoila are not focused 
on performance and/or usability and were simply unusable with 12.000 
pages containing 200.000 content elements provided for 8 different 
clients having 100.000 frontend users.


This is just one of many examples why it is important that developers 
start working for the demands of the customers using their software 
instead of creating their own requirements.


Cheers

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Last TYPO3 version without fluid/extbase

2012-12-23 Thread JoH asenau

Some companies live writing application software to be sold, and they
must mantain the property and secrecy of the code, for selling it.
Of course they would adopt a CMS or presentation layer which helps their
development, but if this CMS forces them to give away the sources for
free, of course they will prefer to write internally a small CMS or
adopt a BSD licensed framework, or pay for using a commercial one, which
will let them live of their work.


Maybe you should go and do your homework on this particular issue first.
Using TYPO3 no one forces you to give away anything for free.

It's "free" as in "free speech" - not as in "free beer".

And maybe you should do some research about the other statements you 
made as well before you continue to accuse others of being unaware of 
professional business  ;-)


Since it's christmas the next days, maybe you will find some time to 
investigate on these issues before you come back :-)


Happy Holidays

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] TYPO3 Customer Feedback Initiative

2012-12-23 Thread JoH asenau

But explain me one thing:

Why, when someone tells me if I've ever worked for a company, it is
pretty normal, and when I ask him if he ever worked for a company, I'm
insulting?

People here is not used to critics.


Well - maybe this is a trilingual problem, since none of the people 
discussing here seems to be native speaker.


Patrick asked you if you ever worked in a company where developers 
decide what the customers want to have. This is due to the fact that in 
most companies the customer is king and decides what he wants to have 
produced by the developers. So he can expect that you never worked in 
such a company, since these companies usually don't exist.


But he never questioned if you ever worked in a company at all, which is 
what you did, and which is what Philipp found insulting, even though he 
was not the "target".


So this has nothing to to with people not being used to critics but with 
people not understanding each other due to the fact that they are using 
a foreign language to communicate.


Again Happy Holidays

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] TCA/IRRE: limit possible "type" of related child records in "inline" fields?

2013-01-14 Thread JoH asenau

Am 07.01.2013 17:01, schrieb Roland:

hi everybody,

i have got an custom extension with a table column of type "inline". in
this collumn tt_content records can be added/saved via IRRE.

question: is there a possibility to limit tt_content record *types* so
that e.g. only tt_records types "header", "text" and "image" can be
added/saved in this field?


You might wwant to take a look at the current trunk version of gridelements.
We are using so called "top level layouts" and "allowed elements" there 
to restrict the available tt_content elements inside any column of the 
current backend layout and/or grid element layout.


Most of the job is done by an itemsProcFunc on CTyoe but some additional 
voodoo will be necessary to modify the new element wizard or the drop 
behaviour of content elements.


HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] TYPO3-powered intranet case studies anyone?

2013-02-27 Thread JoH asenau

Am 27.02.2013 09:12, schrieb François Suter:

Hi all,

We need to convince a client that TYPO3 can be a valid solution for
managing an Intranet. I googled a bit for interesting case studies, but
I found only very "light" material. Does anyone have an extensive case
study online, if possible with nice screenshots? We are up against
Drupal which carries a better reputation in the field of collaboration.

Thanks in advance



We haven't got a case study online, but currently I am working for a 
project of T-Systems providing an intranet solution for different 
clients within the Deutsche Telekom AG.


About 200 editors provide 12.000 pages with an overall of 200.000 
content elements for 8 clients with 100.000+ frontend users.


Editors are working on a TYPO3 4.5 based system publishing content via a 
FLOW based middleware to TYPO3 4.5 based client master systems, which 
are then providing the data for up to 8 chroot machines of each client.


One of the by-products of this project has been Grid Elements, which has 
been created to get rid of TemplaVoila while upgrading from 4.3 to 4.5 LTS.


Chris and Peter who are working for the same project once did a talk at 
the dev days giving some technical insight, and I had one at last T3CON 
providing some numbers and the reason why we removed TV.


Maybe these can help

Cheers

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Conditions on starttime and endtime

2013-04-18 Thread JoH asenau

Am 18.04.2013 16:24, schrieb Sergio Catalá:

Hi list,

I have the next Typoscript to display a certain field when its date is
between field_starttime and field_endtime:

10 = COA
10 {
 if.value.data = date:U
 if.isLessThan.field = field_starttime
 if.isGreaterThan.field = field_endtime
}

The problem is it fails when the field_endtime is empty. How could I
solve this?

Thanks in advance,
Sergio



Try setting an ifEmpty value to the allowed maximum of a 32bit timestamp:

if.isGreaterThan.ifEmpty = 2147483647

HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] Hilighting restricted pages in HMENU/TMENU

2013-05-16 Thread JoH asenau

Am 15.05.2013 16:24, schrieb Alban Cousinie:

Hello everybody,

As you know, when a frontend user is authenticated in Typo3, the
restricted pages will show up in the TMENU. If he is not authenticated,
those will be masked.

Now I would like to experiment a different behavior : the restricted
page would have different css style in the menu so the user can see very
quickly these are restricted pages. Also they would appear with no lonk
for unauthenticated users, so they know that they will have access to
more information when they become members of the website.

Does anyone have a clue of how to implement this ? I don't see any TS
instruction for processing separatly pages based on their properties in
the TMENU reference. At least I would like to add a class="members"
attribute to menu entries of restricted access pages.


You want to take a look at this: 
http://docs.typo3.org/typo3cms/TyposcriptReference/MenuObjects/CommonItemStates/Index.html


USR/USRRO is your friend ;-)

HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] TagPack not working with Workspaces, does a fix exist ?

2013-05-21 Thread JoH asenau

Am 21.05.2013 12:23, schrieb Benoit Montereau:

I've installed TagPack extension and can create categories and tags and of
course assign somes tags to my pages.

Everything is fine as long as I work in LIVE workspace but as I can see in
bug #12560 description, it totally fails when working with an additional
workspace.


This is due to the fact that tagpack has been designed for a client who 
never used workspaces.
This again was due to the fact that workspaces were kind of messy, when 
we started to develop tagpack for that client.



As this is a major problem (all tags should be reassigned once the page or
the content is published, can someone point me on a fix?


Currently there is no known fix, since the latest action happened more 
than 2 years ago.
This is the reason, why you might run into problems with current 
TYPO3-versions, since tagpack might be using deprecated methods and 
definitely does not fit the new namespaced structures of TYPO3 6.0 +


Since we don't work for the client who actually sponsored tagpack 
anymore due to ridiculously restrictive NDA policies, the development of 
tagpack has stopped until we will find other sponsors to go on.


We have been thinking about doing a crowd funding project for it, since 
this was quite successful for our Grid Elements extension, but currently 
this is not on our roadmap.
If there will be enough interest and sponsoring for the further 
development of tagpack, we will of course get back into action again.


But currently I just can say: Sorry - won't work!

HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] ID page with special doktype

2013-05-22 Thread JoH asenau

Am 22.05.2013 14:34, schrieb Vasyl Mosijchuk:

Yes, I konw  but not work

IdPageDokType254 = CONTENT
IdPageDokType25 {
 table = pages
 select {
 andWhere = deleted=0 AND hidden=0 AND doktype=254
 max = 1
 }
 renderObj = TEXT
 renderObj.field = uid
}

...on frontend empty. ID page does not display


Besides the missing 4 in your code, you want to have a look at the 
manual for the cObject CONTENT and its function "select":

http://docs.typo3.org/typo3cms/TyposcriptReference/Functions/Select/Index.html

As you can see, select makes use of pidInList, which uses "this" as a 
default.
So the parent page of all the pages you could get with your CONTENT 
object always would be the page you are currently on.


You should set pidInList = 123 with 123 being the ID of you rootpage and 
then add the recursive parameter as well, to get more levels of subpages.


select {
  pidInList = 123
  recursive = 5
  andWhere = deleted=0 AND hidden=0 AND doktype=254
}

This way you will get each page with doktype 254.

But I guess this will still be the wrong approach, since you actually 
want to get exactly one unique page and not the pages with doktype 254?


HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] ID page with special doktype

2013-05-22 Thread JoH asenau

10 = CONTENT
10 {
table = pages
select {
pidInList = 1
recursive = 5
andWhere = deleted=0 AND hidden=0 AND doktype=254
}
renderObj = TEXT
renderObj.field = uid
}

...on frontend empty. ID page does not display


What happens, when you remove the "andWhere" part?
Do you see the IDs of each page within a 5 level structure below page 1?

And another question: What exactly is the reason for this construct?
Maybe there is an easier way to get this done.

HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Text content element with subheader field

2013-05-23 Thread JoH asenau

Ok, i found ext. called cron_subheadereverywhere which adds subheader
field to all elements. This is ok, but one thing is missing - RTE for
this field. Any chance to enable RTE for it? Thx.


It's a _header_ field, so IMHO an RTE is not the way to go there.
But anyway, you could change the TCA settings within the extension you 
are using.
Maybe you can do your own extension or ask the original author to 
include it to avoid redundant extensions.


There must be an entry for the subheader column and some configuration 
for it in the "showitem" part. Just put the definitions of the bodytext 
field in there and you should be almost ready to go.


HTH

Joey


--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] CSS styled content

2013-05-23 Thread JoH asenau

Am 23.05.2013 15:20, schrieb Pero Peric:

Hi.

I have to admit that one thing was never clear to me. Is it possible in
TYPO3 (currently i'm using 4.7) not to use CSS styled content but still
have possibility to get elements from columns via standard TS way?

What i want or better to say what i don't want is 100 DIV wraps with 100
CSS styled classes around elements. Please, is there some simple way NOT
to wrap anything. I always spend 5 days finding ways of how to remove
wraps around text content, around image content around bla bla content.

I thought maybe removing static CSS Styled Content and including only
tt_content would work but now i see there is NO tt_content static
template in 4.7.


Of course you can get rid of CSS-styled-content by just not installing 
the static template.
But as you already found out, you will have to write your own tt_content 
setup then.


Maybe you can use another approach that has been presented by Benjamin 
Kott at TYPO3 camp Berlin: They are using Fluid templates instead of 
CSS-styled-content.


HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] CSS styled content

2013-05-23 Thread JoH asenau

Of course you can get rid of CSS-styled-content by just not installing
the static template.
But as you already found out, you will have to write your own tt_content
setup then.


But in older TYPO3 releases there was a static template called
tt_content. What was the purpose of it and why it's not included anymore
in 4.7 ? Thx!


It's been content(default) and actually this was similar to 
CSS-styled-content:
Lots of wraps and stuff like that but based on old school HTML 
templating using tables instead of divs.


So for your purpose this wouldn't help that much.

HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] ID page with special doktype

2013-05-27 Thread JoH asenau

Am 24.05.2013 20:07, schrieb Vasyl Mosijchuk:

10 = CONTENT
10 {
table = pages
select {
pidInList = 1
recursive = 5
}
renderObj = TEXT
renderObj.field = uid
}

...on frontend ID all pages except those that I need.

but  ...  I need ID all pages with doktype=254


Well, even though this is bad news, it's exactly what I have expected.
The query excludes the doktype you want by default, since these are 
"Sysfolders" which are not meant to be rendered in the frontend but to 
be used as containers for other records.


So there are only two ways left to get these pages:
Either use another doktype which will render in the frontend, or go for 
USER/USER_INT and include your own PHP.


HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Provider forces customers to update their software

2013-05-29 Thread JoH asenau

Am 29.05.2013 13:08, schrieb Robert Wildling:

Hi,

I'd like to know your opinion about that:

The Swiss provider hosttech.ch recently sent out an email telling their
customers to update to newer software or get the current installation
deleted because of too old and too insecure scripts that potentially
endager the whole eco system of hosttech. So customers who are running
e.g TYPO3 4.2 are forced to update to 4.5. Hosttech further says that
this is a step that many providers undertake. Yet I do not find any
other providers that act accordingly.

Does anybody of you guys out there know about providers that act similarly?

What do you think about such steps?


Well - if your provider is not able to secure your customer environment 
in such a way that running an outdated PHP application won't harm other 
customers or the rest of their "ecosystem", they should immediately look 
for better admins.


It would be another thing, if you would be running an insecure PHP 
version, but actually it would be the job of the provider to secure the 
whole environment so that any TYPO3 security hole might hurt only your 
own system but not the rest of the systems.


So maybe this is a good reason to look for another provider.

Just my 2 cents

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] 1: Filesize (1.1 M) of file 'E:/MATAGALPA.pdf' exceeds limit (1.0 M). (tx_sgfilelist:468:file)

2013-05-30 Thread JoH asenau

Am 30.05.2013 12:03, schrieb Francesc Juliana:

I have discovered the parameter. It was in ext_conf_template.txt file.
Thank you very much.


And you should not change it there but use the extension manager to 
setup a proper configuration for this particular instance of the 
extension. Jigal already explained how this works.


The file you found is just used to provide some default settings in case 
you don't want to configure the extension at all. But anything you 
change in this file will be overriden with the next update of the 
extension.


HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] How to add a new Frontend layout to Typo3 "Layouts" list

2013-05-31 Thread JoH asenau

Am 31.05.2013 15:19, schrieb TSniper:

Hello,

I'm looking for how to add new templates in the layouts frontend list.
how to add this with her html and CSS files.

Thanks !
begin 644 frontendLayouts.jpg

>

... SNIP

>

end



What do you mean by "layouts frontend list"?
If this was explained in the image, could you please upload it to 
another place and then post just the link to it here?


HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] SPLIT_COUNT and prioriCalc

2013-06-03 Thread JoH asenau

Am 02.06.2013 19:37, schrieb Roberto Torresani:

Hi!
I have a question with a typoscript code:

   10 = TEXT
   10.field = tsc_immagine
   10.split {
 token = ,
 cObjNum = 1
 #1.current = 1
 1.cObject = IMAGE
 1.cObject.file {
   import = uploads/pics/
   import.current = 1
 }
 1.stdWrap.dataWrap = |
   }

What is the best way to add 1 to REGISTER:SPLIT_COUNT?


Simply use an additional separator before the string and use optionSplit 
to "eliminate" it.
This way it would be much faster than calculating the desired value for 
each image.


10 = TEXT
10.field = tsc_immagine
10.stdWrap.wrap = ,|
10.split {
  token = ,
  cObjNum = 2 || 1
  1.cObject = IMAGE
...

the rest would be the same as in your code.

HTG

Joey


--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Combining 2 conditions with TS: cObj:parentRecordNumber=2 AND colPos=0

2013-06-06 Thread JoH asenau

 dataWrap.if{
   value = 2
   equals.data=cObj:parentRecordNumber
 }

>

 dataWrap.if{
   value=0
   equals.field = colPos
 }


There are several options, but I prefer this one:

dataWrap.if {
  value = 2#0
  equals.dataWrap = {cObj:parentRecordNumber}#{field:colPos}
}

HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Combining 2 conditions with TS: cObj:parentRecordNumber=2 AND colPos=0

2013-06-07 Thread JoH asenau

There are several options, but I prefer this one:

dataWrap.if {
   value = 2#0
   equals.dataWrap = {cObj:parentRecordNumber}#{field:colPos}
}

Wow, that's nice and compact! Works, thanks a lot!


And how if I would like OR instead of AND?


A bit of overhead in this case, so maybe there is a smarter solution, 
but this one should work:


dataWrap.if {
  isTrue.cObject = COA
  isTrue.cObject {
10 = TEXT
10.value = 1
10.if.isFalse.field = colPos
20 = TEXT
20.value = 1
20.if.value = 2
20.if.equals.data = cObj:parentRecordNumber
  }
}

HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] templavoila?

2013-06-11 Thread JoH asenau

thanks for your answers! FCEs sound really great and like sonething TYPO§
should have by default.

i will look into gridelements. looks like there is no documentation though.
i will google a bit...


Actually there is a manual but in a folder that is not recognized by 
typo3.org rendering.
You will find a PDF in the documentation folder when you download the 
extension.


Happy testing!

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Page title and cHash

2013-06-12 Thread JoH asenau

Am 12.06.2013 19:34, schrieb Sergio Catalá:

Hi list,

I've got a strange problem with my page title and caching.

Here is my code to display my page title:

# db access for presentation record by id
lib.getField = CONTENT


If you got different versions in your cache, you will need the cHash to 
access them.
But you can still insert a dynamic title uncached, just by putting the 
CONTENT into a COA_INT like that:


lib.getField = COA_INT
lib.getField.10 = CONTENT
lib.getField.10 {
  # put your CONTENT setup here
}

HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] Page title and cHash

2013-06-12 Thread JoH asenau

Am 12.06.2013 19:34, schrieb Sergio Catalá:

Hi list,

I've got a strange problem with my page title and caching.

Here is my code to display my page title:

# db access for presentation record by id
lib.getField = CONTENT
lib.getField{
 if.isTrue.data = GP:tx_my_table|record
 table =  tx_mytable
 select{
 andWhere{
 data = GP:tx_mytable|record
 wrap = tx_my_table.uid=|


And maybe it would be a good idea to remove the "MySQL-Injection-Helper" 
before ging live with that site ;-)


Take a look at the "markers" here: 
http://docs.typo3.org/typo3cms/TyposcriptReference/Functions/Select/Index.html


Cheers

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] THEMES - the tool for Designers, Template Builders and Content Creators

2013-06-13 Thread JoH asenau

Am 13.06.2013 12:32, schrieb Andreas Becker:

I think that many will agree that having packages and themes will help 
improving the user base of TYPO3 CMS. So I won't comment on that part.


Nevertheless there is one thing I would like to avoid: Replacing one 
"golden hammer" with another. That said, I still highly appreciate what 
is going on with fluidcontent, themes and gridelements. But please don't 
make the same mistakes that have been done when TemplaVoila was 
introduced as "futuristic template building", since this will raise 
expectations that we might not be able to fulfill later on.


Now lets get to the facts:


TVFW started to build up a Skin Repository in TER with standardized
exchangable skins. In front of customers it is possible to flip nice
designs and the content flips into the right position. As TemplaVoila is
unfortunately an dead end in its current state, the question for
alternatives came up. Claus Due build Fedext and Joe Gridelements. The one
is storing the Backend data in the Backend which makes it a bit more
difficult to exchange it,


Gridelements can do both, save structures to the DB as well as put them 
into TSconfig, so it's up to the user to decide about the way to go.



It has all those extended features of Claus Dues Fluid Content and Fluid
Pages as it is build on it and it can work with grid elements soon.


This is something that I have discussed with Kay already and we will be 
working on that task soon. Currently my major task is to provide the 
extended manuals and the tutorial DVD that we promised our sponsors 
during the crowd funding phase of Gridelements.


They will already make use of some nice examples for a first so called 
"Grid Package" based on twitter bootstrap, so people will get a notion 
of the things to come when the official "Grid Packages" will be released.


We will have a workshop called "Kickstarting Grid Packages" at the 
Developer Days in Hamburg. So I expect a first roadmap and some concepts 
for the packages to be available in July.


Since the last crowd funding campaign was quite successful, we are 
planning to have another one especially for "Grid Packages". Kay 
Strobach and Arno Dudek already joined our team on startnext and we are 
going to start the new project soon.


It will collect money for certain packages and each sponsoring will 
count as a vote for the package it is related to. This way we will 
produce only those packages that people really want to use. People can 
do requests for packages as well.


Each of these will just be the base for the upcoming themes that will 
build upon it.
So the goal is i.e. to get a standardized twitter bootstrap package, 
that will enable you to make use of almost any theme based on that 
framework. Same of course for other frameworks, but the people will 
decide which one we will create.


The collected money will then be used to have developers and designers 
focused on the packages they decide to work on.


A rough timeline that I already discussed with Kay is connected to the 
release of TYPO3 CMS 6.2. LTS in October. We expect to release those 
theme packages until the end of 2013 as well, so the can be a reliable 
base for TYPO3 CMS beginners for the following 3 years.


Let's do it!

Cheers

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] TYPO3 6.2 which Extensions will still work?

2013-06-13 Thread JoH asenau

I guess, that this THEMES package is not about, how the themes as layout
are built, but that you have to follow a certain file structure that you
can select each theme inside of the backend directly.

Each theme itself can be build however - with CSS, SASS, LESS,
bootstrap. This should be the goal in my opinion.


Exactly this is what the Grid Packages will be about: Delivering 
different base packages for different approaches for the output but 
based on the same principles and structures regarding the package itself.


Cheers

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] THEMES - the tool for Designers, Template Builders and Content Creators

2013-06-14 Thread JoH asenau

Then there comes the nice FCE handling in TV, which every editor loved
because custom content elements where easy to use. Now I am concerned about
this feature, because there are in my opinion two extensions battling doing
the exact same thing: gridelements and fluidcontent.


There is no battle, since FCE are not the focus of gridelements anyway. 
Grid elements give you two things: A way to create content structures 
having a backend layout on another level than pages and a lot of 
usability enhancements to improve the working speed while using the 
backend. The major advantage is, that they do this with a fully 
normalized concept based on core functions and without the need of 
extbase or fluid.


The fact that you can build kind of FCE stuff with them is just a side 
effect of the flexform field we had to integrate to have a smooth 
migration from TV pages to grid elements. But it is not recommended, 
since this makes people run into the same technical problems like with TV.


Personally I never understood the hype about FCE, since this is 
something you can do with some TCA within just a few minutes and you 
will need at least some TypoScript for each of them anyway.



In gridelements there are multiple actions necessary for building one fce.
Backend actions, then typoscript configuration and in the end the html file.


You don't need any file there, since just some wraps will be enough to 
get containers and children with the appropriate classes, the rest is up 
to bootstrap and the like anyway.


But of course you can use fluid files as well, if you think this is a 
good idea, since TypoScript gives you FLUIDTEMPLATE and the plugin 
prepares addtional arrays for you. So Gridelements gives you the choice, 
while fluidcontent forces you into the Extbase and Fluid world, which is 
it's major advantage and it's major drawback at the same time.


But the actual point is: TYPO3 makes use of extensions to give the users 
a choice. It's not up to the core to decide which way to go, but up to 
the people. This is why neither TV nor gridelements nor fluidcontent are 
"officially" part of the core. Gridelements has been built as a core 
project but was never included.


Still the Grid Packages project is open for everybody to join, so if you 
want to get more fluid in there, feel free to provide your package as well.


Cheers

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] THEMES - the tool for Designers, Template Builders and Content Creators

2013-06-14 Thread JoH asenau

I really love TS but we all should agree that TV succeeded in removing
this first barrier for newcomers as you don't have to learn "much" of TS
(if at all) to start enjoying TYPO3. Of course, really quickly, you'll
have to dig into it but not before having seen "wahoo, I can map my
template or at least most part of it easily, TYPO3 rocks!".


And this is what we want to provide with Grid Packages.
Actuallly we want to go even a step further and get rid of templates as 
well.


The goal is:
Step 1 - Download and install a package base, use the backend layouts, 
grid elements and/or fluidcontent stuff provided by these packages to 
get any kind of HTML output you need.
Step 2 - Apply your own theme via JS and CSS, i.e. something you 
downloaded for bootstrap, or install a package that provides this theme 
for you if are not even familiar with that.


No mapping, no XML, no files, just 2 packages and there you go.

For the user first it doesn't matter, what happens under the hood, so he 
won't care if it is XML, Fluid, TypoScript or a combination of them, but 
from a developers point of view it does matter. And the user might 
become one later on. And of course it matters for the existing developer 
base as well, since we don't want to run into the same mess as with CSV 
inside XML put into a single database field. Clean concepts and 
performance must have a high priority as well.


So if you are familiar with TypoScript and TCA, this will be the way to 
go for your packages. If you prefer Fluid, fine, just put one line of 
TypoScript in your setups to trigger the FLUIDTEMPLATE and go on. But in 
any case, becoming a developer means you will have to learn new stuff.


This is why I would like to have different package bases but still 
focused on compatibility with each other and delivered by a joint 
venture of currently different teams.


Backed up with a crowd funded budget this should be doable until the end 
of the year.


Rock on!

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] CLOSED - Re: Major background issues

2013-06-14 Thread JoH asenau

combining this with the new options in the installtool about
server-requirements to verify that TYPO3 will run after installation and
the 123-Install-wizard we might get a script usable for everyone to get
TYPO3 to run without programming knowledge.


But if the problem during a local(!) install is: "I don't know the 
database password and where to get it", it does not help too much, since 
this would have been the case for almost any other software, that 
requires you to have a database server up and running.


So IMHO this is not a problem of TYPO3 itself, while the thing with the 
MD5 hash is. Although it could be kind of "generated" by just trying to 
login with the password and then copying the hash out of the error 
message  - but of course this is not the recommended way to do it ;-)


I followed this thread for a while and my advice in this case would be: 
Try to get a hoster who offers preinstalled TYPO3 packages and start 
using TYPO3 there instead of trying to install it on your local machine. 
- There are even offers with a free testing phase, so it would not even 
cost you anything.


Just my 2 cents

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] TYPO3 6.2 which Extensions will still work?

2013-06-17 Thread JoH asenau

By the way I am just starting bootstrap and never used it before, but as you 
could read here on the list ALL future approaches like gridelements or fluid, 
themes, Fabiens bootstrap  and there is even a TV bootstrap out there too are 
using bootstrap


Well - we are planning to provide such a package for bootstrap, but this 
will be just one package out of many others. In the end it will be up to 
the supporters of the crowd funding to decide which packages we will be 
going to produce, since every donation will count as a vote.


So it is possible that we won't have a bootstrap package but something 
completely different instead.


Just my 2 cents

Joey
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] OT Frontend development & strategies

2013-06-17 Thread JoH asenau

not compatible with GPLv2, therefore it is kind of hard mixing +
contributong those


As long as you don't provide the bootstrap code itself in that 
extensions, there is no licensing problem at all. Same for any other 
framework.


You just have to make sure that your extension produces HTML output that 
matches the structure of the target framework. i.e. Using class="row" 
and class="span3" or the like for a bootstrap package. This will be 
enough for a base package, that will just work with HTML and TypoScript 
to provide the necessary Grids and modified tt_content setups.


To get the themes in, you will need an extension that works as a 
downloader and/or installer for ready made packages, which don't contain 
any GPLed code, but just the necessary files for JS, CSS and additional 
TypoScript. So the license can be completely different from the one used 
for the extensions, since it is allowed to use packages with different 
licenses, while it is not allowed to provide them within one 
downloadable and/or installable extension.


Actually it is exactly the same as if you would download twitter 
bootstrap and then put it into a TYPO3 based website you have made for a 
client, just the process of downloading and installing will be automated 
and the HTML will already match the framework.


Just my 2 cents

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Releasing TYPO3 6.2 LTS under GPL Version 3

2013-06-18 Thread JoH asenau

There is a budget to have a good opinion of a legal expert on these
license subjects, so please leave this to the experts.


Since I am a member of that team and especially the GPLv3 thingie is 
already on our radar:


+1

Cheers

Joey


--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] TYPO3 6.2 which Extensions will still work?

2013-06-18 Thread JoH asenau

Am 18.06.2013 15:36, schrieb Andreas Becker:

Good idea Joey! Thanks

Do you have a link for people who would like to take part at the crowd
funding as I think it probably would be a good idea to post it here too.
Just in case people drop by ;-)


We are currently in the planning phase and setting up the necessary 
stuff on startnext.
As soon as the project is going into the "fan collection mode" we will 
of course post the link to it here and in any other of the usual 
channels :-)


Cheers

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Page template selection TV-style without TV

2013-06-18 Thread JoH asenau

Am 18.06.2013 20:11, schrieb Jan Bednarik:

Hi all,

reading that TV is about to retire, which is truly sad news, I started
to remember old days when I did websites without TV and it made me
realize that I will miss quite a lot. Another thread provides clues how
to deal with missing FCEs (GridElements), but what I don't know is how
to give user selection of page templates.

Let's say I have a few page templates (one for homepage, different for
subpages, some without menu, whatever) and I'd like to give users option
to choose whichever template they want.


Usually this can be done with a combination of backend and frontend layouts.
While backend layouts resemble the basic structure of a page in the 
first place, they can still be connected to a frontend layout as well. 
You can set a particular layout for a page or just use "backend layout 
on next level" to set it for a whole branch.


Together with the "layout" switch, that existed long before backend 
layouts came up, you can setup quite a lot of different variants so 
people can select different views on top of a backend layout.


The output can be done with a few lines of TypoScript making use of 
levelfield, override and CASE. This will typically set some classes to 
the body tag and/or major containers, while the rest is done with the 
usual CSS.


HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] ordering sections in a page using drag & drop

2013-06-18 Thread JoH asenau

Am 11.06.2013 15:14, schrieb Francesc Juliana:

Hello everybody:

I have insert nearly 30 section in one page. At this point I need to
organize its position.
Is there any way to organize its postion trough a list using drag & drop?


I don't know exactly what you mean by "section", but if a section is a 
content element, the TYPO3 core provides drag & drop for them out of the 
box, which should be enough for sorting.


If you want a more sophisticated D&D with the option to create new 
elements by dragging them in and copy existing elements by holding the 
CTRL-key during a drop, you should try Gridelements.


HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Page template selection TV-style without TV

2013-06-18 Thread JoH asenau

Am 18.06.2013 20:36, schrieb Jan Bednarik:

Hi,

so by refereing to the BE layout property in TypoScript I can change
template for FE. That's not very clean approach but I can work. I was
hoping for something bit better though :)


I didn't say that you have to do it this way, but for me it's much more 
comfortable to do it like that.
If you want to clearly separate between backend and frontend layout, 
feel free to use a set of backend layouts for the backend only and use 
the layout selector for the frontend output without any connection to 
the backend structure.


But actually even TV uses a combination of XML datastructures for the 
backend and HTML-Template for the frontend, so I don't see too much 
differenct in the approach ;-)


Cheers

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Page template selection TV-style without TV

2013-06-18 Thread JoH asenau

Am 18.06.2013 20:33, schrieb Jan Bednarik:

Hi Kay,

 > i'm currently working an a theming approach with different pagetypes per

Theme :D


Page type in means of type parameter? Not exactly what I'm looking for,
but I'll stay interested. Anyway, now we have 1 TV in future we will
have at least 2 different extensions to provide the same? Doesn't sound
like improvement.


If you like TemplaVoila that much, you should just ask Tolleiv to hand 
it over to another developer, maybe yourself, to keep it alive. After 
all TV is an open source product with free code, so no one stops you to 
develop it further or just maintain it.


Cheers

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Issue with adjusting height of the main div

2013-06-20 Thread JoH asenau

First of all I apologize for the question, but I am pretty new on typo3.

I have realized that the main container (div) high is depending on the
menu high. If not many elements are added to the menu, no extra space is
inserted into the main container. However, if the menu has a lot of
elements, the main container has extra space (I have seem the high of
the style in this page is too much.
I would like to make the main container just next to the section without
leaving this empty space on the page.

Any help is very welcome.


Hi Gabriel.

First of all, you should not post any images to this list, but upload 
them somwhere else instead. Then you can post a link to those images 
here. This will save bandwidth and HDD space.


Following you description, I fear that an image alone won't help too 
much, since your problem will depend on the code that is generating the 
output of your page.


So it would be cool if you could provide additional information here, so 
that we will know how your HTML, CSS and/ or TypoScript looks like. 
Please don't post the whole setup but just the snippets that are related 
to your problem.


HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] extbase/fluid extension as PLUGIN_TYPE_CONTENT_ELEMENT

2013-06-20 Thread JoH asenau

Am 20.06.2013 21:15, schrieb Andreas Kiessling:

Hi,


I tried to add a flexform, but when I change the plugin to
PLUGIN_TYPE_CONTENT_ELEMENT it is no longer visible.



For new CTypes, you need to define the visible fields on your own.
Have a look at the ext_tables.php from my demo extension that i created
for our usergroup:
https://github.com/akiessling/ak_accordion


If you need a flexform for a CType, you need to add it like this:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('*',
'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/Plugin.xml',
$pluginSignature);

and of course add the pi_flexform field to the ones listed in ext_tables.php


Using a flexform to store content data should be avoided whenever 
possible, especially when it comes to new content elements.


There are lots of different fields available for tt_content and you can 
arrange them any way you like with TCA, showitem and palettes. This will 
make your data available for queries and therefor increase performance 
when dealing with searchr results or listings.


Flexforms should be used for configurational data only, since these 
usually won't be used for a query but for different variants of frontend 
output after getting the result. Anything else IMHO does not belong into 
a flexform, since it requires a lot of parsing to get the data out of 
the XML, which is one of the major drawbacks of extensions like TemplaVoila.


Just my 2 cents

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] ifEmpty -> don't show wrap ?

2013-06-27 Thread JoH asenau

Am 27.06.2013 14:06, schrieb horace grant:

hi,

i am doing something like that:

10 = CONTENT
10.stdWrap.wrap =  | 
10...

and would like to show the text "no entries!" if there are no entries:

10.stdWrap.ifEmpty.cObject = TEXT
10.stdWrap.ifEmpty.value = no entries!

in this case i don't want output the "exhibitions" wrap tough. how could i
achieve this?

cheers,
horace



Put the whole block into a COA like that.
And you don't need a TEXT for ifEmpty, since you can give it a value 
directly:


10 = COA
10 {
stdWrap.ifEmpty = no entries!
10 = CONTENT
10 {
stdwrap.wrap = |
stdWrap.required = 1
...
}
}

HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] CE Insert Records and colPos - T3 6.1.1

2013-07-02 Thread JoH asenau

If inside
column with colPos > 0 i put content element Insert Records and pick
some records from other pages to show by reference this content element
is not rendered, but if i move Insert Records element to column with
colPos= 0 it is rendered.

To pass column content to FLUID template im using normal variable
assigment:
page.10= FLUIDTEMPLATE
page.10 {
variables {
  content < styles.content.get
  contentLeft < styles.content.get
  contentLeft.select.where= colPos=1
  contentRight < styles.content.get
  contentRight.select.where= colPos=2
  }
}

This way all is rendered as i want except this Insert Records content
element - works only for colPos=0.


Did you check if it works without FLUIDTEMPLATE i.e. with a simple COA 
or TEMPLATE?
If it does, the problem might be related to the way FLUIDTEMPLATE is 
rendering the content.


HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] HMENU and entryLevel

2013-07-20 Thread JoH asenau

Am 19.07.2013 17:03, schrieb Simone Paolinelli:

Hi to all,

I'm going crazy with a script to create a menu that should list:

  - current page
  - all page "sister" of current page
  - all subpages  of current page

The script that I using (view below) work fine just with second level
pages.

That I want is to set entryLevel dynamic (equal to level of parent of
current page) but I don't know how do this!


Use a negative entryLevel to get relative instead of absolute entry levels:

-1 = subpages of the current page
-2 = subpages of the parent of the current page

HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] HMENU and entryLevel

2013-07-20 Thread JoH asenau

Am 20.07.2013 19:45, schrieb JoH asenau:

Am 19.07.2013 17:03, schrieb Simone Paolinelli:

Hi to all,

I'm going crazy with a script to create a menu that should list:

  - current page
  - all page "sister" of current page
  - all subpages  of current page

The script that I using (view below) work fine just with second level
pages.

That I want is to set entryLevel dynamic (equal to level of parent of
current page) but I don't know how do this!


Use a negative entryLevel to get relative instead of absolute entry levels:

-1 = subpages of the current page
-2 = subpages of the parent of the current page


You could even go for a directory style menu:

lib.blah = HMENU
lib.blah {
special = directory
special.value.field = pid
}

HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] HMENU and entryLevel

2013-07-22 Thread JoH asenau

Am 22.07.2013 11:10, schrieb Sandra Tyrchan:

Or you just say:
entryLevel.current = 1


AFAICS in the TYPO3 code, "current" would not have any impact here, 
since you have to fill it with something first.


i.e. using it together with setContentToCurrent or setCurrent it will 
behave like a variable.
Inside a split construct it will contain the value of the split section 
you are currently working on.


But for entryLevel there is nothing in "current" so it will behave as if 
you were using no entryLevel setting at all.


HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Creating tmenu in columns using wrap

2013-08-05 Thread JoH asenau

Am 05.08.2013 20:34, schrieb Sara:

I'm trying to create a menu to be split across columns and show their
subpages eg

pages in the tree:

01
--101
--102
02
--201
--202
03
--301
--302

are displayed in the menu as 3 columns:

01 0203
101   201 301
102   202 302

I thought I could do this using the following code and using a wrap to
allocate each occurrence a class but this seems to just wrap all the
items (eg page 01-03) in the first span and not each 'set' separately.

Could someone advise me on where I'm going wrong please?


Since you are going to wrap an item together with the subpages of that 
item you should go for


wrapItemAndSub = |

http://docs.typo3.org/typo3cms/TyposcriptReference/MenuObjects/Tmenuitem/Index.html

HTH

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Creating tmenu in columns using wrap

2013-08-05 Thread JoH asenau

Am 05.08.2013 21:37, schrieb Sara:

Thanks for the help but adding:

wrapItemAndSub =  |  ||  |
 ||  |  ||  | 

doesn't add anything at all to the source code.


It depends on where you add it ;-)

wrapItemAndSub is a parameter of TMENUITEM, so it has to be within the 
item states NO, ACT, CUR and so on ... in your case it is just necessary 
for the first level items, so this one should be working:


1 = TMENU
1 {
  NO = 1
  NO {
linkWrap = |
doNotLinkIt = 1
wrapItemAndSub =  |  || class="col2"> |  ||  |  || class="col4"> | 

  }
  ACT < .NO
  ACT.doNotLinkIt >
  expAll = 1
}

Cheers

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Image Rendering from FAL / TypoScript / Gifbuilder

2013-08-07 Thread JoH asenau

The according TS element is

 renderObj = IMAGE
 renderObj {
 file.import.data = file:current:originalUid
 }
}

what delivers the image as expected.  I now want to extend the image rendering 
using the Gifbuilder.  Thus, I extended the renderObj as

 renderObj = IMAGE
 renderObj {
 file = GIFBUILDER
file {
XY = 210,110

10 = IMAGE
10.file.import.data = file:current:originalUid  

what leads to an image with the correct rendering of subelements 20, 30, and 40 
but no original image as of element 10.  Does anybody have a hint why this does 
not work, or how I could get this to work, respectively?


It seems there is no file:current available at all within GIFBUILDER.
So you will have to use a LOAD_REGISTER as a workaround.
And you should use the publicUrl to avoid fetching information twice.

renderObj = COA
renderObj {
  10 = LOAD_REGISTER
  10.currentImage.data = file:current:publicUrl
  20 = IMAGE
  20 {
...
  }
}

IMHO this is a bug, since the information should be always available 
inside the FILES object, but the workaround might help until this has 
been fixed completely.


Cheers

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Page - Resource - add image in TYPO3 6.1.1 always saves value 1

2013-08-27 Thread JoH asenau

Am 27.08.2013 07:32, schrieb Mark Kuiphuis:

Hi all,

Finally I have been able to solve this problem. When you follow the
instructions on the File Abstraction Layer Wiki page (#1), but instead
of an IMAGE object, you use an IMG_RESOURCE object, you need to delete
the line: file.import.override.field = media


This line should have been wrong anyway, with or without FAL, since it 
does what the parameter name says: It overrides the data you have set by 
levelmedia with the content of the field media.


Actually this is redundant, since "levelmedia: -1, slide" will always 
start with the current page and stop at the first occurence of a file. 
So if there should be any file available for the media field of the 
current page, it would have been used already, no need to override.


If this is the way recommended in the wiki, either this is a bug in the 
code or a misleading description. Maybe someone of the FAL guys can 
confirm the bug or correct the wiki then.


Cheers

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


  1   2   3   >