| 08:57 |
_pedda_ |
hi all |
| 09:03 |
krutt|work |
hi guys, can you tell me/guide me (to an tutorial) how to upgrade a typo3 install? |
| 09:08 |
maholtz|WORK |
from which version to which? |
| 09:09 |
maholtz|WORK |
and did you check that: http://wiki.typo3.org/Upgrade |
| 09:10 |
LionRock |
hi |
| 09:11 |
LionRock |
how I can add a target="_blank" to a tt_news link tag ? |
| 09:11 |
maholtz|WORK |
check tt_news manual + TSref typolink |
| 09:13 |
krutt|work |
from 4.01 to newest |
| 09:13 |
krutt|work |
*4.02 |
| 09:17 |
LionRock |
maholtz|WORK, I have tried a lot of things but no luck :/ I have a one solution and this is that I add manualy a target="_blank" to pi/class.tx_ttnews.php but thats not what I want, becaute then target="_blank" is on every link :/ |
| 09:20 |
kinea |
hello null__ . i am still fighting with the double-opt-in. what i want to achieve is this: a user wants to register for a new newsletter, although he has allready registered for another newsletter. instead of showing him the message "you are allready registered", i want to send him an email (double-opt-in) with a link to the edit account page, where he can change his "group"/newsletters |
| 09:21 |
maholtz|WORK |
@LionRock: you do not want to add something in extension code - you should be able to do it via typoscript |
| 09:21 |
kinea |
do you think i can reach this goal with sr_feuser_register, or do i have to write an extension? |
| 09:23 |
krutt|work |
is it possible to upgrade typo without shell access? |
| 09:23 |
maholtz|WORK |
@krutt: still reading? |
| 09:23 |
LionRock |
maholtz|WORK, yeah, I want that :) But I have tries a lot of things, and I dont find a solution :/ |
| 09:24 |
maholtz|WORK |
did you read TSref->typolink + tt_news manual (configuration)? |
| 09:24 |
maholtz|WORK |
twice? |
| 09:24 |
krutt|work |
maholtz|WORKohw, not seens |
| 09:24 |
krutt|work |
sry |
| 09:30 |
kinea |
maybe i could use a hook of sr_feuser_register , which is called, when the user tries to register, but is allready registered. this function sends the double-opt-in-email to the user. |
| 09:30 |
kinea |
someone knows, how i could do it? |
| 09:30 |
kinea |
or if it is possible |
| 09:31 |
maholtz|WORK |
@kinea: using an login is not possible? instead sending him emails? |
| 09:33 |
kinea |
no. :-( its not what my customer wants. he dont wants passwords (well until a point, where the user WANTS to use specil functionality) for his users . |
| 09:34 |
kinea |
the users should be able to register for newsletters just by email opt-in |
| 09:35 |
kinea |
also if they are allready registered they should not be prompted to login or get a message about allready registered. just one email for changing their accounts |
| 09:36 |
kinea |
i tried some days now to make it with the exitsting extension. but was not able to solve this. |
| 09:51 |
dexcs |
hi all! I'm wrinting an plugin. How can i find "my own uid" of the tt_content element i'm in? |
| 09:51 |
dexcs |
(the uid from tt_content!) |
| 09:53 |
HardPhuck |
tt_content, or page id |
| 09:53 |
dexcs |
? |
| 09:54 |
dexcs |
tt_content |
| 09:55 |
dexcs |
echo 'PID: '.$GLOBALS['TSFE']->pageid; ? |
| 09:55 |
HardPhuck |
but that will give you page id not tt_content id |
| 09:56 |
dexcs |
right. |
| 09:56 |
dexcs |
and i need the tt_content:uid |
| 09:56 |
dexcs |
;-) |
| 09:56 |
maholtz|WORK |
$this->data['uid'] |
| 09:56 |
maholtz|WORK |
if you extend pibase |
| 09:57 |
dexcs |
i extend pibase... "class tx_myplugin_pi1 extends tslib_pibase {" |
| 09:57 |
maholtz|WORK |
good |
| 09:57 |
dexcs |
but "echo 'UID: '.$this->data['uid'];" prints nothing... |
| 09:57 |
dexcs |
any hint? |
| 09:57 |
maholtz|WORK |
print_r($this->data)? |
| 09:57 |
maholtz|WORK |
nope |
| 09:58 |
maholtz|WORK |
$this->cObj->data['uid'] |
| 09:58 |
dexcs |
ahh thanks |
| 09:58 |
dexcs |
thats working... thanks allot! |
| 10:01 |
maholtz|WORK |
:) |
| 10:21 |
m4rtijn |
hi all |
| 10:25 |
_pedda_ |
hi |
| 10:40 |
dexcs |
Another Question: I've an tt_content bodytext in, let's say, $bodytext. How can i render $bodytext that it looks like postet via RTE ? |
| 10:40 |
dexcs |
with all the line breaks ans stuff... |
| 10:42 |
maholtz|WORK |
$this->cObj->stdWrap($bodytext,$this->conf['bodytext.']); |
| 10:42 |
maholtz|WORK |
and then use in typoscript for your plugin |
| 10:42 |
maholtz|WORK |
bodytext.parseFunc < lib.parseFunc_RTE |
| 11:03 |
kinea |
someone knows, how i can see a list of available hooks in a extensions. or: are the 7 example hooks described in the manual of sr_feuser_register the only hooks, or are there more in the code? |
| 11:04 |
kinea |
(i need a hook to send a email exactly at the time of the evaluation of the form) |
| 11:04 |
kinea |
the example hooks are all AFTER evaluation (after saving etc) |
| 11:04 |
spabhat |
hi all |
| 11:05 |
kinea |
hi |
| 11:06 |
spabhat |
I have a strange behaviour in typo3. I did a migration of data (t3d) from typo3 version 4.1.6 to 4.2.3. After migration, all content headers, which was originally set to h4 are now displayed in h5!!! |
| 11:07 |
spabhat |
can anyone kindly tell me if they had a similar situation? |
| 11:15 |
dexcs |
maholtz|WORK: I#m tring your solution over and over again, but still it's not working. can you please describe the "typoScript" part exactlier? So i need an marker ###MYBODYTEXT### in my plugins's output? |
| 11:15 |
dexcs |
-So+Do |
| 11:16 |
maholtz|WORK |
plugin.tx_yourext_pi1.bodytext.parseFunc < lib.parseFunc_RTE |
| 11:16 |
maholtz|WORK |
typoscript config |
| 11:16 |
maholtz|WORK |
in your plugin in main you should set |
| 11:16 |
maholtz|WORK |
$this->conf = $conf; |
| 11:17 |
MRM_ |
hey |
| 11:17 |
maholtz|WORK |
t3lib_div::debug($this->conf) to check if bodytext config is available |
| 11:17 |
dexcs |
ok, thanks i will try |
| 11:18 |
gehdan |
Hi, I tried qcom_htmlcleaner but it's.. well, too effective, it removes every tag, only xml header, doctype and encoded special chars remain in the output, the rest is just plain text. Any Ideas? |
| 11:18 |
MRM_ |
i'm kind of stuck, i have a normal typo3 installation, no changes made. i add a text/w image and make the image "click enlarge" (pmkslimbox). when i click the image in the FE it is only 600px high. But only this particular image. all the other ones i uploaded work just fine ... |
| 11:19 |
MRM_ |
and they are sometimes up to 1000px high |
| 11:21 |
kinea |
i found evalFunc and will use this |
| 11:23 |
maholtz|WORK |
@gehdan: remove that extension, configure everything right, than you should not need an additional htmlcleaner |
| 11:23 |
maholtz|WORK |
@MRM_ check TypoScript configuration maxH |
| 11:24 |
MRM_ |
i did. but since there is no problem with the other pictures it doesnt seem to affect anything |
| 11:26 |
gehdan |
maholtz|WORK, thanks, I allready did that, I was just wondering why the cleaning was so "effective" |
| 11:35 |
dexcs |
maholtz|WORK: sry, it's not working ^^ how can i output $bodytext? i have now "$content .= '<div id="desc">'.$this->cObj->stdWrap($bodytext,$this->conf['bodytext']).'</div>';" in bodytext is the "raw data" from database. but it's still without line breaks.... |
| 11:37 |
HardPhuck |
guys, a non typo3 related question,... are there any tutorials on WHAT to write on new webpages and how to properly organize structure... |
| 11:37 |
HardPhuck |
like what to put on first page and where, and what is important and what is not... |
| 11:37 |
HardPhuck |
guidelines on content organizing |
| 11:42 |
MRM_ |
i dont get it. all the settings in the constants are maxxed out it still resizes down to 600px height. is there another setting anywhere else? |
| 11:43 |
dexcs |
maholtz|WORK: i got it: The dot behind "bodytext" was the problem ;-) |
| 12:01 |
MRM_ |
if i search the "typoscript object browser" for max width / height should it show the number i entered in my template to overwrite the standards oir the standards`? |
| 12:08 |
MRM_ |
it seems like the object browser doesnt accept any changes at all. if i edit the values they are being reset when i click "updater" |
| 12:08 |
MRM_ |
"update" |
| 12:08 |
MRM_ |
anyone? |
| 12:11 |
_pedda_ |
anyone experienced with print-functionality and layouts of text with images ? |
| 12:11 |
_pedda_ |
is there a possibility to have text floating around an image (if any)for printview |
| 12:11 |
kevke2001 |
aaaaaah, that's where I wanted to go |
| 12:13 |
kevke2001 |
I try to delete a whole site, but I always get Attempt to delete page which has subpages the rec. delete thing is flaged, but still |
| 12:13 |
kevke2001 |
sorry, let me do this again |
| 12:13 |
_pedda_ |
in your user settings in be you can activate the delete recursivly function |
| 12:14 |
_pedda_ |
S kevke2001 |
| 12:14 |
kevke2001 |
that is flagged, but still not working |
| 12:14 |
_pedda_ |
then something else is messed up |
| 12:14 |
kevke2001 |
what could it be, missing rights on the server? |
| 12:15 |
_pedda_ |
no |
| 12:16 |
kevke2001 |
I can delete then one by one, but that takes ages |
| 12:16 |
_pedda_ |
deleting pages has nothing to do with filesystem rights on server |
| 12:16 |
_pedda_ |
do you have an administrator account ? |
| 12:17 |
kevke2001 |
yes |
| 12:18 |
_pedda_ |
and Recursive Delete(!): Allow ALL subpages |
| 12:18 |
_pedda_ |
to be deleted when deleting a page: is checked ? |
| 12:18 |
maholtz|WORK |
re |
| 12:18 |
_pedda_ |
wb maholtz|WORK |
| 12:18 |
_pedda_ |
:) |
| 12:19 |
kevke2001 |
Directory: Delete recursively (rm -Rf) |
| 12:19 |
kevke2001 |
this is checked |
| 12:20 |
kevke2001 |
I don't have any flag that explains it |
| 12:20 |
_pedda_ |
where did you check this ? |
| 12:20 |
_pedda_ |
hmm |
| 12:20 |
_pedda_ |
stop |
| 12:20 |
_pedda_ |
are you trying to delete pages within your pagetree in typo3 backend ? |
| 12:20 |
kevke2001 |
mound and workspaces |
| 12:21 |
kevke2001 |
I think so |
| 12:21 |
_pedda_ |
you think so ? |
| 12:21 |
_pedda_ |
well.. |
| 12:22 |
kevke2001 |
I am in the backend and trying to delete a whole tree, you can say that |
| 12:22 |
_pedda_ |
if this is what you are trying to do.. you have to go to user tools (left frame of backend) - > user settings -> edit & advanced functions and check the last checkbox you can see.. then save logout and login again |
| 12:22 |
_pedda_ |
now you should be able to delete every page containing other pages as subpages for example |
| 12:23 |
_pedda_ |
if you have an administrator account you can do that this way... |
| 12:23 |
kevke2001 |
TADAAA |
| 12:23 |
kevke2001 |
Thanks |
| 12:24 |
kevke2001 |
brb |
| 12:24 |
_pedda_ |
np |
| 12:25 |
_pedda_ |
i told you 10 minutes ago already .. |
| 12:25 |
_pedda_ |
^^ |
| 12:27 |
RoyalKnight |
in the pagetree the recordlock warning is always visible for a page, how can i remove this warning - somebody started to edit something and did not finish, since then the warning is there |
| 12:27 |
kevke2001 |
I didn't find it in the first place, actually, I found the same thing somewhere else, but... excuse a newbie |
| 12:28 |
_pedda_ |
np |
| 12:28 |
kevke2001 |
now comes the hard part, I already did it once, now let's see, if I can install that template |
| 12:28 |
maholtz|WORK |
@RoyalKnight: someone should close that record |
| 12:29 |
RoyalKnight |
maholtz|WORK: how? |
| 12:29 |
_pedda_ |
@RoyalKnight the warning should disappear on itself.. otherwise if you know someone WAS editing and he IS NOT doiung it anymore.. you can ignore the warning |
| 12:29 |
maholtz|WORK |
go to that record, click on save and close |
| 12:29 |
maholtz|WORK |
or only on "close" [x] |
| 12:29 |
RoyalKnight |
the warning is there since days |
| 12:30 |
maholtz|WORK |
ups.. |
| 12:30 |
maholtz|WORK |
so, it sounds like a bug |
| 12:30 |
_pedda_ |
indeed |
| 12:30 |
maholtz|WORK |
which version? |
| 12:30 |
RoyalKnight |
i read an article how such a lock can be removed, but i forgot it |
| 12:31 |
RoyalKnight |
it's a 4.1.x can't remember the minor version |
| 12:31 |
maholtz|WORK |
well, just look? |
| 12:31 |
_pedda_ |
you can see in the title of your browser |
| 12:31 |
RoyalKnight |
i know, but i don't have access from here |
| 12:31 |
_pedda_ |
ah ok |
| 12:31 |
_pedda_ |
:) |
| 12:32 |
RoyalKnight |
ip-lock for internal ips only ;) |
| 12:35 |
kevke2001 |
is there an easy to use installation guide out there? |
| 12:35 |
kevke2001 |
i mean for tempaltes |
| 12:36 |
kevke2001 |
typo is running fine |
| 12:36 |
_pedda_ |
modern template building |
| 12:36 |
_pedda_ |
futuristic template building |
| 12:36 |
_pedda_ |
these two are available on typo3.org |
| 12:37 |
_pedda_ |
if you would like to use yaml |
| 12:37 |
_pedda_ |
i'm sure this is also available either on typo3.org |
| 12:38 |
_pedda_ |
or on http://www.t3net.de/dokumentation.html |
| 12:39 |
kevin__ |
now I am lost... I just did it and it worked, after doing it 10 times with a "you should have better stayed in bed" experience |
| 12:42 |
kevin__ |
Okay... that was to quick, what shall I do, the main rooster works, but all pages tell me No template |
| 12:46 |
kevin__ |
I did the import from t3d thing and the rooster seems to work, but all subpages don't have a template. Do I have to advice one to each subpage? |
| 12:47 |
krutt|work |
mh, i havent a htdoc folder in my install |
| 12:47 |
krutt|work |
wtf |
| 12:49 |
maholtz|WORK |
@kevin__: that could help: http://wiki.typo3.org/De:ts45min but it is not an quick introduction (its available in different languages) |
| 12:49 |
maholtz|WORK |
there are some screenshots;) |
| 12:51 |
spabhat |
kevin__: you can specify the sub page template in the root page property. |
| 12:53 |
kevin__ |
okay |
| 12:53 |
kevin__ |
trying |
| 13:05 |
NublaII |
morning |
| 13:05 |
NublaII |
I just added a new extension and I have problems with permissions |
| 13:06 |
NublaII |
I get the 'Reason: ERROR: authMode "explicitDeny" failed for field "CType" with value "list" evaluated' error |
| 13:07 |
NublaII |
I have been checking the permissions for the user and the groups it belongs to to no avail... |
| 13:07 |
NublaII |
any idea how can I debug it? |
| 13:08 |
maholtz|WORK |
no debug - config check group configuration |
| 13:09 |
NublaII |
done that... and I can't find any other place to enable it... |
| 13:10 |
NublaII |
it is a custom extension... could it be something to do with it? |
| 13:11 |
NublaII |
I enabled anything that related to that new extension (it generates a plugin) |
| 13:12 |
NublaII |
and I enabled the explicitAllow part of it too |
| 13:13 |
maholtz|WORK |
you have to allow that plugin and plugin in common |
| 13:14 |
NublaII |
what do you mean 'in common'? |
| 13:15 |
kinea |
someone know, how to call a function of another extension? (in php) |
| 13:15 |
maholtz|WORK |
i mean, you have to enable "plugin" like "text/pic" etc |
| 13:16 |
NublaII |
ok... quick question, just in case I'm getting it all wrong... |
| 13:17 |
NublaII |
on a group policy, under Explicitly allow/deny field values |
| 13:17 |
NublaII |
Pagecontent: Plugin: |
| 13:17 |
NublaII |
if I enable it there, I'm denying it right? |
| 13:18 |
maholtz|WORK |
depends on configuration |
| 13:19 |
NublaII |
localconf configuration? |
| 13:20 |
maholtz|WORK |
well, check all fields under allow/deny - if you are allowed to edit content elements, then it is in mod allow if not in deny. |
| 13:20 |
maholtz|WORK |
it is not difficult |
| 13:21 |
maholtz|WORK |
just play around and look:) |
| 13:21 |
NublaII |
I guess... it's just that it's a mess ;) |
| 13:21 |
NublaII |
that user belongs to 3 groups, and in turn, one of those groups belongs to 2 extra groups |
| 13:22 |
NublaII |
so I guess I need to make sure none of those groups explicitly deny that right? |
| 13:22 |
maholtz|WORK |
yep |
| 13:22 |
maholtz|WORK |
(afaik) |
| 13:22 |
NublaII |
ok... let's open 6 windows to compare then ;) |
| 13:22 |
_pedda_ |
hehe |
| 13:23 |
lilalinux |
how can I select text in htmlarea to choose a <ul> style? Whenever I click into the list, I'm already in the <li> |
| 13:26 |
lilalinux |
got it |
| 13:27 |
lilalinux |
selecting all list-items |
| 13:30 |
NublaII |
found it... |
| 13:31 |
NublaII |
so to be able to edit a plugin you need to be able to 'add a plugin' |
| 13:32 |
kinea |
is there a way to call a function from an existing extension f.e. sendInfo of sr_feuser_register? do i have to copy the code to my extension, or is there a standard conform way to call existing functions? |
| 13:34 |
kinea |
is it just a matter of using an include, or are there some framework things to consider? |
| 13:35 |
maholtz|WORK |
afaik only include |
| 13:37 |
maholtz|WORK |
but have an look at t3lib_div::makeInstance() too |
| 13:40 |
kinea |
thank you maholtz|WORK |
| 13:40 |
maholtz|WORK |
:) |
| 13:40 |
maholtz|WORK |
for searching the api: http://www.martinholtz.de/index.php?id=219 could help:) |
| 13:41 |
maholtz|WORK |
add search engine to your browser, type "api makeInstance" press Enter:) |
| 13:43 |
kinea |
nice |
| 13:44 |
maholtz|WORK |
type in only ? and wait a few seconds |
| 13:48 |
mathbr |
Hi there. Is it possible to clear the cache of specific pages from within an eID script? I tried using the clear_cacheCmd method of t3lib_TCEmain and followed its dependencies up a bit but failed at some point in the dependency chain. |
| 14:10 |
lilalinux |
mathbr: that's what referential integrity is made for in real databases :-) |
| 14:12 |
mathbr |
Yep, but I cannot use something like this here. ;-) |
| 14:14 |
lilalinux |
mathbr: http://rafb.net/p/7820qh69.html |
| 14:14 |
lilalinux |
I don't know if this is extension specific |
| 14:14 |
lilalinux |
but ecorss does it like this |
| 14:14 |
lilalinux |
then it's just a matter of creating a hash that fits your needs |
| 14:20 |
mathbr |
Hm, this could work. I'll have a look at the code of clear_cacheCmd first to see how it does its work lowlevel-wise. Thanks. |
| 14:31 |
mathbr |
Yeah, the method basically deletes entries from the tables cache_page and cache_pagesection where the tag pageId_$pid is set. Should work for me. |
| 14:32 |
lilalinux |
fine |
| 14:32 |
lilalinux |
then it's just a matter of figuring out a goog id and a hash that holds all your dependencies |
| 14:35 |
ollieroberts |
i am using a php script to grab content form the tt_content table in the database, it is all working fine, but am having problems converting the typolink to a regular link, can anyone please help with this? it is sort of urgent a project that has to be finished today!!! i have been on it for the past day. i appreciate and help with this. thank you |
| 14:37 |
lilalinux |
ollieroberts: googlehit #1 http://209.85.129.132/search?q=cache:DBktDB7vvzoJ:www.sk-typo3.de/Typolinks-in-PHP-Script.141.0.html+php+typolink&hl=de&ct=clnk&cd=1&gl=de |
| 14:37 |
lilalinux |
?php |
| 14:37 |
lilalinux |
include_once(PATH_site.'typo3/sysext/cms/tslib/class.tslib_content.php'); |
| 14:37 |
lilalinux |
echo 'h3TEST/h3'; |
| 14:37 |
lilalinux |
$cObj=t3lib_div::makeInstance('tslib_cObj'); |
| 14:37 |
lilalinux |
echo $cObj-getTypoLink('hallo',3); |
| 14:37 |
lilalinux |
? |
| 14:37 |
lilalinux |
something like that |
| 14:38 |
Dijital2 |
hi guys. is typo3.org down? i can't seem to get any response from it |
| 14:39 |
Dijital2 |
i was hoping to RTFM |
| 14:40 |
mathbr |
Works for me |
| 14:41 |
Dijital2 |
hmm just took 45 seconds to load a page |
| 14:41 |
ollieroberts |
thanks lilalinux - i hope i can work this out - the link <link 11.... etc is in a chunk of text from the bodytext column. once again thanks |
| 14:41 |
Dijital2 |
rest of the net seems fine. anyway i'll just wait! |
| 14:44 |
krutt|work |
yea! php5 upgrade and typo3 upgrade working |
| 14:44 |
krutt|work |
wunderfull |
| 14:44 |
krutt|work |
*wonderful |
| 14:48 |
krutt|work |
ok, little trouble i think |
| 14:48 |
krutt|work |
dokma_ are you there =D |
| 15:09 |
_pedda_ |
anyone knwos how to style text floating around images for printview ? |
| 15:13 |
dokma_ |
krutt|work: I'm here |
| 15:17 |
gehdan |
I'm kinda stuck, I'm trying to use tt_address but all I get in the output is the content title. There's no content even though I selected both an address and an addressgroup. Any hints? |
| 15:29 |
gehdan |
ok, found the error |
| 15:34 |
spabhat |
in typo3 4.2.3... I do not find the image orientation options such as "Below, Center", "Below, Right" etc.. could anyone help me please? |
| 15:34 |
m4rtijn |
spabhat - did u show secondary option palette? |
| 15:38 |
maholtz|WORK |
afaik its disabled bei css_styled_content? |
| 15:41 |
spabhat |
m4rtijn: I will check it |
| 15:42 |
spabhat |
m4rtijn: yes secondary show options palette is enabled |
| 15:43 |
spabhat |
I actualy imported contents in .t3d format from typo3 4.0.x to 4.2.3... |
| 15:44 |
m4rtijn |
spabhat - are you logged in as admin? |
| 15:44 |
spabhat |
when I did so It shows "Invalid Value" |
| 15:44 |
spabhat |
yes I am logged in as admin |
| 15:46 |
maholtz|WORK |
@spahbat: did you check css_styled_content? |
| 15:46 |
spabhat |
maholtz|WORK: what should I check in it? |
| 15:46 |
maholtz|WORK |
go to em and check configuration |
| 15:48 |
spabhat |
maholtz|WORK: it worked perfect... thank you. removePositionTypes was enabled :) |
| 15:48 |
spabhat |
:-* |
| 15:48 |
lilalinux |
what extension do you use for a glossary? a21glossary? sb_akronymmanager? |
| 15:48 |
kinea |
i try to call the sendInfo function from tx_srfeuserregister_email. i used t3lib_div::makeInstance('tx_srfeuserregister_email'); to instantiate it. but i get PHP Fatal error: Call to a member function pi_getLL() on a non-object. |
| 15:49 |
kinea |
do i have to call it with the GLOBAL lang object as parameter, or how can i instiantiate it? |
| 15:59 |
maholtz|WORK |
its an php issue |
| 15:59 |
maholtz|WORK |
check :: vs -> |
| 16:02 |
kinea |
maholtz|WORK: i dont understand |
| 16:10 |
kinea |
maholtz|WORK: i get the methods of the parent class with "::", but how is the connection to this problem? |
| 16:12 |
maholtz|WORK |
if you use class::method() there is no objecty->methodxy possible in method() |
| 16:15 |
kinea |
thank you, maholtz|WORK. this really confuses me :-) but i will try to understand it |
| 16:16 |
lilalinux |
kinea: do you know the difference between a class and an object? |
| 16:16 |
kinea |
sure |
| 16:16 |
lilalinux |
and do you know what static is? |
| 16:16 |
kinea |
yes |
| 16:17 |
lilalinux |
If you have an object, you use ->, if you don't have an object and the class has a static function you may call it via :: |
| 16:17 |
_pedda_ |
what is the difference between a class and an object ? |
| 16:18 |
lilalinux |
_pedda_: a class is a blueprint |
| 16:18 |
lilalinux |
e.g. a class "house" |
| 16:18 |
lilalinux |
you can't live in a blueprint |
| 16:18 |
kinea |
the object is a concrete instance of the blueprint |
| 16:18 |
_pedda_ |
hmm ok |
| 16:18 |
lilalinux |
you have to build an object toi live in |
| 16:18 |
_pedda_ |
so now i just have to find out what blueprint means ;) |
| 16:19 |
_pedda_ |
hmm so a class has to be used for an object ? |
| 16:19 |
lilalinux |
you "instantiate" a class and get a object |
| 16:19 |
kinea |
yes. you define how a house can be built (from what parts) |
| 16:19 |
_pedda_ |
ah ok |
| 16:19 |
kinea |
in a class |
| 16:22 |
kinea |
i think my problem is, that i call $email=t3lib_div::makeInstance('tx_srfeuserregister_email'); and then $content = $email->sendInfo() with some parameters. But i do it inside a userdefined class in my extension. There was no initialisation of the typo3 globals. I think i have to extend of the t3lib classes like i do with t3lib_SCbase in a module extension and then call the parents init method. |
| 16:23 |
kinea |
but what class could i extend for this purpose? |
| 16:23 |
kinea |
i make no module nor plugin. its just a user function which i use with the evalFunc of sr_feuser_register |
| 16:24 |
lilalinux |
eval is evil |
| 16:25 |
kinea |
why you mean? |
| 16:25 |
lilalinux |
eval is a source for injection attacks |
| 16:26 |
lilalinux |
http://en.wikipedia.org/wiki/Code_injection#Dynamic_Evaluation_Vulnerabilities |
| 16:27 |
kinea |
i think i mean another kind of evalFunc |
| 16:28 |
kinea |
i use this : plugin.tx_srfeuserregister_pi1.evalFunc = user_withoutPassword->withoutPasswordEvaluation |
| 16:29 |
kinea |
the srfeuserregister extension just calls a function of my extension, which sends an double-opt-in email to the user instead of asking for password |
| 16:30 |
kinea |
and as i dont want to reinvent the wheel: i try to use the sendInfo function of srfeuserregister |
| 16:31 |
kinea |
but its hard than i thought, to reuse functions of other extensions. |
| 16:31 |
kinea |
*harder |
| 16:34 |
kinea |
should i extend t3lib_SCbase or another class for this purpose? |
| 16:39 |
lilalinux |
I don't know what you mean by "There was no initialisation of the typo3 globals" |
| 16:39 |
lilalinux |
but I have to go now |
| 16:40 |
tobi_t3w |
kinea i think you have to call the main function of tx_srfeuserregister_email so that everything gets initialized |
| 16:41 |
kinea |
i will try it. |
| 16:41 |
kinea |
thank you also lilalinux |
| 16:41 |
sorenmalling |
Anybody here able to go to forge.typo3.org? |
| 16:41 |
maholtz|WORK |
nope |
| 16:41 |
maholtz|WORK |
seems to be down |
| 16:41 |
tobi_t3w |
no doesnt load |
| 16:43 |
sorenmalling |
Okay, glad to know it wasn't a local issue :) |
| 16:46 |
kinea |
tobi_t3w: it has only a init method. i thought this would be called from t3lib_div::makeInstance ? |
| 16:47 |
tobi_t3w |
hm im not shure if its called by makeInstance |
| 16:49 |
HardPhuck |
guys which PHH IDE would you recommend for Typo3 developing |
| 16:49 |
HardPhuck |
PHP IED :) |
| 16:49 |
HardPhuck |
ah lol |
| 16:49 |
HardPhuck |
PHP IDE :) |
| 16:49 |
kinea |
lol |
| 16:52 |
maholtz|WORK |
eclipse |
| 16:55 |
HardPhuck |
oany special flavour or will Classic do |
| 16:57 |
kinea |
lilalinux: i mean i get a "Call to a member function pi_getLL() on a non-object" error, so i think the language object is not instantiated. as i get this message from inside a simple class function, which i defined, without extending some class of t3lib, there cant be a language object initializede and therefor exist. |
| 16:58 |
kinea |
so my problem is: what class to extend |
| 17:00 |
kinea |
i think it would be easier to reinvent the wheel and write my own sendE-Mail function with template support. |
| 17:02 |
tf |
hi. when i use directmail to send my newsletter, the recipients receive content from categories they havent checked. The exclude from contentelements doesnt work. Has anyone experiences with that? |
| 17:20 |
fred^^ |
hey, i am having problem with empty rss feed from tt_news |
| 17:34 |
_pedda_ |
cu all |
| 17:34 |
maholtz|WORK |
cu |
| 17:34 |
_pedda_ |
it's time to change the office :) |
| 17:34 |
_pedda_ |
location |
| 17:56 |
fred^^ |
anyone else seen that problem before?? |
| 18:04 |
theconic |
does anyone know whether Typoscript has problems with "ß" ? |
| 18:30 |
just2b |
anyone can give me advice for a screencast software for windows, freeware |
| 18:39 |
fred^^ |
try jing, just2b |
| 18:39 |
fred^^ |
and I use camtasia. not free, but worth the cost for me |
| 18:40 |
fred^^ |
just2b have you tried working with rss and tt_news? |
| 18:40 |
just2b |
yes, but 260€? wtf |
| 18:40 |
fred^^ |
i've gotten it to give me output, but it adds an empty line at the start |
| 18:40 |
just2b |
one of a tca.php, ext_tables.php or ext_localconf.php file got empty lines before/after the <?php / ?> |
| 18:41 |
fred^^ |
oh snap. :) |
| 18:43 |
teppi|working |
hello just2b .. |
| 18:43 |
teppi|working |
i have a short question |
| 18:43 |
just2b |
why directly to me? |
| 18:43 |
teppi|working |
you asked here http://typo3.toaster-schwerin.de/typo3_dev/2008_06/msg00224.html |
| 18:44 |
teppi|working |
for a possibility to create tt_content by inline records |
| 18:44 |
teppi|working |
do you have a solution already |
| 18:44 |
just2b |
no, didnt need it anymore |
| 18:44 |
teppi|working |
we looked at pbsurvey and didnt found something useful |
| 18:44 |
teppi|working |
ok :-( |
| 18:44 |
teppi|working |
thx |
| 18:45 |
just2b |
i woujlt contact olly for sponsoring |
| 18:45 |
teppi|working |
hehe |
| 18:45 |
just2b |
really |
| 18:46 |
teppi|working |
yeah maybe .. perhaps we make it another way .. but it would be fine .. |
| 18:46 |
teppi|working |
we'll see |
| 18:47 |
just2b |
sponsoting really doesnt hurt |
| 18:48 |
teppi|working |
unfortunately i'm not in the position to make a decission .. but i will tell it the people who are ;-) |
| 18:55 |
nkuttler |
is there a way to test if a file in the fileadmin is linked to from anywhere in the site? |
| 18:57 |
just2b |
linked by what? |
| 18:57 |
nkuttler |
content, file downloads.. for a start |
| 18:57 |
nkuttler |
i guess i'll have to search through the db tables? |
| 18:58 |
just2b |
if done via tca, you have the reference index normally.. |
| 18:58 |
nkuttler |
ok, will have a look |
| 19:12 |
caliel |
hello. |
| 19:12 |
caliel |
this is my 1st time using typo3. I have this structure |
| 19:12 |
caliel |
(+) Homepage (-) Something (-) something else |
| 19:13 |
caliel |
(+) This has the same level as homepage |
| 19:13 |
caliel |
but I haven't this last one in the menu. What am I doing wrong ? thanks |
| 19:27 |
theconic |
using TemplaVoila? |
| 19:51 |
nd__ |
How do I add a javascript to my extension? Something like _CSS_DEFAULT_STYLES ()? I'd like to have it in the global js-file included anyway to save the request |
| 20:27 |
Sebastan |
hello. can someone tell me how to put a product stored in table tt_products in the basket of a user out of a own extension? |
| 20:28 |
just2b |
IMO you need to fill the session correct |
| 20:29 |
_pedda_ |
re |
| 20:29 |
Sebastan |
I have stored the data of the product in the sessionarray thisbuy. out of this a product is created and stored in tt_products. so how to put that into the basket then? is it an array I have to fill? |
| 20:29 |
Sebastan |
sorry |
| 20:30 |
just2b |
yes, but just read the session once to know it |
| 20:30 |
just2b |
i kind of dislike tt_products and always delete everything inside my brain after beeing forced to use it |
| 20:31 |
Sebastan |
hm... too bad :) |
| 20:31 |
just2b |
not really, saves lifes :D |
| 20:31 |
Sebastan |
I cant avoid it this time... and I think my boss will make more of those projects... |
| 20:33 |
just2b |
poor guy |
| 20:33 |
Sebastan |
:) have to go through... |
| 20:34 |
just2b |
take a look at my screencast to be a little bit impressed, maybe it helps over your sad time with tt_products ^^ http://www.rggooglemap.com/dev/flippingbook.html |
| 20:35 |
Sebastan |
:) |
| 20:36 |
Sebastan |
I have to code extensions too. but this one is my second. first was a crm-system |
| 20:37 |
Sebastan |
when Im using this code: echo '<pre>', print_r($GLOBALS["TSFE"]->fe_user->sesData), '</pre>'; I only get the values I stored in the session with setkey in ses. Must the user be logged in to see something with basket? I thought the basket could be filled even when the feuser isnt logged in... |
| 20:40 |
Sebastan |
cool extension you made... looks like a lot of work... |
| 20:40 |
just2b |
flash is not mine ;) |
| 20:41 |
Sebastan |
ah ok... |
| 20:41 |
just2b |
but there is a bit more than in the screencast behind the extension ;) |
| 20:42 |
Sebastan |
I know... the problem is people who dont know that cant understand what it takes in time to build it... |
| 21:04 |
Sebastan |
next try... can someone tell me how to access the basket of tt_products to put a product in it out of a own extension? |
| 21:04 |
just2b |
did you look at the sessions? |
| 21:04 |
just2b |
^^ |
| 21:05 |
Sebastan |
you mean something like this: echo '<pre>', print_r($GLOBALS["TSFE"]->fe_user->sesData), '</pre>'; |
| 21:05 |
Sebastan |
? |
| 21:05 |
Sebastan |
in there only are the values and keys i stored in myself |
| 21:05 |
just2b |
or use firebug or so |
| 21:06 |
Sebastan |
firebug? how could I do it with it? |
| 21:08 |
Sebastan |
I have read a post where something said someone can get a article out of the basket with $GLOBALS["TSFE"]->fe_user->sesData['recs']['tt_products']['id'] but how to store a product doesnt say it to me... |
| 21:09 |
HardPhuck |
anyone using zend studio fro eclipse |
| 21:10 |
HardPhuck |
or eclipse for that matter:) |
| 21:30 |
sorenmalling |
Can somebody explain to me, what the "exclude" tag does, when creating flexforms? |
| 23:12 |
_pedda_ |
is it possible to have entrylevel lower than 3 ? |
| 23:22 |
HardPhuck |
sure |
| 23:23 |
_pedda_ |
how ? |
| 23:23 |
HardPhuck |
you set a number lower than 3 |
| 23:23 |
just2b |
entyLevel = 2 |
| 23:23 |
just2b |
^^ |
| 23:23 |
HardPhuck |
entryLevel = 2 for example |
| 23:24 |
_pedda_ |
hmm |
| 23:24 |
_pedda_ |
it's too late probably.. |
| 23:25 |
HardPhuck |
yea, almost midnight and that... :D |