Re: [TYPO3-english] RealURL - shortcut to home

2017-09-13 Thread Jigal van Hemert

Hi,

On 13/09/2017 16:56, Dennis Hoffland wrote:

Instead, with my current configuration, I keep getting
http(s)://www.mydomain.com/1 (notice the trailing 1) as the "speaking"
URL for the Home page in my menu. To make things worse the speaking
URL's are "lost" completely if I continue navigating from my home page.


First I would get rid of the _DEFAULT part; the manual states that it 
can lead to problems and so far I haven't seen problems with the 
installations that use the domain names there. You can simply refer to 
the configurations of other domains in case you have to support domains 
with and without www. prefix for example.



--
Jigal van Hemert
TYPO3 CMS Core Team Member

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] RealURL - shortcut to home

2017-09-13 Thread Jigal van Hemert

Hi,

On 13/09/2017 12:02, Dennis Hoffland wrote:

Hello,

I am trying to configure RealURL to deliver a speaking URL home.html for
my home page (in the menu).

My page structure is:
-home
---home (shortcut to home on root level above)
---page1
---page2


The home page itself has the speaking URL "/" (as in 
http(s)://domain.tld/ ). The 'home' subpage is a shortcut to the root 
home and will thus have the same URL.
If the 'home' subpage would have a different URL then the content of the 
home page would be available on two URLs; this is not desirable from an 
SEO point of view.


You could give the home (root) page the path segment "home" if you set 
it in the page properties. I'm not sure what you win by that and if it 
has any side effects.



--
Jigal van Hemert
TYPO3 CMS Core Team Member

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Original width and height of image in fluid

2017-09-12 Thread Jigal van Hemert

On 08/09/2017 10:19, Vikram Mandal wrote:

On 09/06/2017 10:54 AM, Vikram Mandal wrote:

On 09/05/2017 12:55 PM, Jigal van Hemert wrote:


If 'image' is the file reference object it would be
{image.originalFile.width}




width and height are protected vars. To access them we need to use the
getProperty() method.



To access properties Fluid will call getXxx methods. In some objects 
there are getXxxx functions which calculate a property that is not 
directly present in the object. If you generate debug output from that 
object you won't see the property but you can use it in Fluid.


--
Jigal van Hemert
TYPO3 CMS Core Team Member

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Original width and height of image in fluid

2017-09-12 Thread Jigal van Hemert

On 06/09/2017 07:24, Vikram Mandal wrote:

On 09/05/2017 12:55 PM, Jigal van Hemert wrote:


If 'image' is the file reference object it would be
{image.originalFile.width}




I am trying to get the width and height of an image in news. So I tried :

{newsItem.firstFalImagePreview.originalFile.width}

{newsItem.firstFalImagePreview.width}

But none seems to work.

newsItem.firstFalImagePreview returns
\TYPO3\CMS\Extbase\Domain\Model\FileReference



Ah, the news firstFalImagePreview :-)

Looking at the code it must be 
{newsItem.firstFalImagePreview.originalResource.originalFile.width}


--
Jigal van Hemert
TYPO3 CMS Core Team Member

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Hooks: processDatamap_preProcessFieldArray()

2017-09-05 Thread Jigal van Hemert

Hi,

On 08/08/2017 13:11, Christian Tauscher wrote:


BUT: How can I tell exactly this record is a COPY?
the field 't3_origuid' seems not to be existing anymore.



Haven't dug really deep in it, but a COPY is done through 
process_cmdmap() in the DataHandler. Using a combination of the hooks 
processCmdmap_preProcess and processCmdmap_postProcess plus the 
variables $pasteUpdate and $pasteDatamap you can probably detect COPY 
commands and change the necessary values in the $pasteDatamap which you 
have marked before in $pasteUpdate.
The actual copy is created between these two hooks and the $pasteDatamap 
is executed afterwards to update some fields.



--
Jigal van Hemert
TYPO3 CMS Core Team Member

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] BE Module can not locate template in 7.x

2017-09-05 Thread Jigal van Hemert

Hi,

On 29/08/2017 17:13, Vikram Mandal wrote:

On 08/24/2017 10:54 AM, Vikram wrote:



The template files are under
/typo3conf/ext/t3in_amp/Resources/Private/Templates/Backend/

[...]


The technical reason is: No template was found. View could not be
resolved for action "start" in class
"T3IN\T3inAmp\Controller\AMPController".

I do have the file at
/typo3conf/ext/t3in_amp/Resources/Private/Templates/Backend/Start.html

regards
Vikram


It worked when I placed by file under:
/Resources/Private/Templates/AMP/

It is like: /Resources/Private/Templates/

And the TS had no effect. May be I have some bug in the extension
created by the extension_builder extension.



Did you include that static templates of your extension in the root 
template? Maybe there is an ext_typoscript_setup.txt in your extension 
which contains configuration for the paths that do work. This file is 
automatically loaded and not like normal static templates only when 
included in a root template.


These paths work, but you have to take into consideration that the 
templates live in a subdirectory with the name of the controller 
(without "Controller").


--
Jigal van Hemert
TYPO3 CMS Core Team Member

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Cut Database Size - delete files in tt_news_cache?

2017-09-05 Thread Jigal van Hemert

On 02/09/2017 22:22, Julianne Z wrote:

I need to cut down my database size as the current limit (per GoDaddy)
is 1 GB and we're dangerously close at .9 GB. Looking at phpMyAdmin, it
looks like a huge chunk of that (935 MB) is taken up by the
tt_news_cache directory. Is it safe to completely delete all the files
in this directory in phpMyAdmin? Or is there a way to at least cut it down?


In a database the 'directory' is called "table" and the 'files' are 
"records" (just to update your technology knowledge; nothing to 
apologize for BTW)


Any table with 'cache' in the name should only contain items that can be 
regenerated when they are not present in that table.


More detailed instructions (just looked how it looks in phpMyAdmin :-) )

- in the tree on the left click on the name of the database
- the right side of the page now shows a list of all tables with their sizes
- click the checkbox in front of the table you'd like to empty
- scroll down and in the dropdown that shows "With selected:" chose the 
option "empty"


--
Jigal van Hemert
TYPO3 CMS Core Team Member

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Original width and height of image in fluid

2017-09-05 Thread Jigal van Hemert

Hi,

On 04/09/2017 17:41, Vikram Mandal wrote:

How can I get the original width and height of an image in fluid template?


If 'image' is the file reference object it would be 
{image.originalFile.width}



--
Jigal van Hemert
TYPO3 CMS Core Team Member

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] lightbox falis

2017-06-05 Thread Jigal van Hemert

Hi,

On 04/06/2017 23:42, Peder Høy Kristensen wrote:

Well, I need it
1) because a costumer want a slider for sponsor-advertisements with
links to the websites of the sponsors
2) because a costumer want the possibility to click and se images bigger
size in a popup-window and the possibility to cycle through the pictures
on the current page.


A slider is nothing but blocks of content with some JavaScript which 
only displays one of them at a time and makes some transition between them.
A lightbox is nothing but some JavaScript which handles the link to the 
large image by displaying it in some modal block.


Lightbox functionality is supported by TYPO3's clickenlarge feature. The 
various JavaScript lightbox implementation differ with regard to the 
specific attribute and value they use to trigger their way of displaying 
the large image. You only need to use some TypoScript to configure this.



I think: What are extensions for? Why should I write/modify javascripts
for those purposes, when existing extensions written by skilled
developers are available?


Some extensions are a shell around some normal configuration. E.g. a 
Google Analytics extension simply adds some JavaScript to each page by 
setting up a piece of TypoScript. You could easily have added that 
TypoScript yourself.


Apparently the extension you try to use have a conflict. They somehow 
manage to add conflicting configuration to the system. Christian 
obviously tried to help you by suggesting that you could solve the 
situation by not relying on these conflicting extensions and simply 
adding the TypoScript configuration yourself.


Extensions are mostly not created to help mankind. In most cases someone 
needed to solve a problem for a project and created a solution for it. 
They were nice enough to share it with the world in the form of a TER 
extension. Unfortunately these extensions are sometimes limited in the 
way they work together with other extensions; that was not necessary in 
the original project and thus they were not designed to work together 
with specific other extensions.



--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] typolink {link.title}

2017-01-11 Thread Jigal van Hemert

Hi,

On 11/01/2017 15:57, "HocomAdvies [  Wiechert Hooghwinkel ]" wrote:

Just a simple question. How to get the “title” text from a link displayed ?
This code generates the title of the linked page but not the title which was 
inserted when selecting the link to the page in the BE form.


 {link.title}

  


If you have a link field with a value like:
29 - - "Some title"

you can simply leave out any children of the typolink viewhelper:



If there is no title set in that field then it will use the title of the 
linked page.



--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] EN - WIN - Calculated absolute path to typo3/sysext directory does not exist

2017-01-11 Thread Jigal van Hemert

Hi,

On 08/01/2017 13:29, Thomas Crenn wrote:

My symlinks are, i think, perfectly fine, here is a result of a 'dir' in
the root directory of my site :
06/01/2017  10:23  .
06/01/2017  10:23  ..
03/01/2017  12:2413 374 .htaccess
06/01/2017  10:13  fileadmin
04/01/2017  16:34 1 201 index.php
06/01/2017  10:23 typo3
[C:\wamp64\www\typo3_7.6\typo3_src\typo3]
06/01/2017  10:13  typo3conf
06/01/2017  10:13  typo3temp
06/01/2017  09:52 typo3_src
[C:\wamp64\www\typo3_src-7.6.15]
06/01/2017  10:13  uploads



I usually have (adapted the path names to your situation):
 index.php [typo3_src\index.php]
typo3 [typo3_src\typo3]
typo3_src [C:\wamp64\www\typo3_src-7.6.15]

Maybe the relative symlinks are easier for Windows to produce the 
correct absolute paths?


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] crash extensions

2016-10-14 Thread Jigal van Hemert

Hi,

On 12/10/2016 16:36, gabriele piccini wrote:

Ok therefore when I install extensions, I can not view extensions  which
do not match my version, didn't it?


As I tried to explain, that depends on the TYPO3 version you use.


But, if I try  "Simple Gallery" by Extensions tool I found one version
which on TER is for 4.5.0 - 6.2.99.
Is it possible??


Do you mean https://typo3.org/extensions/repository/view/rtgsmgallery ? 
That one claims to be compatible with 4.5.0 - 6.2.99.
If you use TYPO3 7 LTS it cannot be used. You should get a notification 
if you try to install it.

For TYPO3 versions 4.5.0 till 6.2.99 the author says that it should work.

If you use one of the compatible TYPO3 versions and you still get white 
screens there may be a bug in the extension. Most of the times a "white 
screen" means a fatal error in PHP. You can find the exact error message 
in the log file on the server.


There are plenty of gallery extensions available for various TYPO3 versions:
https://typo3.org/extensions/repository/?id=23=0=gallery


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] crash extensions

2016-10-12 Thread Jigal van Hemert

Hi,

On 08/10/2016 14:44, gabriele piccini wrote:

I'm a noob about typo3 CMS.. I'm in to understand how it works.
My intention is to create a website for photography hence I need some
galleries and slides..
In the extension module I found some gallery extensions but after
installed one the system was not more accessible. Not knowing what to do
I reinstalled everything.
After, when I was looking for that extension into the extension part of
the website of typo3 I found it was outdated ( it was for an older
version of  typo3). Why the extension module didn't block me if I have
an newer version??


It really depends on the TYPO3 version to what extend the version checks 
are done. In 7 LTS the checks are quite thorough: you won't see 
extensions in the "Get extensions" section of the Extension Manager that 
are not compatible with your release. If dependencies (TYPO3 version, 
PHP, other extensions) are not met you'll see a dialogue that it's not 
compatible and that you can install it if you know how to solve problems.


In earlier versions the checks were less strict or sometimes missing. 
This was mainly caused because those dependencies were only made 
mandatory for extensions in TER a few years ago.
For the recent TYPO3 version all compatible extensions have their 
dependencies set and we could finally have strict checks.


