Re: [TYPO3-english] ig_ldap_sso_auth 1.1.1 + TYPO3 4.5.6

2011-10-03 Thread Tomas Mrozek
I've just made a bug report.
http://forge.typo3.org/issues/30520

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


Re: [TYPO3-english] ig_ldap_sso_auth 1.1.1 + TYPO3 4.5.6

2011-09-27 Thread Tomas Mrozek
I did a bit more testing and everything seems to work fine.
Thanks a lot Björn!

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

Re: [TYPO3-english] ig_ldap_sso_auth 1.1.1 + TYPO3 4.5.6

2011-09-27 Thread Tomas Mrozek
Thanks for the hint Bjorn! Unfortunately I don't understand German so I
have a bit of trouble to decode the whole text.

Is it supposed to be changed in class.tx_igldapssoauth_sv1.php? I found
it there and it seems to do the trick but I want to make sure I'm not
fixing it in the wrong place.

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


[TYPO3-english] ig_ldap_sso_auth 1.1.1 + TYPO3 4.5.6

2011-09-27 Thread Tomas Mrozek
Is there anybody having problem with LDAP authentication for BE users
when using ig_ldap_sso_auth 1.1.1 with the latest version of TYPO3 (=
4.5.6)?

It has worked for me perfectly till TYPO3 4.5.4 (I haven't tried 4.5.5)
but now LDAP authentication always fails.

I'm asking to find out whether it's a problem just on my installations
or whether somebody else is having a problem as well before filing any
bug report.

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


Re: [TYPO3-english] LDAP authorization for backend

2011-09-27 Thread Tomas Mrozek
I use "ig_ldap_sso_auth" and it has worked perfectly for me until the
latest TYPO3 4.5.6. I'm gonna start a new thread to find out whether
somebody else have the same problem.

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


[TYPO3-english] Backend search for specific record in TYPO3 4.5.x

2011-08-01 Thread Tomas Mrozek
It used to be possible to find certain record using "table:uid" formula
(e.g. "tt_content:123"). This doesn't seem to work in TYPO3 4.5.x.

There are obviously other means of finding a record that has a specific
UID but is there any way of doing it using the backend search?

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


Re: [TYPO3-english] Access right for usergroup with new page

2011-07-26 Thread Tomas Mrozek
+1

It allows much better permission control and has "recursivity" - when
set on a page, all subpages will inherit permissions.

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


Re: [TYPO3-english] file.params and ImageMagick parameters in TypoScript

2011-05-09 Thread Tomas Mrozek
>  PS. I thought that it was me, who asked for advice ;)

:-) Well, the thing is that it seems to me that tt_content.image.20.1 is
IMAGE and its property "file" is "imgResource" which I thought doesn't
have "params" property. So I was wondering how you found out that it exists.

The only way to apply IM parameters I know of is when using GIFBUILDER
and its SCALE object that has "params" property which is a string that
is passed to IM.

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


Re: [TYPO3-english] file.params and ImageMagick parameters in TypoScript

2011-05-09 Thread Tomas Mrozek
How did you come up with the "params" property of "file"?

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


Re: [TYPO3-english] Wrapping

2011-04-29 Thread Tomas Mrozek
> The problem is, if sub menu exists then  should not be closed and
> next  should be started.

Well, that's why you are using "wrapItemAndSub" property, isn't it? It
wraps the item plus any submenus. However, you have made few mistakes in
the setup.

Try this:

MENU = HMENU
MENU {
  entryLevel = 0

  # First level
  1 = TMENU
  1 {
wrap = |

NO {
  allWrap = |
}

IFSUB = 1
IFSUB {
  wrapItemAndSub = |
}
  }

  # Second level
  2 = TMENU
  2 {
wrap = |

NO {
  allWrap = |
}

IFSUB = 1
IFSUB {
  wrapItemAndSub = |
}
  }
}

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


Re: [TYPO3-english] Wrapping

2011-04-29 Thread Tomas Mrozek
You mean how the below given HTML code using HMENU?
If yes, what exactly are you struggling with?

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


Re: [TYPO3-english] Make a block without using templavoila

2011-04-29 Thread Tomas Mrozek
> For example we have LEFT  NORMAL RIGHT. but i have a banner too. I want to
> insert different image for every page in the banner. Is this possible?

Yes, it's possible with backend layouts introduced in TYPO3 4.5.

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


[TYPO3-english] Localization EXT: Trados + multi-tree

2011-04-29 Thread Tomas Mrozek
I'm looking for an extension that would be able to export/import content
in XML format suitable for translation in Trados.

I've found 2 extensions (t3_locmanager and apparently newer l10nmgr)
that export the content fine. However, here comes the catch: they seem
to support single-tree (one page tree for all the languages) approach
only while the website I'm working on uses multi-tree approach (a page
tree for each language).

Basically, we have English pages, a *selection* of which will be copied
to a separate tree. This tree then needs to be translated. What it means
is, that the extension must export the content and then import the
translated version while actually *updating* the content in the tree
instead of creating new localized content. The 2 mentioned extensions
doesn't seem to handle such an approach.

QUESTION: Does anybody have a tip for an extension that could handle it
or some workaround how to achieve what I need?

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


Re: [TYPO3-english] TScript Condition NOT operator?

2011-04-15 Thread Tomas Mrozek
> Is it realy the solution?

I think it's a good place where to put the function. It would be better
if it was possible to use a method from a custom class included by
"includeLibs" but unfortunately that's not supported in conditions.

> I was told "personnal" changes done in this file
> are deleted/crashed by any update done by Typo3 itself. Is that right?

No as long as the code is entered before "INSTALL SCRIPT EDIT POINT TOKEN".

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


Re: [TYPO3-english] How to reply to a message on this forum?

2011-03-30 Thread Tomas Mrozek
It's apparently on the way:
http://news.typo3.org/news/article/wanted-design-for-forums-on-typo3org/

