Re: [TYPO3-english] vge_tagcloud and proper handling of UTF-8 tags

2011-04-13 Thread François Suter

There is however an easy solution: use the modifier 'u'. [1] It can
reduce performance, but at least you have a UTF-8 aware regular expression.

[1] http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php


And now tested with vge_tagcloud and it works fine.

Alex, however you won't be able to make this change in TypoScript, 
because of the way it's interpreted for now. You'll need to hack the 
code of the pi1 plugin yourself. Edit class.tx_vgetagcloud_pi1.php, go 
to line 408:


$rawKeywords = preg_split('/' . addcslashes($this-conf['splitWords'], 
'/) . '/', strip_tags($row[$aField]));


and change it too:

$rawKeywords = preg_split('/' . addcslashes($this-conf['splitWords'], 
'/) . '/u', strip_tags($row[$aField]));


The only difference is the u added after the last slash.

The usage of the splitWords property needs to be changed to include 
the regexp delimiters so that people can enter modifiers too. I hadn't 
thought about that originally. I'll use your bug report to cover this issue.


Cheers

--

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Standard Access Usergroup for specific page?

2011-04-13 Thread Björn Pedersen
Am 13.04.2011 09:10, schrieb Martin Mädler:
 Hello,
 
 my editors, are able to edit a couple of different pages. One of them is
 supposed to be an internal page, where you have to use the FE-Login
 system in order to view the content.
 Now, whenever an editor creates a new content record for this particular
 page, I want the Access Usergroup to be set to Frontend Users by
 default (right now it is empty, so that a new content record can be seen
 by unauthorized users).
 
 Is this possible via TScript or can you think of another solution?
 
 Thanks!
 -Martin
Hi,
Why  don't you just set the access group for the page then? Possible
with extend to subpages set? That will cover all content elements on
that page as well.

Björn

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

Re: [TYPO3-english] Standard Access Usergroup for specific page?

2011-04-13 Thread Philipp Gampe
Martin Mädler wrote:

 Is this possible via TScript or can you think of another solution?

In pageTS:

TCAdefaults.[table].[field] = [value]

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

Re: [TYPO3-english] Standard Access Usergroup for specific page?

2011-04-13 Thread Martin Mädler

Hi Philipp,

thanks for your suggestion but this only seems to work for TS 
UserConfig. That way it would affect all new content records.

I tried

TCAdefaults.tt_content.fe_group = 1

in both pageTS and userTS, but only the latter had an effect.

Thanks
Martin
Am 13.04.2011 09:28, schrieb Philipp Gampe:

Martin Mädler wrote:


Is this possible via TScript or can you think of another solution?

In pageTS:

TCAdefaults.[table].[field] = [value]

Best regards


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

Re: [TYPO3-english] Standard Access Usergroup for specific page?

2011-04-13 Thread Martin Mädler

Thanks Björn,
I think that will do it!
Now I just need to figure out how to redirect to the internal page after 
a successfull login...


Am 13.04.2011 09:18, schrieb Björn Pedersen:

Hi,
Why  don't you just set the access group for the page then? Possible
with extend to subpages set? That will cover all content elements on
that page as well.

Björn

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


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

Re: [TYPO3-english] Standard Access Usergroup for specific page?

2011-04-13 Thread Philipp Gampe
Hi Martin,

Martin Mädler wrote: 
 thanks for your suggestion but this only seems to work for TS
 UserConfig. That way it would affect all new content records.

Sorry, my fault. You are right, it only works in UserConfig.

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

[TYPO3-english] COOLURI 1.0.23 and CAL

2011-04-13 Thread Joe Berger
Hi,

With the newest version COOLURI I get the following problem:


Instead of 

veranstaltungen/ort/3.html?tx_cal_controller[getdate]=20110413

I get 

veranstaltungen/ort/3.html?tx_cal_controller[getdate]=20120413

And the print link gets an unwanted attachement

div id=print_linka
href=home.html?type=98tx_cal_controller[getdate]=20120405
target=_blankDruckversion/a/div

instead of

div id=print_linka href=home.html?type=98
target=_blankDruckversion/a/div

.

With COOLURI 2.0.21 this problem doesn't exist.


Here is my configuration:

 (...)
  uriparts
  (...)
part after=-
parametertx_cal_controller[year]/parameter
/part
part after=-
parametertx_cal_controller[month]/parameter
/part
part
parametertx_cal_controller[day]/parameter
/part
part
parametertx_cal_controller[category]/parameter
lookindb
toSELECT title FROM tx_cal_category WHERE uid=$1/to
translatetoif
match^[0-9]+$/match
/translatetoif
urlize1/urlize
/lookindb
/part
part
parametertx_cal_controller[uid]/parameter
lookindb
toSELECT title FROM tx_cal_event WHERE uid=$1/to
translatetoif
match^[0-9]+$/match
/translatetoif
urlize1/urlize
/lookindb
/part
part
parametertx_cal_controller[location]/parameter
lookindb
toSELECT name FROM tx_cal_location WHERE uid=$1/to
translatetoif
match^[0-9]+$/match
/translatetoif
urlize1/urlize
/lookindb
/part
  /uriparts

  predefinedparts
  (...)
part
parametertx_cal_controller[view]/parameter
/part
part
parametertx_cal_controller[lastview]/parameter
/part 
part
parametertx_cal_controller[type]/parameter
/part
/predefinedparts
  
(...)



Thanks for any hints.

Kind regards

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


[TYPO3-english] Mail Form - Select Box - Value

2011-04-13 Thread Salman Javaid
*Hello All,*

I am working with mail form of typo3. I have placed a select box in my form
with some text. But the value of the select box option appears same as text.
How can i set different display text and different value for each option of
select box in typo3 mail form?

*The currently out put is as below:*

select
option value=BelgiumBelgium/option
option value=FranceFrance/option
/select

*The output i want is as below:*

select
option value=1Belgium/option
option value=2France/option
/select

*The code of select box is as below:*

Title | *title=select | Belgium, France

*Thanks  Regards,


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


Re: [TYPO3-english] Mail Form - Select Box - Value

2011-04-13 Thread François Suter

Hi,


I am working with mail form of typo3. I have placed a select box in my form
with some text. But the value of the select box option appears same as text.
How can i set different display text and different value for each option of
select box in typo3 mail form?


The TSref is your friend ;-)

http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.4.0/view/1/7/#id2637918


Title | *title=select | Belgium, France


Try:

Title | *title=select | Belgium[=1], France[=2]

Not tested, but should work according to the documentation.

Cheers

--

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Mail Form - Select Box - Value

2011-04-13 Thread Salman Javaid
*Hello Francios,*

It worked!

The problem is solved by the link you sent me. It is like *Belgium = 1*

Thank you very much for your kind help.

*Regards,


Salman*

On Wed, Apr 13, 2011 at 3:00 PM, François Suter fsu-li...@cobweb.ch wrote:

 Hi,


  I am working with mail form of typo3. I have placed a select box in my
 form
 with some text. But the value of the select box option appears same as
 text.
 How can i set different display text and different value for each option
 of
 select box in typo3 mail form?


 The TSref is your friend ;-)


 http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.4.0/view/1/7/#id2637918


  Title | *title=select | Belgium, France


 Try:

 Title | *title=select | Belgium[=1], France[=2]

 Not tested, but should work according to the documentation.

 Cheers

 --

 Francois Suter
 Cobweb Development Sarl - http://www.cobweb.ch

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

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


Re: [TYPO3-english] Mail Form - Select Box - Value

2011-04-13 Thread François Suter

Hi,


The problem is solved by the link you sent me. It is like *Belgium = 1*


Ah yes, sorry for having put the left brackets. Of course, they mean 
that such parameter is optional ;-)


Cheers

--

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Workspace view: Mass-action for deleting changes

2011-04-13 Thread Tomasz Melcer
Hello,

Is it possible to mass-delete changes in Workspace view? After selecting
changes I can only choose Send to stage and Publish from the first
drop box, and the second one is inactive.

It seems I can discard all changes with the Discard option from the
second one, but I don't want that.

TYPO 4.5.0.

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


[TYPO3-english] Workspace view: make more change items visible?

2011-04-13 Thread Tomasz Melcer
Hello,

In the Workspace view, I can now only see 10 changes at the same page,
and more changes are visible on subsequent pages. Is it possible to
force showing more on one page?

TYPO 4.5.0.

Thanks,

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


[TYPO3-english] TER Upload problems

2011-04-13 Thread Kay Strobach
Hello guys,

i maintain some extensions.
During the last days i get more and more frustrated with TER Upload.

I tried uploads with TYPO3 4.5.2 / 4.6 dev with several internet
connections:

 - UMTS
 -  1Mbit DSL
 - 50Mbit DSL
 - eduroam at german university

The upload of e.g. powermail2document was successfull with the 50Mbit
and eduroam. But with slower connections i have NO luck.

I always get the follwing error message:
 Bei dem Versuch eine Verbindung zum Server herzustellen ist ein Fehler 
 aufgetreten. Bitte überprüfen Sie Ihre Netzwerkverbindung.

The network conection is online and stable ... putty running in
background doesn't complain.

Is there anyway to get uploads working again with the slow connections
and new em?


It seems, that uploading with the old em modules is a bit more stable
than with the new one ;(

Regards
Kay

-- 
http://www.kay-strobach.de - Open Source Rocks
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] TER Upload problems

2011-04-13 Thread François Suter

Hi,

 Is there anyway to get uploads working again with the slow connections

and new em?

It seems, that uploading with the old em modules is a bit more stable
than with the new one ;(


I encountered a similar problem while trying to upload the 
doc_core_tsref recently. I didn't have time to dig or to try and 
reproduce the problem. I just switched to an old 4.3 install and it 
worked flawlessly (lazy solution, but I was in a rush).


Cheers

--

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] [TYPO3] Forcing to change password extension

2011-04-13 Thread Sergey Alexandrov
Found this thread dated 2007 but still can't find extension :) Does 
anybody know if it was developed ?
Also found cl_beuser_password but not sure if it will work with 4.3 and 
4.5 :(

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


[TYPO3-english] Typoscript tt_content html manipulation

2011-04-13 Thread Chris Whittington
I'm trying to make a module that manipulates the content of each tt_content
block.

It requires the html to be manipulated with my own php script. Then returned
to typo3 for rendering. I also need to know the id so I can cache the
result.

I'm pretty new to Typoscript and haven't gotten any closer than:
tt_content.20.ParseFunct  module.mytypo3module_p1-method

Anyway, if someone could give an example of tt_content being modified with
php. I'd be very grateful!
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Table properties dialogue

2011-04-13 Thread Graham Knight
Hi,

I am using TYPO3 v4.4.3 HTMLAreaRTE 2.0.4. The table properties General tab 
includes options to set styles for body and header. I would like to eliminate 
these but still allow setting of a class for the whole table. I can't see how 
to do this. Can anyone advise?

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


Re: [TYPO3-english] COOLURI 1.0.23 and CAL

2011-04-13 Thread Jan Bednarik

Hi,


Instead of

veranstaltungen/ort/3.html?tx_cal_controller[getdate]=20110413

I get

veranstaltungen/ort/3.html?tx_cal_controller[getdate]=20120413


what's the difference?


Here is my configuration:


There's no mapping for tx_cal_controller[getdate], so it's not translated.

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


Re: [TYPO3-english] COOLURI 1.0.23 and CAL

2011-04-13 Thread Jigal van Hemert

Hi,

On 13-4-2011 23:13, Jan Bednarik wrote:

veranstaltungen/ort/3.html?tx_cal_controller[getdate]=20110413
veranstaltungen/ort/3.html?tx_cal_controller[getdate]=20120413


what's the difference?


The fourth digit of the last number is different...

--
Kind regards / met vriendelijke groet,

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