| 08:36 |
jocrau_ |
1 |
| 08:36 |
jocrau_ |
good morning |
| 08:41 |
PiMB |
morning all! |
| 09:09 |
maholtz|WORK |
morning |
| 09:09 |
jocrau |
hi |
| 09:59 |
Sebastian |
Hello, can someone tell me how to let a backenduser edit a table directly in a flexform of an extension? |
| 10:00 |
Sebastian |
including creating new records? |
| 10:09 |
teppi|work |
Sebastian, what do you mean with "edit a table" ? |
| 10:09 |
teppi|work |
create / edit / delte recored? |
| 10:09 |
teppi|work |
create / edit / delete records ? |
| 10:10 |
teppi|work |
you'll have to create a TCA for your custom table .. if the TCA is complete and you added all the fields necessary for TYPO3 your table will be accessable via the backend |
| 10:10 |
Sebastian |
yeah, thats what I mean |
| 10:11 |
Sebastian |
I created the table with the kickstarter so a entry in the tca should be there already |
| 10:11 |
teppi|work |
just have a look into the tca.php and ext_tables.php of an extension in the extension repository .. |
| 10:11 |
Sebastian |
but how can I include it into the flexform of my extension? |
| 10:12 |
teppi|work |
you can select records only by flexform .. |
| 10:12 |
teppi|work |
there are group controls etc. |
| 10:12 |
Sebastian |
<type>group</type>? in flexform? |
| 10:13 |
foertel |
morning guys |
| 10:13 |
foertel |
lolli_: ?? |
| 10:14 |
teppi|work |
Sebastian, http://codepad.org/iwD2fJ0j .. just replace pages by your table |
| 10:14 |
teppi|work |
and the records should be available with this field |
| 10:14 |
Sebastian |
thanks I will try that... :) |
| 10:15 |
teppi|work |
and check the other params they'll might be wrong for your usecase |
| 10:16 |
Rapp |
hi everyone! |
| 10:16 |
Rapp |
how can i find out which pages reference some other page? |
| 10:16 |
Rapp |
i have one page, that i thought is obsolete, but delete warns me that there are 4 references |
| 10:20 |
teppi|work |
Rapp, use the list module |
| 10:20 |
teppi|work |
there is a column Ref |
| 10:20 |
teppi|work |
you can click onto the number |
| 10:20 |
teppi|work |
and you'll get a popup with the references to the page |
| 10:21 |
Sebastian |
teppi... I tried overwriting pages with fe_users and my tables name (after I created a dummyentry there) but I dont see recordsets. i see the name of the table under the box but nothing in the box |
| 10:22 |
Sebastian |
and on the right side there is a button but it only shows the filesystem |
| 10:22 |
Rapp |
teppi|work: thanks. how do i interpret the references? e.g. one of them is "tt_content | Uid 7 | ..." |
| 10:22 |
jocrau |
@foertel what are you doing with the phoenix site? ;-) |
| 10:22 |
Rapp |
i don't have a page with id 7 |
| 10:23 |
Rapp |
it seems |
| 10:23 |
teppi|work |
this means the content item with the uid = 7 references to your page |
| 10:23 |
Rapp |
and how can i see what content item that is? how do i find that? |
| 10:26 |
teppi|work |
hm .. i don't know if there is an easy way in the backend .. i would make a database query .. maybe someone else has an idea? |
| 10:27 |
teppi|work |
select pid from tt_content where uid=xxx; :-) |
| 10:27 |
teppi|work |
would give you the page id |
| 10:27 |
Sebastian |
my boss somehow can make a setting so that each page shows the uid before the title in backend. but dont know the setting |
| 10:29 |
teppi|work |
Sebastian, yes but this doesn't help you finding the tt_content uid |
| 10:30 |
teppi|work |
Sebastian, the reason that your table is'nt available can be false/missing definitions or missing userrights .. |
| 10:30 |
Sebastian |
is it pid then? |
| 10:31 |
Sebastian |
missing userrights... I willl take a look... |
| 10:31 |
teppi|work |
the pid is the uid of the parent page yes .. |
| 10:32 |
Sebastian |
then should it be right that the number before the page is the uid isnt it? its the number I would use at index.php?id=xxx |
| 10:35 |
teppi|work |
yes .. i never argued against that .. ;-) |
| 10:37 |
Sebastian |
dont understand. he wanted to know it in the backend isnt it? but whatever... |
| 10:38 |
Sebastian |
regarding the userrights... there is a point datenbankfreigaben in the userrights. but it only shows the filesystem. I cant set a tablename or something the user is allowed to edit |
| 10:40 |
cooperbear |
Morning :) I'm building my own extension and need to parse a bit of typoscript for each record. I remember it was possible to do this via tslib_cObj, can anyone point me in the right direction as of how to use this? |
| 10:41 |
Rapp |
one more thing: how do i configure tt_news, so that in the LIST view, not only the title of the news item, but also the body is shown? |
| 10:42 |
teppi|work |
Sebastian, normally you set the access rights in the user group |
| 10:43 |
teppi|work |
<Sebastian> dont understand. he wanted to know it in the backend isnt it? but whatever... yes but tt_content is NOT pages ;-) |
| 10:44 |
aterriblechaos |
cooperbear: have a look at $this->cObj->cObjGetSingle($this->conf['myfield'], $this->conf['myfield.']); |
| 10:44 |
Rapp |
whoops, already solved |
| 10:45 |
cooperbear |
aterriblechaos: Thanks, I know that function. But how do I give it a record from my query so I can use 'field = title' in the given typoscript. |
| 10:45 |
Sebastian |
your right. tt_content are the contentelements inside a page. pages are the pages... |
| 10:46 |
cooperbear |
I tried using $this->cObj->start($arrayResults); but it does not work? |
| 10:49 |
aterriblechaos |
cooperbear: i dont know if this is the typo3 way, but try setting $this->cObj->data=$arrayResults |
| 10:55 |
cooperbear |
aterriblechaos: hmm.. tried it, but does not seem to work either :( actually I'm using a local instantiation of cObj (via t3lib_div::makeInstance), but that shouldn't matter I think? |
| 10:55 |
aterriblechaos |
cooperbear: also when using start you should add the table name, $this->cObj->start($arrayResults,'tx_mytable'); |
| 10:55 |
aterriblechaos |
no that shouldnt matter imho |
| 10:56 |
cooperbear |
aterriblechaos: hmm, yes I did add the table |
| 10:56 |
cooperbear |
aterriblechaos: What should the typoscript look like? |
| 10:57 |
cooperbear |
can it jus be a "item = TEXT" ? |
| 10:58 |
aterriblechaos |
cooperbear: yes, for testing i would use item=TEXT item.field=myfield |
| 10:59 |
cooperbear |
aterriblechaos: hmm oke, so that should be oke.. hmmz .. and the dataformat of the array.. how can I check if it is correct? wait a sec. maybe something is filled into $this->cObj->data by default.. let me check |
| 11:00 |
aterriblechaos |
cooperbear format for the array should be $array['fieldname']='fieldvalue'; |
| 11:02 |
cooperbear |
ah.. I see now.. it's working now, thnx! This is what I used: |
| 11:02 |
cooperbear |
$cObj = t3lib_div::makeInstance('tslib_cObj'); |
| 11:02 |
cooperbear |
foreach($products as $product) { |
| 11:02 |
cooperbear |
$cObj->start($product, 'tx_table'); |
| 11:02 |
cooperbear |
$cObj->data = $product; |
| 11:02 |
cooperbear |
$content .= $cObj->cObjGetSingle($this->conf['product'], $this->conf['product.']); |
| 11:02 |
cooperbear |
} |
| 11:03 |
aterriblechaos |
looks good cooperbear, shure that you still need $cObj->data = $product; ? imho start should be enough |
| 11:04 |
cooperbear |
aterriblechaos: yes, you are right, just removed it :) thanks for your help! |
| 11:04 |
aterriblechaos |
np, you are welcome |
| 11:06 |
ironm |
Hi aterriblechaos .. I got it working ... (missing language_ids in menu_links (TMENU)) .. AFTER moving the definition of the default langauge from Constants to the Setup-part of the root-template |
| 11:07 |
ironm |
!seen noway |
| 11:10 |
aterriblechaos |
ah ok ironm :) good to know that multilanguage is not broken in 4.4 |
| 11:11 |
Guest80454 |
hello |
| 11:12 |
ironm |
aterriblechaos: after you told me that it is working with the last svn-trunk I have installed trunk789 and tried .. it still didn't work so I had to play more around |
| 11:12 |
ironm |
hello² Guest80454 ;) |
| 11:14 |
Guest80454 |
http://typo3.org/documentation/document-library/tutorials/doc_tut_templselect/0.1.0/view/1/4/ where is part 2 and part 3? |
| 11:15 |
aterriblechaos |
Guest35140: http://typo3.org/documentation/document-library/tutorials/ |
| 11:15 |
ironm |
aterriblechaos: it looks like it is recommended to put most of the stuff in the setup-part of the root-template. I prefer however to use INCLUDE-statements there .. |
| 11:16 |
Guest80454 |
ok thanks ;) |
| 11:16 |
aterriblechaos |
ironm: im usually using extension templates that i include in include static. still INCLUDE statments are handy if you use an external editor or some versioning system |
| 11:17 |
Sebastian |
teppi im in the backend with an user that is admin. shouldnt he have all rights? anyway I created a backend usergroup and made the setting that the usergroup can edit all tables and show them. then added the group to the admin. but still the same result in the flexform. the tables header is written right but there are no records and the button on the right only leads to the Seitenbaum (Filesystem) |
| 11:18 |
ironm |
aterriblechaos: yes .. vi is for me "the most comfortable way" to edit files |
| 11:18 |
Sebastian |
I tried to use it with fe_users-table too and the right table header is written under the box but no records |
| 11:19 |
aterriblechaos |
ironm: hehe i like vi too, but only for quick changes .. usually im working with ultra edit |
| 11:19 |
ironm |
aterriblechaos: can you use REGEX with "ultra edit" ? .. I don't know this editor |
| 11:20 |
aterriblechaos |
ironm: yes you can,but it exists only for windows (which i use for working because of testing etc) |
| 11:20 |
Sebastian |
teppi|work ? |
| 11:20 |
ironm |
aterriblechaos: I see ... there is now Win-box here ;) |
| 11:22 |
teppi|work |
Sebastian, have you tried to create new fe_user records? |
| 11:22 |
teppi|work |
maybe you are on the wrong page |
| 11:22 |
teppi|work |
even records have a parent page ( the pid! ) .. |
| 11:23 |
Sebastian |
you mean it doesnt show the full table? but my table should not be bound to a page id. It should be a global table... |
| 11:25 |
Sebastian |
hm. I think youre right. I looked into the seitenbaum with the button on the right and on top of the website I can see my entry I put into the table. |
| 11:26 |
unmatrix |
hm - in the database, there is some field with content like "http://www.google.com/ _blank" -> how to make a typolink (in typoscript) |
| 11:26 |
unmatrix |
i already tried: typolink.parameter.data = {page:tx_egreox_site} |
| 11:26 |
Sebastian |
But cant I simply edit the full table? Maybe when I delete the column pid? |
| 11:28 |
teppi|work |
Sebastian, no .. records are always bound to a page .. i think deleting the pid column will lead to errors .. |
| 11:29 |
teppi|work |
create a sysfolder like datastorage |
| 11:29 |
teppi|work |
and put your records under this folder .. |
| 11:29 |
unmatrix |
ah - i got it ( ...data = field:tx_...) |
| 11:35 |
Sebastian |
teppi|work your right. It seems thats a good solution... at least a backenduser can now simply edit a table in the backend... thanks" |
| 11:35 |
Sebastian |
! |
| 11:37 |
teppi|work |
yep .. its nearly always a good idea to do it the TYPO3-way because you will be rewarded with a lot of additional features .. :-) |
| 11:37 |
Sebastian |
and it looks more professional in the end... :) |
| 11:39 |
Milten |
hi |
| 11:39 |
Milten |
do you know any good Typo3 tutorials? |
| 11:54 |
Phlunk3 |
lo all, anyone knows if I can change the style of a mapped image (templavoila) via the local processing ? I have a fixed image (width and height) but also want to add style="float:left" to it. |
| 12:06 |
satelit |
hi |
| 12:09 |
satelit |
i want to use another extention in my extention like this: http://nopaste.info/9cb7cd0687.html [error is included] and i get a nice error! but i dont understand that ... i think $this->cObj is missing ... or ? |
| 12:14 |
teppi|work |
satelit, yep .. looks like thats the problem .. |
| 12:17 |
roadi |
i miss the flags... which extension contains the flags (flag_uk.gif and flag_uk_d.gif)? the static info tables extension ist installed. thx :) |
| 12:19 |
aterriblechaos |
arent the flags in media/flags/ ? |
| 12:23 |
roadi |
thx - i got it :) |
| 12:34 |
Guest31337 |
hello |
| 12:35 |
Guest31337 |
http://dev.ruv.net/typo3/user: adminpass: password this not working |
| 12:35 |
Guest31337 |
http://typo3.org/documentation/document-library/tutorials/tv_ap_tutorial/1.0.5/view/1/1/#id2699949 |
| 12:52 |
satelit |
teppi: thx |
| 12:56 |
satelit |
but now i have another problem ... i want to load the other extention ... give them some params and i want ot get a return(html-content-code)n ... but i got only blanks ... why ?! |
| 13:12 |
teppi|work |
satelit, maybe its a better idea to call the plugin like TYPO3 would do it with $this->cObj->cObjGetSingle .. |
| 13:12 |
teppi|work |
so the plugin renders its content in the right context |
| 13:22 |
satelit |
$markerArray['###MARKER123###'] = $this->cObj->cObjGetSingle('tx_staff_pi2', $this->conf['staffConf.']); <-- like this ? |
| 13:37 |
AdrienObla |
Hi everybody! |
| 13:38 |
AdrienObla |
There is somebody here from the T3 Association please? |
| 14:20 |
gehdan |
Java-coder unter euch |
| 14:20 |
gehdan |
"an die" wurde wohl verschluckt... |
| 14:25 |
Dr4g0n |
hello, i have a litte problem, i need the option, when i link "directly" to a subpage like www.example.com/example so that typo3 send me to the internal linked site.. like example.com/example.16.php |
| 14:26 |
Dr4g0n |
the option to define a "short link" |
| 14:26 |
gehdan |
ah, sorry.. stupic chatclient changed the channel.. |
| 14:27 |
Dr4g0n |
gehdan do you talk to me? |
| 14:28 |
gehdan |
nope, to all, concerning my previous two messages, just before you entered the channel :) |
| 14:28 |
Dr4g0n |
okay |
| 15:14 |
PowerKiKi |
hi there ! |
| 15:14 |
AdrienObla |
hi! |
| 15:14 |
AdrienObla |
Still nobody here from the T3 Association? |
| 15:14 |
PowerKiKi |
I fighting with ExtJS/ExtDirect, typo3 and form, anyone could help me a bit about that ? |
| 15:15 |
AdrienObla |
No sorry, i never used those ext |
| 15:16 |
PowerKiKi |
can't figure out how to make it work all together :-/ |
| 15:17 |
PowerKiKi |
I read loads of post/tutorial/stuff but it's never as simple as what I need... frustrating ! |
| 16:22 |
jjulian |
hi is there any way to speed up link generation through typo3? |
| 16:23 |
jjulian |
i have 1770 links on one of my pages. and i tried to generate them through ajax and get them in that way. but that also takes (uncached) 4-6 seconds |
| 16:23 |
jjulian |
if i empty out just the link generation it takes 400ms |
| 16:23 |
jjulian |
so every other calculation doesnt needs to be optimized in the first place |
| 16:25 |
jjulian |
any ideas? |
| 16:44 |
AdrienObla |
Anabody from the T3 Association here, please? |
| 16:45 |
AdrienObla |
*any |
| 16:47 |
jjulian |
nobody here has problems with speed in link generating? |
| 17:09 |
rawtaz |
AdrienObla: i do not know, im new here, but i presume some are. however, why not ask your questions if you have any, so they can respond when they have the possibility to do so? |
| 17:11 |
AdrienObla |
It's not really a question... Here we are some colleagues who want to know if they are certified! |
| 17:12 |
AdrienObla |
We passed the exam a month ago and are impatient about receiving our success/failure notification. |
| 17:12 |
rawtaz |
oh |
| 17:12 |
rawtaz |
certified in what? |
| 17:12 |
AdrienObla |
T3 Integrator |
| 17:16 |
pascalj |
AdrienObla: my colleague was certified a year ago and it took about 8 weeks... |
| 17:16 |
pascalj |
AdrienObla: but I know someone in the certification team and will ask him. where did you write the exam? |
| 17:25 |
AdrienObla |
In paris, on 14th may |
| 17:25 |
sorenmalling |
AdrienObla: Just keep a eye at the certification homepage :) |
| 17:25 |
AdrienObla |
thanks pascalj... |
| 17:26 |
AdrienObla |
8 weeks... colleagues may cry... ^^ |
| 17:26 |
AdrienObla |
sorenmalling : we do ;) |
| 17:27 |
sorenmalling |
:) |
| 18:06 |
AdrienObla |
Thanks folks, we'll wait for the official notification from the certification team. I hope it will not take 8 weeks... |
| 18:06 |
AdrienObla |
cya |
| 18:21 |
rawtaz |
hmm |
| 18:21 |
rawtaz |
certification.. |
| 18:21 |
rawtaz |
sounds very serious |
| 18:38 |
Dirk_ |
Hi guys |
| 18:38 |
Dirk_ |
I have problems using tt_news |
| 18:39 |
Dirk_ |
In my archive I see "May 2010: 3 News" but when I click on the link I only see 1 News e.g. |
| 18:39 |
Dirk_ |
Does anyone know what's going wrong? |
| 18:56 |
Dirk__ |
Hi guys |
| 18:56 |
Dirk__ |
I have problems using tt_news |
| 18:56 |
Dirk__ |
In my archive I see "May 2010: 3 News" but when I click on the link I only see 1 News e.g. |
| 18:56 |
Dirk__ |
Does anyone know what's going wrong? |
| 19:42 |
Dirk__ |
Hi guys |
| 19:42 |
Dirk__ |
I have problems using tt_news |
| 19:42 |
Dirk__ |
In my archive I see "May 2010: 3 News" but when I click on the link I only see 1 News e.g. |
| 19:42 |
Dirk__ |
Does anyone know what's going wrong? |
| 20:14 |
ironm |
!seen noway |
| 21:11 |
sint |
is it possible to ask for more then one in globalVar? |
| 21:46 |
roadi |
the L value is missingin my menues; i am doing the follogwin: loading the site, change the language and when i click to a menu the new site is loaded in the default language not in the selected. does anyone have an idea? thx :) (the l value is missing in the links) |
| 21:49 |
pgampe |
roadi: check config.defaultLinkVars |
| 21:52 |
roadi |
thx :) there was only linkVars; thx alot |
| 21:53 |
acasto |
quick question, I've been using plain old straight TypoScript templates for years, is Templavoila worth getting into now or is something better/different aroud the corner? |
| 21:55 |
pgampe |
acasto: There is no answer to this... |
| 21:56 |
pgampe |
However your might want to have a look at modernbe http://forge.typo3.org/wiki/extension-modernbe/ |
| 21:57 |
pgampe |
acasto: actuelle it depends on your needs... icepack it worth mentioning too |
| 21:57 |
acasto |
ok, thanks |
| 21:58 |
acasto |
I just didn't want to invest too much time in a dying paradigm if that was the case |