If it gets running, it should please those who prefer web interface
while not upsetting those who prefer newsgroups.

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


Re: [TYPO3-english] Typoscript in a file

2011-03-14 Thread Tomas Mrozek
> Yes... as long as you have syntax coloring scheme. I found nothing for vim.
> ...
> I got so much used to vim...

Plus one more reason to create your own coloring scheme then. :-) I know
there's one for PSPad and Notepad++ so you can use it as a basis for the
vim coloring scheme.

Tomas Mrozek


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


Re: [TYPO3-english] Typoscript in a file

2011-03-14 Thread Tomas Mrozek
> Main disadvantage is that you're not able to use T3editor with syntax
> coloring...

...while the advantage is that you use full scale text editor with
syntax coloring plus much much more. ;-)

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


Re: [TYPO3-english] Validating the security token of this form has failed. Please reload the form and submit it again.

2011-03-13 Thread Tomas Mrozek
See http://bugs.typo3.org/view.php?id=17533 and apply the patch provided.

Tomas Mrozek
--
PS: Maybe you can also check http://bugs.typo3.org/view.php?id=2519
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] MENU wrap issue

2011-03-08 Thread Tomas Mrozek
Apparently stdWrap is applied before wrap. Why don't you use...

wrap = |

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


Re: [TYPO3-english] Grid system with cells split

2011-02-28 Thread Tomas Mrozek
> Well, yes, but if page structure is complex (let's imagine some 5
> columns, 8 rows and all of them are somehow merged) and it is already
> used at the website, but later customer wants to have at some content
> area two columns instead of one - and it may be a pain to make it with
> merging only and keep all the colPos numbers, that were defined previously.

Yes, you are right on that one. Editing existing layout is not easy
using the editor. This concerns the case when you want to split an
existing column or add a new column.

Changing the config manually is then the only option.

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


Re: [TYPO3-english] Grid system with cells split

2011-02-25 Thread Tomas Mrozek
> After long time of using TV templating system, I decided to give a try
> to a newly introduced grid system in 4.5. My impression - it is really
> cool, and I can use it for further projects!

I agree, it's a great invention for those who don't like TV. There are
few bugs but when these get polished...

> The only thing, that I missed: is there any possibility to split the
> cell in two parts in a grid view editor?

It's possible to merge some, thus getting the same result.

> And can I define width of a column by percentage?

Yes, sort of. Take the whole page as a grid and merge the columns to get
the column ratios you want.

Simple example: Start with 3 columns and merge the two right columns to
get a layout that would consist of the left column being 1/3 of the page
width and the right column being 2/3 of the page width.

The more columns you start with, the finer percentages you will be able
to get by merging the columns.

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


Re: [TYPO3-english] GIFBUILDER and Ä Ö Ü

2011-02-24 Thread Tomas Mrozek
Also, check that the font actually contains the required characters.

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


Re: [TYPO3-english] GIFBUILDER and Ä Ö Ü

2011-02-24 Thread Tomas Mrozek
Most probably due to your use of OpenType font. It's supposedly possible
to get it working but I never succeeded.

TrueType fonts are (according to my experience) fine.

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


Re: [TYPO3-english] GIFBUILDER headings change on different content-element layout

2011-02-24 Thread Tomas Mrozek
I didn't give you the whole Typoscript. I gave you something to start
with and I told you to look at how CASE works.

I'm not your hired coder. You will have to tweak it yourself. If you
take a look at the code you will see that only "default" and "2" (=
black) is defined. Simply add the other color versions.

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


Re: [TYPO3-english] GIFBUILDER headings change on different content-element layout

2011-02-24 Thread Tomas Mrozek
Right, I see another mistake in the code. Try:

lib.stdheader.10 = CASE
lib.stdheader.10 {
  key.field = header_layout

  default = IMAGE
  default {
titleText.field = header
altText.field = header
file = GIFBUILDER
file {
XY = [10.w]+5,[10.h]+10
backColor = #EAEAEA
10 = TEXT
10{
text.field = header
offset = -2,20
align = center
niceText = 1
fontColor = #ff
fontFile = fileadmin/templates/web/fonts/ClanOT-Medium.otf
fontSize = 18
}
format = png
backColor = #aec924
transparentBackground = 1
transparentColor = #aec924
transparentColor.closest=1
}
  }

  2 < .default
  2.file.10.fontColor = #00
}

Tomas Mrozek

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


Re: [TYPO3-english] GIFBUILDER headings change on different content-element layout

2011-02-24 Thread Tomas Mrozek
You mean the switching doesn't work or even the default version is not
rendered.

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


Re: [TYPO3-english] GIFBUILDER headings change on different content-element layout

2011-02-24 Thread Tomas Mrozek
Oops. It should be:

lib.stdheader.10 = CASE
lib.stdheader.10 {
  key.field = header_layout

  default = IMAGE
titleText.field = header
altText.field = header
fontTag >
file = GIFBUILDER
file {
XY = [10.w]+5,[10.h]+10
backColor = #EAEAEA
10 = TEXT
10{
text.field = header
offset = -2,20
align = center
niceText = 1
fontColor = #ff
fontFile = fileadmin/templates/web/fonts/ClanOT-Medium.otf
fontSize = 18
}
format = png
backColor = #aec924
transparentBackground = 1
transparentColor = #aec924
transparentColor.closest=1
}
  }

  2 < .default
  2.file.10.fontColor = #00
}

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


Re: [TYPO3-english] GIFBUILDER headings change on different content-element layout

2011-02-24 Thread Tomas Mrozek
Use CASE (1). In TYPO3 4.5.x you might be able to use it on "fontColor".
If not, you can still use it on the whole "lib.stdheader.10".

Try something like this (not tested):