For older TYPO3 versions you can always search in TER on the typo3.org 
website (https://typo3.org/extensions/repository/ ) and read from the 
description if the version is compatible. The latest upload date may 
sometimes give you further information.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] cloning site - HTTP 500 error

2016-10-12 Thread Jigal van Hemert

Hi,

On 09/10/2016 13:57, Brandon Walsh wrote:

Now I get an HTTP 500 error! I think this may be related to Apache or
PHP rather than to Typo3 directly, but perhaps someone here could point
me in the right direction of where to find a solution to this issue? I
have googled and found lots of suggestions but nothing has worked for me
so far. Where would you start to solve this problem?


Usually there is more information in the apache error log. In the apache 
configuration it should be listed where it should write errors to 
(possibly per domain a different log).


It's no use guessing what may be wrong on such a general error number. 
It could that the memory limit is too low, PHP modules missing, missing 
apache modules, and many other things.


If you try to access the site again and look at the same time in the 
error log what is added then people might help you further with the 
specific problem.



--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Sum up in for/each-loop

2016-10-12 Thread Jigal van Hemert

Hi,

On 11/10/2016 15:04, Jeppe Donslund wrote:

In a for/each-loop in fluid I am calculating difference between to
timestamps.
I would like to add these differences through the loop.
How is that possible?


This should be done outside fluid. You could process the data in your 
controller and add a variable to the view that contains the sum (and 
preferably also the differences).
In TYPO3 7 the FLUIDTEMPLATE object supports dataProcessors to iterate 
over the data, do calculations and add the result in a new variable for 
use in fluid.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Export-Import in typo3

2016-10-07 Thread Jigal van Hemert

Hi,

On 06/10/2016 22:13, Decorte Michelle wrote:

Our actual problem is that we have developped a «sub-section», on our
development server.
And now that it is ready to put online we want to integrate this section
(and only this section) as a branch in our pre-production typo3 instance.


There are a lot of options you have to look at and set correctly for the 
export to include what you want. You have to select which tables to 
include and an important setting is also the maximum size of a file that 
will be included. Review the entire section that is displayed below 
which shows which relations will be lost (you can also select what to 
exclude)


Import may require a lot of RAM depending on the number of records to be 
imported (and their relations).


Because the ID's of imported pages and content records will not be the 
same as on the server where the export was made the import module will 
try to keep track of the changes and modify fields in records, links in 
RTE fields, etcetera accordingly. For this it needs knowledge of the 
meaning of fields and structures. This knowledge is present for records 
provided by the core but not for most (if not all) records from extensions.
You will have to closely review the imported data and make some (or a 
lot of) adjustments depending on the type of data you imported. Also 
check other configuration (TypoScript, TS config, extension 
configuration) because they also need to be adjusted.


Import/export is not a perfect solution that will do all automatically 
for you; this is simply not possible. It can save you quite some time 
when it comes to pages en normal content.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] Emptying typo3temp after every change

2016-09-27 Thread Jigal van Hemert

Hi,

On 26/09/2016 22:07, Andreea Ciuprina wrote:

Every time I make a significant change (e.g. add another action method)
to an extension, I have to not only clean the backend and frontend
caches, but also completely empty the typo3temp folder, in order for the
change to take place. Could somebody give me an explanation for this and
maybe tell me if it is possible to avoid doing this?


Helmut Hummel has explained everything in a nice article:
http://insight.helhum.io/post/130876393595/how-to-configure-class-loading-for-extensions-in

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Run a task from typo3?

2016-09-18 Thread Jigal van Hemert

Hi,

On 16/09/2016 16:21, Alexandra Constantin wrote:

I have to send an e-mail to the user after he created an event.

First time I have created a task from the backend and set from the form
the date and the hour and the e-mail was sent, but now I want to send
the e-mail from php code automatically..
How can I schedule a task to run at a certain time from php code in my
controller and not from the Backend -> Scheduler but have the same results?


I would create a queue for the mails you want to send (if you built an 
extbase extension you can create a nice domain object for queue items).


Next you make a scheduler task that takes the items from the queue which 
are due and sends the emails (and after that removes them from the queue 
or marks them as sent).


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Powermail error

2016-09-18 Thread Jigal van Hemert

Hi,

On 16/09/2016 18:11, "HocomAdvies [  Wiechert Hooghwinkel ]" wrote:

Solved the error myself. If you have access to the server which runs
mysql-server. Than you might adapt the file my.cnf  by commenting out
the line:

sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

and restart the mysql server.


In this case it's the STRICT_TRANS_TABLES that causes the problem. Newer 
releases of MySQL (and MariaDB) have this setting active by default.
I personally find the behaviour rather strange. The error complains that 
a TEXT field doesn't have a default value, but it's also not possible to 
set a default value for TEXT/BLOB columns.
The "solution" seems to be to explicitly set a value for each TEXT/BLOB 
column when inserting a record. TYPO3 doesn't perform such actions, so 
for the time being it's best to turn STRICT_TRANS_TABLES off.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] Repositories retunrs only uid after clear caches

2016-09-12 Thread Jigal van Hemert

Hi,

On 09/09/2016 21:49, Alexandra Constantin wrote:

I have created a new extension with extbase and fluid.
My contoller looks like:

class Tx_elodevtrainings_Controller_TrainingController extends
Tx_Extbase_MVC_Controller_ActionController {

/**
 * @var Tx_elodevtrainings_Domain_Repository_TrainingOfferRepository
 * @inject
 */
protected $trainingOfferRepository;

/**
 * @param
Tx_elodevtrainings_Domain_Repository_TrainingOfferRepository
$trainingOfferRepository
 */
public function
injectReferenceRepository(Tx_elodevtrainings_Domain_Repository_TrainingOfferRepository


You have both @inject and an inject function; that's one too many. The 
inject function is slightly faster so best practise is to drop the @inject



$trainingOfferRepository) {
$this->trainingOfferRepository = $trainingOfferRepository;
}

public function trainingTestingAction() {
//var_dump($this->settings['foo']);
$trainingOffers =
$this->trainingOfferRepository->getAll()->toArray();


->findAll() is available by default and returns all (visible) records.
toArray() is not needed; in Fluid you can iterate over a query result. 
If you're going to use a paginate widget it's even better to use a query 
result as the paginate widget will modify the query with a start and 
limit before it's executed.



var_dump($trainingOffers[0]->getTitle());
$this->view->assign('trainingOffers', $trainingOffers);
}

}

My repository looks like:

class Tx_elodevtrainings_Domain_Repository_TrainingOfferRepository
extends Tx_Extbase_Persistence_Repository
{

   public function getAll(){
   $query = $this->createQuery();
   $statement = 'SELECT * FROM
tx_mkelopartner_trainingfinder_trainingoffers WHERE deleted = 0 AND
hidden = 0';
   $query->statement($statement);
   return $query->execute();
   }


You don't need this. findAll() is always available and returns all 
(visible) records.

With an empty repository class you can already use:
- findAll
- findBy
- findOneBy

Also, only use a raw query if there is no other solution.


}

My typoscript looks like:

plugin.tx_elodevtrainings.persistence.storagePid.data = page:uid
plugin.tx_elodevtrainings.persistence.storagePid = page:uid


Why this second line? It'll only set storagePid to the string "page:uid"...



page.includeJS{
   test = EXT:elodevtrainings/Resources/Public/test.js
}


plugin.tx_elodevtrainings {
   persistence {
   storagePid.data = page:uid
   classes {
   Tx_elodevtrainings_Domain_Model_TrainingOffer {
   mapping {
   tableName =
tx_mkelopartner_trainingfinder_trainingoffers
   columns{
   title.mapOnProperty = title
   }
   }
   }
   }
   }

}

The problem that I have is:  after clear all caches from BE the title
and all the properties of tx_mkelopartner_trainingfinder_trainingoffers
are null and it returns only uid.
It looks like it dosen't read typoscript setup after clear all caches.


Why do you think that? The mapping to the table seems to work. The 
column mapping is not necessary because both column names are the same.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] install tool error

2016-08-31 Thread Jigal van Hemert

Hi,

On 31/08/2016 11:28, Peter Linzenkirchner wrote:

https://github.com/Skyfillers/sf_tv2fluidge
(converting FCEs (only) to Gridlements.


This one only works in TYPO3 6.2. I needed the action "remove unlinked 
content" in 7.6 and ported that function plus part of the TV API to be 
7.6 compatible. Unfortunately it needed TCA of TV fields to function and 
these same fields cause errors in the rest of the BE.
In the end I could only enable my code during the processing of content 
and had to turn it off after that.


Just a warning that content migration from TV gets a lot more 
complicated once you're on TYPO3 7 LTS.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] install tool error

2016-08-31 Thread Jigal van Hemert

Hi,

On 30/08/2016 11:56, "HocomAdvies [  Wiechert Hooghwinkel ]" wrote:

One way would be updating to 7.6 (I have to ask the host to update
their php version first). Since the site is build with Templavoila, I
tried if updating to 7.6.10 with TV) I used a copy of an other 6.2.19
site which I have running on our own vps and that went well.
Although, some additional Yag extensions are also messing things up.
It seems that most parts are working fine. Did not empty the
typo3temp files yet, which can reveal more problems.


The latest version of TemplaVoilä was working with TYPO3 7.2 if I 
remember correctly. Because of changes in the core it didn't work with 
later versions (perhaps also problems with newer PHP versions).
There have been reports that a 7.6 compatible version would been made, 
but so far nothing happened.
More recently Alexander Schnitzler offered a crowd funding to make it 
compatible with 7.6 (and later 8.x) [1].


At the moment there is no version available publicly that runs reliably 
on 7.6. That is the main reason why so many are migrating their content 
to other solutions. For some that may be custom content elements, for 
others gridelements, DCE, etcetera.


[1] https://www.templavoila.support/typo3-76/

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] FORM system extension: xliff language files

2016-08-19 Thread Jigal van Hemert

Hi,

On 18/08/2016 16:13, Sara wrote:

Thank you for the link but I'm getting an error so can't read it:
"Unable to determine IP address from host name xavier.perseguers.ch"


I noticed that the site was down yesterday. Xavier told me there was 
some maintenance done at the connection of that (small) server. 
Currently it's available again.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] All extensions should have custom path to language files

2016-08-09 Thread Jigal van Hemert

Hi,

On 08/08/2016 23:50, Jacob Roe wrote:

I just upgraded tx_news version 4.1.0 to 4.3, and my custom language
files were gone.


If you added them to the extension itself then they will be gone.
There is a solid mechanism to override and add translations of language 
labels:


http://xavier.perseguers.ch/en/tutorials/typo3/articles/managing-localization-files.html#c962

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] FORM system extension: xliff language files

2016-08-03 Thread Jigal van Hemert

Hi,

On 03/08/2016 11:26, Sara wrote:

I've created a new xliff file for our alternative language but this
doesn't seem to be working for the standard form extension on Typo3
v6.2.26.

The only English file for the frontend text is locallang_controller.xlf

Tried all of the combinations below:

/var/www/typo3_src-6.2.26/typo3/sysext/form/Resources/Private/Language/cy.locallang.xlf


Don't change what's in the core or what's in extensions (unless they are 
your own extensions). Really, don't do that! With any update of the core 
or an extension you need to apply all your modifications again.


Language labels are pretty easy. Everything is explained in:

http://xavier.perseguers.ch/en/tutorials/typo3/articles/managing-localization-files.html#c962

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] date change

2016-07-29 Thread Jigal van Hemert

Hi,

On 26/07/2016 19:56, iam li wrote:

I am trying to display the date (in french) as such, if it is the first
day of the month, I would like to add "er" after "1" giving "1er". There
is no other changes needed.


This is what is have now, "
lib.navigation.footer.10.data = page:lastUpdated
lib.navigation.footer.10.strftime = %e %B %Y
lib.navigation.footer.10.wrap = Dernier changement�:�|
"

I would like something like:
"
lib.navigation.footer.10.data = page:lastUpdated
if (%e==1){ then %e=1er }
lib.navigation.footer.10.strftime = %e %B %Y
lib.navigation.footer.10.wrap = Dernier changement�:�|
"

