[TYPO3-english] Re: addTcaTypeIcon

2017-03-31 Thread Robert Wildling

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


[TYPO3-english] Re: addTcaTypeIcon

2017-03-30 Thread Robert Wildling

@Jigal: Link is not working anymore... do you happen to know the new location?
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Introduction package and Grid Elements

2014-11-02 Thread Robert Wildling
Thanks for the feedbacks! And yes, Jigal, I am aware of the 
dependencies. ;-)


@Jo: So you should be able to run the introduction package together 
with Gridelements as well - the conjunctive mood suggests you actually 
never tried it?


Is there anybody out there, who successfully runs GridElements within 
the Bootstrap Package? Any feedback would be greately apprectiated, 
before I start posting scripts, which might waste some people's time.


@Christophe:
I don't know about flu, but I have Gridelements running on some sites 
(verion 2 and 3), and it works very fine! So sorry for your bad 
experiences, but I actually cannot share your opinions on stability nor 
community.


Have a nive weekend to you all, too!
Robert



Am 01.11.14 21:25, schrieb Jo Hasenau:

Am 01.11.2014 20:39, schrieb christophe duhamel:

Hi,
I just say what I see. There is bugs with the last update of flux and
surprising syntax change, that is the reality. And documentation is not
completely update. It's a big lost of time when you update a website for
professional use. It's the best method to lost community...


Well - this would be the flux community then ;-)

The official introduction package runs without Flux or Gridelements. And
it runs quite nicely, so no problems with this package so far.

It officially conflicts with fluidpages though, so if you make an
educated guess, it's most likely that it has problems with other
extensions of the set around fluid powered TYPO3 as well.

On the other hand the bootstrap_package, which is the base of the
official introduction package, integrates quite nicely with the set of
extension around THEMES, which is again based on Gridelements. So you
should be able to run the introduction package together with
Gridelements as well.

To give more detailed answers to the original poster, it might be useful
to get more information about the way Gridelements has been implemented.
Some TypoScript snippets would be nice too. Otherwise we can just guess
what went wrong.

Have a nice weekend

Joey



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


[TYPO3-english] Introduction package and Grid Elements

2014-11-01 Thread Robert Wildling

Hi,

I am trying to implement Grid Element with the Introduction Package, but 
my TS does not seem to be working.


So my very generell question is: are those two features - Introduction 
Package and Grid Elements - compatible? And if so, do I have to place or 
change scripts on different places than the usual suspects in TSConfig 
and the regular setup?


Thanks for your feedback!
Robert
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] powermail - excludeFromPowermailAllMarker

2014-10-31 Thread Robert Wildling
Hi, I am trying to exclude some fields from the confirmation page of a 
powermail form. To do so I use this TypoScript...


plugin.tx_powermail {
  settings {
setup {
  excludeFromPowermailAllMarker {
confirmationPage {
  excludeFromMarkerNames = rumba,salsa
  excludeFromFieldTypes = check
}
  }
}
  }
}

..but it doesn't work. Am I doing something wrong here? Does anybody 
have a hint for me?


This actually happens on 2 TYPO3 6.2.6 sytems with powermail versions 
2.1.4 and 2.1.5.


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


Re: [TYPO3-english] include TypoScript according to type (tt_news, tt_content)

2014-05-12 Thread Robert Wildling

Hey, Loek,

good to read you here (and there!)!

Thank you very much for your feedback! But I am quite a bit lost here... 
where would the appropriate tt_news-TS be loaded?


The thing is that I want 3 more tt_news types, and each type has it's 
own templateFile and its own genericmarkers. Of course, there is always 
the way to include the TS on the very page, but it would be a way 
smoother way to include the appropriate TS on Type Selection, so-to-say...


I'd be grateful for any further hints...!

Thanks a lot!
Robert

Am 11.05.14 22:01, schrieb Loek Hilgersom:

Oh, sorry, the example is still using some register here, should be this
of course:

 10  = CASE
 10 {
 //key.data = register:tt_news_type

 key.cObject = RECORDS
 key.cObject {
 tables = tt_news
 dontCheckPid = 1
 source {
 data = GP:tx_ttnews|tt_news
 intval = 1
 }
 conf.tt_news = TEXT
 conf.tt_news.field = type
 }

 default = TEXT
 default.value = DEFAULT
 3 = TEXT
 3.value = THREE
 4 = TEXT
 4.value = FOUR
 }

The commented line is what you could use if you've got the value stored
already.
Cheers,
Loek


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


Re: [TYPO3-english] include TypoScript according to type (tt_news, tt_content)

2014-05-12 Thread Robert Wildling

Thanks so much, Loek! I'll give that a try tomorrow! Or tonight... :-)

Kind regards,
Robert

Am 12.05.14 09:08, schrieb Loek Hilgersom:

Hi Robert,

You would build an array of alternative tt_news configurations,
something like this:

 10  = CASE
 10 {
 key.cObject = RECORDS
 key.cObject {
 tables = tt_news
 dontCheckPid = 1
 source {
 data = GP:tx_ttnews|tt_news
 intval = 1
 }
 conf.tt_news = TEXT
 conf.tt_news.field = type
 }

 default  plugin.tt_news
 default {
 ... default tt_news configuration here
 }
 4  plugin.tt_news
 4 {
 templateFile = yourcustomtemplatefortype4
 genericmarkers {
 yourmarker  lib.yourcontent
 ...
 }
 }
 }

Finally, this object goes somewhere into your page template. How that is
done depends on your setup and template engine.

Loek


On 12-05-14 08:58, Robert Wildling wrote:

Hey, Loek,

good to read you here (and there!)!

Thank you very much for your feedback! But I am quite a bit lost
here... where
would the appropriate tt_news-TS be loaded?

The thing is that I want 3 more tt_news types, and each type has it's own
templateFile and its own genericmarkers. Of course, there is always
the way to
include the TS on the very page, but it would be a way smoother way to
include
the appropriate TS on Type Selection, so-to-say...

I'd be grateful for any further hints...!

Thanks a lot!
Robert

Am 11.05.14 22:01, schrieb Loek Hilgersom:

Oh, sorry, the example is still using some register here, should be this
of course:

 10  = CASE
 10 {
 //key.data = register:tt_news_type

 key.cObject = RECORDS
 key.cObject {
 tables = tt_news
 dontCheckPid = 1
 source {
 data = GP:tx_ttnews|tt_news
 intval = 1
 }
 conf.tt_news = TEXT
 conf.tt_news.field = type
 }

 default = TEXT
 default.value = DEFAULT
 3 = TEXT
 3.value = THREE
 4 = TEXT
 4.value = FOUR
 }

The commented line is what you could use if you've got the value stored
already.
Cheers,
Loek




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


[TYPO3-english] Tips/hints for debugging

2014-05-12 Thread Robert Wildling

Hi,

When updating from TYPO3 4.5.17 to 4.5.18, a Typoscript that reads 
tt_news entries from 2 SysFolders and outputs them as XML (pageType 
123), suddenly only outputs the first element only.


I am trying to debug, but do so in a manner of trialerror. Do you have 
any hints how I could focus? EG what's the place to look for the XML 
page type renderer?


Thanks!
Robert

This is my TS:
(In case somebody wonders why a new XML with tt_news: it is needed for a 
Screen Info, where the software on the other side needs the 
enclosure-tag...)