lib.stdheader.10 = CASE
lib.stdheader.10 {
  key.field = header_layout

  default = IMAGE
titleText.field = header
altText.field = header
fontTag >
file = GIFBUILDER
file {
XY = [10.w]+5,[10.h]+10
backColor = #EAEAEA
10 = TEXT
10{
text.field = header
offset = -2,20
align = center
niceText = 1
fontColor = #ff
fontFile = fileadmin/templates/web/fonts/ClanOT-Medium.otf
fontSize = 18
}
format = png
backColor = #aec924
transparentBackground = 1
transparentColor = #aec924
transparentColor.closest=1
}
  }

  black < .default
  black.file.10.fontColor = #00
}

Tomas Mrozek
--
[1]
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.2/view/1/7/#id2524000
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Complex Query in Typoscript

2011-02-24 Thread Tomas Mrozek
Try to start with this:

temp.updated = CONTENT
temp.updated {
  table = tt_content
  select {
pidInList.cObject = CONTENT
pidInList.cObject {
  table = pages
  select {
selectFields = pages.uid
leftjoin = pages AS p2 ON pages.pid = p2.uid
where = p2.pid = 17523
  }
  renderObj = TEXT
  renderObj {
field = uid
wrap = |,
  }
}
orderBy = tstamp DESC
max = 5
  }
  renderObj = TEXT
  renderObj {
field = header
typolink {
  parameter.field = pid
  section.dataWrap = c{field:uid}
}
wrap = |
  }
  wrap = |
}


I didn't test it at all so there's a good chance I made a mistake in it.
You'll have to play with it.

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


Re: [TYPO3-english] Complex Query in Typoscript

2011-02-23 Thread Tomas Mrozek
There are probably several ways. One can be using CONTENT (1) and
"select" (2). How exactly the TypoScript set up would look like depends
on how complex it really should be.

Looking at the SQL query, does it have to be exactly as described
(content from the 2nd sublevel of News) OR can it actually be any
content from News and its subpages?

Tomas Mrozek
--
[1]
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.2/view/1/7/#id2519413
[2]
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.2/view/1/5/#id2506889
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Workspaces in TYPO3 4.5 - still complicated/confusing?

2011-02-21 Thread Tomas Mrozek
> No, you have been asked often enough to submit feature requests.

And I already said that before coming with some feature request I would
first like to get other people's view on the workspaces. I believe this
is the place where such a topic can be (or even should be) discussed and
before coming hastily with a request it's better to give it some time
and ponder about it. Maybe somebody will come up with something that
will open my eyes and make me change my mind about how the workspaces
currently work... I would then regret submitting a feature request.

> Nevertheless you could express it not in such a way:

I give you that. I could have said it nicer.

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


Re: [TYPO3-english] Workspaces in TYPO3 4.5 - still complicated/confusing?

2011-02-21 Thread Tomas Mrozek
Look, I understand that many people spent lots of time on it, that they
did it for free and that the time devoted to such work is hardly ever
appreciated. It's not like I've never done anything for free while not
being appreciated. I know the feeling.

I also understand that workspaces were introduced many versions ago and
there's need for backward compatibility so radical changes are not
(always) possible.

But does this all mean that I should not express my opinions but just
simply keep quiet and be grateful? Do you want all users to only clap
their hands and never come up with any criticism?

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


Re: [TYPO3-english] Workspaces in TYPO3 4.5 - still complicated/confusing?

2011-02-21 Thread Tomas Mrozek
> Then explain it to them ... TYPO3 is free ... developers code it in there 
> free time and not things are not always optimal. It is just a way it is.

Yep, I can give them the finger (verbally) as you suggested. I'm not
sure it's the right approach but I'll think of it. ;-)

> If you want to have it different, create a feature request...

Yep, I can do that. Let's see what happens.

> ...or even provide patches.

Well, I would if I could. Creating a patch for something like workspaces
seems impossible to me right now.

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


Re: [TYPO3-english] Workspaces in TYPO3 4.5 - still complicated/confusing?

2011-02-21 Thread Tomas Mrozek
> Custom stages and new interface is nothing worth talking about?

If editors (still) have difficulty to understand why workspaces work the
way they do then any improvement to the interface doesn't make any
difference.

> Well, then I am sorry.

No need to. I didn't ask for any sympathy.

> Instead if ranting,...

You might call it "ranting", I call it "starting discussion". I wanted
to read other people's opinions/experiences/advices while presenting my
opinions. I wouldn't go on and suggest something to the development team
without getting the opinions of other people and building an overall
picture for myself.

Maybe instead of your "ranting" you could share your views and put down
some points why you think that the current way the workspaces work is good.

Listen (I mean "read"), Philipp, I'm sorry if I touched your nerve but I
wasn't drilling for it.

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


Re: [TYPO3-english] Cloned copy of site showing blank (fe and be)

2011-02-21 Thread Tomas Mrozek
Turn on PHP error reporting to see what's causing it.

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


Re: [TYPO3-english] Workspaces in TYPO3 4.5 - still complicated/confusing?

2011-02-21 Thread Tomas Mrozek
> Firsts, drop draft workspace, it is limited and buggy... Use custom
> workspace.

Actually, I was talking about a custom workspace. I have it named "DRAFT
workspace" and that's why I used that title. I'm sorry for the confusion.

> Secondly, it looks like a bug

No, I now see it's not. I compared it to v4.4 and it's still the same.
There's still "Publish" (changes the workspace of the content to LIVE)
and "Swap" (changes the workspace of the content to LIVE, while changing
the current LIVE version to DRAFT), the 2 buttons are just not next to
each other anymore.

REVISION

The problems as I see it now are (and always have been) following:

* 2 modes: "Publish" and "Swap" and it's impossible to explain the
difference to an editor.

* "Publish" creates 2 element versions in the LIVE workspace and thus it
confuses editors who open Workspace module while in the LIVE workspace.