The output should look like: Dernier changement 1er septembre 2016


Not tested, but it should be something like this:

lib.navigation.footer {
  10 = TEXT
  10 {
data = page:lastUpdated
strftime = %e %B %Y
strftime.override = %eer %B %Y
strftime.override.if {
  value.data = page:lastUpdated
  value.strftime = %e
  equals = 1
    }
    wrap = Dernier changement�:�|
  }
}


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] addTcaTypeIcon

2016-07-27 Thread Jigal van Hemert

Hi,

On 27/07/2016 13:14, Jacco van der Post wrote:

Op 23-7-2016 om 11:27 schreef Jigal van Hemert:


Once you've registered an icon under a certain ID you can use it in a
lot of places by just referring to that name.


Can it be used in a domain model?

'ctrl' => [
...
'iconfile' => 'myRegisteredIcon'

Does not work.


https://docs.typo3.org/typo3cms/TCAReference/Reference/Ctrl/Index.html#iconfile


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] addTcaTypeIcon

2016-07-23 Thread Jigal van Hemert

Hi,

On 23/07/2016 10:08, Philipp Gampe wrote:

Jacco van der Post wrote:


To get an icon in the tree it used to be

\TYPO3\CMS\Backend\Sprite\SpriteManager::addTcaTypeIcon('pages',
'contains-myext', '../typo3conf/ext/my_ext/ext_icon.gif');

addTcaTypeIcon is deprecated and doesnt work anymore in 7.6, any hint
how to do it now?


Took me some searching too, here is the corresponding change documentation.

https://docs.typo3.org/typo3cms/extensions/core/7.6/Changelog/7.5/Feature-68741-IntroduceNewIconFactoryAsBaseForReplaceTheIconSkinningAPI.html


And for a code example:

$iconRegistry = 
\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class);

$iconRegistry->registerIcon(
  'tcarecords-pages-contains-myext',
  \TYPO3\CMS\Core\Imaging\IconProvider\BitmapIconProvider::class,
  ['source' => 'EXT:my_ext/ext_icon.gif']
);

$GLOBALS['TCA']['pages]['ctrl']['typeicon_classes']['contains-myext'] = 
'tcarecords-pages-contains-myext';


Once you've registered an icon under a certain ID you can use it in a 
lot of places by just referring to that name.


Further info:
https://usetypo3.com/icon-api.html
https://www.web-dev-net.de/icon-api-in-typo3-ab-version-7-5/

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] RealUrl and TypoLink

2016-07-22 Thread Jigal van Hemert

Hi,

On 21/07/2016 23:44, Sinisa Mitrovic wrote:

This example is from documentation. My setup is like this:
 'valueMap' => array(
 'en-EN' => '0',
 'en-DE' => '0',
 'de-DE' => '1',
 ),

So on German (German page have both German and English) page I have 'en-DE' as 
preVar, but on English page (only English) I also have 'en-DE', and I want to 
have 'en-EN'.


This is a mapping connected to the URL variable "L". This is in the URL 
(when RealUrl is disabled) a numerical value. The mapping needs to work 
in both directions.


In your setup you have two preVar values 'en-EN' and 'en-DE' connected 
with a single value for "L".
TYPO3 generates a URL /index.php?id=24=0 , how is RealUrl supposed to 
know if it should use 'en-EN' or 'en-DE'? Without looking in the code I 
guess it will switch the keys and value in the valueMap array and ends 
up connecting L=0 to 'en-DE'.


You need to assign the 'en-DE' pages to a different language then the 
'en-EN' pages. These languages can be added as language records in the 
root of the installation. Then you can use the uid of that language as 
"L" parameter.


More information about how languages and translations are handled:
https://docs.typo3.org/typo3cms/FrontendLocalizationGuide/BasicSetupOfALocalizedWebsite/SettingUpLanguages/Index.html

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] RealUrl and TypoLink

2016-07-21 Thread Jigal van Hemert

Hi,

On 20/07/2016 17:06, Sinisa Mitrovic wrote:

'preVars' => array(
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'no_cache' => 1,
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'L',
'valueMap' => array(
'dk' => '1',
'danish' => '1',
'uk' => '2',
'english' => '2',
),
'noMatch' => 'bypass',
),
),

And explanation about generated link:
danish/123/print.html

Is it possible to tell / force typolink to generate link with first
value like:
dk/123/print.html


You have two values mapped to 1 and two mapped to 2. Why not remove the 
lines with 'danish' and 'english'?


It might not be possible to remove one of the two in your situation; I'm 
not sure about the internals of RealUrl here, but it could be worth a 
try to swap the lines with 'dk' and 'danish'.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Caching multiple versions of the same page with a unique URL

2016-07-21 Thread Jigal van Hemert

Hi,

On 21/07/2016 15:20, Fabrice Morin wrote:

What is the best way to cache multiple versions of a page (using the
cHash mechanism) when this page have a unique URL but can be dynamically
changed using information in the request header ?

The use-case is using Akamai content-targeting. Akamai sends the
country_code in the request header, we can retrieve it from PHP, compute
the page content according to this country code and render the page. The
problem is to cache the result, since the URL is unique to all
countries, the cHash will be identical for all visitors from different
countries, and the first visitor will cache the page for everyone.

Is there a way to alter the cHash computation ? According to what I see
from TypoScriptFrontendController::makeCacheHash() function, only the
query string is relevant, and there is no hook.


In 
\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::createHashBase() 
you can see that the "template" (= TypoScript) is also included in hash 
calculation. With conditions in TS (for example a custom condition that 
looks at the request header) it should be possible to have different 
versions of the page for each country_code.


If that fails horribly then there is always a hook in createHashBase() 
you can use to influence the hash calculation.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Error message after change core to v7

2016-07-19 Thread Jigal van Hemert

Hi,

On 17/07/2016 22:09, Matrix85 wrote:

hi,

after i change the core symlink to the typo3_src-7.6.9 i became this
error message at / typo3/ or /typo3/install:

Fatal error: Class 't3lib_error_ErrorHandler' not found in
/yyy/test_v7/typo3_src-7.6.9/typo3/sysext/core/Classes/Utility/GeneralUtility.php
on line 4536



That's inside the functions that instantiate new class objects (such as 
GeneralUtility::makeInstance()). If some code requests a class that 
doesn't exist you'll get such an error.


Search in the extensions for this class name and you'll know what to adjust.

This seems to be a (rare) case where the Install Tool can't catch the 
error and lead you to a screen where you can uninstall (disable) the 
affected extension. Will you let us know if you found the extension and 
in which file the problematic call was?


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Clean up source code

2016-07-08 Thread Jigal van Hemert

Hi,

On 07/07/2016 16:38, Jacco van der Post wrote:

What's a good way to clean up the FE source code when using
FLUIDTEMPLATE, e.g. empty lines, indenting etc.


IMO not worth spending any CPU cycles on. The HTML is meant to be read 
by browsers and they will convert multiple whitespace characters to a 
single space when displaying the page.


If you use compression on the data there will hardly be a difference in 
the size of a page.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Clickable glyphicon - typoscript menu

2016-07-07 Thread Jigal van Hemert

Hi,

On 07/07/2016 11:06, Tom Warwick wrote:

I've created a typoscript menu that inserts a unique glyph icon followed
by a page title for every item in my menu.

NO.allWrap = |

What I'd like to do is make the glyphicon clickable aswell, but I'm
unsure how to wrap both items in a single a-tag.


There are plenty of wraps and options available:

allWrap: wraps the whole item (the link and the linkWrap)

linkWrap: wraps the link itself

ATagBeforeWrap: modifies .linkWrap: the link text is first wrapped with 
.linkWrap and then with the A-tag


stdWrap: all stdWrap properties available to apply to the link-text

This could lead to several solutions:

NO {
  allWrap = |
  linkWrap = |

  ATagBeforeWrap = 1
}

or

NO {
  allWrap = |
  stdWrap.wrap = |

}

Note: for a lot of menu's with a submenu the submenu should be put 
inside the  of the parent level. This can be done by using 
wrapItemAndSub instead of allWrap.


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

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Activate Recursive Deleting of Pages in version 7.6

2016-07-06 Thread Jigal van Hemert

Hi,

On 06/07/2016 02:28, Jonathan Scholbach wrote:

I would like to recursively delete pages. Of course by googling I found
that I need to set the corresponding rights in the user setup. But I
cannot find neither "setup" nor any similar function in the backend in
version 7.6 - I assume something has changed over the versions. (How)
can I achieve deleting multiple pages at once in version 7.6?


In 7 LTS some modules have moved to a better place. If you click on your 
name in the top bar a menu drops down with items like "Task center" and 
"User settings" (and the "Logout" button).


In "User settings" on the "Edit & Advanced functions" tab you will find 
the Recursive Copy and Recursive Delete options.



--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Missing width controls in "text and image" (Typo3 7.6.9)

2016-06-27 Thread Jigal van Hemert

Hi,

On 27/06/2016 21:26, distante y eterno wrote:

Hi everybody! this is my first post!


Welcome!


I just installed today Typo3 7.6.9 + introduction package and I have a
problem/doubt. I'm following this tutorial videos (typo3 7.6.4):
typo3-websites.eu/en/typo3-videos/ and in it after add a new "text and
image" and select an image, in the video the image get width, height and
position controls: i.imgur.com/6kr8nQ8.png

But when I do the same the alignment option isn't in the "appearance"
tab but in "images"  tab, with just 4 options.

Also I don't have any text box to put the width or height I want:
i.imgur.com/gW5RPsH.png

What I'm doing wrong?


You're not doing anything wrong. TYPO3 is highly configurable and that 
is what happened in your installation. The Introduction Package is based 
on the extension Bootstrap-package.
Normally the basic content elements are configured by either the system 
extension CSS Styled Content or Fluid Styled Content. With the 
Introduction package neither of those are used, but instead the 
Bootstrap package contains the configuration for these basic content 
elements. The layout in the backend is different than with CSS Styled 
Content and some of the fields have a different number of options.


The videos are based on the situation with CSS Styled Content.

I'm sure this is a bit confusing for you, but it also shows that you can 
configure the backend fields to the needs of a particular project.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Automaticly caching all pages daily

2016-06-13 Thread Jigal van Hemert

Hi,

On 13/06/2016 17:22, bob nat wrote:

My site (6.2.0 typo3) is outstandingly slow.
Because of a news template present on every page, the hole cache is
cleared every day.

I really need a function or an extension wich put automaticly all the
pages of the site (hundreeds!) in cache every day.


Perhaps you need to find the cause of this cache clearing and solve it 
that way?


It's not because in TypoScript you have settings like:
config.cache_period = 86400
config.cache_clearAtMidnight = 1

Is it in EXT:tt_news or EXT:news?

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] FE user authentication from custom extension

2016-06-10 Thread Jigal van Hemert

Hi,

On 10/06/2016 07:59, Jan Bednarik wrote:

I'm providing REST API for a website built on TYPO3. One of the
endpoints will be login. I'm not sure how to do it though. I don't think
that selecting from fe_users table where username=x and password=y is
the right way. Moreover, the passwords are hashed, so the REST client
would need to know the salt and the way the passwords are hashed.


Let the core take care of authentication for you; don't try to look up 
user data and related information.


https://forge.typo3.org/issues/62194#note-12

Contains a discussion about logging in a FE user. The note in the link 
provides some code as an example on how to do this inside your own code.



--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Flexform : foreign_table_where is not working properly when we use REC_FIELD

2016-06-05 Thread Jigal van Hemert

Hi,

On 04/06/2016 16:17, David Bruchmann wrote:

this is not working without FlexForms but with common definition in TCA too.
I just have the same problem where I want to limit of found data.
So your problem is related to the core but not to FlexForms.


You could try to add the category field to the [ctrl][requestUpdate] 
option in TCA. When the category is changed the form will be updated 
(after confirmation from the user) and the new value can be used to 
filter another field.