xmlPage = PAGE
xmlPage {
  typeNum = 123

  config {
disableAllHeaderCode = 1
additionalHeaders = Content-type:text/xml
xhtml_cleaning = 0
metaCharset = utf-8
absRefPrefix = {$absRefPrefix}
baseURL 
language = {$language}
locale_all = {$locale_all}
  }

  10 = TEXT
  10.value = ?xml version=1.0 encoding=utf-8 standalone=yes ?

  #selectFields = tt_news_cat.title AS cat_title
  #selectFields = 
tt_news.title,tt_news.category,tt_news.image,tt_news.short,tt_news.bodytext,tt_news.datetime,tt_news.author,tt_news.author_email,tt_news_cat.title 
AS cat_title


  20 = COA
  20 {
10 = CONTENT
10.stdWrap.dataWrap = root|/root
10 {
  table = tt_news
  select {
selectFields = *,tt_news.title AS news_title,tt_news_cat.title 
AS cat_title,tt_news.image AS news_image, tt_news_cat.image AS cat_image

pidInList = {$pidInList}
orderBy = tt_news.datetime DESC
leftjoin = tt_news_cat_mm ON 
(tt_news.uid=tt_news_cat_mm.uid_local) LEFT JOIN tt_news_cat ON 
(tt_news_cat_mm.uid_foreign = tt_news_cat.uid)

max = {$maxNewsItems}
  }

  renderObj = COA
  renderObj {

### OPEN ITEM NODE (this is NOT the root tag of the XML file, 
but the one that wraps ONE news entry!) ###


1 = TEXT
1.value = item


### CATEGORY  CATEGORY IMAGE ###

2 = TEXT
2.value = category

3 = TEXT
3.field = cat_title
3.wrap = title|/title

4 = TEXT
4.value = image

6 = TEXT
6.field = cat_image
6.split {
  token = ,
  cObjNum = 1

  1 = COA
  1 {
10 = IMG_RESOURCE
10.file {
  import.current = 1
  import = uploads/pics/
}
10.stdWrap.dataWrap = enclosure url={$mainUrl}| 
length= type=image/{TSFE:lastImgResourceInfo|2}/enclosure


30 = TEXT
30.data = TSFE:lastImgResourceInfo|0
30.wrap = width|/width

40 = TEXT
40.data = TSFE:lastImgResourceInfo|1
40.wrap = height|/height

45 = TEXT
45.data = TSFE:lastImgResourceInfo|2
45.wrap = type|/type

50 = TEXT
50.data = TSFE:lastImgResourceInfo|3
50.wrap = path|/path

60 = TEXT
60.if.isLessThan.data = TSFE:lastImgResourceInfo|0
60.if.value.data = TSFE:lastImgResourceInfo|1
60.value = portrait
60.wrap = format|/format

61 = TEXT
61.if.isLessThan.data = TSFE:lastImgResourceInfo|1
61.if.value.data = TSFE:lastImgResourceInfo|0
61.value = landscape
61.wrap = format|/format
  }
}

7 = TEXT
7.value = /image

8 = TEXT
8.value = /category



### THE VARIOUS TEXT FIELDS: TITLE, SHORT, BODYTEXT ###

10 = TEXT
10.field = news_title
10.wrap = title![CDATA[|]]/title

11 = TEXT
11 {
  field = short
  stripHtml = 1
  htmlSpecialChars = 1
  htmlSpecialChars.preserveEntities = 1
  crop 
  wrap = short![CDATA[|]]/short
}

12 = TEXT
12 {
  field = bodytext
  stripHtml = 0
  htmlSpecialChars = 0
  htmlSpecialChars.preserveEntities = 0
  wrap = bodytext![CDATA[|]]/bodytext
}

13 = TEXT
13 {
  field = keywords
  wrap = keywords|/keywords
}

### IMAGES ###

19 = TEXT
19.value = images

20 = TEXT
20.field = news_image
20.split {
  token = ,
  cObjNum = 1

  1 = COA
  1 {
stdWrap.wrap = image|/image

10 = IMG_RESOURCE
10.file {
  import.current = 1
  import = uploads/pics/
}
#10.stdWrap.wrap = sourcephysik.univie.ac.at/|/source
10.stdWrap.dataWrap = enclosure url={$mainUrl}| 
length=123123123 type=image/{TSFE:lastImgResourceInfo|2}/enclosure



20 = TEXT
20 {
  field = imagecaption
  # split saves the index in REGISTER:SPLIT_COUNT
  listNum.stdWrap.data = REGISTER:SPLIT_COUNT
  listNum.splitChar = 10
  wrap = caption|/caption
  

Re: [TYPO3-english] Minifying JS and CSS, good tools or extensions?

2014-05-12 Thread Robert Wildling

Hi, Loek,

is your experience with js_css_optimizer better/other/worse than with 
scriptmerger?
(I only had the chance to use the latter on TYPO3 4.5, so I wouldn't 
even know if scriptmerger is 6.x ready...)


Best regards,
Robert

Am 12.05.14 23:21, schrieb Loek Hilgersom:
Just for anyone who is interested, by coincidence I found the 
solution: the problem was related to the NFS filesystem which this 
site is using, and the following patch resolves it. [1]


Loek

[1] 
http://forge.typo3.org/projects/extension-js_css_optimizer/repository/revisions/81913/diff/trunk/classes/hooks/class.tx_js_css_optimizer_hooks.php




On 25-04-14 15:33, Loek Hilgersom wrote:

Hi all,

I've been using the extension js_css_optimizer to concatenate and 
minify JS and
CSS files and it worked almost, except that I keep having issues on a 
large
multi-domain site: apparently it re-generates the cache files quite 
frequently,
eventhough the CSS and JS hadn't changed. And after re-generating, 
every so

often something goes wrong: either some files are not generated, or the
references to files are not updated in the HTML (maybe the page cache 
isn't

cleared?), resulting in one or more sites without stylesheets or JS.

Anyone knows a solution, or suggestions for an extension or tools 
that might do

a better job?

I know I could do this in the IDE, use LESS or SASS etc., but there 
are more
developers contributing parts to the site, and there is a lot of 
legacy in the
site that will be a lot of work to refactor, so I'm looking for a 
solution that

works without too much refactoring.

Thanks,
Loek


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


[TYPO3-english] include TypoScript according to type (tt_news, tt_content)

2014-05-11 Thread Robert Wildling

Hi,

I create several new content types (in tt_news at thte moment) via 
ext_tables.php like this:


// add the new type
$TCA['tt_news']['columns']['type']['config']['items'][] = Array('New Page 
Type',4);

Each of those page types needs a little bit of additional TypoScript for 
selecting its own template file and activating some generic markers. The 
editors shall have the possibiliy to just choose the page type, and 
everything should work out-of-the-box (so no need to implement an 
additional TypoScript file manually).


Is there a way to activate the specific TypoScript according to tt_news 
type? Something like

[globalVar = GP:tt_news|type=4]
[...]

Type is neither a get nor post var... any other way to implement that 
functionality?


Thanks for your tipps!
Robert
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Update from 4.5.32 to 4.5.33 : https_enforcer error

2014-05-10 Thread Robert Wildling

Hi Xavier,

thanks for your response. I did understand very well not to restart the 
whole monster :-).


I did those update/downgrade tests within a university infrastructure, 
where there is one php that serves many virtual hosts (it's a 
Redheat/CentOS distribution). It is not just that simple to initiate a 
php daemon restart, simply because there might quite likely be a course 
on Moodle going on, which then would most certainly experience 
interruptions (wouldn't be the first time).


And still, when it comes to shared hostings, the solution presented here 
needs shell access, which many people just don't have.


So eventually I still wonder, why there where some 30 upgrades and 
nothing alike happened (at least I didn't read anything - please correct 
me, when I am wrong!), and now those problems arise. As for the 
university, the php infrastructure didn't see a change in a php major 
version in over 4 years (I probably shouldn't say that, but, well, here 
it is...), so I wouldn't blame php...


...just thinking out loud...


Have a nice day!
Robert



Markus did not suggest to restart the *whole server*, but the *PHP
server* (as he explained, to clear the PHP opcode cache). This typically
means:

$ sudo /etc/init.d/php-fpm restart

or

$ apache2ctl graceful

(PHP-fpm or mod-php5)

and of course not a complete reboot of the server itself. Of course,
even that may be problematic for you or for someone using a shared
server. But the whole point is actually to clear the opcode cache, so if
you cannot afford doing that, you have to find out how to clear the
opcode cache differently. You can search on Google or read the TYPO3
code to see how it does when an extension is installed in 6.2.

By using search terms clear opcode cache you'll see that for instance
if using APC:

http://stackoverflow.com/questions/911158/how-to-clear-apc-cache-entries

HTH
Xavier



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


Re: [TYPO3-english] Update from 4.5.32 to 4.5.33 : https_enforcer error

2014-05-09 Thread Robert Wildling

Hi, Markus,

I checked again, and actually the error mentioned here starts happening 
when updating from .31 to .32 (not from .29 to .30, .30 to .31, but any 
other combination from .xx to .32)


No idea if this is of any importance now...

Kind regards,
Robert





Am 05.05.14 15:57, schrieb Markus Klein:

Hi!

I had a look again at the changes between .32 and .33, there's no change that 
would cause this.

The require_once things in 4.5 should not have changed, so I exclude this as a 
problem.

I guess you also deleted the temp files in typo3conf?

Somehow I have the feeling that the require_once() does not work correctly for 
you and that PHP includes the files multiple times, which of course causes 
these issues.
What PHP version are you using? Any accelerator involved?


Kind regards
Markus


Markus Klein
TYPO3 CMS Active Contributors Team Member


-Original Message-
From: typo3-english-boun...@lists.typo3.org [mailto:typo3-english-
boun...@lists.typo3.org] On Behalf Of Robert Wildling
Sent: Monday, May 05, 2014 3:10 PM
To: typo3-english@lists.typo3.org
Subject: Re: [TYPO3-english] Update from 4.5.32 to 4.5.33 : https_enforcer
error

Did you try to uncomment line 49?

  From what I understood sofar, removing require-statment liek this:

require_once (PATH_t3lib.'[...]);

is one of the things that needs to be done to make pi_base-extensions
TYPO3 6-ready. Maybe this mechanism somehow became stronger in
TYPO3 4.5.33?

Please correct me, if this is a wrong assumption/information!

All the best!
Robert



Am 02.05.14 09:32, schrieb Iban:

Hi!

I tried deleting typo3temp/* but another error appeared:
|
||PHP Fatal error:  require_once(): Cannot redeclare class
t3lib_pageselect in
/typo3conf/ext/direct_mail/res/scripts/class.tx_directmail_select_
categories.php
on line 49|

Best regards,
Iban.

El 30/04/2014 17:46, Markus Klein escribió:

Hi!

Simply delete the complete content of it.
rm -rf typo3temp/*

Kind regards
Markus


Markus Klein
TYPO3 CMS Active Contributors Team Member



-Original Message-
From: typo3-english-boun...@lists.typo3.org [mailto:typo3-english-
boun...@lists.typo3.org] On Behalf Of Iban
Sent: Wednesday, April 30, 2014 5:37 PM
To: typo3-english@lists.typo3.org
Subject: Re: [TYPO3-english] Update from 4.5.32 to 4.5.33 :
https_enforcer
error

Hello again,

I believe that maybe the problem is a cache problem... :
http://forum.typo3.org/index.php?t=msggoto=677330;
Do you know how should I empty 'typo3temp' folder after the update?

Best regards,
Iban.

El 30/04/2014 16:50, Iban escribió:

Hello Markus,

First, thank you so much for your quickly response.

Line 26 of that file is:

|require_once PATH_tslib . 'class.tslib_pibase.php';|

I see nothing strange in that line, are you?

Thank you so much!
Iban.

El 30/04/2014 16:44, Markus Klein escribió:

Hi!

This seems to be a bug in the https_enforcer extension.

Kind regards
Markus


Markus Klein
TYPO3 CMS Active Contributors Team Member


-Original Message-
From: typo3-english-boun...@lists.typo3.org
[mailto:typo3-english- boun...@lists.typo3.org] On Behalf Of Iban
Sent: Wednesday, April 30, 2014 4:01 PM
To: typo3-english@lists.typo3.org
Subject: [TYPO3-english] Update from 4.5.32 to 4.5.33 :
https_enforcer error

Hello,

Today I tried to update a TYPO3 from 4.5.32 to 4.5.33 and when I
finished I got this error:

PHP Fatal error:  require_once(): Cannot redeclare class
tslib_pibase in
./typo3conf/ext/https_enforcer/pi1/class.tx_httpsenforcer_pi1
.ph
p on

line 26

Could you help me? What did I do wrong?

Best regards,
Iban.

___
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


___
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

___
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




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

Re: [TYPO3-english] Update from 4.5.32 to 4.5.33 : https_enforcer error

2014-05-09 Thread Robert Wildling

Hi, Markus,

As a matter of fact I didn't, and I should have mentioned that - sorry!
I didn't do it, because it is another deparement that is responsible for 
the server and therefore the php enviroment. The intention to post the 
update/downgrade experiences actually was intended to discuss, whether 
the procedure of restarting a server is really necessary, for 2 reasons:


1. from what I know, it has never been a necessity torestart a server, 
when upgrading withing a 4.5.* update


2. I wonder what people do, who host on shared servers - they simply 
have no chance to restart, right?


Then again: it does not seem to be that much of a topic. I do not want 
to force a discusssion upon a topic, where the solution is known, 
nevertheless I didn't want to keep the results of my tests just to 
myself...



Thanks for looking at it!

All the best!
Robert



Am 09.05.14 16:41, schrieb Markus Klein:

Hi!

Did you restart the server (for clearing the php opcode caches) too?

Kind regards
Markus


Markus Klein
TYPO3 CMS Active Contributors Team Member


-Original Message-
From: typo3-english-boun...@lists.typo3.org [mailto:typo3-english-
boun...@lists.typo3.org] On Behalf Of Robert Wildling
Sent: Friday, May 09, 2014 4:06 PM
To: typo3-english@lists.typo3.org
Subject: Re: [TYPO3-english] Update from 4.5.32 to 4.5.33 : https_enforcer
error

And just because I had the possibility and time to test it: downgrading from
4.5.31 to 4.5.30 or 4.5.14 causes that error, too. Error message after clearing
temp/* and the temporary files in typo3conf:

Fatal error: Cannot redeclare class backend_toolbarItem in
/u/www/cmstest/test/_vendor/typo3_src-
4.5.31/typo3/interfaces/interface.backend_toolbaritem.php
on line 36



Am 09.05.14 09:46, schrieb Robert Wildling:

Hi, Markus,

I checked again, and actually the error mentioned here starts
happening when updating from .31 to .32 (not from .29 to .30, .30 to
.31, but any other combination from .xx to .32)

No idea if this is of any importance now...

Kind regards,
Robert





Am 05.05.14 15:57, schrieb Markus Klein:

Hi!

I had a look again at the changes between .32 and .33, there's no
change that would cause this.

The require_once things in 4.5 should not have changed, so I exclude
this as a problem.

I guess you also deleted the temp files in typo3conf?

Somehow I have the feeling that the require_once() does not work
correctly for you and that PHP includes the files multiple times,
which of course causes these issues.
What PHP version are you using? Any accelerator involved?


Kind regards
Markus


Markus Klein
TYPO3 CMS Active Contributors Team Member


-Original Message-
From: typo3-english-boun...@lists.typo3.org [mailto:typo3-english-
boun...@lists.typo3.org] On Behalf Of Robert Wildling
Sent: Monday, May 05, 2014 3:10 PM
To: typo3-english@lists.typo3.org
Subject: Re: [TYPO3-english] Update from 4.5.32 to 4.5.33 :
https_enforcer
error

Did you try to uncomment line 49?

   From what I understood sofar, removing require-statment liek this:

require_once (PATH_t3lib.'[...]);

is one of the things that needs to be done to make
pi_base-extensions
TYPO3 6-ready. Maybe this mechanism somehow became stronger in
TYPO3 4.5.33?

Please correct me, if this is a wrong assumption/information!

All the best!
Robert



Am 02.05.14 09:32, schrieb Iban:

Hi!

I tried deleting typo3temp/* but another error appeared:
|
||PHP Fatal error:  require_once(): Cannot redeclare class
t3lib_pageselect in
/typo3conf/ext/direct_mail/res/scripts/class.tx_directmail_sele
ct_
categories.php
on line 49|

Best regards,
Iban.

El 30/04/2014 17:46, Markus Klein escribió:

Hi!

Simply delete the complete content of it.
rm -rf typo3temp/*

Kind regards
Markus


Markus Klein
TYPO3 CMS Active Contributors Team Member



-Original Message-
From: typo3-english-boun...@lists.typo3.org
[mailto:typo3-english- boun...@lists.typo3.org] On Behalf Of Iban
Sent: Wednesday, April 30, 2014 5:37 PM
To: typo3-english@lists.typo3.org
Subject: Re: [TYPO3-english] Update from 4.5.32 to 4.5.33 :
https_enforcer
error

Hello again,

I believe that maybe the problem is a cache problem... :
http://forum.typo3.org/index.php?t=msggoto=677330;
Do you know how should I empty 'typo3temp' folder after the

update?

Best regards,
Iban.

El 30/04/2014 16:50, Iban escribió:

Hello Markus,

First, thank you so much for your quickly response.

Line 26 of that file is:

|require_once PATH_tslib . 'class.tslib_pibase.php';|

I see nothing strange in that line, are you?

Thank you so much!
Iban.

El 30/04/2014 16:44, Markus Klein escribió:

Hi!

This seems to be a bug in the https_enforcer extension.

Kind regards
Markus


Markus Klein
TYPO3 CMS Active Contributors Team Member

Re: [TYPO3-english] tesseract

2014-05-06 Thread Robert Wildling

Thank you, François! Great news to read!!

Am 06.05.14 16:43, schrieb François Suter:

Hi Nico,


Only one (fundamental) question: can you please help me
(and others) by briefly explaining the difference(s) with e.g. wfqbe.


The main difference is that Tesseract is directed at querying the 
TYPO3 database, whereas wfqbe aims at displaying data from external 
databases. If you try to query TYPO3 tables with wfqbe it is quite 
some work because you have to add all the enable field conditions 
yourself and I don't think that it manages languages overlays either 
(disclaimer: I haven't looked at wfqbe in ages, so things may have 
changed in that regard; Mauro can certainly tell more).


Tesseract is also very flexible because it is made of components 
instead of being a single big extension. So what I said above is not 
exactly true ;-) Extension dataquery is designed to query the TYPO3 
database. It will handle all enable fields, language and version 
overlays for your, even if you write SQL queries with JOINs (it does 
quite a bit of magic in the background). But you could write an 
extension which queries another database and feeds its results in the 
same display mechanisms (of which there are three, each packaged as 
separate extension; one uses traditional TYPO3 marker templates, one 
uses Fluid and one straight PHP). There exists one other such data 
provider, extension googlequery which gathers data from a Google 
Search Appliance or Google Site Search.


Extension datafilter provides a very flexible filtering system. It 
can take values from many sources (GET/POST, TypoScript, etc.) and 
transfer them as conditions to the data providers. Each provider then 
transforms those abstract conditions into the syntax they use (so 
dataquery will transform the conditions to SQL, for example).


HTH



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

Re: [TYPO3-english] Update from 4.5.32 to 4.5.33 : https_enforcer error

2014-05-05 Thread Robert Wildling

Did you try to uncomment line 49?

From what I understood sofar, removing require-statment liek this:

require_once (PATH_t3lib.'[...]);

is one of the things that needs to be done to make pi_base-extensions 
TYPO3 6-ready. Maybe this mechanism somehow became stronger in TYPO3 
4.5.33?


Please correct me, if this is a wrong assumption/information!

All the best!
Robert



Am 02.05.14 09:32, schrieb Iban:

Hi!

I tried deleting typo3temp/* but another error appeared:
|
||PHP Fatal error:  require_once(): Cannot redeclare class
t3lib_pageselect in
/typo3conf/ext/direct_mail/res/scripts/class.tx_directmail_select_categories.php
on line 49|

Best regards,
Iban.

El 30/04/2014 17:46, Markus Klein escribió:

Hi!

Simply delete the complete content of it.
rm -rf typo3temp/*

Kind regards
Markus


Markus Klein
TYPO3 CMS Active Contributors Team Member



-Original Message-
From: typo3-english-boun...@lists.typo3.org [mailto:typo3-english-
boun...@lists.typo3.org] On Behalf Of Iban
Sent: Wednesday, April 30, 2014 5:37 PM
To: typo3-english@lists.typo3.org
Subject: Re: [TYPO3-english] Update from 4.5.32 to 4.5.33 :
https_enforcer
error

Hello again,

I believe that maybe the problem is a cache problem... :
http://forum.typo3.org/index.php?t=msggoto=677330;
Do you know how should I empty 'typo3temp' folder after the update?

Best regards,
Iban.

El 30/04/2014 16:50, Iban escribió:

Hello Markus,

First, thank you so much for your quickly response.

Line 26 of that file is:

|require_once PATH_tslib . 'class.tslib_pibase.php';|

I see nothing strange in that line, are you?

Thank you so much!
Iban.

El 30/04/2014 16:44, Markus Klein escribió:

Hi!

This seems to be a bug in the https_enforcer extension.

Kind regards
Markus


Markus Klein
TYPO3 CMS Active Contributors Team Member


-Original Message-
From: typo3-english-boun...@lists.typo3.org [mailto:typo3-english-
boun...@lists.typo3.org] On Behalf Of Iban
Sent: Wednesday, April 30, 2014 4:01 PM
To: typo3-english@lists.typo3.org
Subject: [TYPO3-english] Update from 4.5.32 to 4.5.33 :
https_enforcer error

Hello,

Today I tried to update a TYPO3 from 4.5.32 to 4.5.33 and when I
finished I got this error:

PHP Fatal error:  require_once(): Cannot redeclare class
tslib_pibase in
./typo3conf/ext/https_enforcer/pi1/class.tx_httpsenforcer_pi1.ph
p on

line 26

Could you help me? What did I do wrong?

Best regards,
Iban.

___
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


___
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

___
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

[TYPO3-english] tesseract

2014-05-05 Thread Robert Wildling
Hi, I was wondering whether the tesseract project is compatible with 6.2 
- anybody here, who has experience and could report 2 or 3 sentences?


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


Re: [TYPO3-english] Extbase - reduce queries in m:m relations

2013-09-11 Thread Robert Wildling

Thanks for your feedsbacks! Very helpful input, really!!!


Please let me clarify:

1. There is no way to tell a controller / a repository which fields to 
use? (Except by using statements, which are not compatible with flow)


2. If I use lazy, should the fluid debugger show less fields in a 
property object? (Because in my case it does not...)


3. Just jumping to my mind: if using statements, what is the more 
optimized way to go: joins or subselects?


Merci!!
Robert



Hi, all.

I'll jsut add a link to a basic example of how it works: 
http://sourcemaking.com/design_patterns/proxy/php


So, basically, once any method from real class is triggered, the proxy 
class makes real instance of it. Meaning, that it doesn't matter if 
you call -getTitle() or -getComplexRelationWIthLotOfCalculations() - 
in both cases your real object with all properties will be created.


So, lazy loading makes sence to set not on your initial object 
(becasue all of it's m:n relations will be created anyway), but on 
it's properties, that  are complex objects as well.


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


Re: [TYPO3-english] Extbase - reduce queries in m:m relations

2013-09-09 Thread Robert Wildling

Hi, Roland,

Thank you very much for your response!

@lazy loading: I have to admit that I do not really grasp the concept of 
lazy loading. To my knowledge this technique helps to load information 
only then, when it is needed, like stuff for the detail view, when it is 
called from a list view with a specific id.


But if it does NOT work like that and only necessary fields are fetched 
even on the list page, then I wonder: how does extbase know, which 
fields are needed? By parsing the fluid template?


In my case, the are of course more scenarios, but the event page indeed 
needs some bits of info down to the 3rd level of m:m-related data *at 
once*. There is no link to a single/detail view. So even though I just 
tried to add the @lazy annotation, there is no change in speed whatsoever.


I would love to find a way to get the separat event piece-by-piece, and 
via AJAX add them together. That would at least provide some immediate 
visual feedback. What would be the proper way to appraoch such a solution?


Have a nice evening!
Robert


did you try lazy loading?

roland

Robert Wildling row...@gmx.net wrote:

Hi,

I have a kind of library extension that is really rich on m:m tables. It
is actually an event extension used as retrospective on an event that
took place once a year over the last 17 years. It contains event
information, people's profiles, concert data, catalogue of works,
location stuff etcetc, everything made with m:m relations, so a kind of
data mining presentation of all the info is easily possible.

When calling the overview event table, the querying process lasts very,
very long (something like 8 seconds on my local machine). There are only
17 events, but around 20 m:m relations to tables that again have
m:m-relations. Extbase's findAll() seems to read out *all* the
information of all those m:m connected tables as the ViewHelper f:debug 
proves.

I know that there are functions like -contains and -matching to
build individual queries, but they don't seem to allow to limit the
amount of fields to be read, so they eventually again read out each and 
everything.

Or am I wrong? Is there any way to tell an extbase query to only read a
very limited amount of fields from m:m-tables, even on the 3rd and 4th level? 
(subselects?)

Thanks for your inputs!
Best regards,
Robert


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


[TYPO3-english] Extbase - reduce queries in m:m relations

2013-09-08 Thread Robert Wildling

Hi,

I have a kind of library extension that is really rich on m:m tables. It 
is actually an event extension used as retrospective on an event that 
took place once a year over the last 17 years. It contains event 
information, people's profiles, concert data, catalogue of works, 
location stuff etcetc, everything made with m:m relations, so a kind of 
data mining presentation of all the info is easily possible.


When calling the overview event table, the querying process lasts very, 
very long (something like 8 seconds on my local machine). There are only 
17 events, but around 20 m:m relations to tables that again have 
m:m-relations. Extbase's findAll() seems to read out *all* the 
information of all those m:m connected tables as the ViewHelper 
f:debug proves.


I know that there are functions like -contains and -matching to 
build individual queries, but they don't seem to allow to limit the 
amount of fields to be read, so they eventually again read out each and 
everything.


Or am I wrong? Is there any way to tell an extbase query to only read a 
very limited amount of fields from m:m-tables, even on the 3rd and 4th 
level? (subselects?)


Thanks for your inputs!
Best regards,
Robert
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Extbase Extension configuration to be written to pageTS for later use in TCA

2013-07-11 Thread Robert Wildling

Hi,

An extbase-based ext (v6) uses 2 different select fields to grab data 
from two different front-end user groups (fe_groups, fe_users) - at 
least that is the idea.


The problem is: how can I provide a solution for the user to dynamically 
define those user groups, so that the TCA, being responsible for the 
form generation in the backend of TYPO3, has access to that info?


I studied this:
http://typo3.org/documentation/document-library/core-documentation/doc_core_tca/4.6.0/view/1/3/

...and know about markers like ###STORAGE_PID###, ###PAGE_TSCONFIG_ID### 
 etc. They just don't seem to be enough, since I need at least 4 values 
to build the foreign_table_where clause in the TCA:
'foreign_table_where' =  WHERE fe_groups.uid=###FIRST_VALUE### AND 
fe_users.pid=###SECOND_VALUE,


This would be the intended way to go for one field - but, as mentioned 
before) the extension uses 2 fields grabbing info from fe_groups, so 
eventually there will be a ###THIRD_VALUE### and a ##FOURTH_VALUE###, too.


Here...
http://wiki.typo3.org/Extension_Development,_add_Page_TSconfig,_User_TSconfig_and_TS

...I read in the alert-section about the new was of imcuding pageTS in 
extbase:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig($content) 



...but i couldn't find any further, more detailed explanations with 
examples and expecially nothing about how to use those values within TCA.


I also already build a solution based on TypoScript constant values and 
displayCond in the BE forms, which works, but it would be most 
cumbersome to reload each and every input 4 times.


And of course: i could just create new tables and voila! But then a lot 
of info would be doubled - this is no way to go!


Any ideas? More sources? Other approaches?
Thanks! Robert
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Custom menu item link

2013-07-06 Thread Robert Wildling

For interaction with some Javascript, like in an accordion?
I would do that via JavaScript, sthm like:

$('ul  li.firstlevel a').click(function(event){
  event.preventDefault();
});

For the JavaScript-of scenario you could set the page type within TYPO3 
to Alias and link it to the first child site.


If you prefer TypoScript, you could go with doNotLinkIt:
http://docs.typo3.org/typo3cms/TyposcriptReference/MenuObjects/Tmenuitem/Index.html

[...]
NO {
doNotLinkIt = 1
// or use optionSplit: eg to deactivate the 3rd link
// doNotLinkIt = || || 1 |*| |*|
stdWrap.wrap = a href=#|/a

// or play around with before and after
before.cObject = TEXT
before.cObject.value = a href=#
after.cObject = TEXT
after.cObject.value = /a
}
[...]

Or use the Spacer type for the pages in question.
http://docs.typo3.org/typo3cms/TyposcriptReference/MenuObjects/CommonItemStates/Index.html

All untested!!


Good luck!
Robert



Hi,

How can i define custom URL for menu items? What i want to do is to set
first level menu links href to #. Thx!

Regards.


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


Re: [TYPO3-english] Viewhelper for Alphabetical Index

2013-07-01 Thread Robert Wildling
Cool! The coincidence goes even further! :-) I am working on a 
composer's catalogue of works, too, and was looking for you you discuss 
here!


Gluck-site is awesome! And Henze was an interesting compoer, so I look 
very much forward to that site - or is it already up?


Thank you for sharing!
Best, Robert


Hi Dirk


BTW why don't you put the whole extension into the TER? Its concept
seems to be quite general and meets even scientific requirements.

Thank you very much for sharing!


Glad it worked out for you! Really cool that somebody else works on the
same topic. Yes, you're absolutely right, we'll share the extension as
soon as possible, some project specific things need to be ironed out and
then off it goes to TER ;)

Cheers,
Torsten



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


Re: [TYPO3-english] TelephoneNumber ViewHelper

2013-07-01 Thread Robert Wildling

Anybody, please? Some directions?



It seems as if I found a working way:

// Class
class Tx_Cbgooglemaps_ViewHelpers_Link_TelephoneNumberViewHelper extends
Tx_Fluid_Core_ViewHelper_AbstractTagBasedViewHelper
{

 protected $tagName = 'a';

 /**
  * @param string $number The phone number to parse
  * @param string $type   The link type (tel, skype, callme,...)
  *
  * @return string Rendered phone link
  */
 public function render($number, $type = 'tel') {
 $explodeStr = ,;
 $content= ;

 if (strpos($number, $explodeStr)) {
 $i   = 0;
 $numberArray = explode($explodeStr, $number);

 foreach ($numberArray as $num) {
 $i++;
 $content .= a href=' . $type . : .
self::clearPhoneNumber(trim($num)) . ' . trim($num) . /a;
 if ($i  count($numberArray)) {
 $content .= , ;
 }
 }
 } else {
 $content .= a href=' . $type . : .
self::clearPhoneNumber(trim($number)) . ' . trim($number) . /a;
 }

 return $content;
 }


 /**
  * This method strips unwanted characters from the given telephone
number,
  * such as white spaces or brackets
  *
  * @param string $number The number to be parsed
  *
  * @return string parsed
  * @static
  * @author Daniel Regelein daniel.regel...@diehl-informatik.de
  */
 private static function clearPhoneNumber($number) {
 $search = array('(', ')', '-', ' ', '/', '\\', '|', '{', '}',
'[', ']');

 return str_replace($search, '', $number);
 }
}

// Template
{namespace l=Tx_Cbgooglemaps_ViewHelpers}
Telefon: l:Link.TelephoneNumber number={phone} /


I just have my doubts, whether this is a good solution. Doesn't feel
very Fluid.

I'd apprciate any comments on how to improve this ViewHelper!
Thanks! Robert



Hi,

I am trying to get into writing my own ViewHelpers. The first bigger
test is a TelephonNumber ViewHelper that transforms phone numbers to
links with the href:tel:* attr (knowing that modern devices do this
automatically, also knowing about the respective meta-tag... as said:
this is just for practicing).

So far I got this, which works fine (thanks to the vhc collection; the
whole thing gets implemented into the cbgooglemaps ext):

// Script
class Tx_Cbgooglemaps_ViewHelpers_Link_TelephoneNumberViewHelper extends
Tx_Fluid_Core_ViewHelper_AbstractTagBasedViewHelper  {
   protected $tagName = 'a';
   /**
* @param string $number The phone number to parse
* @param string $type The link type (tel, skype, callme,...)
* @return string Rendered phone link
*/
   public function render( $number, $type='tel' ) {
 $linkText = $number;
 $tagContent = $this-renderChildren();
 if ($tagContent !== NULL) { $linkText = $tagContent; }
 $this-tag-setContent($linkText);
 $this-tag-addAttribute('href', $type.':' .  $number);
 return $this-tag-render();
   }
}

// Template
{namespace l=Tx_Cbgooglemaps_ViewHelpers}
Telefon: l:Link.TelephoneNumber
number={phone}{phone}/l:Link.TelephoneNumber


So far, so good. The problem starts, when there are is a list of comma
seperated phone numbers to deal with. I started out with this:

public function render( $number, $type='tel' ) {
   $explodeStr = ,;
   // if $number is an array...
   if( strpos( $number, explodeStr) ){
 $numberArray = trim( explode( explodeStr, $number ));
   foreach ( $numberArray as $num ) {
 // how to deal with the $this-tag-foo, when
 // there is only one tag?
 // how shall the return value be put together?
   }
   } else {
 // code as before
   }
[...]


As the comments already say, I do not know how to deal with the
render-children() and the like commands. Also, the final render-command
has to be placed outside the foreach loop, right? So what would be the
proper way to build it?


Thanks for your hints!
Greetings, Robert




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


Re: [TYPO3-english] TelephoneNumber ViewHelper

2013-07-01 Thread Robert Wildling

Hi, Henjo,

thanks for your response!

Would your solution work? The (only) input field in the BE allows for 
one or more (comma seperated) numbers, like this:


01 3423422342, 023 234234234, 0234 23423423423

But what if there is only one number? Would Fluid ignore the other 
arguments?


Also, concerning escape of vertain unwanted characters: where would I 
have to do that?


Well... newbie I am! :-)

Thanks! Robert



Hi Robert,

why don't just parse the phonenumbers as an array in Fluid?
l:link.telephoneNumber numbers={0:'firstnumber', 1:'secondnumber',
2:'...'} type=tel /



Kind regards,

Henjo

Problems are small because we learned how to deal with them.
Problems are big because we need to learn how to deal with them.


On Mon, Jul 1, 2013 at 8:56 PM, Robert Wildling row...@gmx.net wrote:


Anybody, please? Some directions?



  It seems as if I found a working way:


// Class
class Tx_Cbgooglemaps_ViewHelpers_**Link_TelephoneNumberViewHelper
extends
Tx_Fluid_Core_ViewHelper_**AbstractTagBasedViewHelper
{

  protected $tagName = 'a';

  /**
   * @param string $number The phone number to parse
   * @param string $type   The link type (tel, skype, callme,...)
   *
   * @return string Rendered phone link
   */
  public function render($number, $type = 'tel') {
  $explodeStr = ,;
  $content= ;

  if (strpos($number, $explodeStr)) {
  $i   = 0;
  $numberArray = explode($explodeStr, $number);

  foreach ($numberArray as $num) {
  $i++;
  $content .= a href=' . $type . : .
self::clearPhoneNumber(trim($**num)) . ' . trim($num) . /a;
  if ($i  count($numberArray)) {
  $content .= , ;
  }
  }
  } else {
  $content .= a href=' . $type . : .
self::clearPhoneNumber(trim($**number)) . ' . trim($number) . /a;
  }

  return $content;
  }


  /**
   * This method strips unwanted characters from the given telephone
number,
   * such as white spaces or brackets
   *
   * @param string $number The number to be parsed
   *
   * @return string parsed
   * @static
   * @author Daniel Regelein 
daniel.regelein@diehl-**informatik.dedaniel.regel...@diehl-informatik.de



   */
  private static function clearPhoneNumber($number) {
  $search = array('(', ')', '-', ' ', '/', '\\', '|', '{', '}',
'[', ']');

  return str_replace($search, '', $number);
  }
}

// Template
{namespace l=Tx_Cbgooglemaps_ViewHelpers}
Telefon: l:Link.TelephoneNumber number={phone} /


I just have my doubts, whether this is a good solution. Doesn't feel
very Fluid.

I'd apprciate any comments on how to improve this ViewHelper!
Thanks! Robert


  Hi,


I am trying to get into writing my own ViewHelpers. The first bigger
test is a TelephonNumber ViewHelper that transforms phone numbers to
links with the href:tel:* attr (knowing that modern devices do this
automatically, also knowing about the respective meta-tag... as said:
this is just for practicing).

So far I got this, which works fine (thanks to the vhc collection; the
whole thing gets implemented into the cbgooglemaps ext):

// Script
class Tx_Cbgooglemaps_ViewHelpers_**Link_TelephoneNumberViewHelper
extends
Tx_Fluid_Core_ViewHelper_**AbstractTagBasedViewHelper  {
protected $tagName = 'a';
/**
 * @param string $number The phone number to parse
 * @param string $type The link type (tel, skype, callme,...)
 * @return string Rendered phone link
 */
public function render( $number, $type='tel' ) {
  $linkText = $number;
  $tagContent = $this-renderChildren();
  if ($tagContent !== NULL) { $linkText = $tagContent; }
  $this-tag-setContent($**linkText);
  $this-tag-addAttribute('**href', $type.':' .  $number);
  return $this-tag-render();
}
}

// Template
{namespace l=Tx_Cbgooglemaps_ViewHelpers}
Telefon: l:Link.TelephoneNumber
number={phone}{phone}/l:**Link.TelephoneNumber


So far, so good. The problem starts, when there are is a list of comma
seperated phone numbers to deal with. I started out with this:

public function render( $number, $type='tel' ) {
$explodeStr = ,;
// if $number is an array...
if( strpos( $number, explodeStr) ){
  $numberArray = trim( explode( explodeStr, $number ));
foreach ( $numberArray as $num ) {
  // how to deal with the $this-tag-foo, when
  // there is only one tag?
  // how shall the return value be put together?
}
} else {
  // code as before
}
[...]


As the comments already say, I do not know how to deal with the
render-children() and the like commands. Also, the final render-command
has to be placed outside the foreach loop, right? So what would be the
proper way to build it?


Thanks for your hints!
Greetings, Robert

Re: [TYPO3-english] TelephoneNumber ViewHelper

2013-07-01 Thread Robert Wildling

Wow! That looks awesome!
I'll work it through tomorrow  -for now let me just say: Thanks a lot 
for you time and help!!!


All the best, Robert


Hi Robert,

in that case it would be different.

First of all - if this is really the way you would want to handle it, I
think I would prefer using a textbox for the BE input and on every new line
a number.
Next you would want to make sure the input is correct, rather than cleaning
stuff up in your view, so you would need to use 'eval' to only allow
numbers to be inputted.
Now in your Fluid you can just add the property like so:
l:link.telephoneNumber numbers={numbers} type=tel /
In your VH you do the following:
- convert the $numbers to an array based on the newline break as separator
- foreach $number add them to your $output[] as a link.
- return $output (array)

Now in Fluid it would look like this:

f:if condition={numbers}
ul
f:for each={l:telephoneNumbers(numbers:'{numbers}', type:'tel')}
as=number
li{number}/li
/f:for
/ul
/f:if

Still it seems to me this is a little hacky: how do you know a number is of
the type tel? Why not make the number an object with a type property? In
the BE use irre to add them in your form and the user experience will still
be good (with some cleanup of the defaults ;-) ).
That combined with a linkViewHelper based on the Fluid's linkVH create a
ViewHelper for each type: link.email - link.tel - link.skype -
link.iMessage etc.

May be this is overkill for your situation, but it would be clean, reusable
and a nice handson experience ;-)

Have fun!

Kind regards,

Henjo

Problems are small because we learned how to deal with them.
Problems are big because we need to learn how to deal with them.


On Mon, Jul 1, 2013 at 9:19 PM, Robert Wildling row...@gmx.net wrote:


Hi, Henjo,

thanks for your response!

Would your solution work? The (only) input field in the BE allows for one
or more (comma seperated) numbers, like this:

01 3423422342, 023 234234234, 0234 23423423423

But what if there is only one number? Would Fluid ignore the other
arguments?

Also, concerning escape of vertain unwanted characters: where would I have
to do that?

Well... newbie I am! :-)

Thanks! Robert



  Hi Robert,


why don't just parse the phonenumbers as an array in Fluid?
l:link.telephoneNumber numbers={0:'firstnumber', 1:'secondnumber',
2:'...'} type=tel /



Kind regards,

Henjo

Problems are small because we learned how to deal with them.
Problems are big because we need to learn how to deal with them.


On Mon, Jul 1, 2013 at 8:56 PM, Robert Wildling row...@gmx.net wrote:

  Anybody, please? Some directions?




   It seems as if I found a working way:



// Class
class Tx_Cbgooglemaps_ViewHelpers_Link_TelephoneNumberViewHelper
extends
Tx_Fluid_Core_ViewHelper_AbstractTagBasedViewHelper
{

   protected $tagName = 'a';

   /**
* @param string $number The phone number to parse
* @param string $type   The link type (tel, skype,
callme,...)
*
* @return string Rendered phone link
*/
   public function render($number, $type = 'tel') {
   $explodeStr = ,;
   $content= ;

   if (strpos($number, $explodeStr)) {
   $i   = 0;
   $numberArray = explode($explodeStr, $number);

   foreach ($numberArray as $num) {
   $i++;
   $content .= a href=' . $type . : .
self::clearPhoneNumber(trim($num)) . ' . trim($num) . /a;
   if ($i  count($numberArray)) {
   $content .= , ;
   }
   }
   } else {
   $content .= a href=' . $type . : .
self::clearPhoneNumber(trim($number)) . ' . trim($number) .
/a;
   }

   return $content;
   }


   /**
* This method strips unwanted characters from the given telephone
number,
* such as white spaces or brackets
*
* @param string $number The number to be parsed
*
* @return string parsed
* @static
* @author Daniel Regelein daniel.regelein@diehl-**infor**
matik.de 
http://informatik.dedaniel.regelein@**diehl-informatik.dedaniel.regel...@diehl-informatik.de






 */

   private static function clearPhoneNumber($number) {
   $search = array('(', ')', '-', ' ', '/', '\\', '|', '{', '}',
'[', ']');

   return str_replace($search, '', $number);
   }
}

// Template
{namespace l=Tx_Cbgooglemaps_ViewHelpers}
Telefon: l:Link.TelephoneNumber number={phone} /


I just have my doubts, whether this is a good solution. Doesn't feel
very Fluid.

I'd apprciate any comments on how to improve this ViewHelper!
Thanks! Robert


   Hi,



I am trying to get into writing my own ViewHelpers. The first bigger
test is a TelephonNumber ViewHelper that transforms phone numbers to
links with the href:tel:* attr (knowing that modern devices do this
automatically, also knowing about the respective

[TYPO3-english] TelephoneNumber ViewHelper

2013-06-30 Thread Robert Wildling

Hi,

I am trying to get into writing my own ViewHelpers. The first bigger 
test is a TelephonNumber ViewHelper that transforms phone numbers to 
links with the href:tel:* attr (knowing that modern devices do this 
automatically, also knowing about the respective meta-tag... as said: 
this is just for practicing).


So far I got this, which works fine (thanks to the vhc collection; the 
whole thing gets implemented into the cbgooglemaps ext):


// Script
class Tx_Cbgooglemaps_ViewHelpers_Link_TelephoneNumberViewHelper extends 
Tx_Fluid_Core_ViewHelper_AbstractTagBasedViewHelper  {

  protected $tagName = 'a';
  /**
   * @param string $number The phone number to parse
   * @param string $type The link type (tel, skype, callme,...)
   * @return string Rendered phone link
   */
  public function render( $number, $type='tel' ) {
$linkText = $number;
$tagContent = $this-renderChildren();
if ($tagContent !== NULL) { $linkText = $tagContent; }
$this-tag-setContent($linkText);
$this-tag-addAttribute('href', $type.':' .  $number);
return $this-tag-render();
  }
}

// Template
{namespace l=Tx_Cbgooglemaps_ViewHelpers}
Telefon: l:Link.TelephoneNumber 
number={phone}{phone}/l:Link.TelephoneNumber



So far, so good. The problem starts, when there are is a list of comma 
seperated phone numbers to deal with. I started out with this:


public function render( $number, $type='tel' ) {
  $explodeStr = ,;
  // if $number is an array...
  if( strpos( $number, explodeStr) ){
$numberArray = trim( explode( explodeStr, $number ));
  foreach ( $numberArray as $num ) {
// how to deal with the $this-tag-foo, when
// there is only one tag?
// how shall the return value be put together?
  }
  } else {
// code as before
  }
[...]


As the comments already say, I do not know how to deal with the 
render-children() and the like commands. Also, the final render-command 
has to be placed outside the foreach loop, right? So what would be the 
proper way to build it?



Thanks for your hints!
Greetings, Robert
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] TelephoneNumber ViewHelper

2013-06-30 Thread Robert Wildling

It seems as if I found a working way:

// Class
class Tx_Cbgooglemaps_ViewHelpers_Link_TelephoneNumberViewHelper extends 
Tx_Fluid_Core_ViewHelper_AbstractTagBasedViewHelper

{

protected $tagName = 'a';

/**
 * @param string $number The phone number to parse
 * @param string $type   The link type (tel, skype, callme,...)
 *
 * @return string Rendered phone link
 */
public function render($number, $type = 'tel') {
$explodeStr = ,;
$content= ;

if (strpos($number, $explodeStr)) {
$i   = 0;
$numberArray = explode($explodeStr, $number);

foreach ($numberArray as $num) {
$i++;
$content .= a href=' . $type . : . 
self::clearPhoneNumber(trim($num)) . ' . trim($num) . /a;

if ($i  count($numberArray)) {
$content .= , ;
}
}
} else {
			$content .= a href=' . $type . : . 
self::clearPhoneNumber(trim($number)) . ' . trim($number) . /a;

}

return $content;
}


/**
 * This method strips unwanted characters from the given telephone 
number,
 * such as white spaces or brackets
 *
 * @param string $number The number to be parsed
 *
 * @return string parsed
 * @static
 * @author Daniel Regelein daniel.regel...@diehl-informatik.de
 */
private static function clearPhoneNumber($number) {
$search = array('(', ')', '-', ' ', '/', '\\', '|', '{', '}', 
'[', ']');

return str_replace($search, '', $number);
}
}

// Template
{namespace l=Tx_Cbgooglemaps_ViewHelpers}
Telefon: l:Link.TelephoneNumber number={phone} /


I just have my doubts, whether this is a good solution. Doesn't feel 
very Fluid.


I'd apprciate any comments on how to improve this ViewHelper!
Thanks! Robert



Hi,

I am trying to get into writing my own ViewHelpers. The first bigger
test is a TelephonNumber ViewHelper that transforms phone numbers to
links with the href:tel:* attr (knowing that modern devices do this
automatically, also knowing about the respective meta-tag... as said:
this is just for practicing).

So far I got this, which works fine (thanks to the vhc collection; the
whole thing gets implemented into the cbgooglemaps ext):

// Script
class Tx_Cbgooglemaps_ViewHelpers_Link_TelephoneNumberViewHelper extends
Tx_Fluid_Core_ViewHelper_AbstractTagBasedViewHelper  {
   protected $tagName = 'a';
   /**
* @param string $number The phone number to parse
* @param string $type The link type (tel, skype, callme,...)
* @return string Rendered phone link
*/
   public function render( $number, $type='tel' ) {
 $linkText = $number;
 $tagContent = $this-renderChildren();
 if ($tagContent !== NULL) { $linkText = $tagContent; }
 $this-tag-setContent($linkText);
 $this-tag-addAttribute('href', $type.':' .  $number);
 return $this-tag-render();
   }
}

// Template
{namespace l=Tx_Cbgooglemaps_ViewHelpers}
Telefon: l:Link.TelephoneNumber
number={phone}{phone}/l:Link.TelephoneNumber


So far, so good. The problem starts, when there are is a list of comma
seperated phone numbers to deal with. I started out with this:

public function render( $number, $type='tel' ) {
   $explodeStr = ,;
   // if $number is an array...
   if( strpos( $number, explodeStr) ){
 $numberArray = trim( explode( explodeStr, $number ));
   foreach ( $numberArray as $num ) {
 // how to deal with the $this-tag-foo, when
 // there is only one tag?
 // how shall the return value be put together?
   }
   } else {
 // code as before
   }
[...]


As the comments already say, I do not know how to deal with the
render-children() and the like commands. Also, the final render-command
has to be placed outside the foreach loop, right? So what would be the
proper way to build it?


Thanks for your hints!
Greetings, Robert


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


[TYPO3-english] output handler 'ob_gzhandler' conflicts with 'zlib output compression'

2013-06-10 Thread Robert Wildling

I keep getting this warning in the backend:

PHP Warning: ob_start(): output handler 'ob_gzhandler' conflicts with 
'zlib output compression' in 
/[...]/typo3/sysext/core/Classes/Core/Bootstrap.php line 1006


I use:
TYPO3 CMS 6.1.1
MAMP 2
php 5.4.4 (with and without XCache or APC)

Any ideas, why this is?
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] output handler 'ob_gzhandler' conflicts with 'zlib output compression'

2013-06-10 Thread Robert Wildling
OK, must have been a problem with php 5.4.4. Updating to php 5.4.10 
resolves that problem.



I keep getting this warning in the backend:

PHP Warning: ob_start(): output handler 'ob_gzhandler' conflicts with
'zlib output compression' in
/[...]/typo3/sysext/core/Classes/Core/Bootstrap.php line 1006

I use:
TYPO3 CMS 6.1.1
MAMP 2
php 5.4.4 (with and without XCache or APC)

Any ideas, why this is?


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


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

2013-05-29 Thread 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?
___
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.4 and PHP 5.3.3-7

2013-04-18 Thread Robert Wildling



Maybe you have a suggestion how to educate people without playing a
human interface to a search engine? A simple suggestion to search first
seems rude.


Why would you want to suggest someone to search Google? If you do it and 
you find a link with an answer, post that link right away - or don't 
google and ignore the post. If you realize that the poster is a 
newcomer, you can additionally point out that error codes and messages 
can be found via a Google search, even though I would like to assume 
that anybody who is a newcomer, but works with TYPO3, will check in that 
very moment that Google is a source for answers, too. However, the 
keyword is additionally. Everything else is a waste of time and turns 
into something very arrogant.


I would like to look at this list as a kind of Collaborative TYPO3 
Cookbook, if you want. It is therefore absolutely necessary to keep and 
make each post as helpful as possible.


Not the least because eventually all posts show up in Google - and I am 
sure you know how stressful and time-consuming it is to dig through all 
those useless posts and/or dead links on Google...


Therefore: a useful, modest answer or nothing. My point of view.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Uncaught TYPO3 Exception

2013-04-17 Thread Robert Wildling

Hi,

On a TYPO3 4.6.6, under Protocolls, there are strange entries that read 
like this:


Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1301648781: 
The requested page does not exist! | 
t3lib_error_http_PageNotFoundException thrown in file 
/www/htdocs/[---]/typo3/sysext/cms/tslib/class.tslib_fe.php in line 998. 
Requested URL: http://www.[---].at/;


I did not find any info on the number #1301648781, other similar google 
results talk about realurl misconfiguration - which is now turned of.


Can anybody help me how to procede to find out what the error reason 
could be? I have no idea how to search anymore...


Thank you!
Best regards,
Robert
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Uncaught TYPO3 Exception

2013-04-17 Thread Robert Wildling

Hi, Markus,

thank you for the quick response! - Please help me understand: is this 
behaviour bad (for eg SEO or validity) or can it be ignored? Or what 
would the proper usage of a SPACER be (at the moment I only use it in 
the backend to seperate some Sysfolders from the main Website structure...)?


Have a sunny day!
Robert



Hi Robert,

this happens if someone tries to access a page that has doktype SPACER.

Core Code:
// Spacer is not accessible in frontend
if ($this-page['doktype'] == 
\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SPACER) {
...
\TYPO3\CMS\Core\Utility\GeneralUtility::sysLog($message, 'cms', 
\TYPO3\CMS\Core\Utility\GeneralUtility::SYSLOG_SEVERITY_ERROR);
}

Kind regards
Markus


-Original Message-
From: typo3-english-boun...@lists.typo3.org [mailto:typo3-english-
boun...@lists.typo3.org] On Behalf Of Robert Wildling
Sent: Wednesday, April 17, 2013 8:55 AM
To: typo3-english@lists.typo3.org
Subject: [TYPO3-english] Uncaught TYPO3 Exception

Hi,

On a TYPO3 4.6.6, under Protocolls, there are strange entries that read like
this:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1301648781:
The requested page does not exist! |
t3lib_error_http_PageNotFoundException thrown in file /www/htdocs/[---
]/typo3/sysext/cms/tslib/class.tslib_fe.php in line 998.
Requested URL: http://www.[---].at/;

I did not find any info on the number #1301648781, other similar google
results talk about realurl misconfiguration - which is now turned of.

Can anybody help me how to procede to find out what the error reason
could be? I have no idea how to search anymore...

Thank you!
Best regards,
Robert
___
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] Uncaught TYPO3 Exception

2013-04-17 Thread Robert Wildling

Thanks, Jigal!

It's a bit weird, because the site is actually a single-load site and 
the menues are all solved with directory-TypoScripts.


The protocoll shows the error about once every day for about 20 or so 
times in a row in very short time periods (like milliseconds or so). 
Also the times a weird: something between 3 an 7 in the morning. Looks 
like a crawler is trying to get something.


Well: I kicked out the spacer menu and created a robots.txt and a 
sitemap.xml (which is probably in no connection to the problem, but 
anyway). I will see over the next few days, what - if anything - will 
change.


BTW: this is the site, in case anyone is interested: www.krahphix.at

Thanks to all for you generous help!
All the best,
Robert


Hi,

On 17-4-2013 10:06, Robert Wildling wrote:

thank you for the quick response! - Please help me understand: is this
behaviour bad (for eg SEO or validity) or can it be ignored? Or what
would the proper usage of a SPACER be (at the moment I only use it in
the backend to seperate some Sysfolders from the main Website
structure...)?


A 'spacer' page was meant for cases where a gap in the menu in the
frontend was needed. It's not rendered as a link to a page, so in theory
nobody should request those pages in their browser.



___
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.4 and PHP 5.3.3-7

2013-04-17 Thread Robert Wildling

I googled it and found a couple of answers ;)


@Dmitry: I consider your attitude as arrogant and a waste of time here 
on the list. Please stop posting useless answers and stop littering 
Google with senseless comments!



___
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.4 and PHP 5.3.3-7

2013-04-17 Thread Robert Wildling
It'll be of better help and less a waste of time, if you'd answer right 
away in the best possible manner.


I am pretty sure, nobody posts here any questions without having googled 
it first. At least, it's just fair to assume that - and you should 
assume that, too.




Hi!

Robert Wildling wrote:

@Dmitry: I consider your attitude as arrogant and a waste of time here
on the list. Please stop posting useless answers and stop littering
Google with senseless comments!


As I wrote above, the answer to this message is not short or simple. To
get the best understanding of it, it is best to search. There are
several topics, shown by Google at the top, that help understand issues
and how to avoid them.

I gave a brief answer in the other response, which should help digging
deeper if issues pop up.

I believe I gave a good valid answer in this particular case. And I
believe, you are over-reacting. It was not a google it message but a
recommendation to study the issue.

Thank you for your opinion, anyway.



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


Re: [TYPO3-english] Introduction Package TYPO3 4.5 - absRefPrefix

2012-07-30 Thread Robert Wildling

Hi, Philippe,


@Philipp: when you say it is fixed in a newer version, do you mean a
newer IP 4.5 version?


A newer IP Version, e.g. 4.7 works fine.


Yes, I know that. But 4.5 is LTS,it should be corrected there, too, IMO. 
So I wonder, if somebody know if this fix is on the road or if I should 
at least place a bug report - and if the latter, could anybody help me 
out with the location where to put the bug report?


Thanks - and sorry for being stubborn :-)
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Introduction Package TYPO3 4.5 - absRefPrefix

2012-07-28 Thread Robert Wildling

Hi,

I just realized that the Intro Package of 4.5 won't work as soon as it 
is installed in a subfolder. This is because somewhere in the 
page_configuration TSs the absRefPrefix references a config constant 
from the installation.ts, which itself is empty, and then adds a slash 
(/). Removing that very slash makes the whole thing work just fine.


I cannot find the proper way to report this at forge. Could anybody help 
me with the right link, please? (Or maybe it is already reported...)


Thanks in advance!
Robert
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Introduction Package TYPO3 4.5 - absRefPrefix

2012-07-28 Thread Robert Wildling

Thanks for your feedback!

Getting rid of or commenting out baseURL in IP 4.5 does not solve the 
problem alone, absRefPath needs to be adjusted, too (because of that slash).


@Philipp: when you say it is fixed in a newer version, do you mean a 
newer IP 4.5 version?


Have a good day!
Robert



Hi Markus Klein,

@Robert this is know and fixed in newer versions of the Introduction
Package.

Markus Klein wrote:


without knowing the Introductino Package in detail, I guess this is a
setting because of realUrl and IMO this is correct. If you install it in a
subfolder, one has to adjust absRefPrefix and RewriteBase in .htaccess
anyway.


No you don't. The is just a stupid mistake. If ``absRefPrefix`` would be
really empty, then it would automatically adjust to the current domain,
including any possible subfolder.

The error comes from trying to use ``baseUrl`` together with
``absRefPrefix`` using the same constant. ``baseUrl`` needs to be defined
without the slash ('/'), but ``absRefPrefix`` with it. Thus the slash is
added to the constant while using it in TS. Obviously this breaks auto
configuration of ``absRefPrefix``, because now it never empty.

Newer versions of the IP (e.g. 4.7) dropped the usage of ``baseUrl`` and use
the more clean ``absRefPrefix`` variant only.

Best regards




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


Re: [TYPO3-english] about template tutorial

2012-07-02 Thread Robert Wildling

I think it is this one:
http://typo3.org/extensions/repository/view/skin_abc_kik_red

Please correct me if I am wrong.



Am 02.07.2012 04:41, schrieb Andreas Becker:

ABC is based on March8 and fully English and extends its features and
usabillity with lots of more features, especially useful for HTML5,
responsive design and mobile websites. - unfortunately not in TER.


ABC sounds very interesting. Can you tell us where to get that?


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


Re: [TYPO3-english] TER listing the same since friday

2012-06-26 Thread Robert Wildling

But here:
http://www.pascalcollins.de/mein-blog/typo3/extensions/extension-repository-browser/

are more recent ones - so something is still not working correctly with TER.

Solr seems to be great - in theory, but practically I stick with 
Pascal's search engine...


Guys - especially Ingo, who took the credit: great work, but please look 
into it once more! Thanks!




On 06/26/2012 09:38 AM, Stephen Bungert wrote:

Hello,

Since friday I haven't seen any chaneg in the ter.

Opendata API was the last uploaded extension (on the 22nd) and since then
there appears to have been no change. This is odd beacause I myself have
uploaded 3 extensions since then... and since they have had downlaods
other
people can obviously see that they have been uploaded.

Is anyone else experiencing this?


the download is done in TYPO3-BE which has its own TER-access
independent from http://typo3.org/extensions/repository/

there I also see last upload/update 'Opendata API' from June 22, 2012

bernd


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



Re: [TYPO3-english] TER listing the same since friday

2012-06-26 Thread Robert Wildling

I am trying to download this:
http://typo3.org/extensions/repository/view/sav_library_plus

but clicking on the link just loads the TER site again...

???


On 06/26/2012 09:38 AM, Stephen Bungert wrote:

Hello,

Since friday I haven't seen any chaneg in the ter.

Opendata API was the last uploaded extension (on the 22nd) and since then
there appears to have been no change. This is odd beacause I myself have
uploaded 3 extensions since then... and since they have had downlaods
other
people can obviously see that they have been uploaded.

Is anyone else experiencing this?


the download is done in TYPO3-BE which has its own TER-access
independent from http://typo3.org/extensions/repository/

there I also see last upload/update 'Opendata API' from June 22, 2012

bernd


___
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 a typo3 site

2012-06-26 Thread Robert Wildling
@Tom: I like to put a 2 new sites at the very top: the first with a 
basic layout, a separat template and no menues, which just says 
Construction Zone or whatever. To hide the rest of the site, the 
second folder is a SysFolder that is hidden. I drag all the sites of the 
website into that SysFolder.


Definately no pro-solution, but it is one of many ways...


@Philipp: I'd like to add my 2 cents to your answer: In my opinion these 
kind of answers are of no help to anyone. To be honest: I don't even 
know why you bother to take the time to write RTFM? Obviousley you seem 
to get angry by questions like these, but I ask you: why don't you just 
ignore them? And a link to a tutorial is not a specific answer. But the 
list should be a place for specific answers.


In a long-term-view, posts like these are actually pretty annoying: we 
all know how frustrating it can be to find highly ranked entries in 
Google just to find out that there is no proper answer.


Therefore I would suggest: if someone does not want to response 
helpfully for whatever reason, just don't post anything. If, however, 
someone decides to post an answer, stick with the topic and restrain 
from any patronizing off-topic behaviour. There are beginners and there 
are pros - and the latter one need to remember that they where once 
beginners, too.


If there are good answers now, the chance increases that the post will 
be found more often and therefore questions like these asked less.


Thanks.
Robert



Hi tom,

tom wrote:


How could I hide a typo3 site, so other people can not visit?
I do not have whm/capnel username/password, But I can access typo3 admin
site(mysite.com/typo3).
Thanks.


Please read the getting started guide:
http://typo3.org/documentation/document-
library/tutorials/doc_tut_quickstart/current/

ps: yes, this anwser is supposed to be interpreted as RTFM !

Best regards


___
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 a typo3 site

2012-06-26 Thread Robert Wildling

Hi, Tom,

Glad, this post could help you. - I actually saw that Philipp was very 
helpful to you in some of your previous posts. He also asked you to use 
your real name, which is considered polite on this list. Please do so - 
you'll help to keep up a good and helpful news list!


Thanks.
Robert


Hi,

How could I hide a typo3 site, so other people can not visit?
I do not have whm/capnel username/password, But I can access typo3 admin
site(mysite.com/typo3).
Thanks.

Tom


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


Re: [TYPO3-english] TYPO3 Website TER - new search filters?

2012-06-24 Thread Robert Wildling

COOL!!!

But:

- searching for cc_debug won't find the ext itself (but 16 others)

- the number of availbale extensions differs from the one the extension 
manager finds (EM finds +200 more ext)


Why is that, I wonder???

Anyway: Great work . thanks!!!




Am 23.06.12 19:22, schrieb Robert Wildling:


since when has TER search filters? Ionly recognized them today right
below the search box...


its solr dudes! its the future.

more to come,

http://forge.typo3.org/issues/37091

http://forge.typo3.org/projects/team-t3o-relaunch-week/issues?query_id=349

want to use solr your self?

http://typo3.org/extensions/repository/view/solr

best regards,

olivier



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


[TYPO3-english] TYPO3 Website TER - new search filters?

2012-06-23 Thread Robert Wildling

Hi, list,

since when has TER search filters? Ionly recognized them today right 
below the search box...


No matter what - I want to congratulate the guys who did it!! Thank you 
very much! Nice work!


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


Re: [TYPO3-english] how to setup a plugin in which you can add records (IRRE-style)?

2012-06-13 Thread Robert Wildling
Well, I am on T3 4.6.9 and had a little ext with an IRRE element. I just 
didn't dig into the PageTS to save the IRRE element in one SysFolder only.


But it did save on the various pages where the plugin was integrated and 
IRRE-contents from within were created...


The entry you mention is 5 years ol, another 'old' one
http://forge.typo3.org/issues/20344
provides a solution, maybe that helps...

Best regards,
Robert



hi,

thanks for your answers.


Ah - and yes, IRRE defined in Flexforms is possible.


are you sure?

http://forge.typo3.org/issues/18957

kind regards.

roland


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


[TYPO3-english] typolink - additionalParams

2012-06-12 Thread Robert Wildling

Hi, TYPO3-list,

The url of a page contains the parameter category=22. I would like to 
add this parameter to another page link via TS and read all over the 
internet that the way to go is like this:


typolink.additionalParams.dataWrap = $category={GPvar:category}

But that doesn't anything else but just adding a $category= to the link.


I also tried other constellations like these:

typolink.additionalParams {
  data = GPvar:category
  insertData = 1
  wrap = $category=|
}

typolink.additionalParams.cObject = COA
typolink.additionalParams.cObject {
  5 = Text
  5.value = $category=
  10 = TEXT
  10.data = GPvar:category
  10.insertData = 1
}

None of them generates the category id. So I wonder if i misunderstood 
the idea of extracting values from a url via GPvar?


Do you have any hints for me?
Thanks in advance!
Regards, Robert
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] typolink - additionalParams

2012-06-12 Thread Robert Wildling

Merci, François!! Works just fine!

Do you maybe have a link to where this freature is documented? I am 
obviousely too stupid to find it in the TSRef 
http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.1.0/view/toc/0/


(And yes: the other thing is just a typo.)

Thanks again!
Cheers, Robert


Hi Robert,


typolink.additionalParams.dataWrap = $category={GPvar:category}


GPvar was deprecated many versions ago and finally removed recently
(in 4.6 or 4.7). Try using gp instead.

And I guess the $ sign is just a typo (should be , of course).

HTH



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


Re: [TYPO3-english] how to setup a plugin in which you can add records (IRRE-style)?

2012-06-12 Thread Robert Wildling

Am 12.06.12 17:26, schrieb Roland:

ps: can/should you use IRRE functionality inside flexforms for this task?


For example, Georg Ringer's news extension uses IRRE. Another one would 
be powermail.


REad here at the very bottom:
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/4/2/

search for:
['columns'][fieldname]['config'] / TYPE: inline

Wiki on IRRE:
http://wiki.typo3.org/Inline_Relational_Record_Editing

IRRE Tutorial:
http://typo3.org/extension-manuals/irre_tutorial/0.2.0/view/1/2/


I once tried to implement IRRE in a plugin, too. If you want that all 
IRRE generated record are saved in one place (eg a sys folder) even 
though the plugin is used at different locations, you may need PageTS to 
define the sys folder's id.


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


Re: [TYPO3-english] socials - change template path

2012-06-04 Thread Robert Wildling

Hi, thank you for explaining the magic!

Do you maybe also know the reason why both of these possibilities work?

plugin.tx_socials {
  view {
  templateRootPath = fileadmin/_layout/templates/socials
}
}

plugin.tx_socials {
  view {
  templateRootPath = fileadmin/_layout/templates/socials/
}
}

(one with, one without the last back slash)

Is there a kind of safety mechanism, where extbase double checks for 
last back slashes?


Thanks,
Robert



Hi,

Georg Ringer wrote:

Am 03.06.2012 13:28, schrieb Robert Wildling:

Strangely enough TYPO3 doesn't care about whether there is a slash or
not. The really important part is the folder called Share. My folder
structure is now:


feel free to open a bug report (or I will do it)


There is no bug in here, if you have a look again at what I wrote:

fileadmin/_layout/templates/socials
|-- Templates
|   |-- Controller1
|   `-- Controller2
|   |-- Action1.html
|   |-- Action2.html
|   `-- Show.html
|-- Partials
`-- Layouts

You have to actually copy the *whole* content of
typo3conf/ext/your-ext/Resources/Private/Templates/* and this means you
cannot override a single template by putting it right under the
Templates directory in fileadmin, you have to copy all existing
templates including the intermediate {controller} directory and then
do your stuff.

Robert did this:


Strangely enough TYPO3 doesn't care about whether there is a slash or
not. The really important part is the folder called Share. My
folder structure is now:

fileadmin/_layout/templates/socials/Share/Show.html

with this TS:

plugin.tx_socials {
view {
   templateRootPath = fileadmin/_layout/templates/socials/
}
}


And the Share part means that he has a Share controller whose action
is Show, nothing magic :)

Kind regards



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


[TYPO3-english] socials - change template path

2012-06-03 Thread Robert Wildling

Hi,

I try to change the pathto a template in the socails ext doing this in 
my basic setup.txt:


plugin.tx_socials {
  view {
templateRootPath = fileadmin/_layout/templates/socials
partialRootPath = fileadmin/_layout/templates/socials
layoutRootPath = fileadmin/_layout/templates/socials
  }
}

The html-file is named Show.html

An error gets thrown:

Sorry, the requested view was not found.
The technical reason is: No template was found. View could not be 
resolved for action show.


Same thing happens when I use the sample script from wiki 
http://forge.typo3.org/projects/extension-socials/wiki


I use TYPO3 4.6.9 with php 5.3.6.

Any idea what I am doing wrong here?
Thanks!
Robert

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


Re: [TYPO3-english] socials - change template path

2012-06-03 Thread Robert Wildling

Thanks, Georg!

Strangely enough TYPO3 doesn't care about whether there is a slash or 
not. The really important part is the folder called Share. My folder 
structure is now:


fileadmin/_layout/templates/socials/Share/Show.html

with this TS:

plugin.tx_socials {
  view {
  templateRootPath = fileadmin/_layout/templates/socials/
}
}

Now I hope there is a way to change the icons... :-)

Thanks for your help!

Robert



Am 03.06.2012 12:41, schrieb Robert Wildling:

plugin.tx_socials {
   view {
 templateRootPath = fileadmin/_layout/templates/socials
   }



IMO a / at the end is needed


I also wonder how the ext knows about the *name* of the template file?
Is it always Show.html?


yes, as the action is called showAction()

georg


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


Re: [TYPO3-english] socials - change template path

2012-06-03 Thread Robert Wildling
Since it is my first time working with a fluid/extbase ext, I thought 
it's my shortcomings not to handle the TypoScript correctly.


If this is really a bug, I would kindly ask you to file the report.

Is there a way to use own icons with your ext? I seem to totally miss it...

Robert


Am 03.06.2012 13:28, schrieb Robert Wildling:

Strangely enough TYPO3 doesn't care about whether there is a slash or
not. The really important part is the folder called Share. My folder
structure is now:


feel free to open a bug report (or I will do it)

Georg




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


Re: [TYPO3-english] pagebrowse with search function - id gets lost

2012-05-31 Thread Robert Wildling

Yepp, that worked fine!

Thanks for your help, giys!
@Dmitri: your pagebrowse ext is just awesome!!!

G'day!
Robert


Hi,

On 31-5-2012 0:30, Robert Wildling wrote:

thank you for the answer! Unfortunately it didn't solve the problem. But
I observed another behaviour: when the form is set to action=POST, the
id is sent, but not the category nor province parameters, but when the
form action is set to GET, the id gets lost while category and province
are sent perfectly fine...


See the answer by Richard Davies in your thread in typo3.dev; mixing
POST and GET leads to such problems.



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


Re: [TYPO3-english] pagebrowse with search function - id gets lost

2012-05-30 Thread Robert Wildling

Hi, Dmitiri,

thank you for the answer! Unfortunately it didn't solve the problem. But 
I observed another behaviour: when the form is set to action=POST, the 
id is sent, but not the category nor province parameters, but when the 
form action is set to GET, the id gets lost while category and province 
are sent perfectly fine...


Any idea where my misconfiguraion could be?

I should maybe add that there are 2 such searchboxes on the same site (a 
small one at the bottom of the site, and the large one at the top, both 
define from a different plugin, a _pi2 and a _pi5: could the page 
parameter be confused?)


Thanks,
Robert



Hi!

Robert Wildling wrote:

I already tried that extraQueryString, but couldn't get it to work. it
would be great if you could provide for an example (here and in the
manual). The information provided in the manual is not enough.


'extraQueryString' = 'category=' . $cat . 'provice=' . $prov,



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


Re: [TYPO3-english] pagebrowse with search function - id gets lost

2012-05-28 Thread Robert Wildling

Thanks, Dmitry, for your response.

I already tried that extraQueryString, but couldn't get it to work. it 
would be great if you could provide for an example (here and in the 
manual). The information provided in the manual is not enough.


Thanks.
Robert



Have a look to the manual on page 9. It describes the extraQueryString
parameter. This is what you need to use.



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


[TYPO3-english] pagebrowse with search function - id gets lost

2012-05-27 Thread Robert Wildling

Hi,

i have a little search function set up on the page: 2 select boxes that 
define categories and subcategories ($cat, $prov). When nothing is 
selected, everything shall be displyed - and this is the scenario where 
everything works fine: the list is splitted up by Dmitiry Dulepo's 
pagebrowse extension.


But as soon as I have chosen a category, something is going wrong. The 
first result page shows correctly, and the debug statements show that 
the pagebrowser should calculate the correct number of pages. But as 
soon as I click on page 2, the settings for the chosen categories get 
lost and the list is again shown with all results.


I thought that I have to send the category values to the pagebrose 
function like this:


(myExt)
...
 function getPageBrowserContent($numberOfPages,$cat,$prov) {
$conf = $GLOBALS['TSFE']-tmpl-setup['plugin.']['tx_pagebrowse_pi1.'];
$conf += array(
  'pageParameterName' = $this-prefixId . '|page',
  'numberOfPages' = $numberOfPages,
  'category' = $cat,
  'province' = $prov
);
return $this-cObj-cObjGetSingle('USER', $conf);
}

and call it like that:

$pagebrowser = 
$this-getPageBrowserContent($this-conf['numberOfPages'], 
t3lib_div::_POST('category'), t3lib_div::_POST('province'));


but that doesn't do the job ('category' and 'province' resolve to NULL). 
Am I doing something wrong with the pagebrowse ext or is the error most 
likely somewhere else?


Thanks for your comments and ideas!
Regards,
Robert
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] [TYPO3-core] Announcing TYPO3 4.5.16, 4.6.9 and 4.7.1

2012-05-22 Thread Robert Wildling

Thank you!

I didn't find the time yet to check all the packages, all i realize now 
is that the link for the government package is the same as the one for 
the introduction package - is that on purpose? If so, why are they named 
the same???


Best regards,
Robert

Am 22.05.12 15:04, schrieb Xavier Perseguers:

Dear TYPO3 Users,

The TYPO3 Community has just released TYPO3 versions 4.5.16, 4.6.9 and
4.7.1 which are now ready for you to download. All versions are
maintenance releases and contain bug fixes only.

The packages can be downloaded here:
 http://typo3.org/download/

For details about the release, please see:
 http://typo3.org/news/article/typo3-4516-469-and-471-released/

and the according wiki pages:

 http://wiki.typo3.org/TYPO3_4.5.16
 http://wiki.typo3.org/TYPO3_4.6.9
 http://wiki.typo3.org/TYPO3_4.7.1

MD5 checksums:

84bc437571c5f3ce248583f58edc8c07  blankpackage-4.5.16.tar.gz
3426ebf2c3ca84c5557ec4a3c1c11a33  blankpackage-4.5.16.zip
d9f7b1948178aa1e82d55e96a2be7e0c  dummy-4.5.16.tar.gz
c4e6ed71ef4059e326926a50a00adf17  dummy-4.5.16.zip
eee8606af4892285898bad6f5f14250e  introductionpackage-4.5.16.tar.gz
1a60d285d3b5796c3d604c95bff7220f  introductionpackage-4.5.16.zip
948592a78d33241b90286d6ae8c3c290  typo3_src+dummy-4.5.16.zip
e8c54e1c3d5a3c11c802fbbe7a1b71c3  typo3_src-4.5.16.tar.gz
3c70017eaa851ac46ee1bf2a2373a44b  typo3_src-4.5.16.zip

22015d0f69bb220ed3d3b9d882517fce  blankpackage-4.6.9.tar.gz
48fee7d4adbaf14dbf2931e87fb81f48  blankpackage-4.6.9.zip
46ae82b26fd722f23dd233695693dd68  dummy-4.6.9.tar.gz
5992e195036630e77515478200dcbe24  dummy-4.6.9.zip
df9c874678772522dd91dde0e336b9ee  introductionpackage-4.6.9.tar.gz
05a7f40a742115d272806c780a5659ff  introductionpackage-4.6.9.zip
a2c73e13ce94aff5865b7eb9ad4eb7ed  typo3_src+dummy-4.6.9.zip
69dd6f277c739f741a0a2c3a39047117  typo3_src-4.6.9.tar.gz
898b155e1fd720f07bdd717f7db485ef  typo3_src-4.6.9.zip

bd8af8af81b826263bcf23a554685ad0  blankpackage-4.7.1.tar.gz
90b9dc27279eeff30f6a7a6b2677d878  blankpackage-4.7.1.zip
eb759c7e28a303671463bd06dcd8bb4d  dummy-4.7.1.tar.gz
545baff9d92c108dfd21f2b25f354d5f  dummy-4.7.1.zip
a3ac1050a7ac84c483bc9f83ddce8fa5  governmentpackage-4.7.1.tar.gz
893da405ea26baeb328c2600b24847ee  governmentpackage-4.7.1.zip
75f6749a7e520c1b5fa31a77c2919bfb  introductionpackage-4.7.1.tar.gz
9baa67c3981960a610d5f649835e6829  introductionpackage-4.7.1.zip
ad87f8787818ed503510f6c48f53d5fc  typo3_src+dummy-4.7.1.zip
e0a8674c3d77ba89c00a6be7f3f885b8  typo3_src-4.7.1.tar.gz
d0b76942b15336fd660d9234223922e7  typo3_src-4.7.1.zip


Kind regards,
Xavier

on behalf of the TYPO3 Release Team



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


Re: [TYPO3-english] [TYPO3-core] Announcing TYPO3 4.5.16, 4.6.9 and 4.7.1

2012-05-22 Thread Robert Wildling

Thank you guys!!! As always - you're AWESOME!!!

Am 22.05.12 19:49, schrieb Oliver Hader:

Hi Robert,

thanks for pointing this out - the links to the Government Package have
been fixed shortly after your post here in the list.

Cheers,
Olly

Am 22.05.12 15:53, schrieb Robert Wildling:

Thank you!

I didn't find the time yet to check all the packages, all i realize now
is that the link for the government package is the same as the one for
the introduction package - is that on purpose? If so, why are they named
the same???

Best regards,
Robert


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


Re: [TYPO3-english] config root url on localhost

2012-05-13 Thread Robert Wildling
Just to understand you correctly: in the folder get-started there are 
all the TYPO3 folders like fileadmin, t3lib, typo3, typo3conf ...?


How did you define your basURL TS?

Contants:
baseURL = localhost/typo3/4.6.7/get-started/

Setup:
config.baseURL = http://{$baseURL}
[globalString = IENV:TYPO3_SITE_URL=https://{$baseURL}]
config.baseURL = https://{$baseURL}
[global]




Hi! Robert,

I can login in backend now, but when I open frontend url as below, the css is 
missed.

http://localhost/typo3/4.6.7/get-started/

Thanks!

Jeson




  From: Robert Wildlingrobertwildl...@gmail.com
To: typo3-english@lists.typo3.org
Sent: Sunday, May 13, 2012 1:10 PM
Subject: Re: [TYPO3-english] config root url on localhost

You need to set a TS in the base setup of your installation - for which
you definately need to get into the backend:

Contants:
baseURL = www.yoursite.com

Setup:
config.baseURL = http://{$baseURL}
[globalString = IENV:TYPO3_SITE_URL=https://{$baseURL}]
config.baseURL = https://{$baseURL}
[global]

Why can you not login? Can you get into the install tool and create a
new backend user?


Robert



Hello!

Has anyone can tell me how to fix baseurl in the version of 4.6? The CSS is 
missing, and I can't login in BE too!

Thanks!

Jeson


___
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] tt_content - add new field via kickstarter - intergrate in standard render process

2012-05-13 Thread Robert Wildling
Ok, solved my stupid error, which was a misspelling of the database 
field. Sorry for flooding the list with this nonsense topic.


Cheers, Robert


Hi and good evening,

I asked this question already in the German list, but yet there is no
solution.

The situation is actually quite simple and I'm a bit ashamed to ask it
here - be genlte with me, please :-)

All I want to achieve is that a field, newly added to tt_content via
kickstarter, shall be rendered everywhere. I do not want to write new TS
for every content element to include its content. So I thought doing
something like this:

tt_content.header.5 = TEXT
tt_content.header.5 {
field = tx_neuesfeld
required = 1
}

might do the job. But no, it doesnÄt.
Then I found this post:

http://www.typo3.net/forum/beitraege/extensions_schreiben/99312/

but the solution posted there doesn't work eiter.

Can anybody help me understand, why this is NOT working? And what the
proper approach to a solution would be?

BTW - the code sample is included on the start page, where several TS
templates are loaded: the first one handles some configurations (among
them the code sample), the last one handles the page setup and content
rendering like ...MARKER  styles.content.get.

Thanks!
Best regards, Robert


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


[TYPO3-english] tt_content - add new field via kickstarter - intergrate in standard render process

2012-05-12 Thread Robert Wildling

Hi and good evening,

I asked this question already in the German list, but yet there is no 
solution.


The situation is actually quite simple and I'm a bit ashamed to ask it 
here - be genlte with me, please :-)


All I want to achieve is that a field, newly added to tt_content via 
kickstarter, shall be rendered everywhere. I do not want to write new TS 
for every content element to include its content. So I thought doing 
something like this:


tt_content.header.5 = TEXT
tt_content.header.5 {
  field = tx_neuesfeld
  required = 1
}

might do the job. But no, it doesnÄt.
Then I found this post:

http://www.typo3.net/forum/beitraege/extensions_schreiben/99312/

but the solution posted there doesn't work eiter.

Can anybody help me understand, why this is NOT working? And what the 
proper approach to a solution would be?


BTW - the code sample is included on the start page, where several TS 
templates are loaded: the first one handles some configurations (among 
them the code sample), the last one handles the page setup and content 
rendering like ...MARKER  styles.content.get.


Thanks!
Best regards, Robert
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] config root url on localhost

2012-05-12 Thread Robert Wildling
You need to set a TS in the base setup of your installation - for which 
you definately need to get into the backend:


Contants:
baseURL = www.yoursite.com

Setup:
config.baseURL = http://{$baseURL}
[globalString = IENV:TYPO3_SITE_URL=https://{$baseURL}]
config.baseURL = https://{$baseURL}
[global]

Why can you not login? Can you get into the install tool and create a 
new backend user?



Robert



Hello!

Has anyone can tell me how to fix baseurl in the version of 4.6? The CSS is 
missing, and I can't login in BE too!

Thanks!

Jeson


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


Re: [TYPO3-english] Flexform questions

2012-05-09 Thread Robert Wildling
Jigal - thank you VERY VERY MUCH!!! In general, my little scripts now 
works and thanks to your explanations I can read and understand the 
documentation better! Again: THANK YOU!!


Could you maybe help me understand the following behaviour?

When the debugging statement after the loop is commented out:

...
while ($row = $GLOBALS['TYPO3_DB']-sql_fetch_assoc($res)) {
$config['items'][] = array(0=$row['header'], 1=$row['uid']);
$i++;
}
--  debug($config['items'],'configItems',__LINE__, __FILE__,5);
return $config;
...


the debug page contains twice the same result. This does NOT happen, 
when only the first field is filled in in the flexform (which indicated 
the Page ID). But as soon as the second field (the column indicator) 
appears (ONLy appears, not even has a value), the debugger throughs 2x 
the same result.


The behaviour is the same, no matter how many more field I add to the 
Felxform...


Is this an expected behaviour? If so, why?


Thank you!
Regards,
Robert




Hi,

On 8-5-2012 23:56, Robert Wildling wrote:

I do have a script, but the return values are wrong - and I don't why.
The debug statements through the correct contents, but obviousely I am
putting them together in a wrong way... the multiselect result list is
filled with these 3 values:

Please choose...
A
A

I Have absolutely no idea where the 2 As come from...???

[...]

$optionList[$i] .= array(0=$row['header'], 1=$row['uid']); // -- here
sth is wrong!!!


The .= operator is a string operator, so it will treat the right side
argument as a string. The right side argument is an array and when cast
to a string it will result in Array.
$optionList[$i] is now a string with the value Array.

TYPO3 expects the items in the list to be arrays with two elements, the
first being the label, the second the value. It will probably just do
$item[0] to get the label. If you do this on a string it will result in
the first character and just display A.

Now for the solution. The $config array is passed as a reference which
makes it possible to directly write to it without using the intermediate
$optionList array.

In the while loop just use:
$config['items'][] = array($row['header'], $row['uid']);



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


Re: [TYPO3-english] Flexform questions

2012-05-08 Thread Robert Wildling

Please, I need your help:

For the displayCond part in a flexform I use the folloing script in the 
itemProcFunc:


?php
class tx_rwhandselectedcontent_addFieldsToFlexForm
{
function addFields ($config)
{   
$piValues  = t3lib_div::xml2array($config['row']['pi_flexform']);

// Werte in Variablen zwischenspeichern
$teaserPID = $piValues['data']['sDEF']['lDEF']['teaserPID']['vDEF'];
$col   = $piValues['data']['sDEF']['lDEF']['col']['vDEF'];

// Prepare SQL Statement to get all child pages of current page
$queryParts['SELECT'] = '*';
$queryParts['FROM'] = 'tt_content';
$queryParts['WHERE'] = pid= . $teaserPID . ' AND colPos=' . $col;
$queryParts['GROUPBY'] = '';
$queryParts['SORTING'] = 'crdate';
$queryParts['LIMIT'] = '';

$res = $GLOBALS['TYPO3_DB']-exec_SELECTquery(
$queryParts['SELECT'],
$queryParts['FROM'],
$queryParts['WHERE'],
$queryParts['GROUPBY'],
$queryParts['SORTING'],
$queryParts['LIMIT']
);

$optionList = array();
$optionList[0] = array(Please choose...,0);
$i=1;

while ($row = $GLOBALS['TYPO3_DB']-sql_fetch_assoc($res)) {
$optionList[$i] .= array($row['header'], $row['uid']);
$i++;
}

$GLOBALS['TYPO3_DB']-sql_free_result($res);

//debug($config,'configItems',__LINE__, __FILE__,5);
$config['items'] = array_merge($config['items'],$optionList);
return $config;
}
}
?


The result is:
Please choose...
A
A


If I exchange the script according to this source:
http://wiki.typo3.org/wiki/Extension_Development,_using_Flexforms#Dynamic_Data_in_Flexforms

everything works fine - it is just not dynamic.

What is wrong here?
And where can I please find any documention about what to return to a 
select field in a flexform? Or an input field or any other field? I just 
don't know why this return value has to look as it looks now...


Furthermore: on debugging anything (like debug($config,'config')) every 
debug result is generated twice... as if there was a loop over two 
items, but there isn't... ???



This is the FF as it is written in the flexform_ds.xml:

T3DataStructure
meta
langDisable1/langDisable
/meta
sheets
sDEF
ROOT
TCEforms
		 
sheetTitleLLL:EXT:rwhandselectedcontent/locallang_tca.xml:title/sheetTitle

/TCEforms
typearray/type
el

teaserPID
TCEforms
onChangereload/onChange

labelLLL:EXT:rwhandselectedcontent/locallang_tca.xml:teaserPID/label
config
typeinput/type
size8/size
max8/max
evaltrim/eval
/config
/TCEforms
/teaserPID



infoOne
TCEforms

displayCondFIELD:teaserPID:IN:0,NULL,''/displayCond

labelLLL:EXT:rwhandselectedcontent/locallang_tca.xml:infoOne/label
/TCEforms
/infoOne



col
TCEforms

displayCondFIELD:teaserPID:!IN:0,NULL/displayCond

labelLLL:EXT:rwhandselectedcontent/locallang_tca.xml:col/label
config
typeinput/type
size8/size
max8/max
evaltrim/eval
autoSizeMax10/autoSizeMax

itemListStylewidth:250px/itemListStyle
/config
/TCEforms
/col



infoTwo
TCEforms
displayCondFIELD:col:=:0/displayCond

labelLLL:EXT:rwhandselectedcontent/locallang_tca.xml:infoTwo/label
/TCEforms
/infoTwo



contents
TCEforms
displayCondFIELD:col:!=:0/displayCond

labelLLL:EXT:rwhandselectedcontent/locallang_tca.xml:contents/label
config
typeselect/type
multiple1/multiple

Re: [TYPO3-english] Flexform questions

2012-05-08 Thread Robert Wildling

Please, I need your help:

For the displayCond part in a flexform I use the folloing script in the 
itemProcFunc:


?php
class tx_rwhandselectedcontent_addFieldsToFlexForm
{
function addFields ($config)
{   
$piValues  = t3lib_div::xml2array($config['row']['pi_flexform']);

// Werte in Variablen zwischenspeichern
$teaserPID = $piValues['data']['sDEF']['lDEF']['teaserPID']['vDEF'];
$col   = $piValues['data']['sDEF']['lDEF']['col']['vDEF'];

// Prepare SQL Statement to get all child pages of current page
$queryParts['SELECT'] = '*';
$queryParts['FROM'] = 'tt_content';
$queryParts['WHERE'] = pid= . $teaserPID . ' AND colPos=' . $col;
$queryParts['GROUPBY'] = '';
$queryParts['SORTING'] = 'crdate';
$queryParts['LIMIT'] = '';

$res = $GLOBALS['TYPO3_DB']-exec_SELECTquery(
$queryParts['SELECT'],
$queryParts['FROM'],
$queryParts['WHERE'],
$queryParts['GROUPBY'],
$queryParts['SORTING'],
$queryParts['LIMIT']
);

$optionList = array();
$optionList[0] = array(Please choose...,0);
$i=1;

while ($row = $GLOBALS['TYPO3_DB']-sql_fetch_assoc($res)) {
$optionList[$i] .= array($row['header'], $row['uid']);
$i++;
}

$GLOBALS['TYPO3_DB']-sql_free_result($res);

//debug($config,'configItems',__LINE__, __FILE__,5);
$config['items'] = array_merge($config['items'],$optionList);
return $config;
}
}
?


The result is:
Please choose...
A
A


If I exchange the script according to this source:
http://wiki.typo3.org/wiki/Extension_Development,_using_Flexforms#Dynamic_Data_in_Flexforms

everything works fine - it is just not dynamic.

What is wrong here?
And where can I please find any documention about what to return to a 
select field in a flexform? Or an input field or any other field? I just 
don't know why this return value has to look as it looks now...


Furthermore: on debugging anything (like debug($config,'config')) every 
debug result is generated twice... as if there was a loop over two 
items, but there isn't... ???



This is the FF as it is written in the flexform_ds.xml:

T3DataStructure
meta
langDisable1/langDisable
/meta
sheets
sDEF
ROOT
TCEforms
		 
sheetTitleLLL:EXT:rwhandselectedcontent/locallang_tca.xml:title/sheetTitle

/TCEforms
typearray/type
el

teaserPID
TCEforms
onChangereload/onChange

labelLLL:EXT:rwhandselectedcontent/locallang_tca.xml:teaserPID/label
config
typeinput/type
size8/size
max8/max
evaltrim/eval
/config
/TCEforms
/teaserPID



infoOne
TCEforms

displayCondFIELD:teaserPID:IN:0,NULL,''/displayCond

labelLLL:EXT:rwhandselectedcontent/locallang_tca.xml:infoOne/label
/TCEforms
/infoOne



col
TCEforms

displayCondFIELD:teaserPID:!IN:0,NULL/displayCond

labelLLL:EXT:rwhandselectedcontent/locallang_tca.xml:col/label
config
typeinput/type
size8/size
max8/max
evaltrim/eval
autoSizeMax10/autoSizeMax

itemListStylewidth:250px/itemListStyle
/config
/TCEforms
/col



infoTwo
TCEforms
displayCondFIELD:col:=:0/displayCond

labelLLL:EXT:rwhandselectedcontent/locallang_tca.xml:infoTwo/label
/TCEforms
/infoTwo



contents
TCEforms
displayCondFIELD:col:!=:0/displayCond

labelLLL:EXT:rwhandselectedcontent/locallang_tca.xml:contents/label
config
typeselect/type
multiple1/multiple

Re: [TYPO3-english] Flexform questions

2012-05-08 Thread Robert Wildling

Really nobody who could help here?



Hi,

A Flexform shall eventually have 3 fields, one showing after the other
as soon as the previous one has a value.

This is step one:

teaserPID
TCEforms
onChangereload/onChange
labelSelect Page (pid)/label
config
typeinput/type
/config
/TCEforms
/teaserPID

infoOne
TCEforms
displayCondFIELD:teaserPID:=:0/displayCond
labelSave to enable new fileds/label
config
typenone/type
/config
/TCEforms
/infoOne


My question here is:

1. At the moment, infoOne evaluates against a value of 0 of teaserPID
and decides upon that whether to display or not. But what if teaserPID
has no value at all? I tried:

FIELD:teaserPID:IN:0,NULL,''

but that just doesn't work, and even though I studied the
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.2.0/view/4/2/
I couldn't find a solution. What am I supposed to do here?


The next step would be to show a field that reads the contents from the
table with the pid given in teaserPID in form of a database relation (an
empty select box next to a selectbox with a list of content elements to
choose from). Here I am totally stuck. The only entry in the Core
documentation that can be found when searching for database relation is
under allowNonIdValues ...

I have a feeling that a script is needed like in tt_news, but I can
nowhere find a description of how and why and some hints etc...

Can anybody point please me to a tutorial?

Any help is greatly appreciated!
Thanks!

Regards,
Robert



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


Re: [TYPO3-english] Renaming an extension - SOLVED

2012-05-08 Thread Robert Wildling

Good to know! Thanks for posting.
I was just considering whether the md5_values_last_written entries might 
be responsible for finding the correct values in the wizard_doc files... 
(ext_emconf.php)


Cheers!



Kickstarter is working fine, now.

First, I've copied old wizard_form.dat and wizard_form.html (containing
old extension names) inside new extension.
Second, I've used kickstarter to change names, and saved it.

Now it works, I've changed extension name and kickstarter works with new
name.

Regards,

Tonino


Il 07/05/2012 23:20, Tonix (Antonio Nati) ha scritto:

I have both wizard_form.dat and wizard_form.html.
I changed inside them all references from old extension to new
extension, but it is like they don't exist.

Is there anything else besides these two files?

Regards,

Tonino


Il 07/05/2012 20:33, Robert Wildling ha scritto:

To see the structure of an ext in kcikstarter, you need the
wizard_form.dat and wizard_form.html files in the doc folder. If they
are not there, you won't see anything. Unfortunately I don't know if
those specific files can be regenreated...

Regards,
Robert


Thanks to your and other answer.

I did already what you suggest, before posting, and all worked nicely,
except there is no way to see the new extension inside kickstarter.

In whatever mode I rename (copy and rename) the extension, then
finally,
when, using extension manager, I select 'Edit in Kickstarter', I don't
see anything of setup the extension should have (the same setup of old
extension).

No general info, no typoscript code, no frontend plugins.

How to make this rename effective, using kickstarter on new renamed
extension?

Regards,

Tonino



Il 03/05/2012 01:33, Richard Davies ha scritto:

Hi,

It depends what you mean. If you just want the name itself to be
different,
change title in ext_emconf.php. If you want to change the whole
thing so
you can have two running, basically cloning an extension, this is what
I do:
If you have an extension called test_ext, and want to name it
other_ext,

- Search replace through extension files,
- search for 'test_ext', replace with 'other_ext'.
- search for 'testext', replace with 'otherext'
- Search replace the extension filenames,
- search for 'test_ext', replace with 'other_ext'.
- search for 'testext', replace with 'otherext'
- Rename title in ext_emconf
- If you are doing so on an installed extension, rename the extension
tables (in mysql use RENAME TABLE
http://dev.mysql.com/doc/refman/5.0/en/rename-table.html)
- Clear cache
- (Re)Install extension as it was the 'old' extension that was
installed

I still work with pi_base extensions so I don't know if there are any
extra
quirks in extbase extensions.

Richard


On 3 May 2012 11:22, Tonix (Antonio Nati)to...@interazioni.it wrote:


I need to rename a working extension.
Is there a guide explaining which steps must be followed?
Did someone already try this change?

Regards,

Tonino

--
--**--
Inter@zioni Interazioni di Antonio Nati
http://www.interazioni.it to...@interazioni.it
--**--

__**_
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**englishhttp://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






___
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] Flexform questions

2012-05-08 Thread Robert Wildling

Thank you so much for responding, Jigal!

I do have a script, but the return values are wrong - and I don't why. 
The debug statements through the correct contents, but obviousely I am 
putting them together in a wrong way... the multiselect result list is 
filled with these 3 values:


Please choose...
A
A

I Have absolutely no idea where the 2 As come from...???

This is the script - maybe you find a moment ... thanks!



?php
class tx_rwhandselectedcontent_addFieldsToFlexForm
{

  function addFields ($config)
  { 
// fetch values from FlexForm
$piValues  = t3lib_div::xml2array($config['row']['pi_flexform']);

// extract the reqired data into 2 variables
$teaserPID = $piValues['data']['sDEF']['lDEF']['teaserPID']['vDEF'];
$col   = $piValues['data']['sDEF']['lDEF']['col']['vDEF'];

//debug($piValues,'FELXFORM-VALUES',__LINE__, __FILE__,5);
//debug($teaserPID,'TEASER-PID',__LINE__, __FILE__,5);
//debug($col,'COL-NR',__LINE__, __FILE__,5);
  	//debug($GLOBALS['TYPO3_DB'],'GLOBALS[TYPO3_DB]',__LINE__, 
__FILE__,5);


  	// Prepare SQL Statement to get all child pages of current page 
(parentPID)

$queryParts['SELECT'] = '*';
$queryParts['FROM'] = 'tt_content';
$queryParts['WHERE'] = pid= . $teaserPID . ' AND colPos=' . $col;
$queryParts['GROUPBY'] = '';
$queryParts['SORTING'] = 'crdate';
$queryParts['LIMIT'] = '';

$res = $GLOBALS['TYPO3_DB']-exec_SELECTquery(
$queryParts['SELECT'],
$queryParts['FROM'],
$queryParts['WHERE'],
$queryParts['GROUPBY'],
$queryParts['SORTING'],
$queryParts['LIMIT']
);
//$num = $GLOBALS['TYPO3_DB']-sql_num_rows($res);

$optionList = array();
$optionList[0] = array(Please choose...,0);
$i=1;

while ($row = $GLOBALS['TYPO3_DB']-sql_fetch_assoc($res)) {
//$header = $row['header'];
//$index = $row['uid'];
//debug($header,'header',__LINE__,__FILE__,5)
//   - debug shows correct values

//$optionList[$i] .= array($header, $index);
  		$optionList[$i] .= array(0=$row['header'], 1=$row['uid']); // 
-- here sth is wrong!!!


  		$optionList[$i] .= array(0=$row['header'], 
1=$row['uid']); // -- doesn't work either ...


$i++;
}

$GLOBALS['TYPO3_DB']-sql_free_result($res);

$config['items'] = array_merge($config['items'],$optionList);

  	//debug($optionList['0']['1'],'optionList',__LINE__, 
__FILE__,5); // - throws NULL

//debug($config['items'],'configItems',__LINE__, __FILE__,5);

return $config;
}
}
?



The next step would be to show a field that reads the contents from the
table with the pid given in teaserPID in form of a database relation (an
empty select box next to a selectbox with a list of content elements to
choose from). Here I am totally stuck. The only entry in the Core
documentation that can be found when searching for database relation is
under allowNonIdValues ...


I think there is enough information in the thread you linked in one of
your answers to the original question. You can populate the field with a
custom function using itemsProcFunc and retrieve the value of your
teaserPID using the code in François's answer.



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

[TYPO3-english] Flexform questions

2012-05-07 Thread Robert Wildling

Hi,

A Flexform shall eventually have 3 fields, one showing after the other 
as soon as the previous one has a value.


This is step one:

teaserPID
TCEforms
onChangereload/onChange
labelSelect Page (pid)/label
config
typeinput/type
/config
/TCEforms
/teaserPID

infoOne
TCEforms
displayCondFIELD:teaserPID:=:0/displayCond
labelSave to enable new fileds/label
config
typenone/type
/config
/TCEforms
/infoOne


My question here is:

1. At the moment, infoOne evaluates against a value of 0 of teaserPID 
and decides upon that whether to display or not. But what if teaserPID 
has no value at all? I tried:


FIELD:teaserPID:IN:0,NULL,''

but that just doesn't work, and even though I studied the 
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.2.0/view/4/2/ 
I couldn't find a solution. What am I supposed to do here?



The next step would be to show a field that reads the contents from the 
table with the pid given in teaserPID in form of a database relation (an 
empty select box next to a selectbox with a list of content elements to 
choose from). Here I am totally stuck. The only entry in the Core 
documentation that can be found when searching for database relation is 
under allowNonIdValues ...


I have a feeling that a script is needed like in tt_news, but I can 
nowhere find a description of how and why and some hints etc...


Can anybody point please me to a tutorial?

Any help is greatly appreciated!
Thanks!

Regards,
Robert

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


Re: [TYPO3-english] Flexform questions

2012-05-07 Thread Robert Wildling

OK, i had some progress thanks to this site:
http://wiki.typo3.org/wiki/Extension_Development,_using_Flexforms

I am now looking for a possibility to load the so-far saved flexform 
values into that respective BE form to read the content of the chosen table.


The functions that are used for the FE don't seem to work in the backend:

$this-pi_initPIflexForm(); // Init and get the flexform data of the plugin

Is there a way to do that?

Thanks!





Hi,

A Flexform shall eventually have 3 fields, one showing after the other
as soon as the previous one has a value.

This is step one:

teaserPID
TCEforms
onChangereload/onChange
labelSelect Page (pid)/label
config
typeinput/type
/config
/TCEforms
/teaserPID

infoOne
TCEforms
displayCondFIELD:teaserPID:=:0/displayCond
labelSave to enable new fileds/label
config
typenone/type
/config
/TCEforms
/infoOne


My question here is:

1. At the moment, infoOne evaluates against a value of 0 of teaserPID
and decides upon that whether to display or not. But what if teaserPID
has no value at all? I tried:

FIELD:teaserPID:IN:0,NULL,''

but that just doesn't work, and even though I studied the
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.2.0/view/4/2/
I couldn't find a solution. What am I supposed to do here?


The next step would be to show a field that reads the contents from the
table with the pid given in teaserPID in form of a database relation (an
empty select box next to a selectbox with a list of content elements to
choose from). Here I am totally stuck. The only entry in the Core
documentation that can be found when searching for database relation is
under allowNonIdValues ...

I have a feeling that a script is needed like in tt_news, but I can
nowhere find a description of how and why and some hints etc...

Can anybody point please me to a tutorial?

Any help is greatly appreciated!
Thanks!

Regards,
Robert



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


Re: [TYPO3-english] Renaming an extension

2012-05-07 Thread Robert Wildling
To see the structure of an ext in kcikstarter, you need the 
wizard_form.dat and wizard_form.html files in the doc folder. If they 
are not there, you won't see anything. Unfortunately I don't know if 
those specific files can be regenreated...


Regards,
Robert


Thanks to your and other answer.

I did already what you suggest, before posting, and all worked nicely,
except there is no way to see the new extension inside kickstarter.

In whatever mode I rename (copy and rename) the extension, then finally,
when, using extension manager, I select 'Edit in Kickstarter', I don't
see anything of setup the extension should have (the same setup of old
extension).

No general info, no typoscript code, no frontend plugins.

How to make this rename effective, using kickstarter on new renamed
extension?

Regards,

Tonino



Il 03/05/2012 01:33, Richard Davies ha scritto:

Hi,

It depends what you mean. If you just want the name itself to be
different,
change title in ext_emconf.php. If you want to change the whole thing so
you can have two running, basically cloning an extension, this is what
I do:
If you have an extension called test_ext, and want to name it other_ext,

- Search replace through extension files,
- search for 'test_ext', replace with 'other_ext'.
- search for 'testext', replace with 'otherext'
- Search replace the extension filenames,
- search for 'test_ext', replace with 'other_ext'.
- search for 'testext', replace with 'otherext'
- Rename title in ext_emconf
- If you are doing so on an installed extension, rename the extension
tables (in mysql use RENAME TABLE
http://dev.mysql.com/doc/refman/5.0/en/rename-table.html)
- Clear cache
- (Re)Install extension as it was the 'old' extension that was installed

I still work with pi_base extensions so I don't know if there are any
extra
quirks in extbase extensions.

Richard


On 3 May 2012 11:22, Tonix (Antonio Nati)to...@interazioni.it wrote:


I need to rename a working extension.
Is there a guide explaining which steps must be followed?
Did someone already try this change?

Regards,

Tonino

--
--**--
Inter@zioni Interazioni di Antonio Nati
http://www.interazioni.it to...@interazioni.it
--**--

__**_
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**englishhttp://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






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


Re: [TYPO3-english] Flexform questions

2012-05-07 Thread Robert Wildling

This helped:
http://old.nabble.com/FlexForm-Help-td15509897.html

(in case somebody else needs it; seems to be a not very well documented 
feature...)


Thanks, Francois Suter!


Hi,

A Flexform shall eventually have 3 fields, one showing after the other
as soon as the previous one has a value.

This is step one:

teaserPID
TCEforms
onChangereload/onChange
labelSelect Page (pid)/label
config
typeinput/type
/config
/TCEforms
/teaserPID

infoOne
TCEforms
displayCondFIELD:teaserPID:=:0/displayCond
labelSave to enable new fileds/label
config
typenone/type
/config
/TCEforms
/infoOne


My question here is:

1. At the moment, infoOne evaluates against a value of 0 of teaserPID
and decides upon that whether to display or not. But what if teaserPID
has no value at all? I tried:

FIELD:teaserPID:IN:0,NULL,''

but that just doesn't work, and even though I studied the
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.2.0/view/4/2/
I couldn't find a solution. What am I supposed to do here?


The next step would be to show a field that reads the contents from the
table with the pid given in teaserPID in form of a database relation (an
empty select box next to a selectbox with a list of content elements to
choose from). Here I am totally stuck. The only entry in the Core
documentation that can be found when searching for database relation is
under allowNonIdValues ...

I have a feeling that a script is needed like in tt_news, but I can
nowhere find a description of how and why and some hints etc...

Can anybody point please me to a tutorial?

Any help is greatly appreciated!
Thanks!

Regards,
Robert



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


Re: [TYPO3-english] pagebrowse

2012-05-04 Thread Robert Wildling
Well... really simple ... probably for an experienced EXT developer, but 
not for a newbie. EG: where is one expected to put that code snippet of 
getListGetPageBrowser?
When I put it in my pi1-class, I get an error about some undefined 
class. But pagebrowse is installed, and - if I understand the code 
correctly, I do not have to include anymore classes at the top of my 
extention class, right?


Thanks so much for your feedback - I hope you stick with me for a little 
while! Also, did you by any chance have the possibility to text 
pagebrowse on TYPO3 4.6.*? Because the installer says it is only allowed 
to install until v4.5.9 ...???


Cheers!
Robert



Hi, Robert.


Can anybody please point me to a step-by-step tutorial of how to
implement Dmitiris pagebrowse - or even the TYPO3-regular one from the
piBase? I really don't know how to search anymore...


Simply use code of method 'getListGetPageBrowser()' from manual and pass
number of pages as reference. You can calculate number of pages, by
selecting count of your records and dividing it to number of results per
page.
Really simple.


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


[TYPO3-english] pagebrowse

2012-05-03 Thread Robert Wildling

Hi,
I am one of those newbies in EXT development. Digging through Dmitiris 
book and tons of google results, I am still too unexperienced to be able 
to handle the pagebrowse extension and what the manual says.


Can anybody please point me to a step-by-step tutorial of how to 
implement Dmitiris pagebrowse - or even the TYPO3-regular one from the 
piBase? I really don't know how to search anymore...


Thank you!
Regards,
Robert
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Looking for a Gallery - Tips welcome

2012-03-25 Thread Robert Wildling

Hi,

Does anybody of you know of a gallery ext that enables an admin to 
define for EACH individual image element whether its text div should 
float left or right over the picture?


At the moment, I find very nice ext, like t3s_jslidernews or 
jfmulticontent. But their kind of semi-global settings allow only for 
a configuration that affect all elements of the content element at once.


If not, how would you approach a solution? The way i see it requires a 
2-step administration implementation: first upload and save the iamges, 
only then there is a left-right choice for each image element 
available... right? Or would you misuse an existing field like the 
longdescr to input one term per line (right, left) and wrap those values 
via TS?


I'd be happy to read your opinions!
Thanks!
Robert
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Injecting new attributes to link tag

2012-03-19 Thread Robert Wildling

Hi, Francois,

Thank you for sticking with me through this!!! It really means a lot to me!

(The title-problem is not a problem, i just thought that
tt_content.image.20.1.imageLinkWrap.linkParams.ATagParams 
should actually stop rendering title-Attribute, but it doesn't. Let's 
just forget about that...)


As for the other stuff: I finally realized, why it didn't work for me:

Everything works fine as long as the Images link to themselves. But as 
soon as I fill in the Links field in the Behavior field with some 
other images , the links will not be generated anymore.


I tried
...directImageLink = 0 / 1
but without any consequences...

I work myself through the TypoScript Oject Browser and the 
css-styled-content --- but I can't find the place, where the choice, 
which image gets linked, is made. Can you help me once more?


Thank you very much again!
Robert



Thank you - that looks great!
Unfortunately I can't get it to work. Could you?


Yes, it worked for me, I could add data-lightview-caption attribute with
the proper value on every link. But I'm not sure understand what's
working or not for you. Do you have the data-lightview-caption
attribute? And your problem is to remove the title attribute, but then
you mention using:

tt_content.image.20.1.titleInLink = 0

What's your problem exactly?

Cheers



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


Re: [TYPO3-english] Injecting new attributes to link tag

2012-03-19 Thread Robert Wildling

YOU ARE MY MOST FAVOURED FRANCOIS I KNOW

Thank you thank you thank you!!

I actually was just about to post my solution, which is the same as 
yours and which I found because of your explanation only!!! You tought 
me a lot and gave me a good insight into TS. Thank you!!


All i did different was changing the double quotes do single quotes:
10.noTrimWrap = | data-lightview-caption='|'|

and
10.stripHtml = 0

That enables the use of HTML Tags ( which renderes double quotes eg when 
using a-tags for links), which then show nicely in the gallery. Of 
course they most probably aren't W3C compatible - I didn't check that yet...


Francois - You are my Hero!!!
THANK YOU VERY VERY MUCH!



Am 19.03.12 14:18, schrieb François Suter:

Hi Robert,


Everything works fine as long as the Images link to themselves. But as
soon as I fill in the Links field in the Behavior field with some
other images , the links will not be generated anymore.


What a surprising behavior ;-) I've got it working, but that was a tough
one. As you found out indeed, when the image does not link to itself,
only the typolink property of imageLinkWrap is used. This is
actually more or less what is stated in the TSref, but not in a very
understandable way.

So your initial idea was good, but I had changed it because I was
linking to the images themselves (what a confusion!). Here's the code
that works for me:

tt_content.image.20.1.imageLinkWrap.typolink.ATagParams.cObject = COA
tt_content.image.20.1.imageLinkWrap.typolink.ATagParams.cObject {
10  tt_content.image.20.1.altText
10.noTrimWrap = | data-lightview-caption=||
}

HTH



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

Re: [TYPO3-english] Injecting new attributes to link tag

2012-03-18 Thread Robert Wildling

Nobody?

Am 16.03.12 14:46, schrieb Robert Wildling:

Hi Björn,


tt_content.image.20.1.imageLinkWrap.typolink.ATagParams.dataWrap =
class=lightview data-lightview-group={field:header}
data-lightview-title={field:titleText[current]}
data-lightview-caption={field:imagecaption}


Hi,
field:titleText[current] is normally not correct without processing as
you found out. have a look at the standard csc TS for images to find
out how you have to split the captions.

Björn


Hi Björn,

Thanks for your response!
I did check the standard TS processing, but I have no idea how i can add
the result to a new a-tag attribute.

ATagParams has no stdWrap funcitonality, does it? Otherwise a thing like
this could be possible:

tt_content.image.20.1.[...].ATagParams.stdWrap = COA
tt_content.[...].ATagParams {
10 = TEXT
10.value = [...].altText
10.wrap = data-lightview-caption=|
}

I'd really appreciate your help! Thanks!


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

Re: [TYPO3-english] Injecting new attributes to link tag

2012-03-18 Thread Robert Wildling
Well, thanks for responding, but not reading the thread and just posting 
sth is - to be honest - not much of a help.


I kow about the stdWrap, I know how the altText and titleText are 
rendered in the standard TypoSrcipt, I know how to generally inject new 
attributes to a a-Tag.


But I still don't know how to assign the, e.g., 5th value of the 
altText-contents to a new a-Tag attribute, when the IMAGE CE consists 
of, e.g., 10 images total with each having a different titel, alt, 
longdescr and caption text.


Since there is HTML5 with new attributes based on data-*** this seems to 
be a very important topic. So I ask you, TYPO3-Gurus out there: how can 
this problem be solved? How do you handle data-***-attributes in your 
TYPO3 website solutions?


Thanks!
Robert




Hi Robert,


ATagParams has no stdWrap funcitonality, does it? Otherwise a thing like
this could be possible:


I didn't follow the whole thread, but since TYPO3 4.5, all TS properties
have stdWrap (except for some forgotten ones ;-) ). ATagParams
definitely has, by checking in the source code, so you should give it a
try (if you're running 4.5+).

Cheers



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


Re: [TYPO3-english] Powermail problem - session problem?

2012-03-18 Thread Robert Wildling

A well-known probelm without a real solution...

Just some ideas:

Did you try
plugin.powermail.clear.session = 1
(doesn't really reset all forms on all sites)

With FE-User Management:
Shorten the Session settings in the install tool?

On pages with form insert an additional TS Snippet:
page.headerData.10 = TEXT
page.headerData.10.value = meta http-equiv=expires content=0

Or via edit page: - Behaviour -Caching: Cache Life Time - disable

Sometimes it is also the setting of the browser itself (automatic 
prefill, e.g.)


Easy way: include a Reset-button in each form

Good luck!



Am 18.03.12 19:11, schrieb Brian Bendtsen:

Hi

I have a site that runs TYPO3 4.5.12 and powermail 1.6.3. I have a lot
of powermail forms on the site. The problem is that when I send data
using one form the email/database entry looks fine, but sending another
form afterwards the fields form prior form is appended to the
email/database entry in this form.

It has something to do with session data. I have tried deleting session
cookies after sending form one and then the second email/database entry
looks fine.

Any advice?



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


[TYPO3-english] Injecting new attributes to link tag

2012-03-16 Thread Robert Wildling

Hi,

I posted this message some days ago in the wrong forum; here it should 
be right; sorry!)


I am looking for a way to inject new attributes to the Image link 
wrapper, or in general to a typolink script.


The intergration of the photo gallery Lightview requests special a-tag 
attributes like data-lightview-group, data-lightview-title etc.


All the wrapping can easily be done by manipulating the CE IMAGES, which 
shall be used. The titleText should be mapped to data-lightview-title, 
the caption to data-lightview-caption. This line at least groups the 
images together:


tt_content.image.20.1.imageLinkWrap.typolink.ATagParams.dataWrap = 
class=lightview data-lightview-group={field:header} 
data-lightview-title={field:titleText[current]} 
data-lightview-caption={field:imagecaption}


...but of course on title of one picture suddenly holds all the titles 
that where entered in the respective field.


Can the altText be assigned to another attribute, holding the correct 
reference to the caption and other text snippets of a picture? How would 
you solve that problem?


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


Re: [TYPO3-english] Injecting new attributes to link tag

2012-03-16 Thread Robert Wildling

Hi Björn,


tt_content.image.20.1.imageLinkWrap.typolink.ATagParams.dataWrap =
class=lightview data-lightview-group={field:header}
data-lightview-title={field:titleText[current]}
data-lightview-caption={field:imagecaption}


Hi,
field:titleText[current] is normally not correct without processing as
you found out.  have a look at the standard csc TS for images to find
out how you have to split the captions.

Björn


Hi Björn,

Thanks for your response!
I did check the standard TS processing, but I have no idea how i can add 
the result to a new a-tag attribute.


ATagParams has no stdWrap funcitonality, does it? Otherwise a thing like 
this could be possible:


tt_content.image.20.1.[...].ATagParams.stdWrap = COA
tt_content.[...].ATagParams {
10 = TEXT
10.value = [...].altText
10.wrap = data-lightview-caption=|
}

I'd really appreciate your help! Thanks!
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] remove general plugin div-wrapper

2012-03-14 Thread Robert Wildling

Thank you, Xavier!

Am 13.03.12 18:21, schrieb Xavier Perseguers:

Hi,


I saw the patch already. At the moment I am digging through how to
handle diff files. Being on a Mac I learned that FileMerge is good,
which now seems to be integrated into Xcode.

What do you work with? Do you have any recommendations?


Use the command-line:

$ cd /path/to/typo3_src
$ patch -p0 --dry-run  /path/to/patch.diff

and remove --dry-run if it applies properly.

HTH



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


[TYPO3-english] remove general plugin div-wrapper

2012-03-13 Thread Robert Wildling

Hi,

Usually, all plugins are wrapped in their respective 
basis-div-container, like div class=tx-jfmulticontent-pi1.


My question is: can these be removed?

They come in quite unhandy, when a layout is finished and then needs to 
be integrated into TYPO3, where each and every plugin brings in its own 
game...


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


Re: [TYPO3-english] remove general plugin div-wrapper

2012-03-13 Thread Robert Wildling

Thanks, Jigal! (Would like to know how oyour name shall be pronounced ...)

I saw the patch already. At the moment I am digging through how to 
handle diff files. Being on a Mac I learned that FileMerge is good, 
which now seems to be integrated into Xcode.


What do you work with? Do you have any recommendations?

Thanks!
Robert


Am 13.03.12 16:44, schrieb Jigal van Hemert:

Hi,

On 13-3-2012 14:49, Robert Wildling wrote:

Usually, all plugins are wrapped in their respective
basis-div-container, like div class=tx-jfmulticontent-pi1.

My question is: can these be removed?


There is a patch which just misses feature freezes for a number of
releases over the past years [1].

Maybe we can prepare it now in time for 4.8? :-)

[1] http://forge.typo3.org/issues/19809



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


[TYPO3-english] T3 4.6 New form ext

2011-12-06 Thread Robert Wildling

Hi,

Does anybody know how to turn off the automatic implementation of the 
default CSS file from the new form extension?


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


[TYPO3-english] tinymce_rte and Flash

2011-12-01 Thread Robert Wildling

Hi,

I'd like to include a Flash video via tinymce_rte (tt_news), but no 
media element is ever saved, meaning: the content area, where I inserted 
the flash file, is empty again after saving.


Anybody knows what could be wrong here?

tinymce_rte setting:
full
updated everything
no configuration at all in PageTS

Thanks for your help!
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] (no subject)

2011-12-01 Thread Robert Wildling
Ihad the same troubles, and in all cases it was a wrong file path or 
some other kind of wrong spelling. Are you sure your paths and file 
names are correct?


Am 01.12.11 11:47, schrieb Morten Hagh:

Hi list,

I have a weird issue. I am trying to include some JS files to the bottom
of the page with includeJSFooter but no files are included, neither with
includeJS. I am also using includeCSS and that works without any problems.
Anyone knows what might cause this?


/Morten Hagh



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


Re: [TYPO3-english] Typogento?

2011-11-25 Thread Robert Wildling

Hi, Giuseppe,


Multistore?


I meant Multistore - sorry!


And what about tt-product


I worked through the book that is available at OpenSource Press - but it 
not easy to work with. And the book itself says that it is not done for 
large stores... Also, a category system still seems to be missing...



Good luck!
Robert


We don't have enough to be newbies in Typo3, and don't understand it
totally (Drupal/Joomla background), to have problems with shop systems
too :P


Drupal has also a commerce extension! It is actually by the same 
developer, who did Uebercart and seems to get very positive response. 
The Drupal commerce module makes more use of the Views system, which 
is now more integrated into the core of Drupal 7. I'd recommend to check 
that one, if you have a Drupal background...

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


Re: [TYPO3-english] Typogento?

2011-11-24 Thread Robert Wildling

Hi, Giuseppe,

I just spend about 6 months with finding out how to setup a working shop 
within TYPO3 that is also meeting the e-commerce laws on the German and 
Austrianmarket. Unfortunately I must say, the shop extensions are all 
problematic.


commerce, which still offers the most possibilities with a typical 
TYPO3-use-and-feel, is maintained in the SVN, but still very toublesome 
in some respects such as weight-dependent shipping, additional rates for 
PayPal (eg) and a general keeping up-to-date with the actual TYPO3 core 
(lots of deprecated code).


You may want to have a look at Multistore. Documentation is not too 
good, but the extensions is quite fabulous, even though the idea of 
frontend editing brings problems with it as soon as you use fixed 
containers and z-indexes (some editing areas disappear behind the layout).


Otherwise - that was my way to go - xtcmodified is very good, expecially 
the implementation of layout is awysomely easy. So once you have your 
index template in TYPO3, you can use it there.


But it will need some hand work, eg to make it utf8 throughout (the 
title tag is a problem...), or some parts even need fooling around in 
the core files...


But it has lots of features that work very fine and make up for the 
extra effort.


Good luck!
Robert




Hi!

Andreas Becker wrote:

Wir haben Typogento mehrfach verbaut jedoch die letzten Versionen die
fast
ordnungsgemaess von Typogento lief war mit 1.4.1 und 4.5.4

Danach ist einiges an Handarbeit angesagt


It would be great to have that in English in this list... :(



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


Re: [TYPO3-english] fileadmin sub directories

2011-11-22 Thread Robert Wildling

Nobody? Anybody?

Am 19.11.11 14:41, schrieb Robert Wildling:

Hi,

Can anybody please point me to a documentation of the fileadmin
subfolders _temp_ and user? Especially the function of the folder
user would be interesting to know about...

Thanks!
Robert


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


Re: [TYPO3-english] Under maintenance page while upgrading

2011-11-22 Thread Robert Wildling

My way:
- insert new page on Top
- include only the most necessary TypoScript
- create a (HTML) content, where the maintenance text shows up
- set the old site root to invisible
- if necessary, deactivate temporarily any backend users that should not 
have access during maintenance time (or enter the PI of your computer in 
the install tool along with the security features, as mentioned before)


That way it is still possible to enter the backend and edit content, 
test, add, delete etc


Good luck!
Robert


Am 21.11.11 22:06, schrieb yanagik...@netscape.net:

Typo3sters,

I sort of searched through the archives and couldn't really find.  Is there easy way to 
put up a little Under Maintenance type of page while I upgrade Typo3?

I tries playing around with changing DirectoryIndex but that didn't really 
work.  I still got the usual front page instead of my cute little 
maintenance.html.

I'm vaguely thinking I can just change DNS while upgrading, but that would steer even my 
own laptop (unless I play with /etc/hosts, blah).  Typo3Wiki says to think of 
active users and I will, at least of those who may update pages by telling them not 
to, but what of the general public access?  Would they see some weird stuff while schema 
change is being applied to the database, etc?

Obvious newbie I am.  I'd appreciate input from those that have gone through 
this before.

Thank you,

--Koji


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


Re: [TYPO3-english] fileadmin sub directories

2011-11-22 Thread Robert Wildling

Ok, it is called user_upload - sorry, my mistake.

How or what for do you use this folder?


Am 22.11.11 11:43, schrieb Alexander Dick:

Hi,

What documentation do you need?
There is no user directory inside the fileadmin in a default
installation afaik.

regards
Alex

On Tue, 22 Nov 2011 09:40:38 +0100, Robert Wildling wrote:

Nobody? Anybody?

Am 19.11.11 14:41, schrieb Robert Wildling:

Hi,

Can anybody please point me to a documentation of the fileadmin
subfolders _temp_ and user? Especially the function of the folder
user would be interesting to know about...

Thanks!
Robert


___
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] TT_news category menue

2011-11-19 Thread Robert Wildling

At the moment I hae put together sth like this:

getCategories = CONTENT
getCategories {
  table = tt_news_cat
  select {
pidInList = 17
where = parent_category=0
orderBy = title
  }
  renderObj = COA
  renderObj {
10 = HTML
10.value = option value=

15 = TEXT
15.insertData = 1
15.typolink {
  parameter.data = page:uid
  additionalParams = tx_ttnews[cat]={field:uid}
  additionalParams.insertData = 1
  returnLast = url
  useCacheHash = 1
}

17 = HTML
17.value = 

19 = TEXT
19 {
  value =  selected
  if.value.field = uid
  if.equals.data = GPvar:tx_ttnews|cat
}

21 = HTML
21.value = 

25 = TEXT
25.data = field:title

30 = HTML
30.value = /option
  }
}

temp.newscats = COA
temp.newscats {
  5 = TEXT
  5.value = pFilter:/pulli

  10 = TEXT
  10.value = formfieldset

  20 = TEXT
  20.value = label for=destinationFiler:/label

  30 = TEXT
  30.value = select onChange=if(this.selectedIndex!=0) 
self.location=this.options[this.selectedIndex].value


  35 = TEXT
  35.value = option value=0Alle/option

  40  getCategories

  50 = TEXT
  50.value = /select

  #60 = TEXT
  #60.value = input name=no_cache type=hidden value=1 /

  #70 = TEXT
  #70.value = input type=button value=Submit /

  100 = TEXT
  100.value = /fieldset/form
}



Works ok, but it seems to me that this solution has two flaws:

1. the parts around the selected area in getCategories (step 19) seems 
to be edgy, but no solutions with override that I tried to put togehter 
worked out:


19 = TEXT
19 {
  value = 
  override =  selected
  if.value.field = uid
  if.equals.data = GPvar:tx_ttnews|cat
}

(and get rid of 17 and 21)
Any ideas what's wrong here?


2. The form work with an onchange command. I cannot think of a solution 
without Javascript. The commented-out steps will show a submit button, 
but the form won't work. Of yourse, those would need an 
actions-statement in the form-tag, but how is that supposed to look? And 
where would be the condition that checks whether the button was pressed 
or not?

I'd be grateful fpr any advice here! Thanks!

Regards, Robert


Am 18.11.11 21:15, schrieb Robert Wildling:

Hi,

For some reason the tt_news 3.1 CATMENU won't work in my enviroment, so
I put sth together myself with lots of help from other forums:

getCategories = CONTENT
getCategories {
table = tt_news_cat
select {
pidInList = 17
where = parent_category=0
orderBy = title
}
renderObj = COA
renderObj {
10 = TEXT
10.dataWrap = option value={field:uid}{field:title}/option
10.insertData = 1
}
}

temp.newscats = COA
temp.newscats {
10 = TEXT
10.value = form id=filter action=index.php?id=7tx_ttnews[cat]={---
THIS IS THE PROBLEM ---} method=getfieldset

20 = TEXT
20.value = label for=destinationFiler:/label

30 = TEXT
30.value = select id=destination name=destination size=1option
value=0Alle/option

40  getCategories

50 = TEXT
50.value = /select

60 = TEXT
60.value = input name=no_cache type=hidden value=1 /

70 = TEXT
70.value = input type=button value=Submit //fieldset/form
}


The problem is getting the category id into the form action url, so that
an onchange.command could reload the page and identify the chosen category.

Furthermore it would be great to include a cHash... ynabody can help here?
Thanks!
Regards,
Robert


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


Re: [TYPO3-english] tagpack by Jo Hasenau

2011-11-19 Thread Robert Wildling

Thanks!
Tested - works fine, only the icon below the Tags fields in a CE is now 
a read question marks... (even on multiple reload) - a sprite problem?



Am 19.11.11 12:28, schrieb Steffen Müller:

Hi.

On 18.11.2011 21:10 Robert Wildling wrote:


I hope Joey will update his fine ext?



http://forge.typo3.org/issues/31940
patch is appended



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

[TYPO3-english] fileadmin sub directories

2011-11-19 Thread Robert Wildling

Hi,

Can anybody please point me to a documentation of the fileadmin 
subfolders _temp_ and user? Especially the function of the folder 
user would be interesting to know about...


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


[TYPO3-english] Category menu for contents belonging to more than 1 category

2011-11-18 Thread Robert Wildling

Hi,

I am looking for a solution that enables a content-in-categorIES 
management. The request is that several CE can belong to more than one 
category. A category menu shall than filter the carious contents.


tt_news (e.g.) brings such a funcitonality with it, but i wonder if 
there are different solutions out there.


I'd be grateful for any inputs!
Thanks!
Robert
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Category menu for contents belonging to more than 1 category

2011-11-18 Thread Robert Wildling

Thank you, I'll look into it!

Am 18.11.11 17:08, schrieb Victor Livakovsky:

Hi, Robert.

Check any tagging extension, like 'tagpack' or 'vge_tagcloud'. It should
fit your needs ;)


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


  1   2   >