* "Swap" switches the elements' workspaces and thus puts the LIVE into
DRAFT and again confuses editors who go to DRAFT and think there's some
new DRAFT version of the element (while in fact it's the old LIVE version).

In my opinion there should be:

* Only one mode of publishing drafted element.

* The publishing should REPLACE the current LIVE version with the DRAFT
one, thus removing it so that it doesn't cause confusion in any workspace.

My current conclusion therefore is, that the whole functionality is
still the same crap and I don't understand what was the fuss about when
v4.5 was published as I now see no improvement to the workspaces.

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


[TYPO3-english] Workspaces in TYPO3 4.5 - still complicated/confusing?

2011-02-21 Thread Tomas Mrozek
I've never enabled editors to use workspaces in TYPO3 as I felt that
it's impossible to explain how it works. With the new TYPO3 and changes
made to workspaces, I gave it another shot.

Well, it is better but, in my opinion, still confusing. Why? Let's see:

An editor makes changes in a DRAFT workspace. The change goes through
the stages and then it's published. The content is no longer being shown
in the DRAFT workspace. Good. Now the editor switches to the LIVE
workspace and sees the content in a stage "Editing" and thus can send it
to the next stage. (???) He runs it through all the stages and when it's
published, the content is still there in a stage "Editing". (???)

I think that I (mostly) understand the technicalities behind the scene
and that there are now 2 content versions in the LIVE workspace but how
on earth can you explain this to an editor?!

The concept of *versions* inside a *workspace* (which people understand
as a version itself) seems to me to be really complicated.

QUESTIONS:

* Is there any possibility that a DRAFT workspace version of an element
can replace the LIVE workspace version upon publishing so that the LIVE
version is removed completely and thus that there is always only one
version inside the LIVE workspace?

* How would that affect history of the element and the possibility to do
a roll-back to the previous state?

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


Re: [TYPO3-english] Problems with Typoscript .if and .equals

2011-02-18 Thread Tomas Mrozek
There is no "if" property on IMG_RESOURCE (1).
"stdWrap.if" should work though.

Tomas Mrozek
--
[1]
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.2/view/1/7/#id2519276
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] 4.5.0 and usability

2011-02-16 Thread Tomas Mrozek
>> What is troublesome is naming of the fields. For example I have "Page
>> Content: Columns" three times in the list. One is for table columns, one
>> for content columns, one for image columns.

> It has always been this way.

Right... I've never noticed that because the fields weren't next to each
other in the list. :-)

Is this what you meant Katja? Not that it wouldn't be grouped according
to extension/core table (which it is) but that it's not separated into
logical groups WITHIN the extension/core table group?

> Nevertheless, with the ? it's now better than before.

I agree with that.

Tomas Mrozek

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


Re: [TYPO3-english] 4.5.0 and usability

2011-02-16 Thread Tomas Mrozek
> Now everything is in alphabetical order. Before they were in kind of
> groups, one extension properties in one group then the next and so on.

It seems to be grouped according to extensions/tables just fine. Looking
at it now, I have first properties for "Access Control Lists" (extension
be_acl), then "Alternative Page Language", "Backend Layout", and so on.

What is troublesome is naming of the fields. For example I have "Page
Content: Columns" three times in the list. One is for table columns, one
for content columns, one for image columns. It's then a hassle to set it
as I have to hover over the help icon for each of these fields to find
out which field it actually is.

Tomas Mrozek
___
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 - modification of default core labels

2011-02-14 Thread Tomas Mrozek
Thanks Jigal and Andreas!
Your solution works like a charm!

Tomas Mrozek
___
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-14 Thread Tomas Mrozek
I recently filed 2 bugs regarding the new backend layouts:

http://bugs.typo3.org/view.php?id=17525
http://bugs.typo3.org/view.php?id=17529

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


[TYPO3-english] TYPO3 4.5 - modification of default core labels

2011-02-11 Thread Tomas Mrozek
I would like to modify some default core labels, mainly of the "pages"
table, and I'm looking for some clean way of doing it. The following
already came to my mind and didn't seem appropriate:

1. Modify labels using "llxmltranslate". PROBLEM: it doesn't seem to be
possible to made a change for the default language by saving into an
external file (located in typo3conf/l10n/). That seems to be possible
only when editing other languages.

2. Modify labels by setting TCEFORM in PageTS config, e.g.
"TCEFORM.pages.title.label.default = New Label". PROBLEM: this doesn't
work in the List module.

3. Modify TCA by editing typo3conf/extTables.php. PROBLEM(s): Apparently
it's not possible to change labels this way (I believe it was possible
in TYPO3 4.4.x), though other configuration can be modified just fine.
Also, it wouldn't be possible to make the change on language basis,
basically only setting one label for all the languages.

Does anyone have a tip on how to do it?

Thanks in advance for any suggestions!

Tomas Mrozek
___
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 - workspaces error with eAccelerator

2011-02-08 Thread Tomas Mrozek
> there is a check for that in install tool, does it fail?

Yes it fails. I haven't noticed that the check is there. If I did, I
would also notice that the eAccelerator compile setting we used is wrong.

Apparently it's supposed to be
"--with-eaccelerator-doc-comment-inclusion" instead of
"--enable-doc-comment-inclusion".

I'm going to get our admin to try it out.

Thanks for the tip Georg!

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


[TYPO3-english] TYPO3 4.5 - workspaces error with eAccelerator

2011-02-08 Thread Tomas Mrozek
I'm having troubles with workspaces in TYPO3 4.5. When accessing the
module, I get an error:

"#1242292003: could not determine type of argument "condition" of the
render-method in ViewHelper "Tx_Fluid_ViewHelpers_IfViewHelper". Either
the methods docComment is invalid or some PHP optimizer strips off
comments."

Searching with Google I found a possible solution (1):

"For eAccelerator, you need to compile it with
"--enable-doc-comment-inclusion", so the doc comments are not stripped off."