I think it should also work with flexforms.


Date: Fri, 03 Jun 2016 16:00:06 +0530

From: Jainish Senjaliya <jainishsenjal...@gmail.com>



 TABLE_NAME.category =
###REC_FIELD_settings.category### 

But this is not working at all


This is used during the rendering of the form. It's not updated on the 
fly when the value of the referred field has changed. If you need that 
you need to build custom fields that do Ajax request to repopulate the 
select fields.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Change title and meta description

2016-05-29 Thread Jigal van Hemert

Hi,

On 26/05/2016 22:04, Éric Thibault wrote:

We have a user_int extension working in 6.2.25 to output records and
we would like to modifiy the title of the page and insert a meta
description per record.



For the title I'd try:
$GLOBALS['TSFE']->getPageRenderer()->setTitle($my_haeder);

For meta tags you can't use the ->addMetaTag() function because the meta 
tags can't be changed by uncached plug-ins.

You can however add something to the header data by calling
$GLOBALS['TSFE']->getPageRenderer()->addHeaderData($my_meta_tag);


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] upgrade error msg about realurl

2016-05-29 Thread Jigal van Hemert

Hi,

On 27/05/2016 15:06, mario chiari wrote:

trying to upgrade form the Install wizard, i get


Update failed!
SQL-ERROR: Incorrect table definition; there can be only one auto column and it
must be defined as a key

Update database schema: Create tables and fields
ALTER TABLE tx_realurl_pathcache ADD uid int(11) NOT NULL auto_increment;



Extensions or the core only define the new situation of the database 
structures. The Database update tool compares the current situation with 
the new definitions and builds the queries to make the necessary changes.
Sometimes this leads to the situation that queries can't be executed. In 
most cases the solution is to repeat the action to check the database. 
It's very likely that one of the other proposed queries removes the 
"auto_increment" from another field. Once that query is executed the 
query to add the "uid" field will succeed.


Advice: repeat the database compare action multiple times. As long as 
the number of proposed updates become smaller the action should be 
repeated. It's very likely that after a while all proposed database 
updates for realurl will be gone.



--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Database cleaning advice

2016-05-28 Thread Jigal van Hemert

Hi,

On 28/05/2016 18:33, Chad Manookin wrote:

The database of our Typo3 installation (version 4.5.45 -- trust me, I'm
working to get upgraded) has become huge, making backups a pain and
possibly slowing the site.

While I've been working with it for just under a year, from what I
understand the site has been running for ~8 years, which leads me to
believe that a lot of unnecessary 'tracking' data has accumulated. The
problem is, I don't know what I can clear safely, or how exactly I
should go about it.

The biggest table, by far, is tx_realurl_chashcache that clocks in at
822 MiB. Since it would drop the total size of the database by nearly
1/3, does anyone know if there is a safe way to clear out old data in
this table?

Same question regarding sys_log and cache_hash since they are ~500 MiB
each.


cache_* tables are the "old" cache tables. They can all be emptied, 
except for cache_extensions. This one contains the list of available TER 
extensions. It can be emptied, but the you'd have to download the list 
again and you end up with exactly the same table size.


cf_* tables are cache tables from the (newer) caching framework; they 
can be emptied


sys_history contains the changes editors made. This helps you to roll 
back any changes that must be undone. You can empty it, but you'll lose 
the ability to undo modifications in content.


sys_log contains all logged information. Who logged in, pages that were 
added/removed/modified, record changes, extension changes, etcetera. If 
you don't mind losing that (the information you see in the Log module) 
it can be emptied too.


tx_realurl_chashcache contains calculated hashes for links. It's a 
cache, it can be emptied.
tx_realurl_errorlog contains requests that didn't have a correct 
realurl. Can be emptied if you don't want to preserve the information

tx_realurl_pathcache can be emptied if necessary
tx_realurl_redirects : keep it!
tx_realurl_uniquealias : better keep it. It keeps track of record IDs 
and titles. If there are multiple records from the same table with the 
same title the title with numeric suffix is stored here. For this reason 
the information should be kept.

tx_realurl_urldecodecache, tx_realurl_urlencodecache can be emptied



--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Extension Repository 503 error

2016-05-24 Thread Jigal van Hemert

Hi,

On 24/05/2016 21:22, Jacob Roe wrote:

I'm getting 503 error all the time! Does anyone know what's happening?


Works for me at the moment. Earlier today the Extension Repository was 
disabled to remove some of the load of the typo3.org site. It was very 
busy when everybody tried to read information about the security update 
and download patches and release.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] [TYPO3-core] Announcing TYPO3 CMS 6.2.25 LTS, 7.6.9 LTS and 8.1.2

2016-05-24 Thread Jigal van Hemert

Hi,

On 24/05/2016 13:29, Tauber, Mathias HDP-ML wrote:

Does the regression also exist for the old versions (since 4.3)?


The regression was only present in 4.6 and later. The ZIP-file with 
patches has been updated. Patches can be applied to 4.3 and later.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
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

2016-05-16 Thread Jigal van Hemert

Hi,

On 16/05/2016 11:03, Susheel Chand wrote:

Unable to change label name on the registration form. Need 'company' to
read 'school'. In TS setup i have put this:
plugin.tx_srfeuserregister_pi1._LOCAL_LANG.languageCode.Company = School
plugin.tx_srfeuserregister_pi1._LOCAL_LANG.languageCode.fe_users.company
= School


The "languageCode" part should be the actual two-letter code for the 
language or "default" (without quotes for English).


plugin.tx_srfeuserregister_pi1._LOCAL_LANG.default.Company = School
plugin.tx_srfeuserregister_pi1._LOCAL_LANG.de.Company = Schule

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Indexed Search result page in english

2016-05-14 Thread Jigal van Hemert

Hi,

On 14/05/2016 22:07, Lukas H wrote:

Ah du sprichst deutsch, das habe ich übersehen, sorry.


This is still an English newsgroup/forum/mailing list. There's also a 
German list and a few other language-specific lists.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
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. WEC Site Config

2016-05-10 Thread Jigal van Hemert

Hi,

I just sent you a modified (untested) version of wec_config by email.

Hopefully all necessary modifications are in this version to make it 
compatible with TYPO3 6.2.



--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
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. WEC Site Config

2016-05-09 Thread Jigal van Hemert

Hi,

On 09/05/2016 00:45, Wiesław Golsz wrote:

Thx Jigal, if I understand correctly, it is not possible is to use "WEC
Site Config".


I didn't mean to say that. There isn't a version in TER that is 
compatible with 6.2, but with the changes you are making it will 
eventually become compatible.


The change for that fatal error would just be to replace the call to the 
function testInt() with the function I mentioned (keep the parameters, 
just change the entire function name (plus the path in front of it).


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
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. WEC Site Config

2016-05-08 Thread Jigal van Hemert

Hi,

On 08/05/2016 17:07, Wiesław Golsz wrote:

*Fatal error*: Call to undefined method
TYPO3\CMS\Core\Utility\GeneralUtility::testInt() in
*/home/www/6.bestchoicefx.com/typo3conf/ext/wec_config/constants/class.tx_wecconfig_constants.php*
on line *139


That function is now called:

\TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger()

On line 139 you'll probably find t3lib_div::testInt(); the compatibility 
layer directed the call to the  new class name. This didn't work out in 
this case as the function was moved.



*P.S. Sorry, I'm not a programmer, the last time something was
programming 40 years ago and in Fortran :-). In meantime, a little html
and similar.


No problem. You are just unfortunate to need an extension that has no 
suitable version for 6.2.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
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. WEC Site Config

2016-05-08 Thread Jigal van Hemert

Hi,

On 08/05/2016 10:37, Wiesław Golsz wrote:

I took a few steps further and template is already active. But when I
try to open an error appears:

Oops, an error occurred!
TYPO3 Fatal Error: Extension key "tstemplate_ceditor" is NOT loaded!
In wiki:
https://wiki.typo3.org/Exception/CMS/1365429656

In LocalConfiguration.php
typo3conf/LocalConfiguration.php - array([EXT][extConf][your_extension_key])

I do not have this ("tstemplate_ceditor") array


That was the Constant Editor in TYPO3 4.5; in 6.2 it's rewritten. It 
looks like the only thing needed are the icons in the gfx directory in 
that (system) extension. You can very likely change two lines in 
constants/class.tx_wecconfig_constants.php : lines 82 and 83 (in the 
original file)


$tmpl->ext_localGfxPrefix = t3lib_extMgm::extPath('tstemplate_ceditor');
$tmpl->ext_localWebGfxPrefix = 
$GLOBALS['BACK_PATH'].t3lib_extMgm::extRelPath('tstemplate_ceditor');


change them to:

$tmpl->ext_localGfxPrefix = t3lib_extMgm::extPath('tstemplate') . 
'Resources/Public/';
$tmpl->ext_localWebGfxPrefix = 
$GLOBALS['BACK_PATH'].t3lib_extMgm::extRelPath('tstemplate') . 
'Resources/Public/';


You're brave to still hang in there :-) Let's see what problem pops up 
next...


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
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. WEC Site Config

2016-05-07 Thread Jigal van Hemert

Hi,

On 07/05/2016 23:32, Wiesław Golsz wrote:

Fatal error: Cannot access protected property
TYPO3\CMS\Core\Database\DatabaseConnection::$link in
/home/www/6.bestchoicefx.com/typo3conf/ext/wec_config/features/class.tx_wecconfig_features.php
on line 192

Where line 192 is: /if(is_object($TYPO3_DB) && $TYPO3_DB->link) {//


You can safely remove the second condition:

if(is_object($TYPO3_DB)) {

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
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. WEC Site Config

2016-05-07 Thread Jigal van Hemert

Hi,

On 07/05/2016 20:42, Wiesław Golsz wrote:

This time much more serious error. I use an application developed by
WEC. It is widely used in the network, but WEC support no longer exists.

It is very important ext "/WEC Site Config/" Site-wide configuration
module for constants, templates, and add-on features.
https://typo3.org/extensions/repository/view/wec_config

I get this error:

/Fatal error: require_once() [function.require]: Failed opening required
'PATH_t3libclass.t3lib_extobjbase.php'
(include_path='/home/www/6.bestchoicefx.com/typo3/contrib/pear/:.:/usr/local/php5.3/lib//php')
in
/home/www/6.bestchoicefx.com/typo3conf/ext/wec_config/features/class.tx_wecconfig_features.php
on line 31/


Most of the time these errors are not hard to fix, although it can take 
some time if you encounter a lot of them each time you fix one.


In TYPO3 4.3 (if I remember correctly) a mechanism was introduced to 
automatically load classes in PHP. This meant that you didn't need to 
use lines like


require_once( PATH_t3libclass . 't3lib_extobjbase.php');

in your code. You could just use the class and it would automatically be 
loaded.
Many extension authors still kept those lines because the code still 
worked. In 6.x the autoloader was changed and these errors appeared if 
extension code still used those unnecessary lines.



Q3. How to fix this error


Look carefully at the error! It says that the require_once didn't work 
in ../ext/wec_config/features/class.tx_wecconfig_features.php on 
line 31.


Edit the file and put two slashes in front of the 'require_once' on the 
mentioned line. This turns the rest of the line into a comment and it 
will no longer be executed. It will look a bit like:


//require_once( PATH_t3libclass . 't3lib_extobjbase.php');

(I don't know the exact line, but you get the idea)

Warning for the future:
- in 6.x all class names in the core were changed; the names are now 
easier to read
- 6.2 still knows the old names like the existed in 4.5 and extensions 
can still use the old names
- 7.6 doesn't know the old names anymore, but there is an extension 
'compatibility6' which makes it possible to still use the old class 
names; it comes with a price, performance is a lot worse with that 
extension installed
- 8.x don't know the old names and there is no extension that adds 
support for those old class names


You can use a lot of 4.x compatible extensions with 6.2, but it would be 
wise to look for alternatives before upgrading to 7 LTS or 8.x.
Alternative would be to edit the extensions and replace all the old 
class names with the new names. In some cases more code needs to be 
replaced, but you could hire a TYPO3 programmer to make those changes.



--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] Cal. Fatal error: require_once() [function.require]:

2016-05-07 Thread Jigal van Hemert

Hi,

On 07/05/2016 17:36, Wiesław Golsz wrote:

After doing the upgrade I am in the admin panel, I did DB check (update
reference index) all wass ok.


The reference index should have been updated *before* the upgrade. 
Upgrade wizards in the Install Tool may use this index to find relations 
between records. But you're already past this point, so let's just hope 
it wasn't too bad before you started the upgrade.




Now I tred install Calendar Base (cal_1.5.9). It was removed during the
upgrade from 4.5.40 to 6.2.


If it was the Install Tool that removed it the reason was that the 
Install Tool tried to load files from that extension that are also 
loaded when you use the TYPO3 backend. It detected that it caused fatal 
errors and offered you to uninstall the extension(s).


This would imply that the extension isn't compatible with TYPO3 6.2 and 
you should not try to install it.
Luckily the authors of the extension published a version that is 
compatible, so you can upgrade it to the latest version in the Extension 
Manager before installing it.


First you have to uninstall it to get back into the backend:

1) If the Install Tool previously offered to uninstall it during the 
upgrade the easiest solution is to go back to the Install Tool, open the 
"Important actions" tab and use the button "Check extensions". This will 
detect that the extension causes problems and offers the option to 
uninstall the extension


2) If you removed it prior to the upgrade you can try the method 
described above. If that doesn't help, use your (S)FTP tool and edit the 
file typo3conf/PackageStates.php (be very careful, if this file is 
damaged TYPO3 will replace it with a new one and most extensions 
(including many system extensions) will be uninstalled; you can install 
them again, it just takes some extra time). For each extension it 
contains block like this:


