[TYPO3-english] decide the future of TYPO3 discussions:

2017-06-26 Thread Bernd Wilke

For everyone who has not seen it. As the mailinglist/newsgroup/forum will not 
exist furthermore you now can decide how the future might be:

https://decisions.typo3.org/t/replace-mailinglists-newsgroups-and-forum-with-discourse-voting/214

voting is open for just 4 further days.
--
--
http://pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Re: Re: typo3.stackexchange.com

2017-06-06 Thread Bernd Wilke

| our proposal for typo3.stackexchange.com
| 
(http://area51.stackexchange.com/proposals/102804/typo3?referrer=5hwGgB7myxI3D8Mw0epqTw2).
| 
| Right now, it's 43% complete. When it reaches 100%, the beta will begin.
| 
| The commitment score is the minimum of three scores: 
| 77% 155/200 committers in total

| 43% 43/100 committers with 200+ rep on any other site
| 43% commitment score, based on committers' activity on all other sites and 
how old the commitment is

As a long time passed by even the commitment score has lowered as it it is 
decreased automatically if you do not refresh your commitment by visiting the 
proposal page while being logged in.

Do you have some time to revisit the page being logged in?

are you an active contributing at stackoverflow to gather reputation points? 
--

--
http://pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Re: Re: typo3.stackexchange.com

2017-01-26 Thread Bernd Wilke

four weeks later and nearly no change.

our proposal for typo3.stackexchange.com
(http://area51.stackexchange.com/proposals/102804/typo3?referrer=5hwGgB7myxI3D8Mw0epqTw2).

Right now, it's 31% complete. When it reaches 100%, the beta will begin.

The commitment score is the minimum of three scores:
66% 133/200 committers in total
31% 31/100 committers with 200+ rep on any other site
41% commitment score, based on committers' activity on all other sites and how 
old the commitment is


as a long time passed by even the commitment score lowered as it it is 
decreased automatically if you do not refresh your commitment by visiting the 
proposal page while being logged in.


another question came up in the discussion area:
http://discuss.area51.stackexchange.com/questions/25634/how-can-we-help-the-proposal-succeed/25645?noredirect=1#comment40097_25645

do all the commiter really have no other stackoverflow/stackexchange accounts, 
so they identify as beginners to area51.stackexchange.com?
--
--
http://pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Re: Re: typo3.stackexchange.com

2016-12-28 Thread Bernd Wilke

just a small reminder about our stackoverflow/stackexchange activities:

our proposal for typo3.stackexchange.com 
(http://area51.stackexchange.com/proposals/102804/typo3?referrer=5hwGgB7myxI3D8Mw0epqTw2).


Right now, it's 30% complete. When it reaches 100%, the beta will begin.

The commitment score is the minimum of three scores:
66% 132/200 committers in total
30% 30/100 committers with 200+ rep on any other site
42% commitment score, based on committers' activity on all other sites and how 
old the commitment is


--
--
http://pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Re: Re: typo3.stackexchange.com

2016-12-06 Thread Bernd Wilke

two weeks since the last update, only one more committer. :(

status update: proposal for typo3.stackexchange.com.
Right now, it's 27% complete. When it reaches 100%, the beta will begin.

The commitment score is the minimum of three scores:
62% 125/200 committers in total
27% 27/100 committers with 200+ rep on any other site
40% commitment score, based on committers' activity on all other sites and how 
old the commitment is

For more information about StackOverflow and StackExchange I wrote an article:
https://docs.typo3.org/typo3cms/drafts/github/T3DocumentationStarter/Public-Info-009/StackOverflow/Index.html

If more information is needed the article can be enhanced on github.
do you know a place the article could be inserted in the official 
documentation? please give me a hint.

Thanks
--
--
http://pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Re: Re: typo3.stackexchange.com

2016-11-22 Thread Bernd Wilke
status update: proposal for typo3.stackexchange.com. 
Right now, it's 27% complete. When it reaches 100%, the beta will begin.


The commitment score is the minimum of three scores:
62% 124/200 committers in total
27% 27/100 committers with 200+ rep on any other site
40% commitment score, based on committers' activity on all other sites and how 
old the commitment is

For more information about StackOverflow and StackExchange I wrote an article: 
https://docs.typo3.org/typo3cms/drafts/github/T3DocumentationStarter/Public-Info-009/StackOverflow/Index.html


If more information is needed the article can be enhanced on github.
do you know a place the article could be inserted in the official 
documentation? please give me a hint.

Thanks
--
--
http://pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] typo3.stackexchange.com

2016-11-03 Thread bernd wilke
status update: proposal for typo3.stackexchange.com
Right now, it's 26% complete. When it reaches 100%, the beta will begin.

The commitment score is the minimum of three scores:
60% 120/200 committers in total
26% 26/100 committers with 200+ rep on any other site
39% commitment score, based on committers' activity on all other sites
and how old the commitment is

the count of commitments stalls.
you might spread the information and link to the proposal
http://area51.stackexchange.com/proposals/102804/typo3
as I can not reach everyone.

Also be sure to use stackoverflow just now for questions and answers. so
everyone gets used to the rules and procedures of stackoverflow and our
knowledge gets archived and indexed already.

bernd

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


Re: [TYPO3-english] typo3.stackexchange.com

2016-10-15 Thread bernd wilke
status update: proposal for typo3.stackexchange.com
Right now, it's 25% complete. When it reaches 100%, the beta will begin.

The commitment score is the minimum of three scores:
57% 115/200 committers in total
25% 25/100 committers with 200+ rep on any other site
39% commitment score, based on committers' activity on all other sites
and how old the commitment is

the count of commitments stalls.
you might spread the information and link to the proposal
http://area51.stackexchange.com/proposals/102804/typo3
as I can not reach everyone.

Also be sure to use stackoverflow just now for questions and answers. so
everyone gets used to the rules and procedures of stackoverflow and our
knowledge gets archived and indexed already.

bernd

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


Re: [TYPO3-english] typo3.stackexchange.com

2016-10-09 Thread bernd wilke
status update: proposal for typo3.stackexchange.com
Right now, it's 24% complete. When it reaches 100%, the beta will begin.

The commitment score is the minimum of three scores:
56% 113/200 committers in total
24% 24/100 committers with 200+ rep on any other site
38% commitment score, based on committers' activity on all other sites
and how old the commitment is

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


Re: [TYPO3-english] typo3.stackexchange.com

2016-10-04 Thread bernd wilke
status update: proposal for typo3.stackexchange.com
(http://area51.stackexchange.com/proposals/102804/typo3?referrer=5hwGgB7myxI3D8Mw0epqTw2):

| Before the site is created, it needs people to commit to use it. Right
now, it's 23% complete. When it reaches 100%, the beta will begin.
| The commitment score is the minimum of three scores:
| 52% 105/200 committers in total
| 23% 23/100 committers with 200+ rep on any other site
| 37% commitment score, based on committers' activity on all other sites
and how old the commitment is


Am 28.09.2016 um 13:28 schrieb Bernd Wilke:
> 
> as we need more commiters with reputation of 200+ on other Stackexchange
> sites: be active on any stackexchange area (including stackoverflow) and
> gather reputations to enhance the number of users for second value. this
> also will enhance the third value.

someone used the upvote mechanism to upvote multiple article of single
users. But stackoverflow rated this abusage and removed the resulting
reputation points in the night after.
so gathering reputationpoints has to be done in a normal way (and no
forcing):
ask questions, answer questions, accept answers and every now and then
do an upvote if you find a very interesting question or answer.
in short: just use stackoverflow as intended and don't try to cheat.

a short hint to the following 'private beta' phase:
as far as I know in this phase only commiters are allowed to participate.
in the following 'public beta' everyone is allowed to contribute to
typo3.stackexchange.com.

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


[TYPO3-english] Re: typo3.stackexchange.com

2016-09-28 Thread Bernd Wilke

status update: proposal for typo3.stackexchange.com 
(http://area51.stackexchange.com/proposals/102804/typo3?referrer=5hwGgB7myxI3D8Mw0epqTw2):

| Before the site is created, it needs people to commit to use it. Right now, 
it's 19% complete. When it reaches 100%, the beta will begin.
| The commitment score is the minimum of three scores:
| 42% 85/200 committers in total
| 19% 19/100 committers with 200+ rep on any other site
| 29% commitment score, based on committers' activity on all other sites and 
how old the commitment is

as we need more commiters with reputation of 200+ on other Stackexchange sites: 
be active on any stackexchange area (including stackoverflow) and gather 
reputations to enhance the number of users for second value. this also will 
enhance the third value.
--
--
http://pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Re: typo3.stackexchange.com

2016-09-23 Thread Bernd Wilke

status update: proposal for typo3.stackexchange.com 
(http://area51.stackexchange.com/proposals/102804/typo3):

| Before the site is created, it needs people to commit to use it. Right now, 
it's 12% complete. When it reaches 100%, the beta will begin.
| The commitment score is the minimum of three scores:
| 32% 65/200 committers in total
| 12% 12/100 committers with 200+ rep on any other site
| 22% commitment score, based on committers' activity on all other sites and 
how old the commitment is```

AFAIK the next phase (launch as beta) is divided in two parts: 
the first part is private and only comitters are allowed to use the area typo3.stackexchange.com to fill in base data (like answering the  example questions), 
in the second part everyone is allowed to participate and it is watched if the area is used well


bernd
--
--
http://pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Re: typo3.stackexchange.com

2016-09-21 Thread Bernd Wilke

of cause the current score already is 10%
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Re: typo3.stackexchange.com

2016-09-21 Thread Bernd Wilke

the phase of commitment has begun:

| Before the site is created, it needs people to commit to use it. Right now, 
it's 2% complete.
| When it reaches 100%, the beta will begin.
|
| The commitment score is the minimum of three scores:
| 24% 49/200 committers in total
| 10% 10/100 committers with 200+ rep on any other site
| 17%  commitment score, based on committers' activity on all other sites and 
how old the commitment is

As most of us are new to stackoverflow/stackexchange we miss mostly committers 
with a reputation over 200.
But this proposal will take some time and so we are able to gather those 
reputations with questions and answers on stackoverflow (or other areas).
So you should put your questions and answers (also) on stackoverflow. and don't 
forget to vote and accept those questions and answers!
--
--
http://pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Re: typo3.stackexchange.com

2016-09-20 Thread Bernd Wilke
hooray! 
definition phase is closed.


the next phase of commitment has begun:

| Before the site is created, it needs people to commit to use it. Right now, it's 2% complete. 
| When it reaches 100%, the beta will begin.
| 
| The commitment score is the minimum of three scores:

| 8% 17/200 committers in total
| 2% 2/100 committers with 200+ rep on any other site
| 5% commitment score, based on committers' activity on all other sites and how 
old the commitment is


--
--
http://pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Re: typo3.stackexchange.com

2016-09-19 Thread Bernd Wilke

Status Update:
114 Follower
83 Example Questions (2 closed)
We need 2 more questions with a score of 10 or more to move to the next phase.

--
--
http://pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Re: typo3.stackexchange.com

2016-09-19 Thread Bernd Wilke

Status Update:
106 Follower
78 Example Questions (2 closed)
We need  6 more questions with a score of 10 or more to move to the next phase.
--
--
http://pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Re: typo3.stackexchange.com

2016-09-15 Thread Bernd Wilke

status of the proposal for typo3.stackexchange.com 
(http://area51.stackexchange.com/proposals/102804/typo3?referrer=5hwGgB7myxI3D8Mw0epqTw2)

Thanks so far for the support yet:
we have enough followers (95) for the next milestone,

we have 70 example questions, 28 with the needed count of 10 or more upvotes (40 are needed), 

everyone has 5 upvotes to spent and also the option to put in 5 questions which should be discussed and voted on valueness 


There are a lot of good questions which lacks upvotes.

*please consider your votes* and support them, so it means to drop a question below the 10 count border. 
It is not only to have 40 questions at all: http://area51.stackexchange.com/faq#questions

--
--
http://pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] Re: typo3.stackexchange.com

2016-09-15 Thread Bernd Wilke

status of the proposal for typo3.stackexchange.com 
(http://area51.stackexchange.com/proposals/102804/typo3?referrer=5hwGgB7myxI3D8Mw0epqTw2)

Thanks so far for the support yet:
we have enough followers (78) for the next milestone,

we have 48 example questions, 23 out of 40 with the needed count of 10 or more 
upvotes,

everyone has 5 upvotes to spent and also the option to put in 5 questions which 
should be discussed and voted on valueness

just a hint to the questions: http://area51.stackexchange.com/faq#questions
* Ask real, expert questions
* Ask questions that can be answered
* Off-topic questions are important, too
* Vote early and often
* When voting, focus on your site
--
--
http://pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


[TYPO3-english] typo3.stackexchange.com

2016-09-13 Thread Bernd Wilke

let us try to build an own typo3.stackexchange.com area for all the questions, 
answers and documentation.

the proposal is done: 
http://area51.stackexchange.com/proposals/102804/typo3?referrer=5hwGgB7myxI3D8Mw0epqTw2

We need:

  60 followers

  40 example questions with a score of 10 or more

to move to the next phase use your stackoverflow account for area51.stackexchange and support the proposal as follower, add questions and upvote other questions. 
there also is an discussionarea about questions and the new area at all.


bernd
--
--
http://pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Use In Cookie stored PageID in TMENU

2016-04-01 Thread Bernd Wilke

Am 31.03.2016 um 18:26 schrieb Bastian Holzem:

Hello,

i wanted to show the last 3 viewed pages an Menu-Links, which i stored
in a Cookie

My Menu-Links looks like this

10 = HMENU 10 {
   special = list

>special.value = 10,11,12

}

but i can't insert the IDs from COOKIES into "special.value"
special.value = global : _COOKIE | lastvisited_1

how could i solve this?


special.value is accepts only a string (no reference to data)
but as all in typoscript has stdWrap you can do a .dataWrap
  special.value.dataWrap = {global : _COOKIE | lastvisited_1}|
or try to access data immediately. (keep in mind: this is no TEXT 
object: append '.data' and do not replace 'value')

so you may try:
  special.value.data = global : _COOKIE | lastvisited_1

the last attempt would be to use a cObject. This can be used everywhere 
to insert a complex object.

  special.value.cobject = TEXT
  special.value.cobject.data = global : _COOKIE | lastvisited_1

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


[TYPO3-english] realurl instead of cooluri does not work

2016-03-30 Thread Bernd Wilke
I have to upgrade an old 4.5 to 7.6 and so cooluri is not ready for 7.6 
I should use realurl.

but all the old urls should stay the same!

but there is a strange configuration where cooluri skipped the last 
path-segment of the news-detail page. And I cant get it to work in 
realurl. the configuration of pages is a little bit akward:


I use realurl 2.0.10

[2] home
  +- [5] Aktuelles (shortcut to 2)
  |   +- [15] News-detail
  |   +- [134] current news (shortcut to 5)
  |   +- [67] Archive
  |   :

the news are shown on page 2 as list
the detail page is 15.
the former urls for single news were like
 /aktuelles/(news-title)-(news-uid)

so the page 5 is just a shortcut I can not implement the detail view on 
that page.


as realurl can not skip the last pathsegment I configured some overrides:

5 :  Speaking URL path segment: /akt

15 : Speaking URL path segment: /aktuelles
[x] override the whole path

134: Speaking URL path segment: /aktuelles/news
[x] override the whole path

67 : Speaking URL path segment: /aktuelles/archive
[x] override the whole path

now (realurlconf.php at the end) the urls (link to page 15, with 
news-uid) are generated like before, but on click the page to display is 
detected false:


| Page Not Found
|
| Reason: Segment "energieausweise-im-praxistest-zu-welche-2470" was
| not a keyword for a postVarSet as expected on page with id=5.

why page 5?

page 5 should have the url '/akt' and not '/aktuelles' (but with TYPO3 7 
the link is always direkt to page 2 ('/'))


if I rename the page 5 to anything other than 'Aktuelles' the error 
message changed even to page id 2


as there were no entries in tx_realurl_pathcache and tx_realurl_urlcache 
for page 15 I inserted some by hand, but to no avail.


and the realurlconf.php:
 array(
'init' => array(
'enableCHashCache' => true,
'appendMissingSlash' => 'ifNotFile,redirect',
'enableUrlDecodeCache' => true,
'enableUrlEncodeCache' => true,
'emptyUrlReturnValue' => '/',
),
'pagePath' => array(
'type' => 'user',
'userFunc' => 
'EXT:realurl/class.tx_realurl_advanced.php:_realurl_advanced->main',

'spaceCharacter' => '-',
'languageGetVar' => 'L',
'rootpage_id' => '2',
),
'fileName' => array(
'defaultToHTMLsuffixOnPrev' => 0,
'acceptHTMLsuffix' => 1,
'index' => array(
'print' => array(
'keyValues' => array(
'type' => 98,
),
),
),
),

'fixedPostVars' => array(
'newsDetailConfiguration' => array(
array(
'GETvar' => 'tx_news_pi1[action]',
'valueMap' => array(
'detail' => '',
),
'noMatch' => 'bypass'
),
array(
'GETvar' => 'tx_news_pi1[controller]',
'valueMap' => array(
'News' => '',
),
'noMatch' => 'bypass'
),
array(
'GETvar' => 'tx_news_pi1[news]',
'lookUpTable' => array(
'table' => 'tx_news_domain_model_news',
'id_field' => 'uid',
'alias_field' => 
'concat(substr(title,1,40),\'-\',uid)',

'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
'languageGetVar' => 'L',
'languageExceptionUids' => '',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'autoUpdate' => 1,
'expireDays' => 180,
),
),
),
'15' => 'newsDetailConfiguration',
),
),
);




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


Re: [TYPO3-english] TypoScript/Fluid: get image title and description

2016-03-20 Thread Bernd Wilke

Am 16.03.2016 um 18:02 schrieb Hagen Gebauer:

Hi Bernd,

thank you very much again! So: I found out that in the example you can
call the whole template Image.html from within TextBgPic.html by just
calling {imagePath}. So far so good. But
still I don't seem to be able to access any image data.

I unsuccessfully tried calling {publicUrl}, {image.publicUrl},
{imagePath.publicUrl}, {data.publicUrl} and some combinations in
Image.html. Also {_all}, called in Image.html returns
the full array "data" of the content element but no image data.


compare the debug output from the outer template (TextBgPic.html) with 
the debug output from the inner template (Image.html). there should be 
some difference.


bernd

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


Re: [TYPO3-english] TypoScript/Fluid: get image title and description

2016-03-16 Thread Bernd Wilke

Am 15.03.2016 um 11:40 schrieb Hagen Gebauer:

Hi Bernd,

thanks a lot for your reply. Regrettably I don't understand how to use
this information. I unsuccessfully tried several ways in TypoScript.
What I want to achieve is to use all image data (publicUrl, title,
description) in the template file that is already being called
(TextBgPic.html). And it should at best be just one database request for
all the image information.

The CE is basically a copy of the standard CE "Text & Images" (textpic).
In another extension I wrote, I could easily access all information on
an image in the template by the property name of the image(s) (the
database field that stores how many images are linked to the record,
just as the "image" field in tt_content) in the way
image.originalResource.[publicUrl/title/...]



lets have a picture of the data:
+-+
| data (tt_content)   |
|  ++ ++ ++   |
|  |img1| |img2| |img3|   |
|  ++ ++ ++   |
+-+

in the same way you should template the data

tt_content.text_bgpic = FLUIDTEMPLATE
tt_content.text_bgpic {
file = 
EXT:my_extension/Resources/Private/Templates/Content/TextBgPic.html

variables {
imagePath = FILES
imagePath {
references {
table = tt_content
fieldName = image
}
renderObj = FLUIDTEMPLATE
renderObj {
file = 
EXT:my_extension/Resources/Private/Templates/Image.html

}
}
}
}

and in EXT:my_extension/Resources/Private/Templates/Image.html you have 
access to all data of one image: (uid (sys_file), publicUrl, width, 
height, description, title, ...

explore by using: {_all}

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


Re: [TYPO3-english] TypoScript/Fluid: get image title and description

2016-03-15 Thread Bernd Wilke

Am 14.03.2016 um 09:59 schrieb Hagen Gebauer:

Hi everybody,

I have created my own content elements in order to use FAL images from
tt_content.image as a background image. It works pretty well. But I want
to add a small box with the image's title and description. I've been
trying for days to find a solution. My TypoScript for the content
element is

tt_content.text_bgpic = FLUIDTEMPLATE
tt_content.text_bgpic {
 file =
EXT:my_extension/Resources/Private/Templates/Content/TextBgPic.html
 variables {
 imagePath = FILES
 imagePath {
 references {
 table = tt_content
 fieldName = image
 }
 renderObj = IMG_RESOURCE
 renderObj {
 file.import.data = file:current:publicUrl
 file.treatIdAsReference = 1
 }
 }
 }
}

In the Fluid template I can easily access the image path by {imagePath}
set in the above TypoScript while every other data from the tt_content
record is accessed by {data.[fieldname]} (e.g. {data.bodytext})

I tried several ways in the Fluid Template (like
data.image.originalResource.title, with and without "data" and/or
"originalResource"). And I found absolutely no way to set respective
variables in the TypoScript (like imageTitle or imagePath.title or
whatever)


you already have the imagePath. in the same way you could access the 
other data. but not so easy in the fluid but in typoscript.


you might change the renderObj. if you want to do the rendering of one 
image with fluid you might chnage the renderObj to FLUID_TEMPLATE and 
then you can access all data of one image in that template.


bernd

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


Re: [TYPO3-english] Key features of Typo3 for not Typo3 consultants

2016-03-09 Thread Bernd Wilke

Am 09.03.2016 um 21:44 schrieb Giuseppe L.:

Hi all,

I like a lot Typo3 since a lot of years, and we used as CMS for our
website about 3 years ago.But I can't get to use it for our customers,
due to our web job is done mainly by a person accostumed to wordpress
and Joomla. I don't find ways to use it as as our main CMS for our
customers with success, because my main web consultant don't likes Typo3
too much.
Not so easy as Joomla/Wordpress, High learning curve, more time demanded
to build a site, templating (we tried to use TV with Artisteer without
success in the past), more extensions possiblities with Joomla or
Drupal, no woocommerce*, etc , and so on. To clarify, right now we
work with Themler, a tool thath can give us the HTML needed for the
template.

Last years, we were working with Wordpres Joomla and Drupal, but mainly
Joomla.
The problem is I'm tired of vulnerabilities and I'm trying again to
impose again Typo3 as our main CMS, for this reason, I ask for advice on
how to "sell" to our main web consultant that Typo3 is the best option
against "the 3 others" to build the corporate websites of our customers,
links or tutorials to show thath templating is not a nightmare, and so
on...

Thanks to all.

* With no woocommerce, I mean some "little" shop solution with spanish
payments gateways and so easy to setup.


I will give you a short answer, you may consult Mathias Schreiber [1] 
for more information. He may assists you in spreading the word about TYPO3.


I think without an integrator which has a good knowledge about TYPO3 it 
will stay hard. But on the other hand: every knowlege gathered with 
TYPO3 will bring you to a stable and secure CMS :)


the days of TV are gone. TV has some drawbacks which some successors 
also have.
the best way for you is fluid and the core extension 
Fluid-Styled-Content for own/new content elements. it is a templating 
engine similar to smarty. meanwhile most extensions use fluid for 
templating.


theming a website is not so easy than in wordpress, but there is a small 
community which wants to change it and already provides some themes.


there are some shop-solutions, but I have no clue about spanish payment 
gateways. but TYPO3 is open and has the possibility to enhance it 
everywhere (if you are/have a good PHP programmer)


[1] Mathias is product owner of TYPO3. you may reach him via slack. get 
your invitation to slack here: https://forger.typo3.org/slack


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


Re: [TYPO3-english] upgrade TYPO 3 v.4.4.6 to v.7.0.2

2016-03-04 Thread Bernd Wilke

Am 04.03.2016 um 10:02 schrieb etleva biba:

Kindly can anyone help me with this error:
Fatal error: Uncaught exception 't3lib_error_Exception' with message
'PHP : Non-static method t3lib_timeTrack::debug_typo3PrintError() should
not be called statically, assuming $this from incompatible context in
/home/./public_html/t3lib/error/class.t3lib_error_productionexceptionhandler.php
line 59' in
/home/./public_html/t3lib/error/class.t3lib_error_errorhandler.php:106
Stack trace: #0
/home/./public_html/t3lib/error/class.t3lib_error_productionexceptionhandler.php(59):
t3lib_error_ErrorHandler->handleError(8192, 'Non-static meth...',
'/home/pharmaone...', 59, Array) #1
/home/./public_html/t3lib/error/class.t3lib_error_abstractexceptionhandler.php(52):
t3lib_error_ProductionExceptionHandler->echoExceptionWeb(Object(t3lib_error_Exception))
#2 [internal function]:
t3lib_error_AbstractExceptionHandler->handleException(Object(t3lib_error_Exception))
#3 {main} thrown in
/home/./public_html/t3lib/error/class.t3lib_error_errorhandler.php
on line 106


I think your PHP version is higher than your code is ready for.
do you have 5.6?


bernd

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


Re: [TYPO3-english] Extension Manager error

2016-03-02 Thread Bernd Wilke

Am 26.02.2016 um 12:07 schrieb polycarp royal:

hi friends,

I was updating "sr_feuser_register" extension and immediately the
extension manager jumped to this error ... ''The package
"sr_feuser_register" depends on "sjbr/static_info_tables" which is not
present in the system''. have tried this as a suggestion. In this file
(PackageStates.php) file in typo3conf and delete sections "extra",
"replace", "autoload" and "autoload-dev".

maybe I'm doing it wrong. any suggestions? or help?


that was/is a typo in the json-files of these extensions and I noted 
stanislaw about it. there sould be newer versions in TER with corrected 
names.

So I did not use composer (pure EM-installation) these json-files are used.

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


Re: [TYPO3-english] Copy Page - Lose CSS...

2016-02-23 Thread Bernd Wilke

Am 23.02.2016 um 17:29 schrieb Robert Jacobs:

Hey there,
I've got a very strange problem. I have various pages on my site and I
have copied one of them with the intention of then just editing the
content. However, when I copy the page, the result has a completely
different (read: kacked up) layout, with columns not neatly
side-by-side, but rather flowing on from each other, as if a  is
missing. Have had a look and it isn't missing. Why would an exact copy
of a page suddenly loose all layout formatting? Do I need to apply the
CSS for the plugins to the page somehow?
Any help would be greatly appreciated!!


this all depends on the configuration of your site.
the configuration can be specific in multiple ways:
css/js included just for single page or a subtree, included just for a 
special page-id, included just for pages with a special value (e.g. 
layout), or for special domains, or special browser-ids or access-IP


in the same way the rendering of CEs can be specific configured.

and so all can be equal between two pages: if the page-uid is coded in 
the HTML as a HTML-ID and the css is based on this specific id your copy 
never can look the same without changed CSS.


so first you need to identify the difference and then you can adapt the 
look.


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


Re: [TYPO3-english] Help: Typo3 N00b

2016-02-18 Thread Bernd Wilke

Am 18.02.2016 um 02:47 schrieb Ivan Ghisleni:

Hi to all

I've completed the installation of my first typo3 instance and it works,
now I have to configure from 0 from template to pages etc, all the
guides doesn't show ho to configure all .


as always: It depends.

do you want a ready-to-use solution?
take the introduction package (or any other package)

do you want it the hard way?
learn typoscript and build up typoscript for your site.


Anyone can help me or suggest me some good tutorial for that.


https://docs.typo3.org/typo3cms/GettingStartedTutorial/Index.html
especialy:
https://docs.typo3.org/typo3cms/GettingStartedTutorial/NextSteps/Index.html


The attached jpeg shows my situation now.

Thanx Ivan
begin 644 Screenshot from 2016-02-17 18:15:15.png
MB5!.1PT*&@H-24A$4@``#-8```0X"`(```#PFB=?`W-"250("`C;
MX4_@&71%6'13;V9T=V%R90!G;F]M92US8W)E96YS:&]T[P._/@``(`!)

[ ks :( ]

M=>Y4:/C332:3^F2S/18```#`U\3_`8)=*XI'*?](`$E%3D2N0F""
`
end


don't do attachments!

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


Re: [TYPO3-english] invalid token

2016-02-12 Thread Bernd Wilke

Am 12.02.2016 um 07:26 schrieb Katja Lampela:

Hi,

This - after logging out and back in again - constantly appearing error
is really getting to bug me and my clients:

Oops, an error occurred!
Invalid form/module token detected. Access Denied!
More information regarding this error might be available online.

Why oh why and how to get rid of it?

the error is thrown if your security-token of the BE does not match your 
current session. I assume, that the logout is not really detected. 
propably from your browser which uses the BE(form) from the cache, which 
has the old token. so you logged in anew you got a new session and a new 
security-token (from your server).


a typical case: you open two windows with the same BE-login. in one 
window you do a log out and log in again. if you now do anything in the 
other window you will get the invalid-form/module-token-error.


maybe your website is behind a proxy and you got cached BE-forms?

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


Re: [TYPO3-english] content element

2016-02-10 Thread Bernd Wilke

Am 10.02.2016 um 17:13 schrieb polycarp royal:

Hey,
I want to have two, three content elements on one page. Have tried
pacing them as dictated in typo3 i.e one on the left and other right but
they seem to disappear when they are not on the 'normal' or 'border'
columns. I ideally want to have a form on the left column and a search
or login box on the right. I'm using typo3 6.2.17

Any ideas what I'm not doing right? thanks


just a general statement:
you need to define a page rendering, where your content of the differnt 
columns is assigned a specific place in your website.


more answers need more information

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


Re: [TYPO3-english] Locallang.xlf doesn't work for english

2016-02-09 Thread Bernd Wilke

Am 09.02.2016 um 17:43 schrieb Nicolai Schirawski:

Yes, I removed cache in install Tool; it didn't help.

I don't understand, what you mean with "L=1, L=0"


maybe your condition for switching the language does not match.
either the L param, or your condition is not reached within your typoscript.

have a look into the TSOB: does that condition appear below?
what if you insert the following before/after your language switch 
condition:


[globalVar = GP:L= 1]
page.1 = TEXT
page.1.value = BEFORE LANGSWITCH
[global]
:
your condition
:
[globalVar = GP:L =1]
page.2 = TEXT
page.2.value = AFTER LANGSWITCH
[global]

you may have an error in your typoscript so that your condition is not 
evaluated.


(after inserting those two snippets in the exact writing you should see 
two more conditions below the TSOB as I have written the conditions 
slightly different)


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


Re: [TYPO3-english] textpic-wrapping after upgrade to 6.2

2016-02-07 Thread Bernd Wilke

Am 07.02.2016 um 16:08 schrieb al chupanibre:

never mind, found it out on my own.

if somebody has the same problem:

- edit the file typo3\sysext\csc_styled_content\static\setup.txt
- search for the string "center-outer", 2 occurences
- edit the line "0.value = 

don't do it this way!
you are changing the TYPO3 core!
and with the next update all your changes are gone and you need to patch 
the core anew.



my setup.txt looks like this now:
#0.value =  | 
0.value = |


a better solution:
do this modification to the given core typoscript in your own template:

search in the TSOB for all occurences of that wrap (it could be more 
than one because often TS is copied). then clear it or overwrite it with 
your (empty) wrap.
That is in general the way to modify the given TS as it is secure for 
updates.



don't forget to clear the caches, temp-files and -tables..


as always.

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


Re: [TYPO3-english] TYPO3 Hosting or VPS offers

2016-02-07 Thread Bernd Wilke

Am 06.02.2016 um 20:37 schrieb Peter Kühnlein:

Am 06.02.2016 um 19:32 schrieb mario chiari:

Hi

second thoughts, new question: is out there a very professional,
reliable hosting service, with a good knowledge of TYPO3, .eu based?

At the end of the day, I may decide to go for something a little
pricey.

Thanks
Regards
mario


Hi Mario,

In Germany, the standard answer would be quite obvious: Mittwald sure is
the TYPO3 hosting company #1 here. Personally, I usually recommend
all-incl though. They do have a very dedicated support 24/7 and are
comparatively affordable. If you are looking for a hosting company in
just any European country, I'd recommend checking them out.


I think you also should mention another big sponsor of the TYPO3 
community: jweiland.net

So they also have only a german website.

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


Re: [TYPO3-english] t3lib_div::_GP don't work on 6.2 ?

2016-02-02 Thread Bernd Wilke

Am 02.02.2016 um 09:39 schrieb TSniper:

Can anybody help me please?


have you tried:
_GET
_GP
_GPmerged
_POST
?
http://api.typo3.org/typo3cms/62/html/class_t_y_p_o3_1_1_c_m_s_1_1_core_1_1_utility_1_1_general_utility.html

another hint may be given by ext:page_params

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


Re: [TYPO3-english] Custom TS menu - output description/abstract

2016-02-02 Thread Bernd Wilke

Am 02.02.2016 um 10:50 schrieb Tom Warwick:

Bernd,

I can't seem to find any examples, could you point me in the right
direction?


something like:

temp.mymenu = HMENU
temp.mymenu {
  1 = TMENU
  1 {
NO = 1
NO {
  after.cObject = TEXT
  after.cObject {
field = description // abstract
wrap = |
  }
}
  }
}   

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


Re: [TYPO3-english] Custom TS menu - output description/abstract

2016-02-02 Thread Bernd Wilke

Am 02.02.2016 um 12:31 schrieb Tom Warwick:

Bernd,

This works perfectly, thank you very much.

For reference, this is my TS to display the Description field in my
submenu.

lib.subMenu = HMENU
lib.subMenu.entryLevel = -1
lib.subMenu.required = 1
lib.subMenu.1 = TMENU
lib.subMenu.1.wrap = |
lib.subMenu.1.noBlur=1

lib.subMenu.1.NO {
allWrap = |
ACT = 1
ACT.wrapItemAndSub = |
after.cObject = TEXT
after.cObject {
field = description // abstract
wrap = |
}
}


oops?
so the TS is shown unindented [1] I think you have some brace errors: 
ACT is inside of NO, which will have no result.
for better readability: try to use braces as soon, as there are more 
than 1 sublevel:


your code:

lib.subMenu = HMENU
lib.subMenu {
  entryLevel = -1
  required = 1
  1 = TMENU
  1 {
wrap = |
noBlur=1
NO {
  allWrap = |
  ACT = 1
  ACT.wrapItemAndSub = |
  after.cObject = TEXT
  after.cObject {
field = description // abstract
wrap = |
  }
}
  }
}

more correct code:

lib.subMenu = HMENU
lib.subMenu {
  entryLevel = -1
  required = 1
  1 = TMENU
  1 {
wrap = |
noBlur = 1
// not neccessary but makes copying later on easier:
NO = 1
NO {
  wrapItemAndSub = |
  after.cObject = TEXT
  after.cObject {
field = description // abstract
// what for?
wrap = |
  }
ACT < .NO
ACT.wrapItemAndSub = |
  }
}

[1] depending on your way of submitting [2] you may have problems to 
insert spaces at line beginning or see them.

You may provide indention with dots.
you may look at the html-source to see indentions and html-tags of a posting

[2] this information can be retrieved as forum, mailinglist or 
newsgroup. each has it's pros and cons, but all lack of a clean 
possibility to display code, especially if the data is transferred


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


Re: [TYPO3-english] Custom TS menu - output description/abstract

2016-02-01 Thread Bernd Wilke

Am 01.02.2016 um 11:51 schrieb Tom Warwick:

Hi everyone,

I'd like to create a custom menu that outputs/renders both the link and
the page's description/abstract on to the page.

Example:

Link A
This is the pages description

Link B
This is the description for page B

I've had a look around and can't find any TS that does. Can it be done?

Any help would be great,


that's a little bit dependend on your TS.
which version of TYPO3 do you use?
any packages?
what base TS do you use?

you can enhance the menu-rendering with additional data.
you may look for examples of TMENUITEM.after (or TMENUITEM.before)

bernd

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


Re: [TYPO3-english] sr_feuser_register and Danish language

2016-01-28 Thread Bernd Wilke

Am 28.01.2016 um 10:41 schrieb Jeppe Donslund:

Hi,

I have just upgraded my sr_feuser_register to newest version.
But now It is no longer in Danish at FrontEnd.

In my TypoScript I have this:
config.language = da
config.language_alt = dk
config.locale_all = da_DK

Can I download the Danish language for sr_feuser_register somewhere.


I suppose like any (core and extension) translation:
go to the language module,
select your needed languages,
"update from repository"


If I use the language feature in TYPO3 is tells me that the extension is
up-to-date.

for some time the translations are not stored in the extension. so:
extension != translations for the extension

bernd


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


Re: [TYPO3-english] Image with links and mouseover effect

2016-01-27 Thread Bernd Wilke

Am 27.01.2016 um 10:34 schrieb Peter Mann:

Hi folks,

I am trying to solve this here :
I have an image which has to be entered into an article of a site. On
different parts of the image there shall be written some words. And
these words, which are links, shall react with a mouseover effect. (e.g.
shall be written bold once the cursor is over it or something similar)
How can I solve it the best and easiest way within my backend? Pls be
informed that I do "not" have any access to the FTP where TYPO3 is
installed...only the backend.
It would be nice if someone will have a solution. Many thx in advance.


that is not so easy. I don't think there will be a ready-to-use solution.

as this behaviour will need to have a special markup you need a special 
content-element (CE) with the option to place different texts/words over 
the image and link them.


you either have a fix layout for your special needs (eg. 3 words at 
posiotions 1,2,3) or you need to be flexible (e.g.  IRRE with subrecords 
for each word with data for: word,link, position)


then you can output fix HTML or something JS can build/move together.

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


Re: [TYPO3-english] Text HTML_5 displayed

2016-01-27 Thread Bernd Wilke

Am 27.01.2016 um 10:34 schrieb Garret Dekker:

Hi,
I'm new to typo3 and have just taken over the maintenance of a site and
see the text HTML_5 displayed at the top of every page. It looks like
this is the value of template variable config.doctype. Doesn't anybody
know why this happens and how I can turn if off? Have a look here:
bonapa.nl
Thanks


maybe it has something to do with:
config.doctype = html_5
look for a doktype configuration with erroneous HTML_5 instead of html_5.

or someone configured the dokheader by hand?

bernd

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


Re: [TYPO3-english] solved - Re: All fileadmin files and sub directories disappeared

2016-01-21 Thread Bernd Wilke

Am 21.01.2016 um 08:45 schrieb Katja Lampela:

Ok, the files and folders hadn't disappeared. Only the permissions were
wrong even though the install tool suggested everything to be right.

Anyway, with this instruction I got everything back:
http://www.ajado.com/blog/how-to-set-permissions-for-typo3-on-the-webserver/


just one notice as this is often done wrong:

dont use
chmod 775 -R *
for all files and directories.
for directories you need these settings but for files this setting is 
wrong: not all your files are executable (propably none is executable, 
with very, very rare exceptions)
if you use a shell with ls-coloring you always wonder about all that 
eye-catching (-hurting?) colors.


therefore I normaly use:
find . -type d -exec chmod 775 "{}" \;
find . -type f -exec chmod 664 "{}" \;

which changes the directories and files to their specific permissions. 
(you may replace the '.' (first parameter) with an appropiate path to 
your webroot if you execute it from somewhere else)


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


Re: [TYPO3-english] AMP pages, amp-img instead of img src from RTE

2016-01-21 Thread Bernd Wilke

Am 21.01.2016 um 23:01 schrieb Jan Slusarczyk:

I think you missed something:
the inserting of images is not done at rendering time (when a page is
called and/or the cache is filled), but when the editor is saing his
work: RTE images are not stored in a special field but the HTML-Tag for
the image is stored mid between all the other text. so there is no
(easy) possibility to chnage the rendering afterwards. alos there is no
hint to the original image as only a reference to the final image is
inserted.

all that is the reason you should avoid enabling editors to insert
images in the RTE.


My understanding is that RTE transformations are necessary during the
render time. RTE inserts a tag into the content record, but it's not the
final form of the img tag as it needs to be transformed with a final FAL
target file, compression etc. From Stanislas message it seems that I am
right and that there is a way to insert a custom rendering function in
there. My typo3 installation dates back to 3.8 version and inserting the
image through the RTE was not unwise back then...


there is a parsefunc which modifies the content of a field (for 
tt_content it is 'bodytext'). but that function does not interfere with 
any images (AFAIK). its just: wrapping 'lines' with class="bodytext">| and solve those TYPO3 special link tags target ...>|.


you may hook any userfunc or additional computation to the rendering at 
all, but there is nothing you can do with just a little configuration. 
and especially there are no hints to the original image, which you need 
to have images in bigger sizes than the inserted.



As I wrote I am looking for a way to add AMP version for an existing,
large website, and to be honest I'm surprised that the amp-image issue
hasn't surfaced yet.


I think as the concept of responsive websites and the usage of images in 
multiple sizes needs a complete different approach not much converting 
is done but a new relaunch which uses the new features.
As I llok at websites which have been doen more than five years ago: 
images were optimized for the usual usage and that was a maximum of 
800x600 pixels. so there would be no possibility to enlarge images to 
fit a something like retina displays.
either you need to replace a lot of images, or you stay with the small 
images for older pages/data and only the new data gets images with 
multiple solutions.

both times the editors have to change their workflow / use other CEs

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


Re: [TYPO3-english] image upload

2016-01-20 Thread Bernd Wilke

Am 20.01.2016 um 16:31 schrieb polycarp royal:

Hi people.

I'm using typo3 6.2.15, hosted on a shared server. I'm using ''realty
manager'' extension and whenever I want to upload a new image or just
use any stored for upload I get a 404, not found error.


have a look in the logs what URL is called that you receive a 404. 
Depending on it we can give further notice.



Have tried switching the php version from 5.3, 5.4, 5.5, 5.6 and even
7.0 as suggested by someone but still nothing seems to work.  I  would
like to upload images for the site.
Any help always appreciated.
thanks in advance


upload images in FE or in BE?

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


Re: [TYPO3-english] Create a controller in plugin [TYPO3 6.2.11]

2016-01-20 Thread Bernd Wilke

Am 20.01.2016 um 18:45 schrieb Marian Sedaj:

Hello,

I want to create a controller in extension. Can it be done in typo3 ?
Please if you can, navigate me step by step and don't point me to a
documentation.


if you don't want to read documentation: have a look into the code.
all other step-by-step explanaition is a documentation (and must be 
copied from the original docuemntation here)



i want to be able to go to localhost/books and I can't find any relevant
information in google. All code should be in the typo3conf/ext/myext folder


of course as all (code-)addition should be in an extension.

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


Re: [TYPO3-english] AMP pages, amp-img instead of img src from RTE

2016-01-20 Thread Bernd Wilke

Am 20.01.2016 um 19:56 schrieb Jan Slusarczyk:


 >
 > the other Solution: disable images in RTE at all.
 > there are not much (serious) usages you can use images in the RTE which
 > are not possible with the std- Img CE.
 > Your editors may need to split up longer text to insert images to
 > different position in the text.

That's what I was thinking for new pages. Problem lies with the old ones
- I have 3000 pages, and 60% of them may have an image put inside RTE
content. Oh my...

I hoped there's a way to 'hijack' the rendering of an img tag coming
from RTE.


I think you missed something:
the inserting of images is not done at rendering time (when a page is 
called and/or the cache is filled), but when the editor is saing his 
work: RTE images are not stored in a special field but the HTML-Tag for 
the image is stored mid between all the other text. so there is no 
(easy) possibility to chnage the rendering afterwards. alos there is no 
hint to the original image as only a reference to the final image is 
inserted.


all that is the reason you should avoid enabling editors to insert 
images in the RTE.


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


Re: [TYPO3-english] AMP pages, amp-img instead of img src from RTE

2016-01-20 Thread Bernd Wilke

Am 20.01.2016 um 13:32 schrieb Jan Slusarczyk:

Has anyone been looking into generating AMP pages from typo3? So far
everything seems to be doable except the amp-img tag for images included
in RTE.  Is it possible at all to replace the RTE rendering of an image
tag with an amp-img tag on Typo3 6.2 LTS?


AFAIK you can only do it if you modify the JS-Source of the editor. What 
you will not want to do.


the other Solution: disable images in RTE at all.
there are not much (serious) usages you can use images in the RTE which 
are not possible with the std- Img CE.
Your editors may need to split up longer text to insert images to 
different position in the text.


bernd

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


Re: [TYPO3-english] Install tool ok, no backend access

2016-01-17 Thread Bernd Wilke

Am 16.01.2016 um 11:17 schrieb Katja Lampela:

Hi,

I have this old site 4.5 that I should obviously update and I first
created a copy of the site.

Now I can login to install tool of the copy and I have changed the
database user and password to the copy database and I have done the
basic install tool database ownership rights checks there. Everything
seems to be ok.

However I can't login to backend. This happens: I login and the login
screen appears again. NOTE THIS! No errors. In server log there are no
errors either.

Also I have in install tool defined to notify every backend login to my
email address and I get a notification of successful login.
But actually I'm stuck on login screen, I can't get into backend.

I have created (multiple) new backend user in install tool, same thing.
I updated symlink to 4.7 source, no help. (I even tried to symlink to
6.2 but that completely messed things, so I started over).

In server I have tried both in Apache and FastCGI mode with appropriate
permissions, no help.

What might be the problem here?

Environment: Plesk 12.5, CentOS 6.7, PHP 5.4.45


sounds like a cookie problem. make sure the cookies can be written in 
your browser, the cokie-session-data can be written in DB and file 
system. also look for a misconfigured cookie-domain.


bernd

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


Re: [TYPO3-english] Extension ods_domaincheck ... OT

2016-01-15 Thread Bernd Wilke

Am 15.01.2016 um 12:06 schrieb Damien:

Quote: Ralf-Rene Schröder[1] wrote on Fri, 15 January 2016 11:20


outdated and unscure - update strongly recomended

impossible, already asked

outdated and unscure - update strongly recomended (ask your hoster)

impossible, already asked and we're our own hoster^^

maybe too short, i think the best way ist to look for someone updating
your site minimum to 6.2 ... and doing this whois work for you...

This is my job, that's the problem^^ I'm doing a professional retraining
here, becoming an application developer, and this is part of the new
website I set up. So I am the "someone" who has to do this somehow. So
if I don't get this extension work, I need to write something myself or
like said above rewrite something existing. Major problem at the moment
seems to be the implementation with typoscript. But that's another
theme, maybe I make a new topic for that and ask for help there if I
can't fix it myself. Got a few hours left until weekend^^


retraining on outdated systems? =:-O
that sounds like learning to build houses and avoiding bricks, steal and 
concrete.
if you will build a bank, robbers will have no problem breaking into 
your wood and clay building.


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

Re: [TYPO3-english] Extension ods_domaincheck ... OT

2016-01-15 Thread Bernd Wilke

Am 15.01.2016 um 13:49 schrieb Damien:

I'm not retraining TYPO3, that's just of the parts I'm working in. If we
upgrade here now, it might break everything done yet. Better use a
non-actual system than have x customers coming to rip your head of. Or
short, guess everybody heard this before: never touch a running system ;-)


you need to touch insecure running systems!
at least when a security breach was done.


What I'm doing right now doesn't require a new version. Either the
extension is unusable for newer versions at all (seen some older posts
where it worked), or the mistake is on me, wherever it still could be.
Pretty sure I'm switching to the PHP-script I found, even so it's
outdated too... But I guess it'll work, I just can't see when xD
So thank you all for your help, if anyone finds a solution I'd be glad
to see it, but I don't believe this will happen^^
Like I said, if I get the script done I'll post it here as an alternative.


as you need to stay with 6.1: even if the authors of those old extension 
are willing to update their extension I would expect they will update 
and test their extension against current versions of TYPO3 and there 6.1 
does not belong to. so you can't be sure that your feature will work 
with updated extensions.


and otherwise: if you build your own extension (don't include some 
'naked' php into your TYPO3. You will miss all comfort (including 
security!) from TYPO3.
and so you may not build an extbase extension use at least an 
pi_base/std-extension. it is simple and very well documented (just 
translate all class names for function calls to namespaced version).


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


Re: [TYPO3-english] Image maxwidth with fluid_styled_content

2016-01-14 Thread Bernd Wilke

Am 14.01.2016 um 10:27 schrieb Nicolai Schirawski:

Hi list,

I have an issue with image maxW.

Most of us use backend-layouts. In the "old times", using
css_styled_content, it was possible to have individual maximum image
width by setting tt_content.image.20.maxW to an appropriate value,
depending on backend-layout and colPos.

With fluid_styled_content, tt_content.image.20.maxW is no longer available.

How could I now achieve an image maximum width depending on
backend-layout and colPos?


you might have a look into the templates and insert a switch in the 
imagerendering depending on the colPos


(use templateRootPath*s* and you can replace only single templates 
without copying all templates)


bernd

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


[TYPO3-english] how to analyze page generation?

2016-01-14 Thread Bernd Wilke
I have two TYPO3 installations on the same server which are nearly 
identical for content and for configuration.


rendering the same page (without cache) the rendering times differ 
drastically:

on installation 1 it takes about 1 second
on installation 2 it takes about 4 seconds

not all pages have this relation, but the general faktor is 2: all pages 
from installation render much slower than the same page from installation 1


how can I analyze what takes so long?

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


Re: [TYPO3-english] config.spamProtectEmailAddresses not working

2016-01-13 Thread Bernd Wilke

Am 13.01.2016 um 11:32 schrieb Katja Lampela:

Hi,

TYPO3 6.2.17
Javascript spam protection of email link doesn't work. The email program
isn't activated after clicking, nothing happens.

Chrome's inspector gives error:

2(program):1 Uncaught ReferenceError: linkTo_UnCryptMailto is not defined

What would be the best way to inspect what is wrong?


what is wrong: the (default) javascript to uncrypt the link is missing.
either it is not loaded at all or the javascript is corrupted and that 
function is not accessible globaly.

have you any javascript errors on page load?
is the javascript source available?
someone tempering with loading javascript? (in TS or at page load)


I'm not sure how long this malfunction has been, but I did recently
update the core to 6.2.17.


I don't think it's the core. I would suspect typoscript configuration or 
other extensions which load JS.



I have as a basis the bootstrap_package and it's version 6.2.4. Now I
haven't dared to update it, being afraid it breaks the site, but could
it affect like this?


anything can affect anything.
best to test it on a copy.

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


Re: [TYPO3-english] Menu configuration

2016-01-12 Thread Bernd Wilke

Am 12.01.2016 um 04:47 schrieb Bojan Kraut:

Hi,

I need to render this:


Link1
Link1


But I can not find any examples, where I can render two elements inside
a tag.


have a look to all the wrap-functions.
with special wishes you may need to do the rendering on your own and 
disable the default rendering.


you may find examples in connection with: images/icons in menus

bernd

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


Re: [TYPO3-english] Cannot access backend from Install Tool

2016-01-11 Thread Bernd Wilke

Am 11.01.2016 um 09:49 schrieb Irene P:

Quote: Bernd Wilke[1][2] wrote on Fri, 08 January 2016 12:32



php consist also of a core and additional packages (like extensions).
http://php.net/manual/en/curl.installation.php
what packages are available you can see in the INSTAL TOOL in the info
section where a complete php_info is available:
System environment, go to the bottom and expand the 'PHP info'-block.


Yes I've installed everything according to that manual, and in the
[System environment]>[PHP Info] I see this status:  cURL support  enabled


as speaking of the Install-Tool:
have you checked all avallaible test for ok?


I  checked for broken extensions, all fine. All other tests are for
images so I'm not sure they're relevant?


they are not relevant.
more important are test about read-write access to different folders
can TYPO3 create files everywhere it wants?
e.g.: having different users for PHP and FTP/SSH you might create a 
folder with the SSH-user which can not be written by the PHP-user


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


Re: [TYPO3-english] Cannot access backend from Install Tool

2016-01-10 Thread Bernd Wilke

Am 11.01.2016 um 06:57 schrieb Irene P:

Quote: Philipp Gampe (pgampe) wrote on Fri, 08 January 2016 11:57


Hi Irene P,

Irene P wrote:

> typo3_src-6.2.17\typo3\backend.php

Wrong path. This needs to be typo3/backend.php

You never call typo3_src directly.


Are you saying that my symlinks are incorrect?


normaly a TYPO3 installation consists of following structure:

webroot (eg. /var/www/domain-folder/)
. . +- fileadmin
. . | . . +- ...
. . +- index.php (symlink or copy of ./typo3_src/index.php)
. . +- typo3_src (symlink to sources [*])
. . +- typo3 (symlink to ./typo3_src/typo3)
. . +- typo3conf
. . | . . +- ...
. . +- typo3temp
. . . . . +- ...

[*] the real soures of TYPO3 could be in the webroot-folder
but also be in a folder out of reach of frontend. having all versions of 
TYPO3 sources in one folder for a webserver with multiple instances can 
be easier to manage.


and so you never should call a path containing 'typo3_src' or worse with 
version like 'typo3_src-6.2.17'. neither for FE nor for BE or INSTALL 
TOOL. those pathes should be:

http://domain/ ... (+simulated FE-pathes)
http://domain//typo3/   (BE)
http://domain//typo3/install/ (INSTALL TOOL)
don't store (/bookmark) other pathes





Please see my screen capture, this is what I see on my web page
http://domain/typo3/backend.php


Best regards
--
Philipp Gampe  PGP-Key 0AD96065  TYPO3 UG Bonn/Köln
Certified Integrator  Active contributor TYPO3 CMS
TYPO3  inspiring people to share!




begin 644 typo3_site.jpg
M_]C_X``02D9)1@`!``$`8`!@``#__@`?3$5!1"!496-H;F]L;V=I97,@26YC
M+B!6,2XP,0#_VP"$``4%!0@%"`P'!PP,"0D)#`T,#`P,#0T-#0T-#0T-#0T-
M#0T-#0T-#0T-#0T-#0T-#0T-#0T-#0T-#0T-#0T-#0T!!0@("@<*#`<'#`T,

[a lot of SPAM]

M`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`
E4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`'_V0``
`
end



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

Re: [TYPO3-english] Cannot access backend from Install Tool

2016-01-08 Thread Bernd Wilke

Am 08.01.2016 um 09:15 schrieb Irene P:

Quote: Bernd Wilke[1][2] wrote on Fri, 08 January 2016 08:50


Am 08.01.2016 um 03:15 schrieb Irene P:
> OK, so I figured out the problem was the path. Fixed that and now I can
> access the backend. However, I ran into even more problems:
>
> (1) The backend logs itself out regularly. When I try to reload the URL
> it just shows a plain file directory, not the backend. I tried
> navigating to the typo3_src-6.2.17\typo3\backend.php but it does
> nothing. So I have to navigate to
> typo3_src-6.2.17\typo3\sysext\install\Start\install.php to load the
> install tool again, and create ENABLE_INSTALL_TOOL file. Only then I
can
> log on to the Install Tool, where I find the link to the Backend.
How do
> I fix this?

the backend normaly should start if you call domain.tld/typo3
no 'backend.php' or 'index.php'
depending on your apache config this might not work as it requires to
load 'index.php' (or 'index.html') for default if only a path is given.
don't try to call the php-files as local prorgams. use the web server.


I did use the web server. I took a screen cap of how it looks like in my
browser. Here's how it looks like:

(I still can't figure out how to turn on HTML code in this forum, so
can't insert the image here. See attachment typo3_site.jpg


there is no possibility to turn on something which does not exists.

you need to know the history:
first this was a newsgroup, then the newsgroup (NG) was synchronized 
with a mailinglist (ML), years later there was a forum attached (which 
was feature reduced to match the restrictions of newsgroup and mailinglist)


hence the proposal: store screenshots anywhere and post a link (because 
of spammers you are only allowed to post links after your third posting, 
but we humans can write syntactically wrong links, which everyone can 
understand)
otherwise most people (like me ;-) ) see just a bunch of characters like 
seen beyond.


and for HTML: if you enter HTML in the forum that might be escaped, but 
others answering from NG or ML may insert pure HTML which is not escaped 
in the forum and you will see nothing.

at least formatting and indention ist lost.
so: you may use a gist.




>
> (3) In the Backend, when I try to get or update extensions, I get the
> message "Update Extension List: Could not access remote resource (add
> http)repositories.typo3.org/mirrors.xml.gz." Retrieving (add
> http)repositories.typo3.org/mirrors.xml.gz from the command line works
> fine. So I tried all the steps highlighted in (add
> http)forge.typo3.org/issues/47135 but it still won't let me update the
> extension list. The steps were: install and enable cURL, disable
> sqlDebug, set allow_url_fopen = On. What am I missing?

are those php-packages installed?
are they installed/accassable for the user, which is running apache?
is this user allowed to reach the internet?



Sorry, which php packages? Yes I installed cURL with the same user, and
yes Internet access is available.


php consist also of a core and additional packages (like extensions).
http://php.net/manual/en/curl.installation.php
what packages are available you can see in the INSTAL TOOL in the info 
section where a complete php_info is available:

System environment, go to the bottom and expand the 'PHP info'-block.

as speaking of the Install-Tool:
have you checked all avallaible test for ok?


bernd





Thanks so much! And apologies in advance for more stupid questions I
will undoubtedly be asking in the future.
begin 644 typo3_site.jpg
M_]C_X``02D9)1@`!``$`8`!@``#__@`?3$5!1"!496-H;F]L;V=I97,@26YC
M+B!6,2XP,0#_VP"$``4%!0@%"`P'!PP,"0D)#`T,#`P,#0T-#0T-#0T-#0T-
M#0T-#0T-#0T-#0T-#0T-#0T-#0T-#0T-#0T-#0T-#0T!!0@("@<*#`<'#`T,

[2300 lines deleted]

M`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%
M`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`
E4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`'_V0``
`
end



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


Re: [TYPO3-english] Front end is giving error at fresh install of typo3 7

2016-01-08 Thread Bernd Wilke

Am 08.01.2016 um 11:31 schrieb dilip mdl:

Hi,

i have installed the typo3 at my local machine (unix) and set up its
hard links using the ln command and did whatever expected from typo3
while installing. Typo3 backend is working fine but its front is giving
error "No pages are found on the rootlevel!".

Can anyone help me to figure it out.

if you want TYPO3 to display proper pages from teh beginning you need to 
install a starter-package (last question of the Quick-Installer). 
otherwise you have no configuration (and no data!) to display anything.

and that's the error-message you got.

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


Re: [TYPO3-english] Cannot access backend from Install Tool

2016-01-07 Thread Bernd Wilke

Am 08.01.2016 um 03:15 schrieb Irene P:

OK, so I figured out the problem was the path. Fixed that and now I can
access the backend. However, I ran into even more problems:

(1) The backend logs itself out regularly. When I try to reload the URL
it just shows a plain file directory, not the backend. I tried
navigating to the typo3_src-6.2.17\typo3\backend.php but it does
nothing. So I have to navigate to
typo3_src-6.2.17\typo3\sysext\install\Start\install.php to load the
install tool again, and create ENABLE_INSTALL_TOOL file. Only then I can
log on to the Install Tool, where I find the link to the Backend. How do
I fix this?


the backend normaly should start if you call http://domain.tld/typo3
no 'backend.php' or 'index.php'
depending on your apache config this might not work as it requires to 
load 'index.php' (or 'index.html') for default if only a path is given.

don't try to call the php-files as local prorgams. use the web server.


(2) The typo3_src-6.2.17\Apache24\bin\httpd.exe stays open in the
server, it looks like a DOS prompt. If I close it, Apache shuts down. Is
there a way to close the DOS prompt without shutting down Apache? (Yes,
I'm a non-techie)


if *you* started the apache the program-window needs to be open.
you should configure your windows to start apache on its own as a 
background process.




(3) In the Backend, when I try to get or update extensions, I get the
message "Update Extension List: Could not access remote resource (add
http)repositories.typo3.org/mirrors.xml.gz." Retrieving (add
http)repositories.typo3.org/mirrors.xml.gz from the command line works
fine. So I tried all the steps highlighted in (add
http)forge.typo3.org/issues/47135 but it still won't let me update the
extension list. The steps were: install and enable cURL, disable
sqlDebug, set allow_url_fopen = On. What am I missing?


are those php-packages installed?
are they installed/accassable for the user, which is running apache?
is this user allowed to reach the internet?

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


Re: [TYPO3-english] TYPO3 behind a CDN and checkValidBrowserOrDie() ("Your browser version looks incompatible with this TYPO3 version")

2016-01-07 Thread Bernd Wilke

Am 08.01.2016 um 04:56 schrieb Michael Schams:

Ok, by setting my own custom user-agent string in file
AdditionalConfiguration.php,
the BE login works (accessing the BE via the CDN):

$userAgent = 'Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Firefox/38.0 Iceweasel/38.5.0';
$GLOBALS['CLIENT']['BROWSER'] = $userAgent;

Unfortunately, this is not the only spot in TYPO3 where the
browser/os/version
is checked by accessing variable $_SERVER['HTTP_USER_AGENT']. The next
problem is that the RTE is not loaded, if the user-agent is "AWS
CloudFront".

If I add the following line to AdditionalConfiguration.php, the RTE
comes up:

$_SERVER['HTTP_USER_AGENT'] = $userAgent;

However, overwriting *this* variable is a bad idea I suspect.
Is there any chance to force the RTE to load, no matter which user-agent
string the browser sent?


either the code is browser dependend:
then you need to fall back to your first idea to avoid the CDN by 
another domain to get the correct browser identification into the core.


or the browser does not matter even in 6.2:
then you can pretend any accepted browser anyway.


I don't know whether 6.2 is browser dependend or if this code already is 
superflous. maybe Jigal can tell more about it.


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


Re: [TYPO3-english] Cannot Login to Back End

2016-01-06 Thread Bernd Wilke

Am 06.01.2016 um 19:14 schrieb Brian Lynch:

I have tired multiple internet connections, and even virgin browsers,
could it be that the ISP has changed it's time slice?


???
what time slices should be relevant to the login process of TYPO3?

if you can not connect from any browser or internet connection I would 
look for restrictions of the BE-Login.


what are your configurations in the the subarray 'BE' in 
LocalConfiguration.php (and additionalConfiguration.php)?


something like: lockIP, sessionTimeout, IPmaskList, lockSSL, 
lockSSLPort, enabledBeUserIPLock, cookieDomain, adminOnly, ...


or you have restrictions in your .htaccess? (but then you propably would 
not be able to see the login or the install-tool.)


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


Re: [TYPO3-english] Cannot Login to Back End

2016-01-03 Thread Bernd Wilke

Am 04.01.2016 um 03:24 schrieb Brian Lynch:

Ok, I have upgraded my installation to version 6.2.17 and ran through
all the upgrade wizards, deleted the contents of typo3tem/cache folder
cleared all be_sessions table and tx_rsaauth_keys tables and cleared all
cache I could find.  Then created a new be admin with the install tool,
and still no change, I cannot login from the back end. No question it
checks the user name and password, the be_session table shows that a
session is started every time I try and login, but the log in screen
just shows up again, no message that the username or password is wrong
just the plain login screen like nothing ever happened, and everytime I
try and login, be_sessions shows a new session started.  One change in
behavior, the tx_rsaauth_keys no longer shows a new salt when I try and
login.  With version 6.2.0 the tx_rsaauth_keys table would always get a
new entry when I tied to login and failed.

I changed to be security level to NORMAL and created and new be admin
and that didn't work either.

I have tired to identify the cookie thing, but no luck there, with
version 6.2.17 I had to set the cookie name and site trusted host
pattern, so I think that all should be working as needed.  The front end
on both sites are still working (I have two independent sites sharing
the same source folder, and both sites have the same problem with not
being able to log in to the back end.

Any more Idea's of what I can do?


try a new browser. sometimes a browser confuses the cookies after an 
update and you need a fix in the CMS or the browser to continue.


you also may try another internet connection - or a less restrictive 
configuration for your internet connection (ip-mask).

also verify in the install-tool about the php-version.

just some thoughts
bernd

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


Re: [TYPO3-english] Does it make sense to make websites using Fluid Content Engine ?

2015-12-17 Thread Bernd Wilke

Am 16.12.2015 um 20:52 schrieb Dmitry:

Hi all,
I want to ask. Does it make sense to make websites using "Fluid Content
Engine", "Fluid Pages Engine", "Flux: Fluid FlexForms" and "VHS: Fluid
ViewHelpers"? Or better as always, using fluid and typoscript. Would it
not be in the future as the situation with templavoila? Whether these
extensions are actively maintained in the following years?
What is your opinion?


I don't know whether it will be maintained in the future, but that is a 
question for each extension you use.

at the moment there are a lot of developers involved.

my personal experience of the last years:
the extensions develop mighty fast and it is not easy to stay up-to-date.

I build some CEs which involved and got changes in the datastructure. 
And so it worked with older versions of fluidcontent, after one update 
the CEs were not rendered correct any more: since that version the 
flexform data needs to have the exact datastructure then the definition, 
which was not true due to the changes of the definition over time.
that was the end I could update the flux-extension. I needed to write an 
updatewizard analyzing the data  and definitions and correct them. As I 
got no help it was a hard way to learn that it was easy to do (you just 
need to know that you can read the xml into an array, modify the array 
and TYPO3 itself will automatically convert the array in XML)


on the other hand I noticed a big loss of qualitity in the 
documentations: a lot of attributes were just mentioned as 
'attributname="foo"'. no examples as in the first documentations.


and then the viewhelpers get renamed every now and then: I need to 
update all my templates for further usage of the excelent(!) viewhelpers 
in ext:vhs. And so I only had to manage only one big project it was a 
lot of work. I don't know the workload for someone having a lot of projects.


with the new FCE (Fluid-Content-Elements) I see no futher need for 
ext:fluidcontent. Have a look at ext:mask, and wait for an (F)CE-Builder 
like the kickstarter.
I did not use ext:fluidpages, but think that BE-layouts would be mighty 
enough.
grid-elements is also a big helper which will be included (partly) in 
the core in 8.
leaving ext:vhs from where I will copy now and then a viewhelper which 
needs no further update as it gets not renamed.


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


Re: [TYPO3-english] Preview of self defined CEs

2015-12-07 Thread Bernd Wilke

Am 04.12.2015 um 11:06 schrieb Bernd Wilke:

I'm still stuck realizing a BE-preview of my new defined CEs in 7.6.0
in ext_localconf.php I have:

$GLOBALS['TYPO3_CONF_VARS']
 ['SC_OPTIONS']
 ['cms/layout/class.tx_cms_layout.php']['tt_content_drawItem']
 ['my_textpic'] =
\ME\MyConfig\Hooks\PageLayoutView\MyTextPicPreviewRenderer::class;


[...]


but all I get in the BE is:
#1218547409: $hookObject must implement interface
TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface


as my classes are not known to the autoloader, the hook did not create 
objects of my class and so the error was thrown.


solution:
create /ext_autoload.php to declare my classes.


I found multiple examples how to build (and preview) own CEs but all
work in differnt kinds and with different syntax (which evolves from 4.3
to 7.6)

- - - - -

The other way for own previews I found was in page.TSconfig:

mod.web_layout.tt_content.preview {
 my_textpic =
EXT:my_config/Resources/Private/Templates/Preview/TextPic.html
}
but that did not work either for my own CEs (just for CEs from FSC)


still unknown



the default preview includes headline and text, but also I use the field
'assets' for images/videos (like in the text CEs from FSC) there
is no preview of the images, which is very inconvenient for editors.
previously I used the field 'image' (like in the old textpic CE from
CSC) and there was a preview of the images by default.


the default preview for CEs unknown to the core indeed only renders 
field image and does not render entries for media or assets. I created a 
forge-ticket https://forge.typo3.org/issues/72079, which was rejected 
with a note to the existing possibilities to do an own preview.



anyone who can help to analyze the errors or give me a hand for a
working full preview?


thanks for nothing :(

bernd




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


[TYPO3-english] Preview of self defined CEs

2015-12-04 Thread Bernd Wilke

I'm still stuck realizing a BE-preview of my new defined CEs in 7.6.0
in ext_localconf.php I have:

$GLOBALS['TYPO3_CONF_VARS']
['SC_OPTIONS']
['cms/layout/class.tx_cms_layout.php']['tt_content_drawItem']
['my_textpic'] = 
\ME\MyConfig\Hooks\PageLayoutView\MyTextPicPreviewRenderer::class;


in 
EXT:my_config/Classes/Hooks/PageLayoutView/MyTextPicPreviewRenderer.php 
I have:

--
class MyTextPicPreviewRenderer implements 
\TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface

{

/**
 * Preprocesses the preview rendering of a content element of type 
"my_textpic"

 *
 * @param \TYPO3\CMS\Backend\View\PageLayoutView $parentObject 
Calling parent object
 * @param bool $drawItem Whether to draw the item using the default 
functionality

 * @param string $headerContent Header content
 * @param string $itemContent Item content
 * @param array $row Record row of tt_content
 *
 * @return void
 */
public function preProcess(
\TYPO3\CMS\Backend\View\PageLayoutView &$parentObject,
&$drawItem,
&$headerContent,
&$itemContent,
array &$row
)
{
if ($row['CType'] === 'my_textpic') {
  :
}
}
}
?>
--

but all I get in the BE is:
#1218547409: $hookObject must implement interface 
TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface



I found multiple examples how to build (and preview) own CEs but all 
work in differnt kinds and with different syntax (which evolves from 4.3 
to 7.6)


- - - - -

The other way for own previews I found was in page.TSconfig:

mod.web_layout.tt_content.preview {
my_textpic = 
EXT:my_config/Resources/Private/Templates/Preview/TextPic.html

}
but that did not work either for my own CEs (just for CEs from FSC)

the default preview includes headline and text, but also I use the field 
'assets' for images/videos (like in the text CEs from FSC) there 
is no preview of the images, which is very inconvenient for editors.
previously I used the field 'image' (like in the old textpic CE from 
CSC) and there was a preview of the images by default.



anyone who can help to analyze the errors or give me a hand for a 
working full preview?



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


Re: [TYPO3-english] Start Page-tree with link or with content page

2015-12-04 Thread Bernd Wilke

Am 04.12.2015 um 16:42 schrieb Nicolai Schirawski:

Hi,

traditionally, a page-tree starts with a root-page that is a link to a
start-page somewhere else in the page tree:

New Typo3 Site
|__root-page (= link to start)
|__start
|__more pages

(A typical example is also here:
https://docs.typo3.org/typo3cms/TemplatingTutorial/Preparation/Creating/Index.html)

Is there any reason, why the root page does not contain content? You
could start as well like this:

New Typo3 Site
|__start (contains content)
   |__more pages

Are there any drawbacks in this solution?


sometimes it is more complicated to define a different layout rendering 
for the startpage (which might NOT be inherited to subpages)
on the other side it is more complicated to have content at the url '/' 
and not having a redirect or duplicate content on another page. (SEO 
considerations).
also you may want a menu item in your main menu which leads to the 
startpage.


just soem thoughts

bernd

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


Re: [TYPO3-english] preview for own FCEs?

2015-11-26 Thread Bernd Wilke

Am 24.11.2015 um 13:59 schrieb Jigal van Hemert:

Hi,

On 23/11/2015 12:38, Bernd Wilke wrote:

All works well - aside the BE-preview (page-module) of the CEs has lost
the  preview image. What is needed to show the preview image again? (the
images where shown with the field `image` automagically)


You could take a look at
typo3/sysext/frontend/Configuration/TCA/tt_content.php where the 'image'
field is configured.
It calls a function to get the configuration of a file field and
overrides certain parts of the configuration.

Perhaps this is enough inspiration to get the previews back.


sorry I did not find an inspiration.



at the moment I have the feeling I messed up the complete extension as 
nearly no configuration I do appears in the BE:


there are no icons for my CEs,

I can not change the preview (in module page) for my CEs.

the images are not shown in the default preview at all (current topic)

I want different configurations (fields) be visible depending on the 
column a CE is placed, but its always the same.


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


Re: [TYPO3-english] Purchase frontend user account

2015-11-23 Thread Bernd Wilke

Am 23.11.2015 um 12:17 schrieb Bernd Wilke:

Am 22.11.2015 um 16:15 schrieb Katja Lampela:

Hi,

I'm searching for a solution to an online shop which sells time based
frontend user accounts/subscriptions:
Visitor creates an account and buys a subscription for example for a
day/week/month/year. User is added automatically to a group (based on
what subscription purchased) and this group of course gets special
content.

Now anyone knows if there is any online shop that has any features like
this or which would be a good starting point for this?


long time ago (2009) I wrote an extension for the timed membership.


just forgotten: ext:timed_ugs
http://typo3.org/extensions/repository/view/timed_ugs


I did not check wether it still works with 6.2 or 7LTS (after the usual
small adjustments).
also there was no handling of any payment or reminder about ending
memberships.

the advantage against default behaviour:
the user can still be active after his membership ends.

default: either the useraccount is inactive completely or the group is
inactive (for all group members)

the record structure is simple and could possibly be used by any payment
which can create records in TYPO3.

bernd


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


Re: [TYPO3-english] Purchase frontend user account

2015-11-23 Thread Bernd Wilke

Am 22.11.2015 um 16:15 schrieb Katja Lampela:

Hi,

I'm searching for a solution to an online shop which sells time based
frontend user accounts/subscriptions:
Visitor creates an account and buys a subscription for example for a
day/week/month/year. User is added automatically to a group (based on
what subscription purchased) and this group of course gets special content.

Now anyone knows if there is any online shop that has any features like
this or which would be a good starting point for this?


long time ago (2009) I wrote an extension for the timed membership.
I did not check wether it still works with 6.2 or 7LTS (after the usual 
small adjustments).
also there was no handling of any payment or reminder about ending 
memberships.


the advantage against default behaviour:
the user can still be active after his membership ends.

default: either the useraccount is inactive completely or the group is 
inactive (for all group members)


the record structure is simple and could possibly be used by any payment 
which can create records in TYPO3.


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


[TYPO3-english] preview for own FCEs?

2015-11-23 Thread Bernd Wilke

I already asked in typo3.slack#cig-ext-frontend, but got no answer.

I created some own FCE. my first approach was based on an old data 
structure and I stored images in the field `image`,

now I want it more like 7 and changed the field for images to `assets`.

All works well - aside the BE-preview (page-module) of the CEs has lost 
the  preview image. What is needed to show the preview image again? (the 
images where shown with the field `image` automagically)


or asking more generally:
is there a documentation how to create a BE-preview (for page module) 
for my own CEs?



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


Re: [TYPO3-english] Swap languages in whole installation

2015-11-12 Thread Bernd Wilke

Am 12.11.2015 um 14:59 schrieb Jan Kornblum:

Dear newsgroup,

i've got a quite adventurous intention ;)

A medium sized website had wrongly been setup with sys_language_uid=0 to
be english, sys_language_uid=1 to be german long time ago. But the
projects domain is a german top level domain (please don't condemn me,
it is not my fault)...

Now the customer would like the german content to be default, and
english content should be located below "domain.de/en".

I'm currently thinking about the following approach: Shouldn't it be
possible to just swap all sys_language_uid columns values in the
affected tables? Like this:

# Swap DE to a temporary "3"
UPDATE tt_content SET sys_language_uid=3 WHERE sys_language_uid=1
# Swap EN to "1"
UPDATE tt_content SET sys_language_uid=1 WHERE sys_language_uid=0
# Swap temporary cached DE to "0"
UPDATE  tt_content SET sys_language_uid=0 WHERE sys_language_uid=3

I think this need to be done for "tt_content" and some custom extensions
tables. For "pages" itself this won't be possible due to
"pages_overlay", but this replacement might be done manually...

What do you think? Might this still result in a clean installation? Or
are there any better approaches?


that problems is old. and no solution has been found yet.
it is not only about the field sys_language_uid in the 
(tt_content)records. but all translated records contain fields about 
translation-parents, these relations would go wired, as it is expected 
that the parent always has sys_language_uid = 0.


if you write a script (you can't solve it with pure SQL) you may read in 
a pair of records (default-lang and translation and swap the content of 
all fields except the language-parent relation (be aware: there also is 
a field for diffs which gets broken) then write these records back.


depending on your records and datastructure that might enough.
but if you have files (images) in your records (text with image): with 
FAL the relation got exported to sys_file_references (which has no 
sys_language_uid) and you need to correct those relation depending on 
the uids of the original (tt_content) records.



as far as all is about nice urls, you may persuade realurl to have the 
translation without language path segment and use a fixed pathsegment 
for the default language! (or all languages?)



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


Re: [TYPO3-english] Upgrade vs. migration from 3.8.0

2015-11-06 Thread Bernd Wilke

Am 06.11.2015 um 13:10 schrieb Fabian Berger:

I created a homepage based on Typo3 3.8.0 a couple of years ago that has
not been maintained since. I want to upgrade it now to the most current
version and was wondering what would be easier:

- version by version upgrade
- install current Typo3 version in a different directory on the same
server and migrate the data over

Are there any benefits to doing it one way or the other? Any special
steps I will have to take?

I'm sorry if these are stupid questions but I have not been keeping up
with Typo3 for the last couple years.

Any help is much appreciated



depends on the amount of data and whether you want stay with the old 
layout/design.


if you you have not much data and prefer a modern design you may be 
faster with a new installation and copy (or some basic sql). if 
you are lucky you may be able to use t3d export/import.


if you want to keep the design without much changes you need to upgrade 
step by step. but be aware since 3.8 a lot of (default-)rendering has 
changed and it will need a lot of work in redefining the rendering or 
adapting the CSS to these changes.


furthermore you need to consider the usage of any extensions:
what changes have been done? do you need to update data? with/without 
update scripts? can you update step by step or with one jump?


just some thoughts

bernd

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


Re: [TYPO3-english] Typo3 6.2 tx_news cache issue

2015-10-26 Thread bernd wilke

Am 23.10.15 um 11:08 schrieb Arun Chandran:

Hi All,

I've a Typo3 6.2.15 installation and I am using tx_news version 3.2.4 for
article management. I am facing a strange issue with tx_news and realurl (
version 1.13.4 ). Suppose when I click on news article it leads to a detail
page. When I come back and click on another news article, it also displayed
the detail view of previous article. If I add "nc" (no cache) parameter to
the url, then it works without any issue. And also its working when I
disable realurl configuration.

I can't use "nc" parameter in the url due to SEO. So if there any
possibility to fix this caching issue with realurl and tx_news?


have a look to the configuration of "cHash".
and compare your realurl config with the news-docu:
https://docs.typo3.org/typo3cms/extensions/news/AdministratorManual/BestPractice/Realurl/Index.html

bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] page called WITH pagetype is empty

2015-10-26 Thread bernd wilke

Am 22.10.15 um 16:23 schrieb Jennifer Koenig:

I want to use AJAX to call a method in my controller. The AJAX call
returns "Sucess" and a status of 202, however, only an empty string.
Here's my code... (by the way, if "BBCode is off" how do I turn it ON??)


never. as the forum is mirrored to Newsgroups and mailinglist where 
those tags were not interpreted.




ajax.ts
---
[code]
ajaxPage = PAGE
ajaxPage {
typeNum = 1443694741
config {
no_cache = 1
disableAllHeaderCode = 1
disableCharsetHeader = 1
xhtml_cleaning = 0
additionalHeaders = Content-Type: application/json; charset=UTF-8
no_cache = 1
}
10 = USER
10 {
userFunc = tx_extbase_core_bootstrap->run
extensionName = Myext
pluginName = Myplugin
vendorName = Myvendor

switchableControllerActions {
Booking {
1 = checkAvailable
}
}
}
}
[/code]

checkAvailable.js

[code]
..
checkAvailable: function () {
var controller = 'Booking';
var action = 'checkAvailable';
var pageType = 1443694741;

$.ajax({

url: "index.php",
dataType: 'text',

data: "id=19_myext_myplugin[controller]=" + controller +
"_myext_myplugin[action]=" + action
+ "=" + pageType,

success: function (result) {
console.log('success');
console.log(result);
},

error: function (error) {
console.log("error: ");
console.log(error.status);
console.log(error.statusText);
},
..
[/code]

BookingController.php
---
[code]
public function checkAvailableAction() {
return "Successful AJAX call";
}
[/code]


The URL that gets generated by the AJAX call is this:

http://mydomain/index.php?id=19_myext_myplugin[controller]=Booking_myext_myplugin[action]=checkAvailable=1443694741


The page is empty and without source code. AJAX tells me that the call
was succssful, with a status of 202, and returns an empty string instead
of what's in my controller.

When I call this generated URL without the "type", I get a page with the
data from this (and the other) plugins. Is it because of the page, since
it has more than one plugin on it?

It seems like the controller isn't even being called by AJAX. I'm
working with TYPO3 7.4, or else I would use devlog to tell me if the
controller ever even gets entered.

Does anyone have an idea where I could start debugging this? In PHP log
there are NO errors and no warnings when this page is called.


1. test wether your pagetype is called at all:
intert
ajaxPage.20 = TEXT
ajaxPage.20.value = back from AjaxPageType

then you may provide a logging in your ajaxpage.
log all the _GET/_POST-vars

log wether your plugin is called
what your plugin thinks to return

if you can not output to screen, you may use a fixed file /tmp/typo3.log 
or /fileadmin/ajax.log or ...



bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Help with inline for each

2015-10-26 Thread bernd wilke

Am 22.10.15 um 23:34 schrieb Simon Browning:

Thanks Richard

isfirst and islast will only give me the space at the beginning or end
of the list of categories though, won't it? It might work though, as
most articles won't have more than two or three categories

I haven't been very succesful nesting with inline fluid, below is what I
have, how would you work the iterator into it?

http://schema.org/Article;>


for the CSS-Classlist commata are evil, and an additional space at the 
end does not disturb anything.


for a list outside of HTML-Tags(attributes) I would prefer the 
tag-notification of the viewhelpers:


as="category" iteration="iterator">

{category.title},


bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Team page deleted, still showing up

2015-10-20 Thread bernd wilke

Am 20.10.15 um 02:38 schrieb Laura Cienkowski:

I have deleted the team member page.  When I look at the Team list it is
not there but  It is still showing up on our website months later.  I
need this person removed from our website and I can't think of why it
would still be there.
I hope someone can help.


you may provide some more information.
as there are multiple possibilities to show information on a website you 
(and us) need to identify the source of these person information.

then you can remove the exact data.

Version of TYPO3, involved extensions, URL?

bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] .htaccess file

2015-10-19 Thread bernd wilke

Am 16.10.15 um 13:07 schrieb polycarp royal:

Hello good people, I'm pushing my typo3 site to a live server and on the
cPanel I'm able to locate and install TYPO3. When I open the site url on
the browser I'm getting a .htaccess error (I presume) which says:-

"home/hyraxpro/public_html/cms/.htaccess: INVALID COMMAND
'/(typo3/|t3lib/|fileadmin/|typo3conf/|typo3temp/|uploads/|favicon\\.ico)
', perhaps misspelled or defined by a module not included in the server
configuration"
That's exactly the error I'm getting.
How do I solve it? or how do I modify the .htaccess file to
rewrite/redirect correctly ?? any help/suggestions always appreciated.


that looks like a line has accidantly been splitted.
in the usual .htaccess you can find the line:
RewriteRule 
^(typo3/|t3lib/|fileadmin/|typo3conf/|typo3temp/|uploads/|favicon\.ico) 
- [L]


if you accidently deleted the first word the rest may result in your 
error message


bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Extbase FE form with inline relation

2015-10-12 Thread bernd wilke

Am 11.10.15 um 22:28 schrieb Jan Bednarik:

Please read my question again. I need frontend insert/update form with
inline relation. Ext builder doesn't give you that.

your initial posting does not state clearly that you want an create/edit 
form in the FE.


for that you might use your suggestion, you also may use the uid as 
index for the inline records as far as the data is edited.
but I think you will have to do some programming to map those data to 
the repository (and the database records)


maybe it will be possible to do it automaticaly with the new announced 
form handling in 7LTS



bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Access Permission: Expand "editcontent" to only allow a user to edit content elements only

2015-10-09 Thread bernd wilke

Am 08.10.15 um 16:57 schrieb Michael Holst:

Hi Forum,

I am in the midst of planning my user groups and page access permissions
for a fairly large site ( ca. 40 BE Users ). I have a certain setup
planned that will work great for what these BE users will need.

Overview of User Groups:

Global Admin - Access to all page Trees with all permission // This is
ok Root Admin - Access to specific Page Tree // This is ok Editor -
Access to certain pages with the full "editcontent" permission; Edit,
add, delete, move content // This is ok
*
Contributor - Access to certain pages ONLY EDIT content elements. //
What I need here, is to be able to give these users only the option to
edit content elements. Using the standard "editcontent" permission will
give these users too much access because they can add, move and delete
content elements.
*

Is there a way to override the "editcontent" permission via tsconfig? Is
this even possible? If not I will have to change my setup before I get
to into-depth with the setup.


you don't want to override the permissions but you want to split them 
and have individual rights.
AFAIK you can not grant these rights individualy, but you may be able to 
get parts of it with side effects.
if you revoke the access to the field 'deleted' you may forbid teh user 
to delete records. if you revoke the access to the field uid you may be 
able to forbid creation. but that might be able only if you modify TCA 
for basic tables and fields and I do not know whether this is possible 
(and the core function respect settings to these fields


bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] The package "frontend" depends on "cms" which is not present in the system.

2015-10-07 Thread bernd wilke

Am 07.10.15 um 10:08 schrieb Katja Lampela:

Hi,

1.10.2015, 12.18, Viktor Livakivskyi kirjoitti:

Can you check if there is a "cms" extension in typo3/sysext/ folder?
If not, then you did downgrade wrong and need to really copy complete
source of 7.3.1.


Thank you Viktor, I ended up upgrading back to 7.5.0 and struggle with
that.

Because I use symbolic links I don't touch the source folders at all, so
the "cms" is there in the folder anyway.

Please enlighten me/us if this is a wrong way to downgrade:
- change the symbolic links to the old source
- empty the caches, upgrade steps and database comparision in install
tool and empty the caches and even the whole typo3temp folder if needed
(and recreate the typo3temp default folders with install tool)
- did the DB integrity check in backend



as the files LocalConfiguration.php and PackageStates.php (in 
typo3conf/) could be modified after/while upgrade you may need to 
rebuild them.
in this case the entry for ext:cms was removed for 7.5 and is missing 
after the downgrade.
As there is no downgrade-wizard/-script you may need to insert or revert 
configuration which was lost as there is no history aside from your 
server-backup


bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] The package "frontend" depends on "cms" which is not present in the system.

2015-10-07 Thread bernd wilke

Am 07.10.15 um 11:02 schrieb Katja Lampela:

Hi,

7.10.2015, 11.23, bernd wilke kirjoitti:

Please enlighten me/us if this is a wrong way to downgrade:
- change the symbolic links to the old source
- empty the caches, upgrade steps and database comparision in install
tool and empty the caches and even the whole typo3temp folder if needed
(and recreate the typo3temp default folders with install tool)
- did the DB integrity check in backend



as the files LocalConfiguration.php and PackageStates.php (in
typo3conf/) could be modified after/while upgrade you may need to
rebuild them.
in this case the entry for ext:cms was removed for 7.5 and is missing
after the downgrade.
As there is no downgrade-wizard/-script you may need to insert or revert
configuration which was lost as there is no history aside from your
server-backup


Thanks Bernd. What would be the steps to take if downgrade is needed?
Backup the LocalConfiguration.php and PackageStates.php?

IMHO the downgradablity has been one of top features in TYPO3. It's sad
if it's lost - specially now that there are such a wide range of
versions around and very much compatiblity issues.


as always said: save your data before every version change.
you need the saved files in the state just before you upgraded.
(everybody is saving the database, but nobody saves these files)

bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Multilanguage Website

2015-10-06 Thread bernd wilke

Am 05.10.15 um 22:40 schrieb Hakan Gür:

Hello everybody,

I installed Typo3 6.2 a few days ago (I did not choose Ver. 7 because of
the limited number of extensions available so far). Although I managed
to cope with various difficulties, I failed to find a solution for one
persistent problem.
Together with the Typo3 installation, I chose the Official Introduction
Package, featuring a Bootstrap Package. The pages are in two languages;
the default language is English and the second language is German. On
the footer-left, there is a language list: English, Dansk, Deutsch. The
problem is that although Dansk is disabled, when I click "Dansk", the
page in German appears. The link for "Deutsch", on the other hand, is
dead. (clausthal.tk/web)

In the German forum, someone asked a solution to completely delete the
language links (msg: 736188) but this is not what I am after (and the
suggested solution there does not mean anything to an ordinary user like
me).
How can I delete Dansk altogether and make the "Deutsch" link functional?
Thank you in advance.


these links (should) depend on the content which is available.
in general you have a default-language (which you can define by 
yourself) identified by id 0, then you add further languages which get 
incrementing ids. I just stumbled apon an error in the bootstrap 
package, where some values were missing in the initial data:
the language iso-codes were not assigned to the language records. maybe 
your error is based upon that.


otherwise:
you can configure fallback routes for languages requested, not all 
languages need to fall back to default if no content is available.
you even can configure that no fallback is possible at all: untranslated 
pages are not accessible.


have a look in the BE and make sure you have content in the desired 
languages: have a page-translation and also translate the content.


the behaviour you described for the language menu at first sight sounds 
like a misconfiguration where the languages are switched.


As I do not use the package I don't know what is wrong with your 
installation.


bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] executing SQL and returning results to a new window

2015-10-06 Thread bernd wilke

Am 05.10.15 um 18:52 schrieb Kerry hr:

Because I have already tried a couple of alternatives, I'd like to ask a
quick question before I commit to installing TYPO3 at my Swiss hosting
service Hoststar. The web site I'm developing will provide beer lovers
like us, a list of places here, where they can buy a decent quality
beer, Swiss or international. It's a non profit development project for
a couple of out of work ex pats.

I will have a background database of beers, from various countries, at
various locations in Switzerland. Ideally the user can select those from
several drop down menus and when he hits the button, the SQL we generate
selects them, and produces the output  list in a window.
The background coding is the easy part. Generating an SQL based on the
selection should be also, but executing it and returning a new screen?

II've tried hoststars designer tool, and that was no good for our
purposes. Wordpress was too blog orientated, which was not what we
intended, and the serious support was non existent when we had various
issues. Hoststar has various installable CMS, of which TYPO3 and Joomla
have a 5 star rating, although Joomlas requirements are moderate, TYPO3s
are *serious".

I'm sure you'd recommend TYPO3, but does it have the extensions that
would suit our needs? Alll mentoring greatly received.



With TYPO3 you can do anything, at least if you programm it yourself 
(with the help of the TYPO3-API).
but if you are lucky someona had the same problem (or nearly the same) 
than you and already build an extension and gave it to the public.
the TER (TYPO3 Extension Repository) is that heap of extnsions usable 
for free for everyone.
there I have seen the extension 'browser' which you might consider to 
use. have a look in the manual and decide by yourself!


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

bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Can I make this site with Typo3

2015-09-30 Thread bernd wilke

Am 30.09.15 um 07:30 schrieb Roelof Wobben:

Hello,

I have now this site in Wordpress : http://www.tamarawobben.nl

Can I make the same site in Typo3 expecially the calender based archive
I have in the sidebar.


I would suggest to use the extensions news and cb_newscal.
other parts are standard stuff as far as I have seen it.


bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] PHP 5.6

2015-09-30 Thread bernd wilke

Am 30.09.15 um 08:01 schrieb Gert Rosslee:

Please help!
Provider opgraded to PHP 5.6
On trying to log on to mysite\typo3 i get the following error:

Oops, an error occurred!

$toolbarItem "shortcuts" must implement interface backend_toolbarItem

More information regarding this error might be available online.


which version of TYPO3 do you use?

have you cleared all caches?
use the install-tool to clear the caches and check for problems.


bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Oops, an error occurred! $toolbarItem "shortcuts" must implement interface backend_toolbarItem

2015-09-11 Thread bernd wilke

Am 11.09.15 um 13:32 schrieb Gert Rosslee:

Please help, cant log into my page " Oops, an error occurred!

$toolbarItem "shortcuts" must implement interface backend_toolbarItem

More information regarding this error might be available online. "


just had it: your PHP version is to high for your TYPO3 version

for me it was: php 5.6 with TYPO3 4.7

bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Mailinglists used by Spammers

2015-09-07 Thread bernd wilke

Am 06.09.15 um 16:26 schrieb Ralf-Rene Schroeder:

so from now on
for every NEW user registratet in forum the FIRST posting must be
approved...
hope so that this reduced spam a little...


until the forum gets attacked by https://en.wikipedia.org/wiki/XRumer

I think I have seen traces of xrumer: postings with no real content ('I 
agree', 'that is a fine statement', ...) to get past the three postings 
limit for URL postings.


bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] TYPO3 under Cloudlinux: recommended settings

2015-09-03 Thread bernd wilke

Am 02.09.15 um 17:14 schrieb Urs Braem:

Bernd, you are referring to memory_limit, right?

What do you think about:

memory_limit = 512M
post_max_size = 100M
upload_max_filesize = 100M
magic_quotes_gpc = Off
max_input_time = 60
date.timezone = "Europe/Zurich"
max_execution_time = 240
magic_quotes_gpc = Off


that should be enough to run TYPO3 smoothly (except you have very 
extraordinarily traffic)



I am not 100% sure if the server will give me these 512M, though


considering the default-values you refered in your first posting it can 
get close.
the other bottleneck might be the number of CPUs. as a website includes 
a lot of requests which could be served in parallel only one CPU will 
need to sequence it.


For virtual machines as webserver inside my normal computer I consider 
at least one CPU fulltime and at least 2 GB Ram, better 3 or 4.

And that are webserver only I access, and the connection is fast!

bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] background-image for content elements

2015-09-03 Thread bernd wilke

Am 03.09.15 um 09:37 schrieb Ernst Fall:

With compatibility6 it didn´t work either :-(
I don´t have any clue of extension-making, so I don´t really know what
these namespaced classes are :P Can I simply replace the outdated call
t3lib_div::loadTCA with the suitable new one?


that would be neccessary at least


But generally I fear that I cannot fix the extension, so maybe there´s
another way to set a background-image for each content-element?


not so easy:
you need to have an additional field for the BG-image (not realy 
possible without extension) and you need to change the rendering of the 
CEs to include this image


bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] TYPO3 under Cloudlinux: recommended settings

2015-09-03 Thread bernd wilke

Am 03.09.15 um 11:16 schrieb Urs Braem:

 I consider  at least one CPU fulltime and at least 2 GB Ram, better 3
or 4.


Yeah, but that will be quite expensive on a commercial hosting, even if
it's on a shared hosting. At least here in Switzerland.
What CPU/Ram force do you rely on for live environments?


I can't give you data here as I does not manage any 'real' servers.
I prefer managed servers at hosters which (realy) support TYPO3. 
Propably that are virtual machines but I have information about those 
specifications.


bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] background-image for content elements

2015-09-02 Thread bernd wilke

Am 01.09.15 um 13:58 schrieb Ernst Fall:

Hello and thanks for the answer!
The problem is, that after I installed the extension via
extensionmanager, Typo3 seems to crash (Backend as well as frontend
become white pages). I think the error is somewhere in the
extTables.php, but I´m not into extension-developement to check that :-/



in the ext_tables.php of that extension all core-calls are like
t3lib_div::loadTCA(..) which is deprecated since 6.0 and which is 
outdated for 7.x.
I fon't know whether you can use it if you install compatibility6, the 
better way would be to change these method calls to the proper 
(namespaced) classes.

http://api.typo3.org/typo3cms/current/html/ might help

bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] TYPO3 under Cloudlinux: recommended settings

2015-09-02 Thread bernd wilke

Am 02.09.15 um 16:01 schrieb Urs Braem:

Hi all

some of our TYPO3 instances are running on a shared hosting (CentOs with
cPanel, suPHP and mod_security), where Cloudlinux
(https://www.cloudlinux.com/) is used to limit resource usage per
account and increase server stability. That is fine, but I sometimes get
the feeling TYPO3 is throttled a little too much to do its duties as it
should.
Does anyone have  experiences with TYPO3 under Cloudlinux? Is that (and
the above mentionned ensemble of software) a recommendable environment
for a TYPO3 Install at all?

To tweak (= loosen) the Cloudlinux limits, there are several parameters
that could be modified:

http://docs.cloudlinux.com/index.html?limits.html

Apart from the obvious CPU/SPEED parameter, could anyone suggest a
recommended minimum setting for an average TYPO3 site to run smoothly?

Thank you very much - any hints are appreciated


the question might be: what values have you in your php.ini?
as TYPO3 needs some more memory than a simple php-website restrictions 
there would be more slowing down your website. as usual values in 
php.ini can not exceed values for the underlying OS


http://typo3.org/typo3-cms/overview/requirements/

bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] background-image for content elements

2015-09-01 Thread bernd wilke

Am 01.09.15 um 11:49 schrieb Ernst Fall:

Good day!
I´m looking for a way to set a background-image for some content
elements on a page. I already found this extension:
http://typo3.org/extensions/repository/view/backgroundimage4ce which
does exactly what I need, sadly it doesn´t work with Typo3 7.4.0 anymore
:-/
So what can I do instead?


looking at the extension I think it will work only with CSC.
and the CE-rendering is changed with 7.4

you may adapt the TS in static/setup.txt

bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] Uploaded photo doesn't show in my webpage

2015-08-27 Thread bernd wilke

Am 27.08.15 um 10:48 schrieb Dren Selimi:

Hi Markus,

I went to Page menu in typo3, there I have a part of the page that
contains images, so I clicked to edit it, and then uploaded the image
from the Choose file button,

So as you can see , the file is shown in the column of other images, and
the file is also shown in the list of files. You also have an arrow
showing where I clicked to upload the image. (attached you have the photo.)

About the version of typo3 im am not sure since Im new to this part I
just started taking care of the company's website


from the screenshot it must be an old 4.5.
the screenshot also shows that the page you inserted the content is not 
shown, so a change of content does not clears cache for the page the 
content is shown.
Either you have to clear all caches (which you can't as you are no 
admin) or you have to clear the cache of the page all content is shown.


there is a missing configuration that clears the cache of dependend 
pages automatically.

TCEMAIN.clearCacheCmd = 123

As you are no admin I think you will not have access to the page field 
to insert it.


meanwhile the cache refreshed and your image shows up.
With the information in your screenshot I was able to identify the 
website. maybe you should consider more privacy protection!



regards, Dren
begin 644 forum.jpg
M_]C_X``02D9)1@`!``$`8`!@``#__@`?3$5!1!496-H;F]L;V=I97,@26YC
M+B!6,2XP,0#_VP$``4%!0@%`P'!PP,0D)#`T,#`P,#0T-#0T-#0T-#0T-
M#0T-#0T-#0T-#0T-#0T-#0T-#0T-#0T-#0T-#0T-#0T!!0@(@*#`'#`T,

[...]

M`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`4`%`!0`
-4`%`!0`4`%`!0!__V0``


that is the way I see your attached image in my newsreader. please be 
kind and store images somewhere else and have an URL in your posting.



bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Unable to login TYPO3 backend- Install Tool login works

2015-08-25 Thread bernd wilke

Am 25.08.15 um 02:47 schrieb Mr Learner:

Hello Everyone,
I'm working on TYPO3 site migration from one host to the other. I have got
my database setup and able to login to TYPO3 Install Tool login. However
when I try to login to backend it shows below error.

Your login attempt did not succeed
Make sure to spell your username and password correctly, including
upper/lowercase characters.

I'm using right username and password, also created a new user via Install
tool login, even that doesnt work and shows same error. Thinking about
database has any issues, got the database recreated with the backup copy.
Any help on this is much appreciated, as of now I'm halted due to this
issue.
The same content is working on other set of server and database combo. What
is going wrong with this set of servers. The servers are identical and no
changes. Apache logs showing nothing about this issue. Is there any issue
with PHP?

TYPO3 4.5.2
Apache 2.2.22a
PHP 5.3.16



as for your old version of TYPO3: be sure to have the database in a 
clean state of character encoding.

best would be to have all data in utf8-general.
the default character encoding can be set on different levels:
the database at all
each table
each field containing strings
also keep in mind the connection may be encoded in a different way.

you may need to convert your database to utf-8 if it uses other encoding 
as since 6.0 you need utf-8 anyway.


if your DB is utf8 make sure the connection also is utf8. in TYPO3 there 
is an initilization string for DB connections. make sure it is not set 
(remove from localconf.php) or set to

SET CHARACTER SET utf8 (don't insert an empty string!)

on the other side:
if you create a new admin user from install-tool it should work as it is 
created with the same configuration as the login afterwards is tested. 
except there are issues independent from database: no cookies for that 
domain, wrong cookiedomain, no javascript, ...


bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Layouts for partials or any other way to avoid copy-paste in templates

2015-08-14 Thread bernd wilke

Am 13.08.15 um 15:04 schrieb Viktor Livakivskyi:

Hi, List.

I'm working with a registration form template, which has a lot of
fields. Each field has same layout, but contents may be different:
textfield, set of checkboxes, dropdown with static_info_tables info, etc.

The layout of each field is such:

div class=form__field-container
 label class=form__field-label for=field-{fieldname}
 f:translate key={fieldname} /
 f:render partial=Required section=Main arguments={field:
'{fieldname}'} /
 /label

 div class=form__field-data
 f:render partial=FieldError section=Main arguments={for:
'user.{fieldname}'} /

 ---A part, that is unique---

 /div
/div

My goal is to avoid copy-paste of a structure above, but I can't find a
clean solution for this.

The most obvious idea is to move this code to a partial, but then I need
somehow deal with unique contents of each field, which will result
either in invention of too much variables and lot of if-else in Fluid
template, or in creating a partial for each field, that has some
differences, or even in combination of these both. This seems kinda
dirty way for me.

It would be nice to have a possibility to define a layout for a section
or make it possible to render a template section from a partial.
Something, like this:
Partials/Field.html:
div class=container
  labellabel/label
  div class=field
f:render section=field-data /
  /div
/div

And then in template call it like this:
Templates/RegistrationForm.html
..
f:render partial=Field
  f:section name=field-data
---all the fancy and unique stuff here---
f:form.textfield ... /
  /f:section
/f:render

So, the question, how do you code your forms without field's layout
copy-paste?


1. you can have sections in every fluid-template file, not only partials
2. you can have multiple sections in one fluid-template file
3. you can call each section within a partial individually
4. you have parameters in the section call

consider sections as functions in a programming language: you have 
parameter to individualize the output of the function


f:render [partial=partialname] [section=sectionname] 
[arguments=({_all}|{par1:var1,par2:var2,...}) /


so your fieldname will be one parameter and each indiviualization will 
be another parameter, your fieldtype propably will match the section name.


you might consider this configuration:

in partialfolder: partial inputfields.html with some sections:
f:section name=input.../f:section
f:section name=text.../f:section
f:section name=select.../f:section
f:section name=checkbox.../f:section
:

in your (main) template you have something like:


 form action=...
   f:render partial=inputfields.html section=input 
arguments={fieldname:'surname',label:'Surname',required:1,errtxt:'enter 
your surname',data:user.surname} /
 f:render partial=inputfields.html section=input 
arguments={fieldname:'givenname',label:'Givenname',required:1,errtxt:'enter 
your givenname',data:user.gicenname} /
 f:render partial=inputfields.html section=input 
arguments={fieldname:'nickname',label:'Nickname',data:user.nickname} /
 f:render partial=inputfields.html section=input 
arguments={fieldname:'email',label:'Email',required:1,errtxt:'enter a 
valid email',data:user.email,validation:'email'} /
 f:render partial=inputfields.html section=input 
arguments={fieldname:'message',label:'your 
message',required:1,errtxt:'please enter your 
request',data:user.message} /

 button type=submitgo! /button
 /form

one optimization might be: using a language file so the label, 
errortext,default-value,... for each field can be accessed by the fieldname



bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Layouts for partials or any other way to avoid copy-paste in templates

2015-08-14 Thread bernd wilke

Am 14.08.15 um 12:18 schrieb Viktor Livakivskyi:

Hi, Bernd.

Thank you for your answer.


3. you can call each section within a partial individually

Yes, and no =) I can call only section of this or other partial from
within a partial. But I can't call a section of a template from a
partial. Or I just didn't find, how I can do this.


yes


f:render partial=inputfields.html section=input
arguments={fieldname:'surname',label:'Surname',required:1,errtxt:'enter
your surname',data:user.surname} /

And that's what I'm, trying  to avoid, because with every new
individualization there will be more and more parameters or possible
values of parameters, like isStaticInfoZone: 1,
staticInfoCountrySelectorId: 'siCountry', preSelected: 'DE', etc...


that is a question what you can put into one parameter.
if you have a HTML-block before each input-tag you may render it inside 
the input-section or render it outside (individually) and drop the 
complete HTML into the input section. you also may provide individual 
parameters to each attribute or pass all the attributes (and values) in 
one string:


section name=input
input class={class} id={id} onChange={onChange} value={value} 
... //section


section name=input2
input {attributes} /
/section

f:render section=input 
arguments={class:'wide',id:{fieldname},onChange:'alert(\'wow\');',value:10} 
/


f:render sectio=input2 arguments={attributes:'class=\wide\ 
id=\{fieldname}\ onChange=\alert(\'wow\');\ value=\10\'} /
f:render sectio=input2 arguments={attributes:'class=\narrow\ 
id=\{fieldname2}\'} /




Currently I'm doing it almost as you proposed:
RegistrationForm.html
f:render partial=Field section=Main arguments={field: 'city',
type: 'Textfield'} /
f:render partial=Field section=Main arguments={field:
'staticInfoCountry', type: 'SelectCountry', selected:
'{user.staticInfoCountry}'} /

Field.html
f:section name=Main
---all the common stuff comes here---
f:render section={type} arguments={field: '{field}', values:
'{values}', selected: '{selected}'} /
/f:section

f:section name=Textfield
 f:form.textfield property={field} class=form__field
form__field_input id=field-{field} /
/f:section

f:section name=SelectCountry
 f:if condition={selected}
 f:then
 register:form.SelectStaticCountries property={field}
id=sfrCountry value={selected} optionLabelField=cnShortEn
class=form__field form__field_select /
 /f:then
 f:else
 register:form.SelectStaticCountries property={field}
id=sfrCountry value=DE optionLabelField=cnShortEn
class=form__field form__field_select /
 /f:else
 /f:if
/f:section

...


I might change it a little bit:
call the section directly
f:render partial=Field section=Textfield arguments={field:'city'} /

and inside that section make a common call to globals:

f:section name=Textfield
  f:render section=globalStuff arguments={_all} /
  f:form.textfield property={field} class=form__field 
form__field_input id=field-{field} /

/f:section

so the calls will get a little bit slimmer



So, for each field I either create a special section in partial or add
some parameter. But I still don't like this solution, because it forces
me to hold specific form adjustments not inside the form template
itself, but in partial (or other partials).
In other words: if I want to reuse same partial for other forms with
same field layout but their specific adjustments, I'll have to either
invent more parameters to pass to Field partial or create more sections.
And these specific parameters or sections will be used only once.


for all output you have to define some HTML, and so you may use it only 
once it has to be defined. you just can consider where you want that 
unique definition: in your main-template or in a section inside a partial.
the whole art about is to identify the common parts and the individual 
parts and decide what all those individual parts have in common. :)


bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] (no subject)

2015-08-13 Thread bernd wilke

Am 13.08.15 um 01:30 schrieb Mr Learner:

Hi Bernd,
Thanks for your reply. I'm just migrating the site from one host to the
other host and not considering any changes as such as the site developer is
not available to assist with any changes. And being a newbie I'm not
considering to change anything apart from migrating the site. The


these words I heard a lot in the last year.
seems a lot of people managed to install a TYPO3 but are unable to 
update it. now a newbie should do the job which requires much knowledge 
and insight in TYPO3.
It's like tunig a car. the regular mechanic can't do it. so a student is 
hired to do the job. :-(((




requirement is that I'll have replicate the site on two hosts, one being
with the same DNS and on the other it changes. I'm currently working on
setting up the one that has changed DNS url, however halted with different
issues as informed.
Can you share if there is any documentation link on the info you shared
regarding the realurl (about first issue in my list) or any video also
helps a lot in this case.



for each (good) extension there is a manual. this can be accessed at 
http://docs.typo3.org . (even/especially the core-extension have manuals!)

https://docs.typo3.org/typo3cms/extensions/realurl/

if you have problems with realurl on a new server you should test your 
installtion without realurl. realurl can work flawless only if the 
installtion is in a healthy state, means it works without realurl.


aside of rewrites in .htaccess you might also consider domain-records in 
your installation!

and if that is working you can activate realurl to nice up the urls.

bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] (no subject)

2015-08-12 Thread bernd wilke

Am 11.08.15 um 18:00 schrieb Mr Learner:

I'm newbie to TYPO3 and I've gone through many of your posts on the
knowledge forums and thought that you would help in sorting the issues that
I'm facing currently.
My current configs are:
PHP 5.3.16,
TYPO3 4.5
Apache 2.2.22a

I've followed below blog to transfer my site which seems to be almost
working, but stuck at below issues..


are you really trying to build a website with outdated software?
4.5 is out of service and newer versions of TYPO3 need newer PHP and the 
apache version is just 3.5 years old and replaced long ago.




http://blog.chandanweb.com/typo3/how-to-transfer-typo3-site-to-a-new-host

(1) The sub-menu pages (random pages) show below error, I went through many
posts regarding this and got to know something to be verified on the
realURL management, however I do not see anything over there configured.

Reason: Segment was not a keyword for a postVarSet as expected!


first: start without realurl and get the page running.
then generate a first realurl config automatically
after you disabled the automatic generation (it might destroy your 
configuration afterwards) you can adapt it to your needs.



(2) The images and data are not aligned properly, what needs to be done to
sort this?


either the css or your database (if some extension did mangle your TCA)


(3) When I add below Rewrite rules in Apache configuration (vhost file as
.htaccess is not being used), I'm able to access few of the sub-menus,
however gets below error mentioned in issue (1) when trying to access
backend URL (www.xyz.com/typo3)
If I remove the Rewrite rules I can access backend, however the sub-menu
pages break and show 404 error.

RewriteRule
^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/ -
[L]
RewriteRule ^typo3$ typo3/index_re.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
#RewriteRule .* /index.php [L]
RewriteRule .* Document Root/index.php [L]


if in doubt use the default.
then you might adapt it to your unusual needs.

bernd
--
http://www.pi-phi.de/cheatsheet.html
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


  1   2   3   4   5   6   7   >