So I got our server admin to recompile eAccelerator (v0.9.6.1) using
this setting but unfortunately that didn't solve the problem. I tried to
find some other solution, played with eAccelerator settings (trying to
set "eaccelerator.filter") but nothing helped so far.

The only thing I managed was to confirm that it's an eAccelerator issue
as turning it off gets rid of the error.

QUESTION: Does anybody have some further idea what might be wrong and
what eAccelerator setting might be the cure?

Tomas Mrozek
--
[1]
http://lists.typo3.org/pipermail/typo3-project-typo3v4mvc/2009-June/000361.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] How to hide fields in BE forms from extensions for all users ?

2010-11-30 Thread Tomas Mrozek
Alright... now I get it. You modified the extension itself.

Well, first of all, you should not modify the extension itself as you
will create troubles for yourself or someone else administering the
website once you need to update the extension (and you forget that you
have done some changes). It's better to use some extension for
modification. Try "tcamanipulate". I'm creating a new extension for $TCA
manipulation but it's not public yet.

Secondly, you should modify...

$TCA['tx_realty_objects']['types']['0']['showitem']

...and...

$TCA['tx_realty_objects']['types']['1']['showitem']

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


Re: [TYPO3-english] How to hide fields in BE forms from extensions for all users ?

2010-11-30 Thread Tomas Mrozek
What extension did you use to modify $TCA?

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


Re: [TYPO3-english] typoscript: How to add a userFunc property to the config.baseURL property?

2010-11-30 Thread Tomas Mrozek
> typoscript constants are not dynamic (!).

I think that Kay meant that you can probably write an extension that
generates the TypoScript settings...

[globalString = ENV:HTTP_HOST=sub1.mydomain.com]
config.baseURL = http://sub1.mydomain.com/
[...]
[end]

...and includes it as "default" TypoScript settings.


> "small plugin": This is not working:
> config.baseURL = USER_INT

No, baseURL is a string property. You cannot turn it into a content object.

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


Re: [TYPO3-english] Convert ' -> \' in HMENU?

2010-11-30 Thread Tomas Mrozek
You would call the method on a menu item. So if it's a TMENU, you would
have something like this:
NO.stdWrap.postUserFunc = user_yourClass->yourMethod

Obviously you have to first include your class so that it can be called:
page.includeLibs.yourClass = fileadmin/user_yourClass.php

See "includeLibs" property of the PAGE object (1).

Tomas Mrozek
--
[1]
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.2/view/1/6/#id2516276
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Convert ' -> \' in HMENU?

2010-11-24 Thread Tomas Mrozek
Maybe there's some Typoscript-only solution but you can sure do it with
a user function (PHP). The menu items have stdWrap (1) so you can
process the items by setting "postUserFunc" property of stdWrap.

Tomas Mrozek
--
[1]
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.2/view/1/5/#id2504209
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Copying Typoscript objects

2010-11-19 Thread Tomas Mrozek
> lib.getEventItem = RECORDS
  
In the real config you actually have "getEmail", right?

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


Re: [TYPO3-english] Excluding a given extension inclusion on a page?

2010-11-12 Thread Tomas Mrozek
Prevent the conflict by using "jQuery.noConflict()" [1] and calling
functions with "jQuery" instead of the alias "$".

Tomas Mrozek
--
[1] http://api.jquery.com/jQuery.noConflict/
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] redirect extension?

2010-11-02 Thread Tomas Mrozek
> With that information I could write a BE module which allows a BE user
> to set/modify the redirects.

You would write an extension that... let's say... modifies a text file
for RewriteMap rule of mod_rewrite INSTEAD OF using an existing
extension that does the redirects from within TYPO3 (with the extra load
because of initializing ot the whole TYPO3)?

Considering the site is not heavily visited, this doesn't seem to me as
an economic way of developing websites (taking into account "time = money").

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


Re: [TYPO3-english] Typo3 4.4.2 Clean URLs Problem

2010-11-02 Thread Tomas Mrozek
1. Does the site work correctly if you turn off simulatestatic/realurl
extension?

2. Does the mod_rewrite really work? Test it with some other rewriting
rule (placed before other rewriting rules, or commenting out the current
ones). Try:
#-
RewriteEngine On
RewriteRule .* http://www.google.com [R=307,L]
#-

Tomas Mrozek
___
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 Tomas Mrozek
> 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?

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


Re: [TYPO3-english] Question to "base href"

2010-10-27 Thread Tomas Mrozek
> I apologize stating something I didn't know.

No need to apologize. I just tried to correct it in case someone else
reads it one day and gets confused.

> In my case changing the "domain" in the constant-section of the root-template 
> of the introduction-site did it and the site now runs on a different virtual 
> host. I did not found or touched a "baseURL" setting.

Well, if you don't find it with "Admin Tools -> DB check -> Full
search", then it's probably some standard setup nowadays that sets up
"config.baseURL" from a constant, as Lina suggested.

Obviously, it can be overridden and set directly by adding
"config.baseURL" into your template setup.

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


Re: [TYPO3-english] Question to "base href"

2010-10-27 Thread Tomas Mrozek
> I found it in the template constants and "baseURL" is now called "domain".

No, it's still baseURL. It's a property of "config".
See
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.2/view/1/6/#id2511889

You must have found something else.

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


Re: [TYPO3-english] Restrict user input in backend

2010-08-10 Thread Tomas Mrozek
> This results in strange url:s when realurl transforms the
> title-field.

Give an example of what URLs you get. The URLs shouldn't be
strange/invalid after RealURL's transformation.

> Can i restrict input in the title-field of the page,...

You can change TCA (with 'ig_conf_editor' or your own extension) of
pages and allow input of only certain characters. See "eval" and "is_in"
in [1].

Tomas Mrozek
--
[1]
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.3.0/view/4/2/#id2520906
___
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-03 Thread Tomas Mrozek
> Please be a bit mroe serious and concerned and test it yourself first before
> using words like FUD!