'news' =>
array (
  'manifestPath' => '',
  'composerName' => 'georgringer/news',
  'state' => 'active',
  'packagePath' => 'typo3conf/ext/news/',
  'classesPath' => 'Classes/',
  'suggestions' =>
  array (
  ),
),

(this is the block for the 'news' extension).
Find the block for 'cal' and change the value after 'state' into "inactive".
Upload the file.


Now you should be able to access the backend again.

Open the Extension Manager and see if there is an update icon in the 
leftmost column "Upd.". If you hold the cursor above the icon it should 
show a tooltip "Update to version 1.10.3". If that is the case you can 
update the 'cal' extension to that version.


If it doesn't show that text, use the selectbox near the top to choose 
the option "Get Extensions". This might take a while to load the 
information of all extensions. It may also be necessary to use the 
button "Update now" on the right side of the screen to import the latest 
information of all extensions in TER; it shows how old the information is.
Use the search box to lookup the extension 'cal' and install that latest 
version from here.


Hope that helps

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] Typo3 4.5.11 to 6.2 Upgrade

2016-05-07 Thread Jigal van Hemert

Hi,

On 06/05/2016 22:14, Wiesław Golsz wrote:

According suggestions, I update to Typo3 to v4.5.40 and tried to upgrade
to 6.2. but received this same error -

/Oops, an error occurred! TYPO3 Fatal Error: No database selected!

'DB' => array(
'extTablesDefinitionScript' => 'extTables.php',
'host' => 'localhost',
'password' => 'mypassword',
'port' => 3306,
'username' => 'db_username',
/
No db name. How I can set my db in /LocalConfiguration.php/?


'DB' => array(
'database' => 'typo3_62',
'extTablesDefinitionScript' => 'extTables.php',
'host' => '***',
'password' => '***',
'port' => 3306,
'username' => '**',
),

Note that in 4.x you can add settings and code to localconf.php and they 
were preserved if you changed settings in the Install Tool. In 6.2 the 
LocalConfiguration.php file is completely rewritten with each change 
(changed setting in Install Tool, changes in installed extensions, ...).


If you need complicated code to make settings in your installation you 
can add these to a file "AdditionalConfiguration.php" in the same 
directory as LocalConfiguration.php


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] TYPO3 CMS 8 and PHP7

2016-05-04 Thread Jigal van Hemert

Hi,

On 04/05/2016 16:54, "HocomAdvies [  Wiechert Hooghwinkel ]" wrote:

I’m wondering how to deal with different TYPO3 versions and PHP since
TYPO3 8.1 needs PHP 7 and older versions are running on php 5. The
dedicated server set-up is with Debian 8 and PHP 5.6.19 and apache2,
that’s fine for TYPO3 6.x and 7.x. Updating php to version 7 would
probably cause problems with these older versions of TYPO3. Right?


I had a similar challenge on my local development machine (not Debian by 
the way). If you run PHP as apache module then you are limited to a 
single PHP version for each running apache.
You could fire up multiple apache instances, each with its own 
configuration and thus with different PHP versions.


An alternative is to run PHP in (F)CGI mode. That way you can define the 
location of the PHP directory for each vhost.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] fluid backend modul and TCA

2016-04-19 Thread Jigal van Hemert

Hi,

On 18/04/2016 16:38, Christian Tauscher wrote:

Using the "New/Edit Record" view genereted by the Kickstarter is not
really good, since:

a) why should I write a view that looks like TCA: Use TCA instead.
b) image upload is not implemented and doing so is really really a pain!

Are there some viewhelpers in the Core for TCA rendering?
Some EXT in TER?


The module to manage BE users (sysext/beuser) has links to edit BE user 
records. If you look inside 
typo3/sysext/beuser/Resources/Private/Partials/BackendUser/IndexListRow.html 
you'll see that it uses a ViewHelper to build the link.
In typo3/sysext/beuser/Classes/ViewHelpers/EditRecordViewHelper.php that 
ViewHelper is implemented.


You can use these as inspiration.

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Upload image with FAL from Front End in Typo3 7

2016-04-15 Thread Jigal van Hemert

Hi,

On 15/04/2016 09:19, Maunil Prajapati wrote:

I want to upload Multiple Image from Front End but there is problem. Can
you please tell me what

is the correct way to upload multiple images from front end. currently i
used manually  code to


http://insight.helhum.io/post/85015526410/file-upload-using-extbase-and-fal-in-typo3-62

is an article that describes a way to do (multiple or single) file 
uploads in frontend with FAL. It contains to source code on github:


https://github.com/helhum/upload_example

Furthermore there is a step-by-step description of an example which uses 
this code:


http://ab-softlab.tumblr.com/post/119838114044/fileupload-in-frontend-using-typo3-6x-or-7-fal

This methods works in both TYPO3 6.2 and 7 (and probably also in 8.x)

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Manually insert image in sys_file table is not working properly in backend of typo3 7 version

2016-04-14 Thread Jigal van Hemert

Hi,

On 14/04/2016 15:40, Jainish Senjaliya wrote:

How can we generate identifier_hash and folder_hash while insert media
in sys_file table ??

Without that its throwing error message in backend.. if we added
"fileadmin/" folder in "identifier" field like : "
fileadmin/user_upload/js_contactform/jainish.png" than its working fine.
but this is not a solution.


Do not directly manipulate the sys_file table. To import a file in FAL 
you can simply use an API function (short class names to save some space).


// Build identifier from the absolute path to the file
$identifier = PathUtility::getRelativePath(PATH_site, 
PathUtility::dirname($targetFile)) .  
PathUtility::basename($targetFile);


// Import it into FAL and get a file object back
/** @var \TYPO3\CMS\Core\Resource\File $fileObject */
$fileObject = 
ResourceFactory::getInstance()->retrieveFileOrFolderObject($identifier);


// Get the UID of the new FAL record
$newRecordId = $fileObject->getUid();

This will simply use the default storage (0). If you need to add it to a 
specific storage you can use (with the $identifier from above)


$fileObject = ResourceFactory::getInstance() 
->getFileObjectByStorageAndIdentifier($storageUid, $identifier);


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Update Extension List: Could not access remote resource

2016-04-12 Thread Jigal van Hemert

Hi,

On 08/04/2016 17:10, Bastian Holzem wrote:

SSL certificate problem: unable to get local issuer certificate


To cut a long story short, a library used by TYPO3 (guzzle) used to come 
with its own root certificate file, but later versions dropped that to 
use the system file instead.
On Windows the curl library doesn't seem to be able to use the system 
certificates and fails to validate the certificate of the remote site.


Solution:

Get your own copy of cacert.pem at
https://curl.haxx.se/docs/caextract.html
and save it at a handy location

Edit php.ini and set

[curl]
; A default value for the CURLOPT_CAINFO option. This is required to be an
; absolute path.
curl.cainfo = [path_to]/cacert.pem

(replace [path_to] with the actual path to the file)

Restart Apache and now the file you downloaded is used for the root 
certificates.

It may be necessary to get a fresh copy from time to time.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Execute php script file including html headers

2016-04-06 Thread Jigal van Hemert

Hi Script Grandpa,

It's customary in TYPO3 mailing lists/forums to use our real names.

On 06/04/2016 13:24, Script Grandpa wrote:

Dmitry Dulepov wrote:

This is not a TYPO3 URL. This is a direct call to the script.


Well, my question was on how to correctly do it. That's why I titled the
urls "Example".
Are you saying, that Typo3 (pages) cannot evaluate (custom) url parameters?
So something like www.somedomain.com/getpic?imgsize=250 could never work
with Typo3?


It could work, but later you actually mention desired functionality that 
shows that you don't want TYPO3 to do anything with your parameters.



Dmitry Dulepov wrote:

Why do you want TYPO3 to execute this script? It does not make sense.


On that specific server a single Typo3 installation is serving multiple
domains / web sites. So apache forwards every request to Typo3's
index.php and Typo3 serves accordingly. My script is supposed to be
available as a page in one of the domains, next to a whole bunch of
other pages generated for that domain by Typo3. If I fiddle with apache
to redirect that specific domain to another subdir just to execute my
script, I loose all the other (Typo3) pages for that specific domain. As
far as I can see, I am stuck with Typo3 here.


The .htaccess example that comes with TYPO3 has a few lines that will 
check if the file/directory/link that is requested actually exists and 
only if that is the case it will forward the request to index.php:


# If the file/symlink/directory does not exist => Redirect to index.php.
# For httpd.conf, you need to prefix each '%{REQUEST_FILENAME}' with 
'%{DOCUMENT_ROOT}'.

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^.*$ %{ENV:CWD}index.php [QSA,L]

So, you could actually have your script in the installation and you can 
call it.


You also mention that it should "be available as a page in one of the 
domains". If it needs to be in the menu just like one of the TYPO3 pages 
that you can insert it in the page tree as a page of type "redirect". In 
the page properties you can put the URL and the result is that if a 
visitor clicks on the menu item they will visit your custom script.


For your information: custom content that cannot be done with the 
available content elements can be done with several possibilities in TYPO3:


- TypoScript; this is the configuration language of TYPO3, but it is 
also capable of processing data and generating images. It's pretty 
complex to master


- Extensions; A combination of configuration files and PHP code that 
uses the TYPO3 API to communicate with the rest of the system. It allows 
you to make plug-ins that can be inserted in a page, custom content 
element types, backend modules, all kinds of services, modifications of 
core functionality, etcetera. There are extensions to help you kickstart 
an extension, but to make it work requires knowledge of the TYPO3 API 
and extension building.


If you're not interested in developing for TYPO3 the quick solution 
might be the easiest solution for you.



--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] typo3_src-4.0, backend problems after migration.

2016-04-05 Thread Jigal van Hemert

Hi,

On 05/04/2016 10:56, Pawel Ziobro wrote:

Dear colleagues,

i have a problem with  typo3_src-4.0 (yes i know it's old but that's the
version i have to work with).


It's not "old", it's "ancient" and very insecure.


I have perfectly working version on RHEL5, but the problems start with
moving the app to the RHEL7.

I guess there are some PHP differences, but i do not know how to fix them.

I moved the whole app directory, dumped the db and restored
appropriately on the new server.

The main changes are
mysql -> mariadb,

and
PHP 5.1.6 -> PHP 5.4.16


