| 13:46 |
Dirk_ |
Hi all! |
| 13:47 |
Dirk_ |
I'm new in using Typo3 and I'm just reading a book to Typo3 introduction. |
| 13:47 |
Dirk_ |
But I have a problem. In my book, they explain how to create a TMENU. |
| 13:47 |
Dirk_ |
I tried it in my page, but it doesn't work. |
| 13:47 |
Dirk_ |
As spacer for the menu, I have ###MENU### |
| 13:49 |
Dirk_ |
As TypoScript, I enter |
| 13:49 |
Dirk_ |
MENU = HMENU |
| 13:49 |
Dirk_ |
MENU { |
| 13:49 |
Dirk_ |
special = directory |
| 13:49 |
Dirk_ |
special.value = 5 |
| 13:49 |
Dirk_ |
1 = TMENU |
| 13:49 |
Dirk_ |
1.NO = 1 |
| 13:49 |
Dirk_ |
1.NO.lknkWrap = | |
| 13:49 |
Dirk_ |
} |
| 13:49 |
Dirk_ |
But nothing happens. If I look at my homepage and press STRG + F5, I only see ###MENU###. Can you help me, what my fault is? |
| 13:50 |
Dirk_ |
I don't have to put my menu inside config { } or page { } or something else? |
| 13:58 |
Dirk_ |
Ok, sorry, I found my fault. X Pages later they show the whole construction of the menu... |
| 14:43 |
schabracke |
hey there! on question i am "missing" a field in tt_news "author_email". it is not deactivated via TS TCEFORM |
| 14:45 |
schabracke |
ha can i reactivate it? with tabels.php? |
| 15:07 |
pmk65 |
schabracke: I think that field appears if you have "Show secondary options (palettes)" enabled. |
| 15:08 |
schabracke |
@pmk65 thx for your answer but no i always got second options enabled |
| 15:08 |
schabracke |
its strange cause author email is within the tca tables |
| 15:08 |
schabracke |
its all set correctly |
| 15:10 |
pmk65 |
and you are sure its not disabled via page tsconfig? |
| 15:11 |
pmk65 |
You can test that with the "Info" menu item. |
| 15:11 |
schabracke |
okay i try that one moment plz |
| 15:15 |
schabracke |
im sorry i cant find anything?! |
| 15:17 |
pmk65 |
do you have any extensions installed that modifies the tt_news ext? |
| 15:17 |
schabracke |
yes! i wrote one |
| 15:17 |
schabracke |
i needed to new fields |
| 15:18 |
schabracke |
could you have a look at my backend? not that its so important, im just curious and want to learn :) |
| 15:18 |
pmk65 |
how are you adding those fields, using the tt_news hook functions |
| 15:18 |
schabracke |
cause i can preset the email adress in the user ts |
| 15:19 |
pmk65 |
post your ext_tables.php from your ext. |
| 15:20 |
schabracke |
i did it via kickstarter |
| 15:20 |
schabracke |
okay |
| 15:21 |
schabracke |
here we go |
| 15:21 |
schabracke |
http://pastebin.com/m446b6369 |
| 15:22 |
schabracke |
this is the php file from the ext i wrote |
| 15:22 |
schabracke |
wait! i think i see the problem.... |
| 15:23 |
schabracke |
line 40 |
| 15:23 |
schabracke |
there are all fields mentioned which apper in the backend |
| 15:23 |
schabracke |
but there is no author_email |
| 15:23 |
schabracke |
right? |
| 15:24 |
pmk65 |
the line 45 -> author;;3;; refers to a palettes named "3", but you overwrite the default palettes array in line 65 with a palettes named "6" |
| 15:24 |
pmk65 |
so the 3 plaettes is gone. |
| 15:26 |
schabracke |
no, that shouldnt be the problem. i just added the author_email after the author field (45) |
| 15:26 |
schabracke |
and now it works again! |
| 15:27 |
schabracke |
and i didnt understand what u meant with the palettes |
| 15:27 |
pmk65 |
thats because you add it to the type list, but you still refer to a palettes that doesnt exist. |
| 15:27 |
pmk65 |
http://pastie.org/678837 |
| 15:28 |
pmk65 |
http://typo3.org/documentation/document-library/tutorials/doc_tut_backend/0.0.1/view/1/6/ |
| 15:30 |
pmk65 |
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.2.0/view/4/2/ (bottom of page) |
| 15:32 |
schabracke |
so this was the problem? : You should not show the same field on more than one palette! If you do, the images (required and changed) will not work in MSIE. |
| 15:32 |
pmk65 |
and palettes 3 is not the only one missing, all the other, you have also deleted the ones for extensions like rgmediaimages |
| 15:32 |
schabracke |
that was the mistake i made, right? i had it in palette 3 and 6 |
| 15:33 |
schabracke |
right!!! |
| 15:33 |
schabracke |
im missing the intern videos :) |
| 15:33 |
schabracke |
damn your good hehe |
| 15:34 |
pmk65 |
palettes is a pain to work with. (But I just recently made an ext that adds a new type to tt_news, so I had to work a bit with those hehe) |
| 15:35 |
schabracke |
so how can i repar that? give tfor example the related items palette 7 instead of 3? or did i miss something funamental here? |
| 15:35 |
schabracke |
ma my mac keyboard is crap :) |
| 15:37 |
pmk65 |
> http://pastie.org/678837 |
| 15:38 |
pmk65 |
that should fix it, as then you add a key, not a complete array to the pallettes array. |
| 15:40 |
pmk65 |
and if you want to remove a single one of the other palettes, you can do: unset($TCA['tt_news']['palettes']['3']) etc. |
| 15:41 |
schabracke |
damn |
| 15:42 |
schabracke |
how did u do that? haha it really worked |
| 15:42 |
schabracke |
but the thing is, i really have no idea about that. its like a spanish village (we used to say in austria) |
| 15:43 |
pmk65 |
> http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.2.0/view/4/2/ (bottom of page) |
| 15:44 |
pmk65 |
I needed to read it several times before I understood it.. |
| 15:47 |
schabracke |
haha yeah same here :) |
| 15:49 |
schabracke |
so if i want to "move" a field from the hidden array i have the give it another array typenumber? |
| 15:50 |
pmk65 |
or remove the palettes part of the fiekd name in your setup |
| 15:50 |
schabracke |
okay so i DID understand it ....... |
| 15:51 |
schabracke |
... abit |
| 15:51 |
schabracke |
:) |
| 15:52 |
pmk65 |
you can use the "Configuration" menu item in the BE, to see the current TCA setup of any table. |
| 15:53 |
schabracke |
okay so right now im trying to do that with my author_email field. this is an second option item |
| 15:53 |
schabracke |
BUT in the ext_tabels of tt_news ext |
| 15:54 |
schabracke |
there are just the arrays not the field described? |
| 16:07 |
pmk65 |
they are in tca.php |
| 16:16 |
schabracke |
uhuu thanks im going to try that! |
| 16:16 |
schabracke |
if you once understand it its fun to play with :) |
| 16:24 |
schabracke |
hm i set the parameter exclude => 1 |
| 16:25 |
schabracke |
and the l10n_mode to "exlude" too but nothing habppens |
| 16:25 |
schabracke |
author email is still in the second options (hidden palette) within the author field |
| 16:44 |
Conic |
heyho @ all |
| 16:44 |
Conic |
how can i check which BE module is currently selectec in backend programming? |
| 16:48 |
pmk65 |
Conic: what do you mean by that? |
| 16:48 |
Conic |
i am currently programming a BE module |
| 16:49 |
Conic |
and at one point i want to check if a special BE module is selected or another one, because i can reach this script in two ways, over 2 different BE modules |
| 16:50 |
Conic |
now i wanna know which one is the selected... |
| 16:50 |
Conic |
maybe this is saved in $this |
| 16:51 |
pmk65 |
$MCONF array contains the module name, but I don't know it that can be used for that. |
| 16:51 |
pmk65 |
stored in conf.php of the module |
| 16:53 |
Conic |
print_r($MCONF); doesn't output something |
| 16:54 |
Conic |
i'm in the index.php of my module |
| 16:54 |
Spacecube |
hi |
| 16:54 |
pmk65 |
try $this->MCONF |
| 16:55 |
Conic |
hehe |
| 16:56 |
Spacecube |
got a strange issue... 2 websites...one local the other on life server...exact same installation of typo3, exact same css files...but not exact same layout....how's that possible? |
| 16:57 |
pmk65 |
Spacecube: maybe you have tidy enabled on one of them? |
| 16:57 |
pmk65 |
tidy removes all invalid html before display. |
| 16:58 |
Conic |
pmk65: i have a link from TV to my module. if i click it then it opens the module in the right column, but the module doesn't seem selected in the left column |
| 16:58 |
Spacecube |
i'm using cc_cbrowse on one page.... on live server page 1 and page 5 is not the same as the pages between....on local server all pages look the same.... |
| 16:58 |
Conic |
pmk65: do i have to manipulate the link that it updates the change of the module in the left column? |
| 16:59 |
Spacecube |
where can i disable that? |
| 16:59 |
pmk65 |
Conic: I think you need to call it using some javacript parameters, but I can't remember which. or in which lib the function is. :/ |
| 17:00 |
Conic |
ok... |
| 17:00 |
pmk65 |
Spacecube: Installtool. |
| 17:00 |
Conic |
but now i know that it does change the module but only not update it in the left column, this is helpful enough ;) |
| 17:00 |
Conic |
thanks |
| 17:00 |
pmk65 |
Spacecube: Is your pages valid? (Run them through a css/html validator and see if its ok) |
| 17:00 |
Spacecube |
pmk65: will try..thanx |
| 17:02 |
pmk65 |
Conic> The link should have an event handler like this for onclick -> onclick="top.goToModule('web_ts');this.blur();return false;" href="#" |
| 17:03 |
Conic |
thanks for the effort! |
| 17:03 |
pmk65 |
Spacecube: HTML validator -> http://validator.w3.org/ CSS Validator -> http://jigsaw.w3.org/css-validator/ |
| 17:03 |
Spacecube |
tidy is disabled on both installations |
| 17:04 |
pmk65 |
Conic> where "web_ts" is the name of your module. |
| 17:18 |
Spacecube |
pmk65: there are errors in html code... it's cc_cbrowse that creates the errors....but there's no html template file for that extension...could you help me how to fix that? |
| 17:25 |
pmk65 |
Spacecube: then you'll have to edit the PHP code itself. |
| 17:26 |
pmk65 |
but it's an old experimental ext, so there are big chances that its not compatible with current typo3 version. |
| 17:26 |
Spacecube |
that's my problem because i have no clue in extension programming |
| 17:26 |
Spacecube |
strange thing is that it works locally |
| 17:30 |
Conic |
pmk65 i lose my $_GET vars when i change the module :( |
| 17:31 |
Conic |
pmk65 can i transmit them as well via js onclick? |
| 17:34 |
pmk65 |
Conic: not sure. But maybe you can store them as session vars before going to the module? |
| 17:35 |
Conic |
elsewhere i found top.nextLoadModuleUrl |
| 17:35 |
Conic |
and top.fsMod.recentIds |
| 17:35 |
Conic |
maybe this |
| 17:35 |
Conic |
is there a documentation? |
| 17:36 |
Conic |
i'll try top.nextLoadModuleUrl |
| 17:37 |
pmk65 |
theres some inline documentation in typo3/backend.php |
| 17:39 |
pmk65 |
and maybe you can find something in this manual. but it's from 2002, so I doubt it reflect the current setup. http://typo3.org/documentation/document-library/tutorials/doc_tut_backend/0.0.1/view/ |
| 17:40 |
Conic |
pmk64 with top.nextLoadModuleUrl i can set the exact url, with get params ;) |
| 17:40 |
Conic |
works fine |
| 17:48 |
Spacecube |
okay...new problem: |
| 17:49 |
Spacecube |
my guestbook (ve_guestbook) was always working fine..... now i copied everything from local server to live server and did NOT change anything.... if i open guestbook site (no matter if live or local) i get this error: Couldn't find a Data Structure set for table/row "pages:46". |
| 17:49 |
Spacecube |
why is that now?? |
| 18:13 |
XPeter |
Hi, anyone could help me?? I got "no thumb generated" & "no image showed on page" problem |
| 18:15 |
XPeter |
This problem happen on 4.1.13. I also had install 4.1.6 on the same server (Linux) under different directory, but works fine.... what is wrong? |
| 18:43 |
XPeter |
problem solved: [GFX][im_path] both version is diff, I change it from user/xcrm/bin to user/bin/ , and everthing all right |
| 19:36 |
roadi |
iwould say the topic is out dated. |
| 22:07 |
kraftb |
Dan Osipov here ? |