I wouldn't use the word just because of this message. I used it while
taking into account your other recent message ("Global Extension folder
deprecated?").

> I won't write this if we would be able to use the newsadmin in 4.4.1 in a
> global install but unfortunately we can't.

You wrote that there's a general problem with extensions running
globally. You didn't write that there's a problem with the newest TYPO3
version. At least I can't reproduce your problem in TYPO3 4.3 and I have
been using tt_news installed globally for ages.

Tomas Mrozek
___
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-03 Thread Tomas Mrozek
> ... and still many (major) extensions can't even be installed
> globally - unfortunately. i.e. templavoila, tt_news,...

Could you please tell me/us what is the problem with tt_news when
installed globally?
(...because right now I think you are just spreading FUD.)

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


Re: [TYPO3-english] wrap for links on tt_news

2010-08-02 Thread Tomas Mrozek
I'm afraid there's no wrap for the links.
However, there seems to be a hook for generated links which means that
you might be able to add the wrap with your own PHP code. I can't give
you a further advice though.

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


Re: [TYPO3-english] wrap for links on tt_news

2010-08-02 Thread Tomas Mrozek
You mean you want to wrap the whole generated link and not just its content?

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


Re: [TYPO3-english] Backend Users can't see own created pages until logging out and in again.

2010-07-23 Thread Tomas Mrozek
If you are using "be_acl" extension then that's the culprit.
There's a patch for it. Search bugs.typo3.org.

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


Re: [TYPO3-english] select.selectFields and multilanguage

2010-05-17 Thread Tomas Mrozek
>> Does "select.selectFields = header,uid,sys_language_uid" work?

> Nope, I had already tried, and also with l18n_parent, l18n_diffsource.

Hmm, interesting. Can you set "selectFields" to contain all the columns
of the tt_content table and if it works then try to remove some of them
so as to figure out which one triggers that behavior?

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


Re: [TYPO3-english] select.selectFields and multilanguage

2010-05-17 Thread Tomas Mrozek
> Instead of the following line
> ---select.selectFields = *
> I would like to use something like
> select.selectFields = header,uid.
> 
> However with the latter one, I don't get any translation to 
> sys_language_uid = 1

Does "select.selectFields = header,uid,sys_language_uid" work?

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


Re: [TYPO3-english] COA inside another COA - is it a wise thing?

2010-05-11 Thread Tomas Mrozek
> - it takes more memory to hold of these objects
> - it takes more stack
> - it takes longer to parse

I think the extra load is negligible.
Is there anybody who dares to set up a test case and prove me wrong?

> - it looks less structured

The exact opposite, in my humble opinion.

> - it is harder to understand

I give you that. If there are too many levels, it might be hard to
understand.

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


Re: [TYPO3-english] Problem with generating a menu

2010-05-10 Thread Tomas Mrozek
Eva said it right but she didn't mention that the TMENU part has to be
*inside* the HMENU as you currently don't have it this way. Try this:

temp.menu = HMENU
temp.menu {
  minItems = 5

  # First level menu-object, textual
  1 = TMENU
  1 {
# Normal state properties
NO.allWrap =  | 

# Enable active state and set properties:
ACT = 1
ACT.allWrap =  | 
  }
}

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


Re: [TYPO3-english] Typo3 multilanguage issues

2010-05-04 Thread Tomas Mrozek
> I really dont feel necessary to make the database UTF8 compatible.

It's not really necessary, I was just explaining why you see junk in the
database.

However, I have no idea why you see only some of the characters wrong in
the frontend.

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


Re: [TYPO3-english] Typo3 multilanguage issues

2010-05-04 Thread Tomas Mrozek
Problems 1. and 2. seem to be connected. Are you setting
"config.sys_language_uid" correctly? See [1].

Problem 3 - database tables with the right collation set and...

$TYPO3_CONF_VARS['SYS']['setDBinit'] = 'SET NAMES utf8;'.chr(10).'SET
SESSION character_set_server=utf8;';

...in the localconf.php make TYPO3 save the text correctly in the
database. However, this needs to be set prior to entering the content.
You won't get expected result if you set it now! (actually you would now
most probably end up with more mess)

Tomas Mrozek
--
[1] -
http://typo3.org/documentation/document-library/core-documentation/doc_l10nguide/1.1.0/view/1/2/#id2313716
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Disable caching of a plugin

2010-04-20 Thread Tomas Mrozek
...and most of all, you don't know the path to the JavaScript files as
the extension might be in "typo3/ext/" or "typo3conf/ext/". So don't use
TEXT and preset "value".

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


Re: [TYPO3-english] Timestamp and author of element automatically on web page

2010-04-19 Thread Tomas Mrozek
> All I want is to show the authoring date (or last change) and
> the author of the element right below its title.

1. Date - you want "Date" that is set manually in the "Header" section
or "crdate" (creation date; set automatically) or "tstamp" (last
modification date; set automatically)?

2. Author - you want the name of a BE user that created the content element?

3. You want the mentioned data before each content element even if there
is more than one content element on a page?

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


Re: [TYPO3-english] Automaketemplate and editors convienence

2010-04-19 Thread Tomas Mrozek
What is your current TypoScript code for template selection?

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


Re: [TYPO3-english] Custom links in HMENU wrapiing

2010-04-14 Thread Tomas Mrozek
"ATagParams"

http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.0/view/1/9/#id2534070

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


Re: [TYPO3-english] RealUrl: Convert apostrophe to hyphen

2010-04-14 Thread Tomas Mrozek
> How can I save these 2 modifications by not modifying the original source? 
> Can you explain the process?

By creating a copy of the file, renaming the file and the class, and
then setting this class in
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT']['pagePath']['userFunc'].

You can surely do it by creating your own simple extension that would
contain this class. However, it might also be possible to do it without
creating an extension, just copying/renaming the class and loading it.