The chances that TYPO3 4.0.x will work with PHP 5.4 are almost zero 
unless you are willing to fix all the PHP issues yourself. Compatibility 
with modern browsers will most certainly be an issue (it was released 10 
years ago, the last version is almost 7 years old).



Any ideas ?


You could try to upgrade to 4.5 first, then go to 6.2 and finally to 
7LTS. Depending on the extensions you use you have more or less work 
ahead of you.
Please not that the upgrade wizards that are in 4.5 were removed in 6.2 
and the upgrade wizards in 6.2 were removed in 7, etc.


If you insist on using such old versions of TYPO3 then you have to use 
the old server software that it was designed for.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] has no rendering definition!

2016-03-23 Thread Jigal van Hemert

On 23/03/2016 09:58, "HocomAdvies [  Wiechert Hooghwinkel ]" wrote:

Any advise how to get this working? How can I find out if a viewhelper is used 
(loaded)? And why does the viewhelper in my test setup not work?


Very quick reply (short sentences, not meant to be rude!)

First of all, you show very little code for people to find the problem.

A few pointers:

- the error about the rendering configuration refers to missing 
TypoScript. The article [1] that was mentioned shows what TypoScript is 
needed. If this is problematic, please show your TypoScript


- you want to use a viewhelper for some reason, but you mention that you 
have no idea what to put in the PHP file for that viewhelper. Do you 
actually need a viewhelper? A viewhelper is only needed if you can't 
solve a problem with standard Fluid and need some PHP code to do the job


- to display images you don't need a viewhelper. The standard 
viewhelpers from Fluid (or the TYPO3 core) are perfectly capable of 
rendering an image from FAL



[1] https://usetypo3.com/custom-fsc-element.html

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] Can not upload extension by TER: "Extension does not have a dependency for a supported version...""

2016-03-23 Thread Jigal van Hemert

Hi,

On 23/03/2016 09:53, Jigal van Hemert wrote:

On 23/03/2016 09:17, Robert Gonda wrote:

But TER after upload still return error:
Extension does not have a dependency for a supported version of TYPO3.
See http://typo3.org/news/article/announcing-ter-cleanup-process/ for
how to fix this.




There is a problem with the upload form for TER; people are working on a 
solution.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Can not upload extension by TER: "Extension does not have a dependency for a supported version...""

2016-03-23 Thread Jigal van Hemert

Hi,

On 23/03/2016 09:17, Robert Gonda wrote:

But TER after upload still return error:
Extension does not have a dependency for a supported version of TYPO3.
See http://typo3.org/news/article/announcing-ter-cleanup-process/ for
how to fix this.


There are more ways to get an extension in TER, so to pinpoint a 
potential problem: which way did you use? Upload form on typo3.org site, 
github hook, ...


Also, at what time did you try it? It seems that TER needed some time to 
adjust to the new list of releases after the birth of 8.0.0.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Why backend list module view Page Backend Layouts uid, not title?

2016-03-20 Thread Jigal van Hemert

Hi,

On 15/03/2016 21:46, Philipp Gampe wrote:

Hi Robert Gonda,

Robert Gonda wrote:


Is this can be changed via the TCA?


Yes, this can be configured via TCA:

https://docs.typo3.org/typo3cms/TCAReference/Reference/Ctrl/Index.html#label


In this case I have my doubts. The data of the available backend layouts 
(in the select box) is generated by a function (it comes from various 
sources; records, in TYPO3 7 also from Page TSconfig, various extensions 
can get the data from files, etcetera).


The List module can process quite a number of situations with table 
relations, but I couldn't find any code that used user functions to 
retrieve labels. It could probably be done, but currently it's not 
supported.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] has no rendering definition!

2016-03-19 Thread Jigal van Hemert

Hi,

On 17/03/2016 12:26, "HocomAdvies [  Wiechert Hooghwinkel ]" wrote:

Hi I have seen these topics as well but still not clear how to get my sample 
working. The mask extension looks interesting. Only minor thing is, that it is 
not reusable (like the extension CE are).
So I prefer to figure out how to get his working :) So if someone can explain a 
bit more that would be nice.


EXT:sitepackage is still only for 6.2, but I must find time to finish 
the version for 7 and upgrade the site too.
The manual of the extension is also on the website in separate pages and 
explains the code in the sitepackage extension.


http://www.typo3coder.nl/sitepackage/custom-content-elements/the-slider-element/
Tells about a slider content element. The frontend rendering is actually 
super simple; a few lines of TS with a Fluid template.


Most of the code also works with 7, a few changes are necessary or nice 
for forward compatibility.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] Auto update?

2016-03-19 Thread Jigal van Hemert

Hi,

On 16/03/2016 14:04, "HocomAdvies [  Wiechert Hooghwinkel ]" wrote:

Just to be sure if I understand how the auto-update feature in the
Installer works. On the server the typo3 source files are under
/usr/share/ They are accessible through a (in this case direct)
symlink. So the “cores” can be shared on several sites.

If lets say Typo3 7.6.0 checks for a core update, it recommends
updating to 7.6.4. If than performing that update, what doe the auto
updater do? Looking for a newer “core” or just change the symlink
into a symlink towards the latest source version? I assume if, that,
when that version is not available on the server it will not be
possible to perform the update? Right? Or will the updater also
download the new Typo3 source? I assume that downloading the new
source must still be done through wget (git) or any other way?


Your situation is not what the core update feature in the Install Tool 
is meant for. If you have several installation on a single server that 
share the same core then you're probably better of creating your own 
updater.


What the updater does is:
- check if a newer version is available
- download the archive
- unpack the archive
- move the core directory to the location of the old core (so you'll end 
up with two or more directories with different core versions next to 
each other in the same directory)

- change the symlink
- clear cache

It was meant for small installations where people usually had to 
download, unpack and change symlink by hand.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
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-19 Thread Jigal van Hemert

Hi,

On 16/03/2016 16:40, Giuseppe L. wrote:

There are some answer why all sites developed on typo3 in all links, ar
outdated? I mean, all sites I see on typo3blog or others, has more than
2/3 years, nothing new/modern, using Typo3 7, fluid and so on?


I don't know what you're looking for, but if you look at the larger 
agencies they have plenty of examples of recent sites made with TYPO3. 
From large entertainment companies, governments, municipalities, retail 
companies, the list is endless. Four random examples:


https://www.playstationnetwork.com/
https://www.rlp.de/
http://www.utrecht.nl/
https://www.mandemakers.nl/

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Templavoila is outdated ?

2016-03-12 Thread Jigal van Hemert

Hi,

On 11/03/2016 17:10, TSniper wrote:

Thank you for those informations, what do you recommand for custom fces
(Text+images+custom buttons) ?


As long as there are no areas which can contain other content elements 
you can easily make your own custom content elements. There are 
solutions that are technically a lot better, but this way you can 
migrate FCEs with limited effort.


Some people won't like this method because the data is still stored in 
flexforms, but it's the easiest solution to use the existing data and 
still have the FCEs in the backend


- copy in tt_content the contenst of colum tx_templavoila_flex to 
pi_flexform ; this contains the data of the FCE; set the CType field to 
the name of the FCE (in this example: 'terslider')


- copy the flexform DS to a file and remove the structures that are 
specific for TemplaVoilà. This is the flexform that we'll register later 
for use in tt_content


- in an extension you can configure the content element for the BE in 
file Configuration/TCA/Overrides/tt_content.php like this example


$GLOBALS['TCA']['tt_content']['columns']['CType']['config']['items'][] = 
array(


'LLL:EXT:typo3coder/Resources/Private/Language/newContentElements.xlf:extra_terslider_title',
  'terslider',
  'EXT:typo3coder/Resources/Public/Backend/Images/terslider_small.png'
);

No we've added a CType item for a CE 'terslider'.

// flexform for pi_flexform field
$GLOBALS['TCA']['tt_content']['columns']['pi_flexform']['config']['ds'][',terslider'] 
=

  'FILE:EXT:typo3coder/Configuration/FlexForms/flexform_terslider.xml';

This line registered the flexform file from the previous step for the 
CType 'terslider'.


$GLOBALS['TCA']['tt_content']['types']['terslider'] = array(
  'showitem' => 
'--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.general;general,


section_frame;LLL:EXT:cms/locallang_ttc.xlf:section_frame_formlabel,
pi_flexform; ;,

--div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.access,
 
--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.visibility;visibility,


--palette--;LLL:EXT:cms/locallang_ttc.xlf:palette.access;access,

--div--;LLL:EXT:cms/locallang_ttc.xlf:tabs.extended'
);

This is the hardest part, we determine which fields and tabs must be 
visible in the BE for this content element: the general tab, access 
field and the (empty) extended tab. Luckily there is a ton of 
inspiration in all the content elements from the core itself.


- In this example I'll still use CSS Styled Content, mainly because it's 
less work for an upgrade project. Otherwise you need to migrate the 
changes in rendering for use in Fluid Styled Content.

So, we can 'easily' define the rendering in TypoScript:

tt_content.terslider = FLUIDTEMPLATE
tt_content.terslider {
template = FILE
template.file = 
EXT:typo3coder/Resources/Private/Templates/ContentELements/Terslider.html

layoutRootPath = EXT:typo3coder/Resources/Private/Templates/Layout/
variables {
}
}

- The next thing we need to do is to make sure that the content element 
shows up in the New Content Element wizard:


mod {
  wizards.newContentElement.wizardItems.extra {
header = 
LLL:EXT:typo3coder/Resources/Private/Language/newContentElements.xlf:extra

elements {
  terslider {
iconIdentifier = conent-element-terslider
title = 
LLL:EXT:typo3coder/Resources/Private/Language/newContentElements.xlf:extra_terslider_title
description = 
LLL:EXT:typo3coder/Resources/Private/Language/newContentElements.xlf:extra_terslider_description

tt_content_defValues {
  CType = terslider
}
  }
}
show = *
  }
}

- The last thing is to make a fluid template for the rendering. You can 
copy a lot from the old TV mapping. To access the fields in the flexform 
you need a flexform viewhelper; an example of such a viewhelper is in 
the extension described in the next paragraph.


You can find all this in the extension "sitepackage" (available in TER). 
In the documentation of that extension a lot of the configuration is 
explained. A version specific for TYPO3 7 LTS is in the making.



What can i do for custom extensions, the upgrade process tell me to
uninstall them all before i can go to the next step ? these extensions
are all pi base. Can you tell me how to migrate them with their content ?


Pi_base extensions still work, but need some changes. The class names 
need to be migrated and some includes have to be removed, but this is 
generally quite easy to do. The marker based templates can still be used 
and all the data for these extensions can still be used.


It's quite a bit of work altogether, but once you get the hang of it 
you'll get faster :-)


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involv

Re: [TYPO3-english] Upgrade TYPO3 4.2.2 to latest 7.6.4

2016-03-11 Thread Jigal van Hemert

Hi,

On 11/03/2016 01:59, Ankur Nikam wrote:

One of my friend needs my help to upgrade his website developed in Typo3
version 4.2.2 to the latest version Typo3 version 7.6.4


It's very recommended to upgrade in steps to the latest TYPO3 release 
and make no larger jumps then from LTS tot LTS. So, in your friends case:

4.2.2 -> 4.5 LTS -> 6.2 LTS -> 7 LTS

Always use a copy of the site for the upgrade and make backups after big 
steps (to prevent that you have to start at the begin again).


Your friend should start by looking at the extensions and make sure 
versions compatible with TYPO3 7 are available. If necessary, find 
replacements and prepare how migration of data should be done.


6.x and later require UTF-8 databases (utf8_general_ci). [1] shows the 
tools to perform the conversion (best used with TYPO3 4.5)


In general each upgrade contains the steps:
- upgrade extensions to the highest possible version for that TYPO3 
version (perform update scripts in Extension Manager if extensions need 
that)

- update the reference indexes
- upgrade core
- run Upgrade Wizards in Install Tool
- run Database Compare in Install Tool
- clear caches
- check everything, check system log, fix anything that's broken
- backup
- repeat

