| 04:02 |
mayeco |
hey |
| 04:03 |
mayeco |
where i get the typo3 api |
| 04:03 |
mayeco |
i need the parameters of this func pi_list_browseresults |
| 06:32 |
dokma |
ries: you here? |
| 06:32 |
dokma |
ries: 4.2.5 is out |
| 06:46 |
chefan |
any critical updates to 4.2.4? |
| 07:16 |
spabhat |
none of the updates seem to be critical in 4.2.5 |
| 07:25 |
chefan |
cool, thanks |
| 08:32 |
caliel |
Hello everyone. |
| 09:02 |
_pedda_ |
hi all |
| 10:04 |
kraftb |
morning ! |
| 10:04 |
_pedda_ |
moin |
| 10:04 |
m4rtijn |
hi all |
| 10:07 |
_pedda_ |
hi m4rtijn |
| 10:11 |
m4rtijn |
hi pedda |
| 10:35 |
m4rtijn |
hmm, does anyone know how to create a contact form with check by hand? :p |
| 10:35 |
m4rtijn |
i havent done that yet.. |
| 10:36 |
m4rtijn |
.. I need to set the form action to the checker script.. but how do I send it then |
| 10:38 |
m4rtijn |
ah, got it |
| 10:41 |
RickardAtWork |
Is it possible to "share" a content element among multiple pages? I know you can do this for a full page (mount point), but I want it for a particular content element only. |
| 10:44 |
RickardAtWork |
In other words, I want a record in my left column to be displayed on all pages without. When I change it on the front page, the change should be visible on all pages. |
| 10:44 |
RickardAtWork |
-without |
| 10:47 |
m4rtijn |
yes its possible RickardAtWork |
| 10:48 |
m4rtijn |
you have to make a typoscript object CONTENT and include it on your pages |
| 10:48 |
RickardAtWork |
Hmm, so it involves scripting? I can't do it via the UI? |
| 10:49 |
m4rtijn |
well.. its not scripting.. |
| 10:49 |
m4rtijn |
typoscript is just configuration.. |
| 10:49 |
RickardAtWork |
Ok, but it needs to go in the template |
| 10:49 |
m4rtijn |
yes |
| 10:50 |
RickardAtWork |
You wouldn't happen to have an example of how to do it? |
| 10:50 |
m4rtijn |
there should be examples you can find in google.. |
| 10:51 |
m4rtijn |
or search here |
| 10:51 |
m4rtijn |
http://support.typo3.org/snippets/ |
| 10:54 |
RickardAtWork |
I'll give it another go. |
| 10:55 |
tPl0ch |
hello fellow typo3 freinds |
| 10:56 |
tPl0ch |
e<->i |
| 10:56 |
tPl0ch |
is it possible to access the images of tt_news.displaySingle and display in another part of the template? |
| 11:00 |
RickardAtWork |
m4rtijn: Actually, I found out that it can be done via the GUI. Create a regular text and then change its type to "Insert records". |
| 11:00 |
maholtz|WORK |
but you have to insert that content element on all pages? |
| 11:00 |
maholtz|WORK |
what happens if you create new a one? |
| 11:01 |
m4rtijn |
tPl0ch - should be possible |
| 11:01 |
RickardAtWork |
Yes, but the important thing is that if I edit the one on the front page, the change is visible everywhere. |
| 11:01 |
RickardAtWork |
I won't create anymore. It's just a short news blurb that I want to be able to display everywhere. |
| 11:02 |
m4rtijn |
RickardAtWork - then use tt_news with LATEST.. |
| 11:02 |
RickardAtWork |
What's wrong with the insert record method? |
| 11:02 |
maholtz|WORK |
i would use typoscript for that, there is an example in snippets |
| 11:03 |
maholtz|WORK |
as i said: new pages - you have to insert a new record too |
| 11:03 |
RickardAtWork |
maholtz|WORK: I searched the snippets, but I couldn't find it. |
| 11:03 |
maholtz|WORK |
not nice for editors |
| 11:03 |
tPl0ch |
m4rtijn: over plugin.tt_news.displaySingle.image or plugin.tt_news.getRelatedCObject ? |
| 11:03 |
RickardAtWork |
True, but it's a very small site. Only 10 pages and its unlikely to grow. |
| 11:03 |
maholtz|WORK |
http://support.typo3.org/snippets/c/36/ |
| 11:04 |
maholtz|WORK |
if you do not want to define a special output, cou do not need the conf.* part |
| 11:06 |
m4rtijn |
tPl0ch -- i'd use displaySingle.image |
| 11:06 |
tPl0ch |
so i might be able to do 'lib.myObject < plugin.tt_news.displaySingle.image ? |
| 11:09 |
maholtz|WORK |
@tPl0ch: then you would get the !configuration! but not the images |
| 11:10 |
tPl0ch |
maholtz|WORK: So how do I get the images themselves |
| 11:11 |
m4rtijn |
tPl0ch - afaik thats not an image but an image resource.. |
| 11:11 |
m4rtijn |
check the tt_news manual.. or image resource object |
| 11:13 |
maholtz|WORK |
i would get them from tt_news record... |
| 11:13 |
dokma |
hey guys |
| 11:13 |
dokma |
anyone knows how to reach Ingo Schmitt ? |
| 11:13 |
maholtz|WORK |
marketing factory - why do you want to contact him? |
| 11:14 |
dokma |
bug in svn version of commerce |
| 11:14 |
tPl0ch |
maholtz|WORK: so the best way would be to select the current news id from the tt_news table and add the images to my object path? |
| 11:15 |
maholtz|WORK |
thats what i would do - if it is the best way...? |
| 11:15 |
maholtz|WORK |
:) |
| 11:16 |
m4rtijn |
.. tPl0ch - you could try.. checking - tsref imgresource.. http://typo3.org/documentation/document-library/references/doc_core_tsref/4.0.0/view/5/2/ |
| 11:16 |
m4rtijn |
.. but I guess maholtz is right.. |
| 11:16 |
m4rtijn |
as usual.. |
| 11:16 |
m4rtijn |
:p |
| 11:17 |
maholtz|WORK |
:p |
| 11:19 |
m4rtijn |
like my daughter.. she's in her oral phase.. trying to eat almost everything |
| 11:20 |
m4rtijn |
yesterday she tried eating me knee |
| 11:20 |
m4rtijn |
my* |
| 11:20 |
maholtz|WORK |
one day she will have success... |
| 11:20 |
m4rtijn |
result was a lot of spit on my pants |
| 11:20 |
maholtz|WORK |
hehe |
| 11:32 |
tPl0ch |
Why is the pagebrowser not accepting my user defined wraps |
| 11:32 |
tPl0ch |
http://paste.phlogi.net/-4d6eb28f00/ |
| 11:37 |
maholtz|WORK |
check configuration + documentation: sure about *.wrap =.... i would assume that the first div is available (that without .wrap =) |
| 11:38 |
tPl0ch |
maholtz|WORK : Then I found a mistake in the documentation |
| 11:39 |
maholtz|WORK |
there are - sometimes properties are called stdWrap - which are not |
| 11:39 |
maholtz|WORK |
bbl |
| 11:45 |
tPl0ch |
if I am on the singleView page, how do I get the uid of the news record that i am actually viewing at the moment |
| 11:45 |
tPl0ch |
so that I can search the tt_news table for the images |
| 11:46 |
maholtz|WORK |
use the get-parameter:) |
| 11:46 |
tPl0ch |
how? |
| 11:46 |
tPl0ch |
i have realURL running |
| 11:47 |
dokma |
realurl gets decoded back to get params |
| 11:47 |
dokma |
you switch it off to see the names |
| 11:47 |
maholtz|WORK |
typo3 gives you the get params - you can use them via typoscript data = GPvar:tx_ttnews... |
| 11:47 |
tPl0ch |
so what would be the get parameter for the news uid? |
| 11:48 |
dokma |
you can see it if you turn the realurl off |
| 11:48 |
dokma |
tPl0ch: are you an extension developer? |
| 11:49 |
tPl0ch |
dokma: no, I am just setting up typo3 sites |
| 11:49 |
dokma |
don't touch php? |
| 11:50 |
tPl0ch |
well, I am a php programmer, but I am not into typo3 internals |
| 11:50 |
tPl0ch |
i already used some typo3 libs to create newsletter confirmation and so on |
| 11:51 |
tPl0ch |
but I just started to see what typo3 actually CAN do, which is a lot more than I thought |
| 11:52 |
dokma |
tPl0ch: you might want to check this video out: http://www.valdez.hr/fileadmin/video_en/eclipse_php_xdebug.ogv |
| 11:52 |
dokma |
it can save a ton of time and unneeded questions |
| 11:52 |
DenDer |
Hello |
| 11:52 |
dokma |
if you manage to get it all working |
| 11:53 |
dokma |
hello |
| 11:53 |
DenDer |
Do any one have a good extension to get a gallery in typo3? |
| 11:53 |
_pedda_ |
anyone ever used conditions within tsconfig ? .. to display a certain page only for one specific user ?! |
| 11:54 |
DenDer |
It will be nice if it can work with Lightroom |
| 11:55 |
tobi_t3w |
_pedda_ there is a extension for that, but you should be able to reach this also with access rights by setting the owner and disallowing the group |
| 11:56 |
_pedda_ |
i want to enable profile editing in combination with sr fe user register.. but one global account doesn't have to be edited |
| 11:57 |
_pedda_ |
there is a guest_account.. which should stay as it is.. without the possibility to enable editing the password f.e. |
| 12:08 |
tPl0ch |
maholtz|WORK so I can get the GetVar via {GP:tx_ttnews[tt_news]} |
| 12:08 |
tPl0ch |
and insertData = 1 |
| 12:08 |
kraftb |
for whoever is interested: |
| 12:08 |
kraftb |
http://tuga.at/uploads/media/TUGA15_Caching.pdf |
| 12:09 |
kraftb |
powerpoint presentation I hold at recent TUGA meeting ... about caching in TYPO3 ... |
| 12:09 |
kraftb |
altough in german |
| 12:11 |
krutt|work |
oh hey dokma, are u still there? ;) |
| 12:11 |
dokma |
I'm here |
| 12:11 |
krutt|work |
great, how are you |
| 12:11 |
dokma |
very good thanks! :D |
| 12:11 |
dokma |
you? |
| 12:11 |
krutt|work |
oh, fine, thanks ;) |
| 12:12 |
dokma |
what is happening? |
| 12:12 |
krutt|work |
uhh. i'm a little confused by an operation i need to do |
| 12:12 |
krutt|work |
are you waste in time? |
| 12:13 |
dokma |
well I'm a bit tight on schedule |
| 12:13 |
dokma |
but won't turn you down |
| 12:13 |
krutt|work |
some questions to login forms |
| 12:13 |
dokma |
for some help |
| 12:13 |
dokma |
shoot |
| 12:13 |
krutt|work |
ok, can i qry you? |
| 12:13 |
dokma |
sure |
| 12:15 |
tPl0ch |
dokma: http://paste.phlogi.net/-f1f4678c2a/ <- like this? |
| 12:15 |
tPl0ch |
(still the GPVar problem |
| 12:15 |
tPl0ch |
) |
| 12:20 |
dokma |
tPl0ch: looks good except for the : tv.sidebar < tenmp.sidebar |
| 12:20 |
dokma |
typefeller in there |
| 12:22 |
tPl0ch |
dokma: still doesn't work |
| 12:22 |
tPl0ch |
select.where = uid={GP:tx_ttnews[tt_news]} <- is that right? |
| 12:23 |
tobi_t3w |
i think select.where does not have stdWrap .. use select.andWhere |
| 12:24 |
tPl0ch |
tobi_t3w: select.where apparently has stdWrap, just never made it into documentation |
| 12:25 |
tPl0ch |
but there was something like select.where.dataWrap , but dunno how to use it |
| 12:26 |
tobi_t3w |
tPl0ch, if select.where has stdWrap you need to set select.where.insertData = 1 to get it working .. select.where.data=uid={GP:tx_ttnews[tt_news]} should work too |
| 12:30 |
maholtz|WORK |
re |
| 12:30 |
tPl0ch |
tobi_t3w : unfortunately this doesn't work either |
| 12:31 |
tPl0ch |
http://paste.phlogi.net/-37e7888f44/ |
| 12:31 |
tPl0ch |
thats my template right now |
| 12:32 |
tobi_t3w |
hm .. i think its GPvar:tx_ttnews|tt_news not GP:tx_ttnews[tt_news] |
| 12:34 |
maholtz|WORK |
@tPl0ch: select.where does not has stdWrap - there is a patch, but it isnt yet in the core |
| 12:34 |
tPl0ch |
maholtz|WORK : somebody in here told me that it is last week |
| 12:34 |
maholtz|WORK |
yep, i know |
| 12:34 |
maholtz|WORK |
and i that he was right - because i used that patch |
| 12:34 |
tPl0ch |
lol |
| 12:35 |
tobi_t3w |
thats what i sayd before *g* |
| 12:35 |
dokma |
tPl0ch: are you sure that the TV config for that element works? |
| 12:35 |
tPl0ch |
ok, so now what would be the solution, use select.andWhere.data = uid={GP:tx_ttnews[tt_news]} |
| 12:36 |
dokma |
did you try something elemntary like temp.sidebar = TEXT |
| 12:36 |
maholtz|WORK |
@tPl0ch: bug #6882 |
| 12:37 |
tPl0ch |
dokma: it works as expected with TEXT |
| 12:37 |
tPl0ch |
maholz|WORK: do you have the url to the bug tracker? |
| 12:40 |
dokma |
select.where = uid = {GPvar:tx_ttnews|tt_news} |
| 12:40 |
dokma |
I see the format with the vertical bar everywhere |
| 12:40 |
tPl0ch |
but I have to use andWhere because of the stdWrap issue |
| 12:45 |
tPl0ch |
tv.sidebar = TEXT |
| 12:45 |
tPl0ch |
; tv.sidebar.value = uid={GPvar:tx_ttnews|tt_news}; |
| 12:45 |
tPl0ch |
tv.sidebar.insertData = 1 gives me the right uid, but in the select clause nothing shiows up |
| 12:46 |
tPl0ch |
ups, wanted to paste it in one line, sory |
| 12:46 |
dokma |
use the debugger and break on class.tslib_content.php in function CONTENT |
| 12:47 |
dokma |
it shouldn't take long to figure it out |
| 12:49 |
dokma |
$res = $this->exec_getQuery($conf['table'],$conf['select.']); |
| 12:49 |
dokma |
this line executes the select statement from CONTENT object |
| 12:49 |
dokma |
you can see in the debugger what it is trying to select |
| 12:49 |
dokma |
and why nothing is returned |
| 12:49 |
dokma |
it's line 1224 |
| 12:49 |
tPl0ch |
does typo3 have a debugger? |
| 12:49 |
dokma |
in class.tslib_content.php |
| 12:49 |
dokma |
no |
| 12:50 |
dokma |
you need to install xdebug in apache |
| 12:50 |
dokma |
and use eclipse with pdt to debug |
| 12:51 |
dokma |
tPl0ch: on what OS are you |
| 12:51 |
tPl0ch |
i am on windows |
| 12:51 |
tPl0ch |
at work |
| 12:51 |
dokma |
ahhh.... |
| 12:51 |
dokma |
bananas |
| 12:51 |
tPl0ch |
i have eclipse pdt running, but I cant just install xdebug on our root server |
| 12:52 |
dokma |
install it on your machine |
| 12:52 |
dokma |
and copy the site |
| 12:52 |
dokma |
you get much faster debugging like that |
| 12:55 |
tPl0ch |
this is giving me a headache |
| 12:55 |
maholtz|WORK |
whats your actuall typoscript for that? |
| 12:55 |
maholtz|WORK |
where = 1=1 |
| 12:55 |
maholtz|WORK |
andWhere = .... |
| 12:55 |
maholtz|WORK |
? |
| 12:55 |
dokma |
tPl0ch: send me the site |
| 12:56 |
dokma |
I'll debug it for you |
| 12:56 |
dokma |
I love that shit |
| 12:56 |
tPl0ch |
maholtz|WORK: http://paste.phlogi.net/-4e6460dcd7/ |
| 12:56 |
maholtz|WORK |
well is GP: or GPvar: correct? |
| 12:56 |
dokma |
I bet you a $100 I'll figure it out faster |
| 12:56 |
maholtz|WORK |
you need to set: where = 1=1 |
| 12:56 |
tPl0ch |
dokma: http://globus.rzwrk.de/de/jagdberichte/detailansicht/article/5/bouquetin-ma/ |
| 12:57 |
tPl0ch |
maholtz|WORK : why? |
| 12:57 |
dokma |
tPl0ch: I need the entire site with the DB and the files |
| 12:57 |
dokma |
to set it up over here and debug it |
| 12:57 |
tPl0ch |
lol |
| 12:57 |
dokma |
;) |
| 12:57 |
tPl0ch |
dokma: thats not possible |
| 12:58 |
dokma |
ofcourse it's not |
| 12:58 |
dokma |
that's why your $100 is safe |
| 12:58 |
dokma |
heheh |
| 12:58 |
dokma |
you know what I would do if I was you |
| 12:59 |
tPl0ch |
^^ |
| 12:59 |
maholtz|WORK |
@tPl0ch: or you have to add: " AND " at the beginning of andWhere |
| 12:59 |
dokma |
I'd modify exec_SELECTquery to print out every query it generates |
| 12:59 |
dokma |
then I'd find the one generated by your CONTENT object |
| 12:59 |
maholtz|WORK |
but you will get then in trouble |
| 12:59 |
dokma |
and see what hurts it |
| 12:59 |
maholtz|WORK |
class.tslib_content.php -> getWhere |
| 12:59 |
baryon |
could someone help me with setting up localizations on a host where exec() is disabled? |
| 13:00 |
dokma |
tPl0ch: what you say about that idea? |
| 13:00 |
tobi_t3w |
CONTENT needs select.pidInList to work .. default is this what is wrong for tt_news i think |
| 13:01 |
dokma |
I think so aswell |
| 13:01 |
baryon |
the problem I have is that when I try editing some content that has been translated then I get this warning message: |
| 13:01 |
baryon |
Warning: exec() has been disabled for security reasons in /var/www/vhosts/water-purity.com/subdomains/test/httpdocs/typo3_src-4.2.4/t3lib/class.t3lib_diff.php on line 173 |
| 13:02 |
dokma |
baryon: did you google it? |
| 13:02 |
baryon |
yes, but found nothing that helped me =/ |
| 13:03 |
baryon |
i got already [BE][disable_exec_function] = 1 but it seems this one still slips through |
| 13:03 |
dokma |
when I google: typo3 Warning: exec() has been disabled for security reasons |
| 13:04 |
dokma |
the second result is very helpful |
| 13:04 |
tPl0ch |
tobi_t3w: so can I do anything about that? |
| 13:04 |
baryon |
dokma: thanks, i'll check it out |
| 13:05 |
dokma |
tPl0ch: select.pidInList = pidOfThePageWhereYourNewsRecordsAre |
| 13:06 |
tPl0ch |
pid of the sysFolder where the record are stored? |
| 13:06 |
dokma |
yes |
| 13:09 |
tPl0ch |
http://paste.phlogi.net/-2eab6b3115/ |
| 13:09 |
tPl0ch |
still not working :( |
| 13:11 |
tPl0ch |
maholtz|WORK : http://wiki.typo3.org/De:TSref/select <- thex say where __has__ stdWrap |
| 13:11 |
baryon |
dokma: i tried changing value of [BE][disable_exec_function] but i still keep getting that warning. [GFX][im] = 0 I already changed so I'd be able to get atleast some graphics processing to work |
| 13:12 |
dokma |
baryon: are you really tied up to that hosting provider? |
| 13:12 |
coolguy_ |
hello, does somebody know how i can add a stylesheet with typorscript to the site header in a subpage? |
| 13:13 |
baryon |
yes, unfortunately |
| 13:13 |
tPl0ch |
page.includeCSS.file1 = fileadmin/path/to/your/css |
| 13:13 |
tPl0ch |
@coolguy_ |
| 13:14 |
coolguy_ |
ok ill test it. tjanks. |
| 13:14 |
dokma |
coolguy_: it needs to be added in an ext template on the page in question |
| 13:15 |
coolguy_ |
yup, thanks |
| 13:15 |
dokma |
baryon: you will have to dig into that unfortunately |
| 13:15 |
dokma |
try finding which piece of code emits that warning |
| 13:15 |
tPl0ch |
baryon: a nice vserver is not too expensive |
| 13:15 |
dokma |
it might be very helpful |
| 13:15 |
tPl0ch |
;) |
| 13:16 |
maholtz|WORK |
@tPl0ch: well, look at version - which guy may has changed that...? |
| 13:16 |
maholtz|WORK |
in the wiki |
| 13:16 |
baryon |
yea.. only solution i can think of is somehow to replace that call for exec() to diff with some purely php variant.. sadly my php coding skills are nonexistent :S |
| 13:17 |
tPl0ch |
maholtz|WORK: erm, you? |
| 13:17 |
tPl0ch |
^^ |
| 13:17 |
maholtz|WORK |
yep:( |
| 13:17 |
maholtz|WORK |
and look there: "andWhere: without "AND"!, " |
| 13:18 |
maholtz|WORK |
ok, i told you you could test it with AND if you dont use where |
| 13:18 |
maholtz|WORK |
but better way is use where = 1=1 and andWhere without AND |
| 13:19 |
tPl0ch |
maholtz|WORK : WOW, I get some output!!!! |
| 13:19 |
tPl0ch |
but not the image |
| 13:20 |
maholtz|WORK |
sure *g* |
| 13:20 |
maholtz|WORK |
the field "image" does not hold an image-blog or something... |
| 13:20 |
tPl0ch |
I am wondering if I have to use imgResource and import to get the images |
| 13:20 |
maholtz|WORK |
read TSref-> IMAGE |
| 13:20 |
maholtz|WORK |
do u use DAM? |
| 13:20 |
maholtz|WORK |
yep, you have to |
| 13:20 |
maholtz|WORK |
in wiki there are examples |
| 13:21 |
tPl0ch |
maholtz|WORK: In the db only the filenames are saved, how do I know where to import them from? |
| 13:21 |
coolguy_ |
is it easy to check if a subpage is a child of a defined page? |
| 13:21 |
coolguy_ |
in typo script i mean? |
| 13:22 |
maholtz|WORK |
well, field:pid should be the uid of the parent page |
| 13:22 |
maholtz|WORK |
but doesnt work with mount points |
| 13:24 |
coolguy_ |
yes but this does not work if the parent page to check for 3 levels higher? |
| 13:24 |
coolguy_ |
right? |
| 13:26 |
maholtz|WORK |
ok, yep you are right |
| 13:27 |
tPl0ch |
maholtz|WORK: ok, so I get the imgResource from the DB, but I don't know how to make it available in the renderObj |
| 13:27 |
maholtz|WORK |
you could do it via userFunc and look in the api for rootline, or set an constant on that page so all childs whould have the constant = 1 or you could make some funny typoscript with rootline menu etc. |
| 13:28 |
coolguy_ |
okay thanks for the help |
| 13:28 |
maholtz|WORK |
@tPl0ch: http://wiki.typo3.org/De:TSref/imgResource -> import |
| 13:29 |
maholtz|WORK |
and then check where the files are uploaded to in tt_news |
| 13:29 |
maholtz|WORK |
perhaps in uploads/tt_news |
| 13:29 |
maholtz|WORK |
do not know |
| 13:34 |
tPl0ch |
maholtz|WORK: 10 = IMG_RESOURCE ; 10.import = uploads/tx_ttnews/ ; 10.import.field = image |
| 13:35 |
maholtz|WORK |
10 = IMAGE |
| 13:35 |
maholtz|WORK |
10.file.import = |
| 13:46 |
tPl0ch |
maholtz|WORK : http://paste.phlogi.net/-2d83b996ce/ |
| 13:46 |
tPl0ch |
Eben the image Caption is shown, but not the image. Do I still do something wrong? |
| 13:46 |
coolguy_ |
i got one question maybe someone can help ;-) ... does somebody know how i remove the comments from the template parser, like <!--###b### begin --><!--###b### end -->? |
| 13:47 |
maholtz|WORK |
upload/pics/ vs. upload/tx_ttnews/ ? |
| 13:47 |
tPl0ch |
i checked ftp, its in upload/pics |
| 13:48 |
maholtz|WORK |
the file which you get if you make 9 = TEXT 9.field = image ? |
| 13:48 |
maholtz|WORK |
ok, should |
| 13:48 |
tPl0ch |
maholtz|WORK: I got it working |
| 13:48 |
tPl0ch |
it was a typo |
| 13:48 |
maholtz|WORK |
lol, its always:) |
| 13:49 |
tPl0ch |
its uploads/pics and not upload/pics |
| 13:49 |
tPl0ch |
^^ |
| 13:49 |
maholtz|WORK |
hehe |
| 13:50 |
tPl0ch |
maholtz|WORK: thanks a lot |
| 13:50 |
tPl0ch |
:) |
| 13:51 |
maholtz|WORK |
np |
| 13:54 |
tPl0ch |
maholtz|WORK : What if I get a list from the DB query |
| 13:54 |
tPl0ch |
I added siome more pictures to the news item |
| 13:54 |
maholtz|WORK |
numRows = 0 as you did |
| 13:54 |
tPl0ch |
but only one gets displayed |
| 13:55 |
maholtz|WORK |
if you want to display all, you have to use split |
| 14:00 |
tPl0ch |
maholtz|WORK: the doc of split somehow confudes me |
| 14:00 |
maholtz|WORK |
why? |
| 14:00 |
tPl0ch |
how do I assign the split values to the import stuff |
| 14:01 |
maholtz|WORK |
use IMG_RESOURCE to get the filenames and then split with image to render them |
| 14:03 |
tPl0ch |
10 = IMAGE ; 10.file.import = uploads/pics/ ; 10.file = 1 (where 1 is current from split?) |
| 14:11 |
tPl0ch |
maholtz|WORK: http://paste.phlogi.net/-ba3a07a41e/ |
| 14:11 |
tPl0ch |
dunno if this is even 10% right |
| 14:14 |
maholtz|WORK |
:: /uploads/pics/ vs uploads/pics/ |
| 14:14 |
maholtz|WORK |
you have to set cObjNum = 1 |
| 14:14 |
maholtz|WORK |
and import.current = 1 or import.field = fieldname |
| 14:14 |
maholtz|WORK |
in this case current = 1 |
| 14:15 |
maholtz|WORK |
in this case import.current = 1 |
| 14:15 |
maholtz|WORK |
and you do not want a listNum (you do not have any list) |
| 14:16 |
maholtz|WORK |
if you get it, will you put it into snippets.typo3.org? |
| 14:17 |
tPl0ch |
i can do |
| 14:17 |
maholtz|WORK |
promise? |
| 14:18 |
tPl0ch |
okokok, i promise |
| 14:18 |
tPl0ch |
:) |
| 14:18 |
maholtz|WORK |
perfect:) |
| 14:22 |
tPl0ch |
maholtz|WORK: where do I have to add cObjNum = 1 |
| 14:23 |
maholtz|WORK |
look in TSref -> split |
| 14:23 |
maholtz|WORK |
check for typos:) |
| 14:30 |
lilalinux |
Now that my first t3 project is almost done, I created several users and gave them access to the relevant modules. However, the Filemodule doesn't show up for them. What could be wrong? |
| 14:34 |
maholtz|WORK |
you have to allow that modul for your users |
| 14:42 |
tPl0ch |
maholtz|WORK: http://paste.phlogi.net/-79b4d3f59c/ |
| 14:43 |
tPl0ch |
i dont get it right i think |
| 14:43 |
maholtz|WORK |
will have a look in a few minutes |
| 14:43 |
maholtz|WORK |
check for typos anyway:) |
| 14:44 |
lilalinux |
maholtz|WORK: yeah, that's what i did, but it didn't help |
| 14:44 |
lilalinux |
do i have to do something with "filemounts"? |
| 14:49 |
maholtz|WORK |
@tPl0ch: 10.file.import.current = 1 |
| 14:50 |
maholtz|WORK |
current = 1 inputs the actuall value into "import" |
| 14:50 |
maholtz|WORK |
the actuall value is that, which has been returned from "split" |
| 14:50 |
tPl0ch |
but then the uploads/pics/is missing |
| 14:50 |
maholtz|WORK |
why? |
| 14:50 |
tPl0ch |
because i define that in import |
| 14:50 |
maholtz|WORK |
import = uploads |
| 14:50 |
maholtz|WORK |
import.current = 1 |
| 14:51 |
maholtz|WORK |
import.wrap = uploads/pics/| should then work |
| 14:52 |
maholtz|WORK |
i hope:) |
| 14:52 |
maholtz|WORK |
@lilalinux: yes |
| 14:53 |
maholtz|WORK |
@tPl0ch: and remove numRows there |
| 14:59 |
tPl0ch |
maholtz|WORK : I got it working |
| 14:59 |
tPl0ch |
:) |
| 14:59 |
maholtz|WORK |
yeah |
| 15:00 |
maholtz|WORK |
next step: image caption:) |
| 15:00 |
maholtz|WORK |
did you understand why its working? |
| 15:00 |
awe |
hi |
| 15:00 |
tPl0ch |
yes |
| 15:01 |
maholtz|WORK |
perfect:) |
| 15:01 |
maholtz|WORK |
hi awe |
| 15:01 |
tPl0ch |
i assigned the value from db to a text element, split it, put the currently selected value in the valzuelist to import and propended uploads/pics/ to it |
| 15:02 |
tPl0ch |
prepended |
| 15:02 |
maholtz|WORK |
not too difficult (without typos) |
| 15:02 |
tPl0ch |
lol |
| 15:09 |
awe |
hi |
| 15:09 |
awe |
someone gave me a folder with a typo3 website in it. |
| 15:09 |
awe |
i managed to get it to work |
| 15:09 |
awe |
but how do i use the admin tool? |
| 15:09 |
awe |
where is it? |
| 15:10 |
guillom |
awe, have you tried adding /typo3 at the end or the URL where you site is? |
| 15:10 |
guillom |
your* |
| 15:10 |
guillom |
you should reach the back end this way |
| 15:11 |
guillom |
is this what you call admin tool? |
| 15:11 |
awe |
yeah it worked |
| 15:11 |
awe |
thanks |
| 15:11 |
guillom |
np |
| 15:12 |
tPl0ch |
somebody knows how to assign width AND height to an imgResource ? |
| 15:12 |
tPl0ch |
if I assign height, it adjusts width proportionally |
| 15:13 |
tPl0ch |
and i cannot override it |
| 15:13 |
awe |
i don't know the login |
| 15:13 |
tPl0ch |
10.file.width = 140 ; 10.file.maxH = 76 |
| 15:13 |
awe |
what is the default? |
| 15:13 |
tPl0ch |
joh316 |
| 15:13 |
tPl0ch |
oh |
| 15:13 |
tPl0ch |
thats the install tool |
| 15:14 |
tPl0ch |
which you need to create a new superuser to access the admin page |
| 15:14 |
tPl0ch |
@ awe: |
| 15:18 |
lilalinux |
"File mountpoints: File mount points are not available in draft workspace." |
| 15:18 |
lilalinux |
How can I change that? |
| 15:21 |
evwork |
hello guys, i have a prob with an upgraded web (4.1.8) and the newloginbox it had before |
| 15:21 |
evwork |
i dont have any static template... |
| 15:22 |
evwork |
so it is not accepting my typoscript |
| 15:22 |
evwork |
what am i missing? |
| 15:22 |
maholtz|WORK |
@lilalinux: dont use draft workspace, use your own instead |
| 15:23 |
evwork |
it was 4.1.7 before, and was working |
| 15:24 |
maholtz|WORK |
@tPl0ch: you can assign width and height - add c for cropping |
| 15:24 |
lilalinux |
maholtz|WORK: "your own" means a custom one for all editors or a dedicated one for each user? |
| 15:24 |
maholtz|WORK |
means only: "do not use default draft workspace" |
| 15:25 |
lilalinux |
how will custom workspaces affect live workspace, if the same filemount is used? |
| 15:35 |
kinea |
as long as you dont switch the workspace contents, they are separated |
| 15:35 |
kinea |
lilalinux: but be careful, not to use different workspaces in different browser tabs |
| 15:36 |
lilalinux |
how are they separated, if the filemount is the same? |
| 15:36 |
kinea |
that killed me some weekend some time ago |
| 15:36 |
kinea |
well in the database the contents are separated |
| 15:37 |
lilalinux |
the textual contents? |
| 15:37 |
lilalinux |
but the files? |
| 15:38 |
kinea |
by default the mounts are the same |
| 15:38 |
kinea |
you can set the mounts in the workspace settings afaik |
| 15:38 |
evwork |
i guess noone knows |
| 15:39 |
kinea |
evwork: what you mean by "i dont have any static template"? |
| 15:44 |
evwork |
i am in the backend |
| 15:44 |
evwork |
i click on templates |
| 15:44 |
evwork |
i click on show the whole .... |
| 15:44 |
evwork |
i look at static includes, or include from static |
| 15:44 |
evwork |
theres no entry for "newloginbox" |
| 15:44 |
evwork |
which should be there, when i follow the extension manual |
| 15:44 |
evwork |
i could live with that... |
| 15:45 |
evwork |
but the php class itself does not recognize any typoscript that comes with the extension |
| 15:45 |
evwork |
thus, i cannot change the html template, i cannot set anything |
| 15:48 |
evwork |
i have tried to add the typscript path to the ext_tables.php by hand, still no go |
| 15:48 |
evwork |
its like it doesnt recognize it at all |
| 15:48 |
maholtz|WORK |
but you can add the plugin itself as content element? |
| 15:49 |
evwork |
yes |
| 15:49 |
evwork |
and it reads the fe_users sysfolder, hence that one is set via page settings |
| 15:49 |
evwork |
its just the tscript thats not working |
| 15:50 |
maholtz|WORK |
everything else works fine? |
| 15:50 |
maholtz|WORK |
wondering - check for typos |
| 15:50 |
evwork |
yea, the typos are ok |
| 15:51 |
evwork |
i tried to echo out info, even that is not showing... |
| 15:51 |
evwork |
like print_r($this->conf); |
| 15:51 |
maholtz|WORK |
where? |
| 15:51 |
evwork |
in class.tx_newloginbox_pi1.php |
| 15:51 |
maholtz|WORK |
in main function? |
| 15:51 |
evwork |
yes |
| 15:52 |
maholtz|WORK |
cache cleared? |
| 15:52 |
evwork |
of course, i also tried to set the no_cache=1 in main |
| 15:55 |
evwork |
nother point, i have changed the template in res, to check if he is grepping anything at all, the template is unused, he gets the form from somewhere else, i also set the templateFile as last entry in my setup to that same dir, still he is grabbing it somewhere else |
| 15:58 |
maholtz|WORK |
go to main() function and make t3lib_div::debug($conf); |
| 16:00 |
evwork |
on the way |
| 16:01 |
evwork |
no output at all |
| 16:01 |
maholtz|WORK |
sure that it gets executed? |
| 16:03 |
evwork |
BEGIN: Content of extension "newloginbox", plugin "tx_newloginbox_pi1" |
| 16:03 |
evwork |
thats what gets shown in the fe |
| 16:03 |
evwork |
so its so he is using the ext |
| 16:04 |
maholtz|WORK |
do you have it installed it twice (local and system extension?) |
| 16:04 |
evwork |
nope |
| 16:04 |
evwork |
just local |
| 16:04 |
evwork |
ive also already upgraded it to the latest, in case there was a bug... |
| 16:04 |
evwork |
plus in case to check if theres some broke file |
| 16:05 |
evwork |
the db is ok as well |
| 16:05 |
tobi_t3w |
newloginbox is deprecated since TYPO3 4.2 because its login-functionality is now integrated into the core as sysext felogin |
| 16:06 |
evwork |
well, i am running 4.1.x on that one |
| 16:06 |
evwork |
and i already tried to set the tscript via tx_felogin... |
| 16:06 |
evwork |
still no go |
| 16:07 |
lilalinux |
I created a custom workspace and so far everything looks fine, except the error message in the workspace module: "Description: [ERROR: No workspaces found!]" |
| 16:08 |
tobi_t3w |
hm my version of newloginbox does not have a static include, the ts is includet always ( check with template/template analyzer ) |
| 16:10 |
evwork |
template analyser shows "newloginbox" typoscript being avail |
| 16:10 |
evwork |
also what it is set to |
| 16:11 |
evwork |
Constants: |
| 16:11 |
evwork |
newloginbox |
| 16:11 |
evwork |
[GLOBAL] |
| 16:11 |
evwork |
newloginbox |
| 16:13 |
tobi_t3w |
hm no constants are set .. you have to set them directly via typoscript or in the flexform where you insert the plugin |
| 16:13 |
evwork |
there are constants, copy n paste just didnt work right |
| 16:13 |
evwork |
lemme show em on pastebin |
| 16:14 |
evwork |
http://pastebin.com/m26fb89b9 |
| 16:15 |
tobi_t3w |
there is no storagePid |
| 16:15 |
tobi_t3w |
the rest looks ok |
| 16:15 |
evwork |
storage pid he gets, since its set via page settings |
| 16:16 |
evwork |
all he sees is the setup typoscript within its down dir, not my functs i overwrite it with |
| 16:16 |
ries |
dokma: update the header... sure you have seen it |
| 16:16 |
evwork |
but still, the setup in ext dir is not using its own template |
| 16:17 |
evwork |
as ive added a hello world string to the template, which isnt showin on the page at all |
| 16:17 |
dokma |
sure did |
| 16:19 |
maholtz|WORK |
@evwork: did you respect the markesr? |
| 16:20 |
evwork |
yes |
| 16:27 |
maholtz|WORK |
i would put an die() into the main() function to see if it gets executed |
| 16:28 |
evwork |
put it in, the main doesnt get executed |
| 16:29 |
maholtz|WORK |
ok, the newlogin box doesnt get exexcuted than |
| 16:30 |
maholtz|WORK |
so it cant use any typoscript |
| 16:30 |
maholtz|WORK |
you do not get ge loginbox itself? |
| 16:31 |
evwork |
i get the loginbox |
| 16:31 |
evwork |
which is totally freakin me |
| 16:31 |
evwork |
its just not being templated with the template i choose |
| 16:32 |
maholtz|WORK |
no, if you put a die() into main function, it is not that plugin you are on |
| 16:32 |
evwork |
yea |
| 16:32 |
evwork |
but what is the plugin im on, lemme pastebin the loaded ext list |
| 16:32 |
maholtz|WORK |
the main() function gets executed, so your loginbox comes from another file or you are looking in the wrong file |
| 16:32 |
maholtz|WORK |
pi1 not pi3 |
| 16:33 |
evwork |
http://pastebin.com/m22daca51 |
| 16:34 |
evwork |
im in pi1 |
| 16:34 |
maholtz|WORK |
extList does not mean that the plugin gets executed |
| 16:35 |
evwork |
yep, just to see all ext's |
| 16:35 |
evwork |
i thought maybe its a conflict |
| 16:35 |
maholtz|WORK |
ok, perhaps an xclassing |
| 16:39 |
evwork |
still, where does he gets the template from? |
| 16:39 |
evwork |
cause there is nothing left |
| 16:42 |
tobi_t3w |
my newloginbox version 3.1.1 on a fresh typo3 4.1.9 works like it should, i dont have a static template but i can change the html template in newloginbox/res/ |
| 16:42 |
tobi_t3w |
so some of the extensions you have installed causes the problem i think |
| 16:43 |
evwork |
lets try to disable everything login related |
| 16:47 |
dre |
hi, with the extension indexed_search is it possible to configure it so that it only finds certain content blocks? I mapped my pages with templavoila and its seperated in templa voila blocks offcourse |
| 16:48 |
maholtz|WORK |
you can put marker around your content - which should you find in the manual |
| 16:49 |
evwork |
dkd login redirect seems to be the bugger |
| 16:49 |
dre |
ive read the manual, but didnt find the mker part? |
| 16:50 |
tobi_t3w |
indexed search searches between <!--TYPO3SEARCH_begin--> and <!--TYPO3SEARCH_end--> .. just edit your tv ds xml to change them |
| 16:51 |
luxinterior |
hey |
| 16:52 |
luxinterior |
any one want to help me win a bet |
| 16:52 |
evwork |
yes, dkd redirect deactivated, all working agin |
| 16:52 |
maholtz|WORK |
outch |
| 16:52 |
maholtz|WORK |
good to know |
| 16:53 |
maholtz|WORK |
@luxinterior: ? |
| 16:53 |
theconic |
luxinterior: maybe, if it's not that senseless !? |
| 16:53 |
luxinterior |
well its kinda |
| 16:54 |
luxinterior |
my friend bet me 20 bucks that i couldnt get someone from irc on teamsepak |
| 16:54 |
luxinterior |
and im here to try |
| 16:54 |
tobi_t3w |
lol :P |
| 16:54 |
luxinterior |
yea |
| 16:54 |
luxinterior |
so any one want tol help |
| 16:54 |
luxinterior |
the more the better |
| 16:55 |
theconic |
hehe, I don't need TS -> I don't have TS |
| 16:56 |
theconic |
btw, what TS channel do you mean? |
| 16:56 |
luxinterior |
if any of you fine people would like to help in this bet the ts ip is 66.227.179.55 |
| 16:56 |
luxinterior |
all are welcome |
| 16:57 |
theconic |
good luck ;) |
| 16:57 |
theconic |
another Question: |
| 16:57 |
theconic |
is there someone who knows how to map <embed> tags in TemplaVoila? TV ignores that tag, maybe a setting? |
| 16:57 |
luxinterior |
TOBI go in main chat |
| 16:58 |
theconic |
i saw that i can uncomment the embed tag in the list of supported tags: http://lists.netfielders.de/pipermail/typo3-project-templavoila/2008-January/002887.html |
| 17:00 |
snoy_ms |
theconic: you mean "I saw that uncommenting line |
| 17:00 |
snoy_ms |
178 in file class.tx_templavoila_htmlmarkup.php" |
| 17:00 |
snoy_ms |
theconic: seems to be interesting. didn't know that.. |
| 17:01 |
theconic |
yes. that's it |
| 17:01 |
luxinterior |
yeah |
| 17:01 |
luxinterior |
thank you tobi |
| 17:01 |
tobi_t3w |
np ;) |
| 17:02 |
luxinterior |
come back any time now |
| 17:02 |
luxinterior |
help us build a webby |
| 17:02 |
theconic |
but i fear doing this because in 2 years i will update TV, and then it won't work anymore an i will have forgotten this setting |
| 17:02 |
tobi_t3w |
hehe maybe if im bored i will come again |
| 17:02 |
luxinterior |
ur welcome any time |
| 17:03 |
theconic |
snoy_ms: is there a way of setting this so that it survives updates? |
| 17:03 |
snoy_ms |
theconic: i just thought about the same question. |
| 17:03 |
theconic |
i think i heard about writing it in an external php file, but i don't remember... |
| 17:03 |
maholtz|WORK |
"hook" |
| 17:04 |
snoy_ms |
maholtz|WORK: sounds good. never used it. google does it... |
| 17:06 |
maholtz|WORK |
i would expect a lot of hooks in templavoila |
| 17:06 |
theconic |
hrm, how do i use hooks? i find only tutorials about programming them in extensions |
| 17:08 |
theconic |
ah, this is the magic word: $TYPO3_CONF_VARS['EXTCONF'][ extension_key ][ sub_key ] = value |
| 17:10 |
theconic |
(Now, copy/paste this value into the configuration file where you can set it. This is all you can do from here...) |
| 17:11 |
theconic |
and where is that configuration file? :D |
| 17:25 |
evwork |
ok, time to go home, thx for the thinking help, maholtz |
| 17:26 |
_pedda_ |
cu all |
| 18:10 |
kinea |
theconic: you got the solution for the two copies of a link in the fce? |
| 18:11 |
kinea |
my logs remember you were working on it :-) |
| 18:58 |
nd__ |
Are some guys of you into mvc? I'm just thinking about gegrouping everything in objects and then just load and save them from model... is this the way to go if my project can be devided into numerous objects? |
| 19:04 |
untouch_ |
ok, i got 4 content elements ( 2xnews , loginbox, calbase) calbase and loginbox r supposed to be on every site and the 2x news are supposed to be only on the home. so 4 on home 2 on all other. ive put all 4 in a sysfolder and put it to all sites via TS |
| 19:04 |
untouch_ |
now all 4 are shown on every page |
| 19:04 |
maholtz|WORK |
bye |
| 19:04 |
untouch_ |
but i want to have the 2x news only be on the home |
| 19:04 |
untouch_ |
hows that done? |
| 19:05 |
untouch_ |
can i somehoe exclude em via Content element id |
| 19:05 |
untouch_ |
or hows that done |
| 19:23 |
kraftb |
*rofl* |
| 19:23 |
kraftb |
I think I'll create a book "comedy in the TYPO3 source code" ... |
| 19:23 |
kraftb |
ever browsed through: t3lib/class.t3lib_extfilefunc.php" ... and noticed there are "real" filemounts: |
| 19:24 |
kraftb |
http://think-open.org/kraftb/index/jokes/file_Mounts.png |
| 19:24 |
kraftb |
or at least there are some "else-mounts" *gg* |
| 19:25 |
kinea|afk |
nd__: please tell us about your project |
| 19:30 |
nd__ |
kinea|afk: What exactly to you want to know? |
| 19:31 |
nd__ |
s/to/do/g |
| 19:32 |
kinea |
i am just curious about your project (what do you want to achieve?) |
| 19:33 |
nd__ |
Well, I'm trying to get into mvc and deeper into oop in general |
| 19:34 |
nd__ |
so I tried to use mvc (tx_lib/div)... but now I have loads of private methods in my model to achieve several things in e.g. the db. So I'd like to group them in one or more classes, include them when needed etc. |
| 19:35 |
nd__ |
I looked into efaq and how he did that, but he just did not. But if using objects is not common in mvc I would wonder what's the point of using it... maybe I should just look into a strict oop/mvc framework to answer my questions |
| 19:36 |
kinea |
what is efaq? |
| 19:37 |
nd__ |
One of the bigger extensions using tx_lib/div as far as I know |
| 19:38 |
kinea |
ah ok |
| 19:45 |
dinsdale07 |
has anyone experience or comments regarding typo3 + integrated online payment. Ever used the paymentlib? It seems development is not very active. |
| 19:53 |
dinsdale07 |
or everyone going magento on this front :-) |
| 19:55 |
nd__ |
Just going magento there for a project, but can't tell much yet |
| 19:57 |
dinsdale07 |
magento seems like an awsome feature rich online shop, but I'd need more something like seminars + payment gateway. |
| 20:08 |
Rapp |
hi everyone |
| 20:09 |
Rapp |
what do i have to set to enlarge the maximum file upload size? |
| 20:09 |
Rapp |
php wise and typo3 wise |
| 20:11 |
dinsdale07 |
in the php.ini you can modify the upload_max_filesize = 15M |
| 20:13 |
dinsdale07 |
regarding typo3, I think it depends on the form you are using to upload. You can set it for the backend in the install tool, just look for "size" in "All configuration" |
| 20:18 |
Rapp |
dinsdale07, the php.ini worked. i forgot to copy the changes from the old server :-D |
| 20:47 |
HardPhuck |
any regex freak here? :) |
| 21:10 |
nd__ |
HardPhuck: Wouldn't say freak... what is it? |
| 21:10 |
HardPhuck |
already solved, thanx |
| 22:10 |
lilalinux |
[Fwd: [SECURITY] [DSA 1711-1] New TYPO3 packages fix remote code execution] |
| 22:12 |
lilalinux |
debian-security |
| 23:49 |
Francesco_ |
hallo |
| 23:49 |
Francesco_ |
i was updating the localconf.php adding a realurl conf stuff, i saved...and localconf.php now is blank, 0Kb. |
| 23:50 |
Francesco_ |
I'm not able to use my typo3 website anymore. |
| 23:50 |
Francesco_ |
there's a way to restore the localconf.php ? |
| 23:55 |
Francesco_ |
anybody can help, please ? |
| 23:57 |
dokma |
Francesco_: you're in big ass trouble |
| 23:57 |
dokma |
you did make backup didn't you? |
| 23:58 |
dokma |
dudes my backend won't switch language according to what I selected in User settings |
| 23:58 |
dokma |
I don't remember having to change anything other than that |
| 23:58 |
Francesco_ |
err, not, i was only editing localconf.php...i did not think that this could bring me to erase localconf.php |
| 23:58 |
dokma |
Francesco_: don't you have regular backups of the server? |
| 23:59 |
Francesco_ |
actually i added some realurl conf. Oh yes of the server yes....but on the same server there are different sites |
| 23:59 |
dokma |
well extract just that file |
| 23:59 |
dokma |
not that much of work |
| 23:59 |
Francesco_ |
hummm...it's a vps, maybe i had to ask to support |