However, I'm now questioning how to load the class. I'm not sure you can
load it in the template with "includeLibs", e.g.:

page.includeLibs.customurl = fileadmin/customurl.php

Maybe someone can advise on how to load a custom class so that it would
be available for RealURL processing.

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


Re: [TYPO3-english] RealUrl: Keep hyphen AND underscore

2010-04-14 Thread Tomas Mrozek
Sources mention your approach as a performance killer.
But there seems to be other options:

1. If you can edit Apache configuration files, then you might use
RewriteMap to achieve what you want.

2. If you can only edit .htaccess file, then a good solution might be to
direct all page requests containing an uppercase letter to your own PHP
script that would do a redirect to a lowercase version of the URL.

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


Re: [TYPO3-english] RealUrl: Convert apostrophe to hyphen

2010-04-13 Thread Tomas Mrozek
What I suggested to Thornsten applies to your problem as well. Just the
tweak of the two lines (1 mentioned by Thornsten, 1 mentioned by me)
would be slightly different.

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


Re: [TYPO3-english] RealUrl: Keep hyphen AND underscore

2010-04-13 Thread Tomas Mrozek
> But would it be possible that if I add something to the Speaking Path
> Segment that contains an Upper Case letter, that this one stays unchanged?

I'm not aware that this would be possible. You would have to check the
inner working of RealURL or maybe Dmitry will tell you if that can be
achieved without hacking the extension.

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



Re: [TYPO3-english] RealUrl: Keep hyphen AND underscore

2010-04-12 Thread Tomas Mrozek
> I tried to change the class.tx_realurl_advanced.php
> ...
> but this only results in Example 1 becoming wordword.html and Example 2
> in word2word3.html

I guess you would also have to change the line 896 to:

$processedTitle = preg_replace('/[^a-zA-Z0-9\-\\' . $space . ']/', '',
$processedTitle);

However, you should not change the original RelURL source. But using
your own modified and renamed copy of that class and setting it in
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT']['pagePath']['userFunc']
would be fine in my opinion. Dmitry might disagree, though.

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


Re: [TYPO3-english] showAccessRestrictedPages and additionalParams

2010-04-07 Thread Tomas Mrozek
You can set the TMENUITEM property "doNotLinkIt = 1" and then create the
link yourself by setting "stdWrap.typolink". Then you can set whatever
typolink can do, including "stdWrap.typolink.parameter = 136" and
"stdWrap.typolink.additionalParams".

But... how does "showAccessRestrictedPages" work?
Does it set the link to the login page (136) if the user has not yet
logged in and to the correct page if he has logged in? That would
complicate the matter a bit.

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


Re: [TYPO3-english] Backend rights

2010-03-30 Thread Tomas Mrozek
As Xavier already pointed out, try be_acl. It allows you to set access
for one or more user/group on any page (recursively).

Since I tried it years ago, I cannot imagine using the classic TYPO3
access handling for any complex scenario.

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


Re: [TYPO3-english] choosing typo3

2010-03-26 Thread Tomas Mrozek
> Is out there a good and actual book about typo3 like "Using Drupal"?

General audience:
http://www.amazon.com/TYPO3-Enterprise-Management-Official-endorsed/dp/1904811418/ref=pd_sim_b_1

Web developers:
http://www.amazon.com/dp/1847191118
http://www.amazon.com/Mastering-TypoScript-Development-understanding-configuration/dp/1904811973/ref=pd_sim_b_2

Extension programmers:
http://www.amazon.com/TYPO3-Extension-Development-Developers-extensions/dp/1847192122/ref=pd_sim_b_3

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


Re: [TYPO3-english] Content in sysfolder from multiple pages

2010-03-18 Thread Tomas Mrozek

AFAIK, TYPO3 doesn't have such functionality for the backend.

If only editing is what you are after, then the use of "Actions" (see 
the system extension "sys_action") might be a workaround for you because 
you can create custom SQL that loads the records (from all pages) which 
are then accessible through the action and might be edited.


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


Re: [TYPO3-english] tca : multiple items in one fields

2010-03-18 Thread Tomas Mrozek
You have to either set the column to string (as TYPO3 is trying to store 
the list of areas as a comma separated list of UIDs) or use a "join" 
table (see "MM" attribute in 1).


Tomas Mrozek
--
[1] - 
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.2.0/view/4/2/#id4272080

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


Re: [TYPO3-english] problems with sys_action

2010-02-25 Thread Tomas Mrozek
> It should be possible via phpmyadmin. take a look at the sys_action
> record, especially unserialized field t2_data

That came to my mind but after the first quick look at the sys_action
extension, it seemed to me that it breaks the query into parts as they
are in the form.

Now, after the second look, I think it doesn't really so it might be
possible to alter the query with some effort (get it from the database,
unserialize, modify, serialize, insert back).

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


Re: [TYPO3-english] problems with sys_action

2010-02-25 Thread Tomas Mrozek
> do you know whether it is possible to make joins?

AFAIK, no.

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


Re: [TYPO3-english] problems with sys_action

2010-02-25 Thread Tomas Mrozek
You didn't create the action, did you?

You have to first create the action in the root page. THEN go to the DB
check module, create the query and when saving choose the right action
from the pull-down menu (next to the "Load" button).

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


Re: [TYPO3-english] mod rewrite redirecting when no language is set in url

2010-02-25 Thread Tomas Mrozek
> Can I ask why its a 302 instead of a 301...

My bad. It was meant to be 301.

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


Re: [TYPO3-english] mod rewrite redirecting when no language is set in url

2010-02-25 Thread Tomas Mrozek
Try...

RewriteRule !^(en|nl|de)/  http://%{HTTP_HOST}/en%{REQUEST_URI} [R=302,L]
RewriteRule .* index.php [L]

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


Re: [TYPO3-english] mod rewrite redirecting when no language is set in url

2010-02-25 Thread Tomas Mrozek
So...