[1] 
http://www.typo3coder.nl/development/upgrade-to-typo3-62-and-database-issues/


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Templavoila is outdated ?

2016-03-11 Thread Jigal van Hemert

Hi,

On 11/03/2016 11:57, TSniper wrote:

Can any body explain why i can not use Templavoila when i upgrade my
project from 6.2 to 7.4 version ?
The upgrade process tell me that i must uninstall Templavoila because it
is uncompatible.
Also when i visit Typo3 TER website, i found that it is mentioned as
outdated.


TemplaVoilà is no longer maintained. There was a small group that 
released a version that was compatible with 6.2. They also tried to make 
it compatible with 7 LTS, but after some attempts with earlier versions 
of 7.x the changes in the core made it necessary to make larger 
modifications and even rewrite parts of the code of TV.


The upgrade to 7 LTS will also mean that you have to migrate to a 
different page templating system (Fluid templates and backend layouts 
being the most obvious) and convert FCEs to a different solution (FCEs 
which do not have areas that can contain other content elements can be 
converted into your own custom content element or into gridelements; 
FCEs with content element containers can be converted to gridelements)


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: [TYPO3-english] what is the best way to get parameters from URL

2016-03-08 Thread Jigal van Hemert

Hi,

On 08/03/2016 13:44, dilip mdl wrote:

I am new on typo3 7 and getting issue on getting GET parameters from URL
while navigating from different pages. The URL pattern changes as per
the page.

For example:
http://localhost/typo3_abs/38/?tx_wxproducts_productdetail[pcuid]=1_wxproducts_productdetail[controller]=WxProducts=97a8309a492ceb63ef281f440c1482f3


http://localhost/typo3_abs/38/?tx_wxproducts_allcategory[pcuid]=1_wxproducts_allcategory[controller]=WxCategory=59476e67fa0a2347e94fdbfa95847776


You can see tx_wxproducts_productdetail and tx_wxproducts_allcategory in
URL for same page while navigating from two different page.


Can you explain a bit from which context you are trying to get these 
parameters? From TypoScript it will be different than from JavaScript, 
an extbase controller, etc.


In general, from PHP code inside a TYPO3 extension you can always call
\TYPO3\CMS\Core\Utility\GeneralUtility::_GP('tx_wxproducts_productdetail') 
and get an array with all the parameter from that prefix:


array (
 'pcuid' => 1,
 'controller' => 'WxProducts'
)

In TypoScript you can use

foo.data = GP:tx_wxproducts_productdetail|pcuid

to get the pcuid value from the first url.

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] How to call an action in background?

2016-03-08 Thread Jigal van Hemert

Hi,

On 08/03/2016 23:47, Angela Checa wrote:

I wonder if it is posible to call an Action that run a process in
background? I have to generate an excel report in my controller action
but this process takes a lot of  time until the report is completed and
the user have to wait on line for the report during 15 mins, that have
no sense at all, I want to generate the report in background, and send
an e-mail to the user with a download link.


The obvious solution would be that your controller adds the necessary 
parameters to a record in a table that represent a queue with reports to 
be generated.
A scheduler task (quite easy to program; there is also support in 
extbase for scheduler tasks) that runs every few minutes can process the 
report generations that are waiting in the queue and send the result to 
the user.
A bonus is that the scheduler task will be executed in CLI context which 
has no maximum execution time.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] system environment - Empty systemLocale setting

2016-03-08 Thread Jigal van Hemert

Hi,

On 03/03/2016 00:32, Uwe Gibbisch wrote:

get an error in system environment: pasteall.org/65642

how can I fix this?

pho 7.0.3, typo3 7.6.3


It's not an error, but a notification. TYPO3 can support directory names 
and file names with non-ASCII characters in them (diacritics). For this 
it needs to use a locale that supports UTF-8 that is also installed on 
your server. The names of these locales differ from system to system, so 
you need to check which are installed on your server.


You can then set the name of such a locale in the Install Tool settings 
and happily use all kinds of weird characters in your file names.


If you turn off the option to use a UTF-8 file system in the Install 
Tool you don't need to set the option of the systemLocale (but then you 
are restricted to ASCII characters).


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] loadTCA issue in 7 series

2016-02-25 Thread Jigal van Hemert

Hi,

On 25/02/2016 03:13, Vikash Kumar wrote:

I've used "loadTCA"  in my payment  module plugin because of that my
module is not working but it is working in 6 series so kindly provide me
solutions for that how to resolve this issue in typo3 7 series.


It was deprecated in 6.2 and removed in 7. So your solution is: stop 
using it.


TCA is already loaded from a cache, so no need to do it explicitly.

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] 7.6.4 and "text & media"

2016-02-24 Thread Jigal van Hemert

Hi,

On 24/02/2016 11:19, Katja Lampela wrote:

Just getting to know to latest version and have problems with basic text
and media.

When I add content element "Text & Media" I get error in frontend:
"ERROR: Content Element type "textmedia" has no rendering definition!"
(I have configured Finnish as site language)


It looks like you started using fluid styled content (instead of CSS 
styled content). This has text instead of text, textpic, etcetera.


The documentation tells you what to do to install it and also how to 
migrate from the CSC textpic to FSC text


[1] https://docs.typo3.org/typo3cms/extensions/fluid_styled_content/

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] how to call repository to another controller

2016-02-20 Thread Jigal van Hemert

Hi,

On 20/02/2016 11:55, dilip mdl wrote:

I have two controllers and two models (category and products), i wanted
to call products respository in category controller to get products. But
its giving me empty array even it has products of particular category.


I'd personally try to let the model do the work for me. A bidirectional 
relationship [1] would make it easy to access the categories from a 
product and the products from a category (it would be nice to make the 
products property in the category lazy loading; that way the products 
would only be fetched if you actually use them).


[1] http://lbrmedia.net/codebase/Eintrag/extbase-bidirektionale-mm-relation/

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] felogin don't send password recovery email

2016-02-18 Thread Jigal van Hemert

Hi,

On 17/02/2016 09:52, TSniper wrote:

I use Typo3 6.2.14, when i fill the filed email adress, i have the
message "we have sended you the recovery password link to your email"
but i get nothing in my mailbox. How can i know where the problem come
from ?


It could be that your configuration somehow prevents felogin from 
finding the email address you entered. In that case it will also display 
the message that the mail was sent to prevent people from checking if an 
account is registered at your site.


For debugging purposes you could enable the setting 
exposeNonexistentUserInForgotPasswordDialog [1].


If your account can be found it might be possible that you haven't set a 
valid "email_from" address. Without a valid from address it might not be 
possible to send the actual mail (depending on the mail configuration).


[1] 
https://docs.typo3.org/typo3cms/extensions/felogin/latest/Configuration/Index.html#exposenonexistentuserinforgotpassworddialog


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] cookieDomain issue

2016-02-15 Thread Jigal van Hemert

Hi,

On 14/02/2016 20:52, Loek Hilgersom wrote:

Now I'll dig into building a regexp to exclude those 2 subdomains while
including the others as well as a couple of other domains.


One tip: the entire match is used for the domain in the cookie, so you 
can't use lookbehind/lookahead assertions ( (not) preceded/followed 
by...) as they will not be included in the match.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
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-12 Thread Jigal van Hemert

Hi Mohammed,

On 11/02/2016 11:21, TSniper wrote:

Any new ideas guys ?


We already narrowed it down to the fact that the JavaScript you use 
doesn't send the product ID. It's now up to you to find the issue in 
your JavaScript code.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] cookieDomain issue

2016-02-12 Thread Jigal van Hemert

Hi,

On 12/02/2016 11:42, Loek Hilgersom wrote:

I'm having an issue with the [SYS][cookieDomain] setting.

I have a production server on www.domain.com, including a number of
subdomains, and test and acceptation servers on test.domain.com and
acceptation.domain.com. Because we need the cookieDomain set at
'.domain.com' we are running into BE-login issues on the test and acc
servers, obviously because the cookies of the different servers
interfere with eachother. I can only login on the test server after
removing the session cookie for .domain.com


You can use regular expressions in the cookieDomain setting. E.g. 
/\.(sub1|sub2|sub3)\.domain\.com$/ to match the three subdomains sub1, 
sub2 and sub3. It will not match test.domain.com or acception.domain.com .


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Index search result from extension

2016-02-11 Thread Jigal van Hemert

Hi,

On 11/02/2016 07:45, Maunil Prajapati wrote:

I am installing index_search  extension for search but its not working
properly it is not display on search result data from custom extension can
you please tell me how it is possible to display search result  data from
extension ? is there any typescript ? please give me full description how
it is done .


The most extensive description can be found in this tutorial:

http://xavier.perseguers.ch/en/tutorials/typo3/articles/indexed-search-crawler.html


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Integrate Backend as Iframe

2016-02-08 Thread Jigal van Hemert

Hi,

On 08/02/2016 10:04, Simon Prammer wrote:

I am currently trying to integrate the Typo3 Backend/Backend Login into
an Iframe of another Website/Backend. Basically i do not want to force
the user to switch Tab or show a Pop up with the Typo3 Backup when he is
already logged into my other site.
(Caution: All the following links in the example are dummy links)


I'd personally not waste any time on this. From a security point of view 
it's nowadays pretty important that people can actually verify which 
site they are visiting. The URL and the SSL certificate should be 
visible in the browser address bar.


Exactly for security reasons cross-origin framing has been disabled.

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
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-06 Thread Jigal van Hemert

Hi Mohammed,

On 04/02/2016 14:16, TSniper wrote:

piVars['submit'])) {

 $myVars = t3lib_div::_GP('tx_productmanager_pi1');

 // display the variable it is showing as empty
 debug ($myVars, 'vars of request');


Can you add debug commands for:
- $_POST
- $_GET
- $_SERVER['REQUEST_METHOD']
- $_SERVER['QUERY_STRING']
- $_SERVER['REQUEST_URI']


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Multiple Content (jfmulticontent) in 7.6LTS?

2016-02-03 Thread Jigal van Hemert

Hi Scott,

On 01/02/2016 21:43, Scotty C wrote:

I installed jfmulticontent 2.9.9 and implemented the 6 changes. I can
now create a content element of typo "Multiple Content", however when
Iattempt to save it I get the following error:

Fatal error: Uncaught exception 'TYPO3\CMS\Backend\Form\Exception'
with message 'No renderType definition found'
in/typo/typo3_src-7.6.2/typo3/sysext/backend/Classes/Form/NodeFactory.php:95


This is another thing that changed in 7 LTS: in TCA and flexforms the 
select boxes need to have a render type defined [1]. In previous 
versions it was attempted to conclude from the other settings how it 
should be rendered, but this didn't always produced the result that was 
wanted by the programmer.


In your case the file flexform_ds.xml in the root of jfmulticontent 
needs to be edited. There are 28 select fields in it.

If you change

select

into

select
selectSingle

this error should go away.


I'm also getting a Database Error:

You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use
near '' at line 1 A SQL error occurred. This may indicate a
schema mismatch between TCA and the database. Try running database
compare in the Install Tool.


Unfortunately, I have no idea what this means (never seen this error
in 10 years), nor do I know where to start in tracing/debugging.


It could be that this can be solved -- as the error message says -- by 
running the database compare tool in the Install Tool (Important Actions 
page).


I just had a better look at jfmulticontent and there are some things 
that were already deprecated in 6.2 and dropped in 7 LTS. It could be 
that a programmer needs to replace some code here and there.


Another thing is the TS constant useStoragePidOnly. This makes the code 
use the General Record Storage Page only; that is a thing of the past, 
so you really need to set that constant to 0.


[1] 
https://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Select/Index.html#rendertype


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
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 Jigal van Hemert

Hi TSniper (or is it Mohammed?),

On 02/02/2016 09:39, TSniper wrote:

Can anybody help me please?


These functions should work fine; I haven't seen problems with it.

Perhaps the problem is somewhere else?
For debugging purposes I would want to have a look at:
- the raw URL
- entire $_POST
- entire $_GET

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] css class to jsmenu select tag

2016-01-31 Thread Jigal van Hemert

