Hi all,
when using the list modules search function, translated records are not found. The
field the search is done against ist defined as 'l10n_mode' => 'exclude', as
the tranlated records always has the same value as in default language.
The TCA is as follows:
'formcode' => array(
I've got it... In ext_tables:
$myPid =
intval(unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['my_ext'])['myPid']);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
[PIDinRootline = ' . $myPid . ']
...
[]
');
Kind regards, Jan
Hi all!
i need to set some PageTSConfig by a condition, the condition itself
should be read from extension settings (or setup / constants).
---
Approach 1 (TSConfig code):
[PIDinRootline = {VALUE_READ_FROM_EXTENSION_SETTINGS}]
...
[end]
How to pass extension settings into tsconfig?
Dear newsgroup,
i've got a quite adventurous intention ;)
A medium sized website had wrongly been setup with sys_language_uid=0
to be english, sys_language_uid=1 to be german long time ago. But the
projects domain is a german top level domain (please don't condemn me,
it is not my fault)...
Dear newgroups,
in TYPO3 6.2.14 LTS i've got a strange behaviour: I load some TSConfig
using...
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('');
...and...
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig('');
in typo3conf/extTables.php. But this
Hi Markus,
I suspect a caching issue. Maybe the extTables.php is not loaded in all
requests, which it should I guess. Would need some debugging and more info,
what options you set, etc.
ive supposed a caching issue, too. But clearing the caches and
typo3temp/Cache/* and
Hi Markus,
Without taking a look into the code I can only suggest to put those calls
into ext_localconf.php of your sitesetup extension. (assuming you have such
an ext which holds your templates and stuff)
thanks a lot. But this installation doesn't own any custom extension
for site setup
Can't you use another example on the page you linked?
What do you exactly mean? Using the injectObjectManager() instead of
constructor injection?
class Tx_Foo_Controller_MyController {
/**
* @var Tx_Extbase_Object_ObjectManagerInterface
*/
protected $objectManager;
/**
* @param
Can't you use another example on the page you linked?
What do you exactly mean? Using the injectObjectManager() instead of
constructor injection?
Using injectObjectManager() does not work, too.
All kinds of implementation don't work after
unserialze(serialize($myObject)).
Without
Hi David,
Using __construct in extbase is usually not advised.
But it is advised here:
http://wiki.typo3.org/Dependency_Injection#Constructor_injection
Instead you should use initializeObject(), initializeAction(), or
initializeYourActionName().
I need to automatically instance the
Hi newsgroup,
after serializing and deserializing an object, constructor injection
doesn't seem to work:
class MyClass {
public function __construct(\TYPO3\CMS\Extbase\Object\ObjectManager
$objectManager) {
$this-objectManager = $objectManager;
}
public function __sleep() {
Dear newsgroups,
can anybody please explain to me what initStorageObjects() is needed
for in a model class?
protected function initStorageObjects() {
$this-images = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
}
Any extensions i've written don't really need this. The following
Hi Markus,
This is only used by some wizards which store here if they have been
successfully finished. Others detect on their own whether they need execution
or not. You can find the list of all registered wizards in the Configuration
module. TYPO3_CONF_VARS =
Dear newsgroup,
the upgrade wizard writes something like this (after an 6.2 upgrade has
been made) to LocalConfiguration.php:
'INSTALL' = array(
'wizardDone' = array(
'TYPO3\CMS\Install\Updates\FilemountUpdateWizard' = 1,
Dear newsgroup,
a controllers newAction() renders a form. This form will be submitted
using ajax.
Without having any validation errors, the controllers createAction()
returns a json_encode($status). So far all fine.
But when the form is submitted and there *are* validation errors,
extbase
But how can i access each properties single validation result? Like i would
do in fluid using f:form.validationResults or similar.
I've studied the original errorAction method and var_dumped a lot, but i
didn't get it...
Hmm, i think i've found something. Looks like i have to use...
Hi Jan,
errorAction is called in case of error. You can redefine it:
/**
* Name of the special error action method which is called in case of
errors
*
* @var string
* @api
*/
protected $errorMethodName = 'errorAction';
So you can
Hi again,
i've got a strange behaviour: There are two tables parent 1:n child.
When a RTE field bodytext of table child is edited as IRRE from inside
the parent record, the RTE configuration doesn't seem to be loaded. When
the field bodytext of table child is edited by directly opening the
Dear newsgroup,
isn't it possible to sort records (backend list module) by a column
which is a n:1 relation (config type select) itself?
It seems that the sorting is done by the locally stored uid of the
foreign record instead of its title/label...
Kind regards, Jan
Dear newsgroup,
i've got a strange behaviour: There are two tables parent 1:n
child. When a RTE field bodytext of table child is edited as IRRE
from inside the parent record, the RTE configuration doesn't seem to
be loaded. When the field bodytext of table child is edited by
directly opening
Hi again,
is it possible to make just some fields of a table localizable (or visible
when translating the record from within the typo3 backend)?
The original records as well as the tranlations are stored inside the same
table (using t3_origuid, etc. There is no separate table like pages /
Hi Viktor,
Take a look at l10n_mode TCA setting [1]. You may set it to 'exclude' and
then your excluded fields will be not localizable. And, afaik, they'll be
automatically inherited in your translations, but here I may be wrong, so you
better play with this setting yoursleft :)
[1]:
Hi newsgroup,
is it possible to make just some fields of a table localizable (or
visible when translating the record from within the typo3 backend)?
The original records as well as the tranlations are stored inside the
same table (using t3_origuid, etc. There is no separate table like
pages
Hi newsgroup,
combining logicalAnd and logicalOr doesn't work for me, but maybe i
misunderstand it:
$query-matching(
$query-logicalOr(
$query-greaterThanOrEqual('dateStart', $dateStart-format('Y-m-d
00:00:00')),
$query-logicalAnd(
...sorry, please ignore this post. Everything works as expected, there
was a logical mistake on my side.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Hi newsgroup,
sorry, for the crosspost, but i don't know how to solve this problem.
Having done an 4.5.27 - 6.2.6 upgrade, there occur lots of PHP
Runtime Notices when Production Context is set. The notices are
shown when using the page module, list module, extension manager, etc.
Examples
Problem sloved in german newsgroup.
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Hi group,
all items except text and text/image should be disabled.
text/image should only contain items 25 and 26 as imageorient. As
soon as imageorient 17 is being removed, the text/image items
disappears from new content element wizard. Tested in different 6.2.x
installations.
A bug?
latest tt_address and latest directmail is installed on TYPO3 6.2.4.
tt_address db-table is correctly extended with module_sys_dmail_category
and module_sys_dmail_html fields, but there is no TCA definition loaded for
both added fields. What might be the reason?
Forge people wrote me that
Hi group,
latest tt_address and latest directmail is installed on TYPO3 6.2.4.
tt_address db-table is correctly extended with
module_sys_dmail_category and module_sys_dmail_html fields, but
there is no TCA definition loaded for both added fields. What might be
the reason?
Kind regards, Jan
Hi newsgroup,
i want GIFBUILDER to create dynamic sized images (up to an upper limit)
with a centered watermark on it:
file = GIFBUILDER
file {
XY = [10.w],[10.h] # This *does* work!
10 = IMAGE
10 {
# The image itself
file{
Hi Jigal,
thank you.
Correct! XY has +calc in the Data type description [1]. This means that some
calculations are possible [2].
Correct. file is of type imgResource [4] and this does not have +calc
properties [3].
Do you (or anybody else) have an idea about how to center an image A on
Hi Xavier,
Do you (or anybody else) have an idea about how to center an image A on
another image B when image A should be half the size (width, height) of
image B and image B is dynamic (maxW, maxH) and not fixed (width, height)?
Searching for watermark typo3 images in Google shows me that:
Hi newsgroup,
what is the difference between using $TCA and $GLOBALS['TCA'] (used in
my_ext/ext_tables.php and my_ext/Configuration/TCA/Model.php)?
I am asking this because when using $TCA instead of $GLOBALS['TCA'] it
seems to be possible to manually adjust the ordering of an extensions
Hi Anja,
don't use $TCA (or any other of those shortings we have around), but always
the $GLOBALS['TCA']. The shortened version is rather often incomplete and
will vanish over time.
Thanks! But when $TCA shouldn't be used, do you know any other way to
sort an extensions displayed tables in
Hi Philipp,
The install tool (Compare current database with specification) didn't
give me any hint about this. But it should say something like there
are TCA definitions without any corresponding database table / column
or similar... We had this in 4.5, didn't we?
We had this in the old
Hi newsgroup,
in the 6.2 install tool there is only the option Compare current
database with specification left. In 4.5, there were additional
options to compare from different directions (tca-db, db-tca,
etc.).
I've just done another 6.2 upgrade and removed a certain extension
before.
Hi newsgroup,
does anybody know if fl_realurl_image will be updated for 6.2
compatibility? Or, who is actually the extension author? There are
several persons in ext_emconf.php...
Kind regards, Jan
___
TYPO3-english mailing list
Hi Markus Ralf-Rene,
thanks a lot for your explanations.
I think i don't get it at the moment or i misunderstand it: The comments are
all about checksums locally or on ter etc.
Will this issue bring the old EM feature extension has been modified
back? Just for beeing sure to watch the right
detailed information could be outsourced to an additional
extension and EM only shows: 'has been modified'
+1 (these BASIC information has to be standard)
+1+1
And the additional extension could show a list of modified files - and
idealy show a diff to the original files which might be
maybe this could be a further feature of the install-tool:
a selftest of the core if it is unmodified and complete.
http://forge.typo3.org/issues/58819
I've just recognized that there are new issues on forge regarding the
check for core modifications feature.
But is there already an issue
Hi Ralf-Rene,
I've just recognized that there are new issues on forge regarding the
check for core modifications feature.
But is there already an issue regarding the check for extension
modifications in standard EM from the origin post, too?
for the hash-creating as requirement
Hi Xavier,
with 6.2 LTS the extension manager doesn't show any information about if
an installed extension is still in its original state or if it has been
modified. In 4.5 LTS we've had this feature...
Why has this feature been removed? Or is it still available in any other
place?
How can an
Hi newsgroup,
with 6.2 LTS the extension manager doesn't show any information about
if an installed extension is still in its original state or if it has
been modified. In 4.5 LTS we've had this feature...
Why has this feature been removed? Or is it still available in any
other place?
How
Hi,
1. Download sources from typo3.org
2. Upload the .tar.gz to the webserver, unpack 2x
Why download + upload instead of just wget directly on the webserver
as you have shell access?
Regards, Jan
___
TYPO3-english mailing list
Hi newsgroup,
i use FAL in a plugins flexform configuration to store images. How can
i fetch the FAL records for the given sys_file_reference uid's from
inside a controller? I am wondering why there is no
FileReferenceRepository to fetch the records by their uid...?
The usage of FAL itself
Hi group, again,
i use FAL in a plugins flexform configuration to store images. How can i
fetch the FAL records for the given sys_file_reference uid's from inside a
controller? I am wondering why there is no FileReferenceRepository to fetch
the records by their uid...?
this seems to work:
Hi group,
i'm currently working on an extension to exchange large (huge) files
(upload, download) between fe_users and be_users. I want the extension
to be independent from any provider restrictions (PHP limits, Apache
limits) as much as possible.
The upload part is already working fine
That's what i've found in between, too ;) Tanks, Jan
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Hi,
I have problems getting perfectlightbox and TYPO3 6.0.x to work. I have the
extended Enlarge on Click functions (Lightbox, ImageSet, Presentation Mode
and Slideshow) and use standard perfectlightbox settings.
What happens is when clicking an image it just opens it with black background
Dear newsgroup,
TYPO3 6.1: Is it possible to set a link for an image assigned in the
page properties? Both media in page properties and media in tt_content
text with image use FAL. But the link field of a FAL record is only
shown for content elements. When an image is assigned in page
Hi Torsten and Philipp,
inspired by you, i've also got a working solution with infinite
recursion in between. It is not perfect yet and everything is written
into the repository class, but it is working.
### CategoryRepository:
/**
* findAllAsRecursiveTreeArray
*
* @param
Hi Ralf-Rene,
Maybe this helps:
in TYPO3 6.2 there would be a HMENU special type categories
(i don't know if it is ready now, or usable for nested categories)
http://docs.typo3.org/typo3cms/TyposcriptReference/latest/ContentObjects/Hmenu/#hmenu-special-categories
Thanks a lot. I've already
Hi Torsten,
happy new year to you. I had a similar task some time ago. I've put my
solution together as a little example extension. Check out this link:
https://github.com/digicademy/categories_example
Happy new year to you, too. Thank you very much for this example!
Kind regards, Jan
Dear newsgroup,
i've got an extended sys_category model to categorize own recipe
records. Everything is fine and rendering the category tree in the
backend using makeCategorizable() to assign categories works. Now i
would like to render a category tree in the frontend (like a HMENU
does) to
Hi Anja,
using a return statement is perfectly fine.
By the way you can use return in all actions to provide your own rendering
result without asking Fluid to do anything. That is no workaround, but a
proper feature and the recommended way if you don't need Fluid.
great, thank your very
I made a new extension in extension builder (a basic 4 model extension with
no custom work in it, the only thing slightly fancy it does is extend the
fe_users table) and installed it and made a page with the plugin and when I
view the page I get a blank area where the plugin should appear - not
Ups, i meant:
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'VENDOR.' . $_EXTKEY,
'PluginName',
array(
'ControllerX' = 'list, show, new, ...',
'ControllerY' = 'list, show, new, ...',
),
// non-cacheable actions
array(
'ControllerX' = 'list,
Hi newsgroup,
i'm not sure what is the better way to behave like extbase likes:
I've got an Ajax-called ControllerAction without view which returns a
JSON object. Is it ok to exit the ControllerAction using
return($jsonobject) or would it be better to use a view for this action
and ouput the
Hi newsgroup,
i have to add js files to a backend module. Related to some examples
i've written a ViewHelper:
if(TYPO3_MODE === 'FE'){
$GLOBALS['TSFE']-getPageRenderer()-addJsFooterFile($path, NULL,
FALSE, FALSE, '', TRUE);
}else{
$doc =
Hi Bernd,
noCache is not needed to pass the vars around from pages and sites. just
having the variables in linkVars is enough.
not really
I think there must be something about your setup because to get languages
to
work linkVars needs to have L in it, and that used to work on my old 4.5
Hi Georg,
the default behaviour of findByUid is to find by uid and nothing else. if you
don't want that, implement it yourself with checking the pid as well
Fine, thanks for your reply! Good to know.
I've assumed that the storagePid setting would act for a repository in
general. So, if a
Hi Xavier,
the default behaviour of findByUid is to find by uid and nothing else.
if you don't want that, implement it yourself with checking the pid as
well
Fine, thanks for your reply! Good to know.
I've assumed that the storagePid setting would act for a repository in
general. So, if a
Hi Stephen,
noCache is not needed to pass the vars around from pages and sites. just
having the variables in linkVars is enough.
I think there must be something about your setup because to get languages to
work linkVars needs to have L in it, and that used to work on my old 4.5
install
Hi newsgroup,
at the moment i believe i am just too stupid, because i cannot find the
reason: I've got an extbase frontend plugin using some models and also
an extended fe_users model. Everything works as expected.
Now i've just deleted the storage pid entry in the plugin's ce
(Behaviour -
Hi newsgroup,
i have to pass a parameter through a whole TYPO3 site. The parameter
acts like a partner-id. How can this be achived best in TYPO3 4.5
without leading to a wrong caching behaviour?
The install tool options [1] cHashRequiredParameters,
cHashOnlyForParameters or
Hi Stephen,
thanks for your reply.
You can use defaultGetVars to set params, anywhere that uses typolink will
then add the vars to the links generated.
config {
defaultGetVars {
myvar = myvalue
}
linkVars = myvar
}
But defaultGetVars seems to *always* add the defined params to
Hi François,
But in BE, how can i call an Extbase action here when using AjaxID /
ajax.php? There is a good documentation about using Ajax in BE in
general [2], but it contains no hints regarding Extbase.
Beware old links:
Hi Xavier,
The Extension Manager is doing that. Example links are generated as
standard a href links in the template, then are processed by jquery
(main.js):
...
So this is a full example on AJAX call to Extbase in Backend, not using
ExtJS (which is not so beloved anymore) but jQuery.
Hi Xavier,
great! Thank you very much for the time you've spent on this...
Kind regards, Jan
___
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Hi Benjamin and Xavier,
thanks for your replies.
if you use extbase in FE, you most probably need all the magic (and that
is TypoScript loaded for a specific page). I therefore recommend to use
a separate page type to do this.
For BE i have no experience how to instantiate Extbase in AjaxID.
Dear newsgroup,
i'm wondering why there is no response regarding some improvements for
extbase, for example:
http://forge.typo3.org/issues/50439
Am i the only one who misses this feature? Nobody else? No statement
from the extbase developers at all?
Kind regards, Jan
Dear newsgroup,
i am currently working on an extension having bidirectional 1:n and n:1
relations over 3 tables: A -1:n- B -n:1- C (There are about 120
A-Records, 800 B-Records and 20 C-Records).
Independent from some extbase performance issues, there are problems
regarding the handling of
73 matches
Mail list logo