If somebody tries to access "http://www.example.com/portfolio.html";, you
want to redirect him to the default English version. If he's accessing
specific language version "http://www.example.com/de/portfolio.html";,
you do not want to redirect him anywhere, right?

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


Re: [TYPO3-english] RECORDS and image

2010-02-15 Thread Tomas Mrozek
Try...

20 = RECORDS
20 {
  source = 17
  tables = pages

  conf.pages = COA
  conf.pages {
10 = IMAGE
10 {
  file.import = uploads/media/
  file.import.field = media
  file.import.listNum = 0
}

20 = HTML
20.value.field = title
  }
}


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


Re: [TYPO3-english] RealURL: valueMap and different languages in one domain

2010-02-04 Thread Tomas Mrozek
> That's what I thought initially, until I saw the way that the
> translations of tt_news categories are implemented:
> title_lang_ol : nl:Titel van nieuws|de:Titel der Nachricht

Ha, I didn't think of the possibility that tt_news would do it in such a
way for category records while the news records are done in the
"standard" way.

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


Re: [TYPO3-english] RealURL: valueMap and different languages in one domain

2010-02-03 Thread Tomas Mrozek
> 2. while using tableLookUp - I've no idea how to get localized values
> from title overlay field

This should work by setting correctly "languageGetVar", "languageField"
and "transOrigPointerField" in the "lookUpTable" array.

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


Re: [TYPO3-english] RealURL: valueMap and different languages in one domain

2010-02-03 Thread Tomas Mrozek
Have you tried using PHP conditions in the localconf.php and setting
different RealURL configuration according to your conditions?

Tomas Mrozek
--
PS: Yeah, it might have some unpredictable consequences.
PPS: Yeah, I do feel dirty.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] how can I add my own text to all links generated by SiteMap?

2010-02-03 Thread Tomas Mrozek
> How should I read TypoScript Reference in the future, so that I know I
> should have used tt_content.menu.20.4.1.NO.stdWrap.wrap?

If you look at the TypoScript Object Browser, it says that
"tt_content.menu.20.4.1" is a "TMENU".

"tt_content.menu.20.4.1.NO" is then a TMENUITEM. Look it up in the
reference and you get to:
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.0/view/1/9/#id2534070

...which lists all the possible attributes. "wrap" that you have tried
is not there, so you cannot use it.

"stdWrap" is there but the reference says that its data type is
"stdWrap". Therefore, you have to look up "stdWrap" in the list of
object/functions:
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.0/view/toc/0/

Then you get the available attributes:
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.0/view/1/5/#id2360021

Tomas Mrozek
--
PS: Read all about the "stdWrap". IMHO, it's the single most important
and powerful "function" in TypoScript.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] how can I add my own text to all links generated by SiteMap?

2010-02-03 Thread Tomas Mrozek
> Most likely it sits somewhere here, as I want to have it in "Menu of
> subpages to these pages (with abstract)"...

In that case try to set...

tt_content.menu.20.4.1.NO.stdWrap.wrap = | »

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


Re: [TYPO3-english] how can I add my own text to all links generated by SiteMap?

2010-02-03 Thread Tomas Mrozek
> I couldn't find a correct setting in TypoScript Object
> Browser where I could add my own text to the link.

TypoScript Object Browser lists current settings, not all the available
settings. This means that you will have to add a new one.

Look at the first level (tt_content.menu.20.2.10.1.NO) of the sitemap in
the Object Browser and add some new attribute out of the allowed ones
(1) that would do what you need.

Tomas Mrozek
--
[1]
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.0/view/1/9/#id2534070
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] GIFBUILDER and TrueType fonts (problem with national signs)

2010-02-02 Thread Tomas Mrozek
> Thanks for reply!, Hmm any Windows software advice ? I found only
> FontForge which would do that and is free, but it requires cygwin :/

There is a Windows version (1) which doesn't require cygwin and actually
doesn't need installation at all as far as I remember.

The better option is to install VirtualBox (2), install some Linux
distro as a virtual machine (which is handy anyway) and then install and
use FontForge on it.

But beware. Conversion of fonts is not that easy and the result is
sometimes not perfect. If there is a TrueType alternative of your font
available, it's usually better to buy it than go into the hassle of font
conversion, nevermind the possible license issues.

Tomas Mrozek
--
[1] http://fontforge.sourceforge.net/ms-install.html#Alternatives
[2] http://www.virtualbox.org/
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] GIFBUILDER and TrueType fonts (problem with national signs)

2010-02-01 Thread Tomas Mrozek
> I've seen problems with OpenType fonts. I found a few bug reports for
> freetype (the font rendering library which is used by GD, etc. to render
> fonts on *nix systems) that it couldn't always handle diacriticals in
> OpenType fonts correctly. I converted the font to TrueType and the
> problems were gone.

I second that. I've always had problems rendering diacritical characters
 using OpenType fonts and had to either obtain the TrueType version of
the font (if it was available) or convert it myself.

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


Re: [TYPO3-english] Hide tabs on certain page type

2010-01-19 Thread Tomas Mrozek
I think that the only solution is to redefine TCA.
See "Admin tools" -> "Configuration" -> "$TCA".

The configuration of what you want is in
$TCA['pages']['types']['4']['showitem'].

You can change the TCA with your own extension or with "ig_conf_editor"
extension.

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


Re: [TYPO3-english] usability drawbacks

2010-01-19 Thread Tomas Mrozek
You can do ALL the things through the List module and SOME of the things
through the Page module. Does it confuse normal editors? Yes, it does.
That's why I hide the Page module for normal editors and let them use
only the List module even though it might not be "inviting".

In my opinion, the problem of TYPO3 is that you can do one thing (let's
say edit page properties) in many ways. While this is fantastic for
experienced users, it's confusing for normal folks because they follow
the step-by-step approach when trying to achieve certain task and if
there are two or more ways, it confuses them.

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


  1   2   >