Hi,

On 29/01/2016 12:30, Katja Lampela wrote:

The resulted menu is a select dropdown menu and now I try to figure out
how (if possible) to add css class to the select part.

[...]

temp.rootline_sel = COA
temp.rootline_sel {
10 = HMENU
   10 {
 1 = JSMENU
 1 {
   levels=2
   target = parent
   1.showActive=1
   1.showFirst = TRUE
   1.alwaysLink = 1
   1.wrap= |
   2 < .1
   3 < .2
   4 < .3
 }
   }
}


Each level inside JSMENU is of type JSMENUITEM. TSref shows a property 
additionalParams with description:


---
Additional parameters to the  box. E.g. you could set the width 
with a style-parameter like this:


additionalParams = style="width: 200px;"
---

In your case you could use it to add the class
temp.rootline_sel.10.1.1.additionalParams = class="selectclass"
For  the each level you can set a different class name.

You'll still get the onchange, because it is after all a JavaScript menu.

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] TS + realurl issue

2016-01-13 Thread Jigal van Hemert

Hi,

On 13/01/2016 19:11, mario chiari wrote:

I am trying to use it with realurl, and I fail.


The TS looks like it has to produce a series of links like:
index.php?id=11#12
index.php?id=11#348
and so on.

The question is what you tried with RealURL and what you tried to 
achieve. If you tell this it's more likely that someone may be able to 
help you (or say that it simply isn't possible).


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] theoretical question security

2016-01-09 Thread Jigal van Hemert

Hi "A",

Is "A" your real name? Please use your own name in these mailing 
lists/forums; we're all real people so it's considered polite to use our 
real names.


On 08/01/2016 20:54, typo3dev wrote:

i wonder how to secure typo3
basics is httAuth, there is no possibility to change default directories so

my questions
- how to secure typo3 directory? any tricks


Read the security guide:
https://docs.typo3.org/typo3cms/SecurityGuide/Index.html


- is there reason to install typo3 ext on non standart folders?


No,  security by obscurity is not a good choice. Files inside extensions 
are often used as publicly available assets (images/css/etc). So, if you 
modify the core to have extensions live in another directory a visitor 
to your site can easily detect that location.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
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-09 Thread Jigal van Hemert

Hi,

On 08/01/2016 04:56, Michael Schams wrote:

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?


I think that overwriting that variable is indeed a bad idea. The RTE 
code needs browser information to handle the differences between 
browsers correctly.


If you disable the RTE globally then you could make it work behind a 
CDN. Perhaps in future versions a different RTE will be available which 
doesn't need client information inside the PHP code.


Your initial "workaround" for a different BE domain isn't too bad 
actually. You'll have way more FE requests than BE requests. Quite a few 
installations already have different domains for the BE to deal with 
load balancers, replication and many other challenges.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] TYPO3 vers 6.2/7.x under XAMPP or WAMP on Windows 7/10

2016-01-07 Thread Jigal van Hemert

Hi,

On 05/01/2016 15:49, Luis E. Suarez wrote:

My question is: Is there anyone able to run TYPO3 ver 6.2 and 7.x under
XAMPP or WAMP on Windows 7/8/10?


I had problems in the past with OpenSSL and XAMPP on my Vista 
installation, but that also solved in the end.
After that I installed XAMPP on Win 8.1 with no problems and upgraded 
that installation to Win 10 (just kept working).


I've added a few environment variables to windows that help in various 
ways in TYPO3 or XAMPP:


OPENSSL_CONF | D:\webserver\apache\conf\openssl.cnf
TYPO3_CONTEXT | Development
TYPO3_PATH_WEB | D:/webserver/htdocs

Recent XAMPP distributions come with an OpenSSL component that is 
working quite well.


(Of course you need to add the ThreadStackSize setting in your Apache 
configuration, but that is well documented)


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Multiple Content (jfmulticontent) in 7.6LTS?

2016-01-05 Thread Jigal van Hemert

Hi,

On 05/01/2016 02:34, Scotty C wrote:

With regards to jfmulticontent specifically, I don't see any TCA/*.php files. 
The only thing I can find are the following:
jfmulticontent/ext_tables.php:176
t3lib_div::loadTCA('tt_content');


It's in ext_tables.php in the lines 98, 109, 119, 145, 156, 166.

Do the following replacements:

'script' => 'wizard_add.php',

replace with:

'module' => array(
  'name' => 'wizard_add'
),

---

'script' => 'wizard_list.php',

replace with:

'module' => array(
  'name' => 'wizard_list'
),




'script' => 'wizard_edit.php',

replace with:

'module' => array(
  'name' => 'wizard_edit',
),


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Multiple Content (jfmulticontent) in 7.6LTS?

2016-01-04 Thread Jigal van Hemert

Hi,

On 31/12/2015 03:42, Scotty C wrote:

I should have mentioned, that link was the first thing I found when
researching this. While it tells me how to make the changes, it
doesn't tell me what file(s)/line(s) to change :-(


The TCA settings are in .php files in one of the following files:
- ext_tables.php (for older extensions)
- tca.php (for older extensions)
- Configuration/Tca/*.php (newer extensions)
- Configuration/Overrides/*.php (newer extensions)

The page
https://wiki.typo3.org/Exception/CMS/1437750231
mentions to look for lines starting with 'script' =>
and replace it with the lines the page suggests.

Flexforms are mostly located in flexform.xml files (various locations 
possible).


(other files/locations might be possible, but this covers most extensions)

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Question typoscript security

2015-12-24 Thread Jigal van Hemert

Hi,

On 24/12/2015 15:06, Christoph Werner wrote:

1.) Do I need the htmlSpecialChars in both examples?


Both examples put something inside a href attribute, whatever is inside 
a href attribute should be htmlSpecialChar'ed for HTML4/XHTML and in 
some cases for HTML5.



2.) Would that be right:

lib.canonical = TEXT
lib.canonical {
typolink {
parameter = {page:uid}
parameter.insertData = 1
useCacheHash = 1
addQueryString = 1
addQueryString.method = GET
addQueryString.exclude = id
returnLast = url
}
htmlSpecialChars = 1
wrap = http://www.mydomain.com/|" />
}

3.) How can I use a typolink to create the absolute URL?


https://docs.typo3.org/typo3cms/TyposcriptReference/Functions/Typolink/Index.html 
look for the forceAbsoluteUrl property.


Then you can leave out the http:// part. It will also work with for 
example RealURL and different domains for various languages.


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Question typoscript security

2015-12-24 Thread Jigal van Hemert

Hi,

On 24/12/2015 11:46, Christoph Werner wrote:

Hi all!

I found two typoscript solutions for building canonical-Tags (seo
stuff). Solution 1 can be used when having records (news, blogposts...)
in action. When testing, both working like expected.

My question: did I need some kind of escaping?! Expecially solution 1?
How could escaping look like?


There are several extensions in TER that can do it for you.

If you want to do it with TS, why not let typolink create the absolute URL?
As far as encoding/escaping: in HTML4/XHTML it was necessary to turn "&" 
characters into "" inside an attribute value. For HTML5 this is 
only needed if an entity name follows after the "&".
To be safe apply htmlSpecialChars to the entire URL before wrapping it 
with the tag.



--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
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")

2015-12-22 Thread Jigal van Hemert

Hi,

On 22/12/2015 13:01, Michael Schams wrote:

Nevertheless I wonder what the purpose of the browser check for the BE
is? :-) I mean, we are not testing against a specific version, but only
against a string such as "IE". If someone tries to access the BE of 7.6
with IE6, he passes the test (but we dropped the support for IE6 a long
time ago). If someone tries to access the BE with an up-to-date browser
and the TYPO3 instance is behind a proxy (e.g. a CDN), the test likely
fails. So what's the point of checkValidBrowserOrDie()?


It's probably very old code. Anyways, it's been removed in 7LTS:

https://review.typo3.org/41261

So, another solution would be to upgrade to 7 :)

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
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")

2015-12-20 Thread Jigal van Hemert

Hi,

On 17/12/2015 04:38, Michael Schams wrote:

Some of our TYPO3 CMS sites are behind CDNs (content delivery network).
 From a client's perspective, the CDN is the end-point and the CDN does
not forward the user-agent string to the application server (here: the
TYPO3 instance). In fact the CDN sends it's own string to identify that
the request comes from the CDN, but not the user-agent from the client's
browser.
[1] typo3/init.php, line 55:


00045   ->baseSetup('typo3/')
00046   ->redirectToInstallerIfEssentialConfigurationDoesNotExist('../')
00047   ->startOutputBuffering()
00048   ->loadConfigurationAndInitialize()
00049   ->loadTypo3LoadedExtAndExtLocalconf(TRUE)
00050   ->applyAdditionalConfigurationSettings()
00051   ->initializeTypo3DbGlobal()
00052   ->checkLockedBackendAndRedirectOrDie()

00053:  ->checkBackendIpOrDie()
00054:  ->checkSslBackendAndRedirectIfNeeded()
00055:  ->checkValidBrowserOrDie()
00056:  ->loadExtensionTables(TRUE)
00057:  ->initializeSpriteManager()


The good news is that the browser information is detected in one of the 
sub-sub-calls inside baseSetup(). This fills 
$GLOBALS['CLIENT']['BROWSER'] with the name of the browser.


It's not until line 55 that this is checked and the request is 
terminated if the global variable doesn't contain any value.


In the mean time a lot of stuff has been loaded, among which are the 
LocalConfiguration, the AdditionalConfiguration, the loaded extensions 
and their ext_localconf.php files.
You could set the browser name in the AdditionalConfiguration file, or 
you could overwrite it in one of your extensions (for example a "site 
package" which contains all the configuration of the site).


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Update 4.5 to 6.2

2015-12-14 Thread Jigal van Hemert

Hi,

On 14/12/2015 11:29, Gert Rosslee wrote:

Need someone that can help to update Typo3. Don't know hoe and provider
has updated PHP so now cant access back-end?


The nicest solution would be that your hosting provider would roll back 
the PHP update at least temporarily until you have finished the upgrade. 
I guess that won't happen.


I assume that you have access to the files with SSH/(S)FTP. If that is 
not the case, ask your provider for that.


You can still use the normal upgrade guide [1] and skip anything you 
can't do because the 4.5 backend doesn't work. Instead say a little 
prayer that most of your extensions were already compatible with 6.2 and 
that the reference index was already up-to-date.


The 6.2 Install Tool luckily has an option to test if installed 
extension will cause fatal errors in the backend and it gives you the 
opportunity to de-activate them.


Make really sure you have backups of the entire installation (both all 
the files and all database tables) so you can restore everything and try 
again (or hire someone to do the upgrade).


[1] https://docs.typo3.org/typo3cms/InstallationGuide/UpgradeLTS/Index.html

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Searching for an extension to export import feusers

2015-12-06 Thread Jigal van Hemert

Hi,

On 04/12/2015 16:50, TSniper wrote:

I'm searhing for an extension or a backend solution that can help the
Administrator to import and export the feusers table fields within a csv
file. Can someone help me in that ?


An export can be done with standard TYPO3. Open the List module, select 
the folder with the FE users in the pagetree, click on the header 
"Website users (n) >". Now there is a button in the top bar to make a 
CSV export.


For imports (and general exports of all kinds of tables) you need a 
database tool. There is an extension "t3adminer" (yes, I made that 
extension; it includes the existing tool Adminer as a backend module) 
for all maintained versions of TYPO3.


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

--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


Re: [TYPO3-english] Typo 7.6.0 : general record storage not available

2015-12-06 Thread Jigal van Hemert

Hi,

On 04/12/2015 16:48, Lebreton wrote:

I am using typo3 7.6.0
when i edit a page, in "ressources", general record storage is not
displayed.
Is that normal ?


Yes, it was removed in TYPO3 7.4.


I need this option to use templavoila later on.


I wouldn't count on this if I were you:
https://gist.github.com/alexanderschnitzler/7df8576d8abbcb8745b8


--
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3  inspiring people to share!
Get involved: typo3.org
___
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   8   9   10   >