| 00:13 |
Phlogi |
hmm |
| 00:38 |
dinsdale07 |
:conic maybe with an "select" statement that looks in the tt_content table for this pid. And then if.isEmpty?? just an idea ... |
| 01:43 |
scubes13 |
Hello all - I am using wecdiscussion forum extension at - http://open-worship.org/index.php/Blogs/9/0/ ... I am getting an error - "Wrong value for parameter 4 in call to preg_match_all() in /data/open-worship.org/www/typo3conf/ext/wec_discussion/pi1/class.tx_wecdiscussion_pi1.php on line 1595" anyone ever encountered such an error? |
| 03:07 |
scubes13 |
got a quick fix: http://webempoweredchurch.com/support/community/forum/single_thread/ministry-tools/discussion-forum-extension-1/preg-match-error/ |
| 04:27 |
sw_bluntman |
Need help with extension development. I am trying to add a column to an established table. The first problem is this: I have added the column "company" in the ext_tables.sql. The first time I went back to "information" on the extension, I had the option to "alter table" and I did so. Now I am still getting the option to "alter table" but it doesn't sound like it wants to do the right thing. |
| 04:28 |
sw_bluntman |
It says: "ALTER TABLE user_ucpgift_donations CHANGE company company tinytext default '';" |
| 04:28 |
sw_bluntman |
ext_tables.sql is here: http://phpfi.com/334445 |
| 04:30 |
sw_bluntman |
ries: I know you'll be able to tell me what I'm doing wrong if you are around... |
| 04:32 |
ries |
sw_bluntman: I remember there was an issue with taht... try to change it to a varchar... |
| 04:32 |
jsfan |
sw_bluntman, or just ignore it ;) |
| 04:33 |
jsfan |
that has happened many times to me with plenty of extensions but it doesn't really matter :) |
| 04:34 |
sw_bluntman |
ries: :) Changed it to varchar and the message went away. I was more concerned by the fact that the "company" field doesn't show up in the records and thought that might be the problem. |
| 04:35 |
ries |
sw_bluntman: TYPO3's database compares system is rather stupid sometimes... |
| 04:35 |
ries |
also I don't understand why MySQL has a tinytext... which is just as annoyng :s |
| 04:35 |
sw_bluntman |
unfortunately, still don't see the column in the record. I have modified the TCA and the ext_tables.php... do I need to tell Typo3 about the column somewhere else for it to show up when creating records? |
| 04:38 |
sw_bluntman |
I hope that question is clear... I see the column in the DB, but it is not a field in the record in Typo3 |
| 04:48 |
jsfan |
sw_bluntman, what table did you add the field to? |
| 04:49 |
sw_bluntman |
jsfan: a table for the extension "user_ucpgift_donations" |
| 04:49 |
jsfan |
just realised i can see that from the sql query. |
| 04:49 |
sw_bluntman |
:) |
| 04:49 |
jsfan |
so, where do you want it to show up? |
| 04:49 |
jsfan |
in the be records? |
| 04:49 |
chefan |
ries: sounds better than varchar |
| 04:50 |
sw_bluntman |
Right. I have the records showing up in a storage folder. All of the other fields show up when I edit one. This new field doesn't. I can post TCA and ext_tables.php if you need me to. |
| 04:50 |
jsfan |
if you've added it correctly to the extension's tca, it should show up. |
| 04:50 |
jsfan |
sw_bluntman, post them. i'll have a look when i come back from lunch |
| 04:53 |
sw_bluntman |
OK. TCA is here: http://phpfi.com/334451 and ext_tables.php is here: http://phpfi.com/334452 |
| 04:53 |
sw_bluntman |
BTW, Typo3 has the best community anywhere ;) |
| 04:53 |
chefan |
wow |
| 04:53 |
sw_bluntman |
chefan: tinytext is supposed to be faster, isn't it? |
| 04:54 |
chefan |
iirc yes |
| 04:54 |
chefan |
not anywhere near relevant though as far as i remember |
| 04:55 |
sw_bluntman |
Yeah. I really only used it because the kickstarter had used it in the original definition. |
| 04:55 |
chefan |
you always find some dickhead that puts variable sized blobs in the database or sets the keys in a silly way |
| 04:56 |
sw_bluntman |
I am working on a program right now where a previous developer did a encrypt(serialize($var)) on a bunch of stuff and put in one field in the db. He is an asshole :-P |
| 04:59 |
chefan |
on second thought, i see no reason why tinytext should be faster than varchar |
| 04:59 |
sw_bluntman |
You know you are working on a bad program when you find yourself calling the previous developer by first name while you are coding: "Now how the hell am I supposed to run a query on that, Andy?!" |
| 05:00 |
chefan |
the best aproach would prolly be to dump both in favor of char and keep anything >255 in the filesystem |
| 05:06 |
sw_bluntman |
You'd think there has to be some reason for it. I am willing to admit that the mysql dev team is smarter than I. At least collectively :) |
| 05:08 |
chefan |
don't assume |
| 05:09 |
chefan |
a lot of such things especially with datatypes are for compatibility reasons, not for some higher plans |
| 05:09 |
chefan |
damage control for people that started to develop on microsoft platforms for instance |
| 05:09 |
chefan |
no need to make their lives even more crappy |
| 05:11 |
chefan |
i remember reading something in the sqlite documentation like: "we know it's silly to implement this, but we keep it there for compatibility with (don't remember what exotic crap) |
| 05:11 |
chefan |
btw, sqlite has become really cool |
| 05:11 |
sw_bluntman |
Great. Sounds like some of the comments in my apps. |
| 05:12 |
chefan |
you know why java programmers usually don't put evil comments in their code? |
| 05:12 |
sw_bluntman |
why? |
| 05:12 |
ries |
chefan: I think there should be just text or varchar.. and that teh difference between varchar and text is only it's constrain... |
| 05:12 |
chefan |
because it's much more diabolic to just make things private or protected |
| 05:13 |
ries |
But MySQL has tiny text, micro text, medium text, larger text, hugetext, evenlargertext... and the list goes on :D |
| 05:13 |
chefan |
lol |
| 05:13 |
sw_bluntman |
lol |
| 05:13 |
ries |
I don't understand these non-standard types... they are useless.. and clutter things up to much |
| 05:13 |
chefan |
ridiculouslylargetextthatcouldcontainthelibraryofalexandria |
| 05:14 |
chefan |
in a single field |
| 05:14 |
chefan |
cool |
| 05:14 |
chefan |
makes create table definitions soooooooo readable |
| 05:14 |
sw_bluntman |
It is fun to put curse words into Google code search. Find some hilarious comments that way. |
| 05:16 |
ries |
hehehe : http://www.google.com/codesearch?hl=en&lr=&q=mysql+crap&sbtn=Search |
| 05:17 |
ries |
I couldn't resist |
| 05:17 |
chefan |
ries: i agree with you in that less would be more there. for instance two types of varchar, one with one byte length, the other with four bytes length |
| 05:17 |
chefan |
anything longer doesn't belong into a db anyway to my mind |
| 05:18 |
ries |
I think one type of varchar and one type of text |
| 05:18 |
ries |
difference between varchar and text is that varchar has a constrain added and text not |
| 05:18 |
ries |
so varchar(128) get's translated to text with constrain with length max 128 characters |
| 05:22 |
ries |
date type in MySQL is also such a horrible implementation :s |
| 05:22 |
chefan |
it's like with os's |
| 05:22 |
chefan |
every single one sucks, just depends for what |
| 05:24 |
chefan |
at least mysql is fast |
| 05:25 |
ries |
it's just that MySQL sucks a bit more :D |
| 05:25 |
sw_bluntman |
They seem to be rapidly exchanging "fast" for "feature rich" |
| 05:25 |
ries |
MySQL is really not that fast.... |
| 05:25 |
chefan |
there is the point |
| 05:26 |
chefan |
mysql with defined field length and avoiding huge blobs of binary data is pretty fast |
| 05:26 |
chefan |
a lot faster than postgresql or oracle for instance |
| 05:27 |
chefan |
as long as you have a lot more reads than writes |
| 05:27 |
chefan |
once you have to start considering transactions, forget it |
| 05:27 |
ries |
I always love to point people to a simple test like this : http://tweakers.net/reviews/649/7 |
| 05:28 |
chefan |
i prefer a selection of tools depending on the use case |
| 05:28 |
ries |
chefan: as long as you do select * from users where user='bla' then it might be a bit faster... |
| 05:28 |
chefan |
you don't have to consider everything, but for instance sqlite/mysql/postgresql is a good selection |
| 05:28 |
ries |
But really under load MySQL performs bad |
| 05:29 |
chefan |
because it locks whole tables |
| 05:29 |
ries |
MySQL works fine for any small website... |
| 05:29 |
chefan |
but if you keep that in mind when designing your database, you might be surprised how performant it can be |
| 05:29 |
ries |
or when you have the mopney to hire MySQL and ask them to scale.. but then like you said, 90% read over writes and forget about using InnoDB |
| 05:29 |
ries |
s/mopney/money/ |
| 05:30 |
chefan |
yes, and that is a fairly typical web use case |
| 05:31 |
chefan |
i would put it like that: if you have to save some data, have a bit of dynamic stuff and look for an alternative to look through files, use sqlite |
| 05:32 |
chefan |
if you have a more or less static environment with a bit more of lookup work to do to find what the client wants, mysql is fine |
| 05:32 |
chefan |
and if you have to move serious data around, consider postgresql |
| 05:34 |
ries |
We currently use PostgreSQL a lot... |
| 05:34 |
ries |
actually-... for all our data but typo3... |
| 05:35 |
ries |
all business data is stored in PostgreSQL.. the in MySQL.. |
| 05:35 |
ries |
we have at peak time around 500 users connected to PostgreSQL |
| 05:35 |
ries |
and we run a couple of smaller websites from the same system |
| 05:36 |
ries |
PostgreSQL seems to be really predictable with a large number of users, somethign I like a lot |
| 05:37 |
ries |
off to bed.... |
| 05:37 |
chefan |
ries: same here |
| 05:38 |
chefan |
mysql is for user management on site, datawarehousing is work for men (postgresql) |
| 05:38 |
sw_bluntman |
Thanks, both of you guys. I'll wait for jsfan to come back |
| 05:53 |
jsfan |
sw_bluntman, you don't seem to add the stuff to the tca |
| 05:53 |
jsfan |
at least, i have more lines than you do. |
| 05:54 |
jsfan |
there is no line with t3lib_extMgm::addToAllTCAtypes |
| 05:54 |
sw_bluntman |
jsfan: I just added the column to fe_admin_fieldList... |
| 05:57 |
sw_bluntman |
jsfan: Trying to lookup what addToAllTCAtypes does |
| 06:12 |
sw_bluntman |
jsfan: The kickstarter didn't add that, so just following what it did. Don't know why it still isn't showing up... don't see much docs on addToAllCATypes. |
| 06:12 |
jsfan |
one sec |
| 06:14 |
jsfan |
sw_bluntman, this is what the doc in extdeveval has: |
| 06:14 |
jsfan |
Makes fields visible in the TCEforms, adding them to the end of (all) "types"-configurations |
| 06:14 |
jsfan |
Adds a string $str (comma list of field names) to all ["types"][xxx]["showitem"] entries for table $table (unless limited by $specificTypesList) |
| 06:14 |
jsfan |
This is needed to have new fields shown automatically in the TCEFORMS of a record from $table. |
| 06:14 |
jsfan |
Typically this function is called after having added new columns (database fields) with the addTCAcolumns function |
| 06:14 |
jsfan |
FOR USE IN ext_tables.php FILES |
| 06:14 |
jsfan |
Usage: 1 |
| 06:14 |
jsfan |
so, i record this is what you're lacking. |
| 06:15 |
jsfan |
sw_bluntman, for one of my extensions it looks like t3lib_extMgm::addToAllTCAtypes("tt_news","tx_cleasyevents_is_event;;;;1-1-1","","title"); |
| 06:16 |
jsfan |
that adds the field before the title field of tt_news |
| 06:17 |
sw_bluntman |
jsfan: OK. I'll try it. Dunno what is supposed to go between the ;; though... |
| 06:17 |
jsfan |
don't think anything is needed for that. one sec... |
| 06:19 |
jsfan |
sw_bluntman, is the extension you're using in the ter? the ucp_gift_donations i mean. |
| 06:19 |
sw_bluntman |
jsfan: No. It is one I developed myself |
| 06:20 |
jsfan |
oh, ic. then you can just look at the definitions of the forms there and you'll know the semicola, etc. |
| 06:20 |
sw_bluntman |
I'll find it. TYVM. Too late here in the US to work more on it tonight. I'll see in the morn |
| 06:22 |
jsfan |
sw_bluntman, there is another hint in extdeveval: Insert fields before (default) or after one of this fields (commalist with "before:" or "after:" commands). Example: "before:keywords,--palette--;;4,after:description". Palettes must be passed like in the example no matter how the palette definition looks like in TCA. |
| 06:22 |
jsfan |
this is about the string you're wondering about. |
| 06:23 |
jsfan |
i remember that gave me a bit of a headache a while ago, too. haven't written many extensions recently... |
| 06:24 |
sw_bluntman |
jsfan: Too late. Brain isn't working right anymore. Thanks, though. I'll look at logs tomorrow and understand. |
| 06:24 |
jsfan |
ok, no worries. have a good night :) |
| 06:25 |
sw_bluntman |
Aussie? At least you speak the King's english :) |
| 06:27 |
jsfan |
sw_bluntman, am i? i'm not really aussie but yes, that's where i live. ;) |
| 06:27 |
sw_bluntman |
jsfan: *envy* |
| 06:28 |
jsfan |
sw_bluntman, envy? |
| 06:28 |
jsfan |
sw_bluntman, oz is nice but it's just a country... |
| 06:28 |
jsfan |
what state are you in? |
| 06:29 |
sw_bluntman |
jsfan: Alabama, US. Understand, now? :) |
| 06:29 |
jsfan |
hm, i can imagine that it gets better than alabama, not that i've ever been there, though... |
| 06:30 |
jsfan |
never been to the us, anyway. |
| 06:30 |
jsfan |
might make it to new mexico next year ;) |
| 06:31 |
sw_bluntman |
jsfan: Alabama isn't really so bad, as long as you stay near the metro areas. Where are you from, originally? |
| 06:32 |
jsfan |
germany. |
| 06:32 |
jsfan |
shouldn't be too hard a guess given that i'm a typo3 geek ;) |
| 06:33 |
sw_bluntman |
Heh. Good point. There aren't many of us here in the US, which is too bad. We need to spread the word. |
| 06:34 |
jsfan |
sw_bluntman, i'm sure there are still more than in oz. |
| 06:34 |
jsfan |
sw_bluntman, two hands should be enough down here to count them ;) |
| 06:35 |
sw_bluntman |
Wow. That's terrible. I've yet to encounter a more powerful CMS. There are systems which cost more than $10,000 US that do much less here. |
| 06:35 |
sw_bluntman |
That isn't a lot of money anymore, unfortunately :) |
| 06:40 |
sw_bluntman |
Going to bed. Thank you for the help, jsfan |
| 08:22 |
Awillys |
anyone awake? |
| 09:10 |
devcow |
good morning @ll |
| 09:13 |
devcow |
yesterday i made nice looking urls with mode rewrite without an extension i made all setting right then i after testing i set all configurations back. now my site will not change home.0.html to index.php?id=1 anymore. i dont know now how to fix this again |
| 09:15 |
devcow |
got it now with config.simulateStaticDocuments = 0 |
| 09:17 |
devcow |
another problem that i found out yesterday when i made nice looking urls i logged in my customer area and i want to download a pdf file then not my pdf was load in fact my site gets load without css styles |
| 09:17 |
devcow |
any idea? |
| 09:55 |
jsfan |
devcow, maybe your stylesheet is missing? |
| 10:07 |
rw |
hi there |
| 10:08 |
rw |
can anyone tell me how to change a text in rtehtmlarea (backend) without changing this string in the locallang file? |
| 10:08 |
rw |
like localconf.php or such a file |
| 10:25 |
dot1 |
hello guys |
| 10:26 |
snoy_ms |
What's the best way to implement an adress+number on all sites. But the be users have to edit this in an easy way. How ? |
| 10:27 |
maholtz|WORK |
@snoy: support.typo3.org/snippets |
| 10:27 |
maholtz|WORK |
afaik there is a solution for that (use tt_address) |
| 10:29 |
snoy_ms |
ok, i take a look. thx ;-) |
| 10:31 |
Recnelis |
Does typo3 have any specifc function for getting the users ip? |
| 10:37 |
teppi|work |
Recnelis, t3lib_div.getIndpEnv('REMOTE_HOST'); |
| 10:38 |
teppi|work |
erm REMOTE_ADDR |
| 10:43 |
Recnelis |
thx teppi|work |
| 11:00 |
Recnelis |
What would be the best way to save from a form in the typo3 DB? Should I make a column for each datafield, or just put them all in one? |
| 11:01 |
Recnelis |
save data* |
| 11:06 |
pulponair |
hi there |
| 11:16 |
rw |
can anyone tell me how to change a text in rtehtmlarea (backend) without changing this string in the locallang file? |
| 11:17 |
teppi|work |
Recnelis, a column for each datafield |
| 11:18 |
teppi|work |
read about db normalization |
| 11:28 |
floxx |
is there another way for multilanguage 404 pages than editing localconf? |
| 11:43 |
Recnelis |
teppi|work: Do u know of any anti-reload option Typo3 might have? I wanna make sure it doesn't resend a confirmation e-mail and inserts a copy of the record in the db |
| 11:44 |
teppi|work |
nope .. i think you have to implement that manually |
| 11:45 |
teppi|work |
add a hidden field where you write the uid of the inserted recorded into |
| 11:46 |
Recnelis |
I was thinking of perhaps making a session anti-reload |
| 11:46 |
teppi|work |
if the value is set you know that you dont have to insert the record again |
| 11:46 |
teppi|work |
hm dunno .. |
| 11:46 |
Recnelis |
$_SESSION['anti-reload'] = ' '; <- Something like that |
| 11:47 |
Recnelis |
Cuz users can send multiple signups.. just wanna save us from errors ;) |
| 11:47 |
teppi|work |
sounds a little bit dirty |
| 11:48 |
teppi|work |
there is no realtion between anti-reload and your form .. what .. when you want to implement another form and you have to implement a antireload function there .. |
| 11:49 |
teppi|work |
that would be confusing |
| 11:50 |
Recnelis |
Hmm perhaps ur right |
| 12:21 |
Leberwurst |
hallo habe eine frage zum tinyRTE. ich habe soweit alle einstellungen vorgenommen. aber immer wenn ich im backend einen text (sei es bold, kursiv, liste erstellen, etc.) erstelle verschwindet er wieder wenn ich es abspeichere. hat jemand ne ahnung an was das liegt |
| 12:26 |
m4rtijn |
hi all |
| 12:30 |
devcow |
hi <m4rtijn> |
| 12:32 |
Denyerec |
lo lo |
| 12:33 |
FloLeBlanc |
l |
| 12:33 |
FloLeBlanc |
hi all |
| 12:41 |
martijn |
hmm.. re |
| 12:43 |
martijn |
does somebody know the command to take over my nick.. if its ghosting |
| 12:45 |
Denyerec |
/msg nickserv help |
| 12:45 |
Denyerec |
? |
| 12:45 |
Denyerec |
[11:52] -NickServ- Syntax: GHOST <nick> [password] |
| 12:49 |
martijn |
ah.. k didnt know there's help either.. thanks |
| 12:49 |
Denyerec |
np :) |
| 12:51 |
devcow |
i installed realurl 1.4.0 and when i go to the extension by code warnings this stands there -> No XCLASS inclusion code found in file "class.tx_realurl_userfunctest.php" |
| 12:51 |
devcow |
what is the problem? |
| 13:08 |
devcow |
which extensions are you using for friendly urls? |
| 13:17 |
mikhas |
devcow{afk}: realurl, in all it's glory. ;) |
| 13:18 |
otu |
whenever i delete pagecontent, the frame reloads but it doesnt load the previous page. all it shows me is some javascript e.g /**/ function jumpToUrl(URL) { // document.location = URL; return false; } if (top.fsMod) top.fsMod.recentIds["web"] = 1; /**/. anybody ever had this problem |
| 13:18 |
m4rtijn |
never seen that before.. |
| 13:18 |
m4rtijn |
did u try googling it? |
| 13:21 |
otu |
i've googled it but nothing doing. am considering moving to 4.1.7 as a possible remedy |
| 13:22 |
m4rtijn |
what version r u using? |
| 13:23 |
otu |
m4rtijn: using 4.1.5 |
| 13:26 |
otu |
there goes my lunch hour then. lol |
| 13:27 |
m4rtijn |
wha.. takes 10 minutes if u have to upload it |
| 13:27 |
m4rtijn |
if u have direct server access with root permissions.. 2 seconds |
| 13:34 |
otu |
thats my first major headache and the second one is that when i moved servers, i exported the page tree as a t3d and when i imported it i had a duplicate page tree |
| 13:35 |
otu |
whenever i create a page it gets recreated in the duplicate page tree so in effect i have a two for one website |
| 13:39 |
otu |
u ever seen that? |
| 13:46 |
HardPhuck |
hey |
| 13:47 |
HardPhuck |
guys, how can i minimalize caching to absolute minimum on a website? |
| 13:47 |
HardPhuck |
FE caching that is |
| 13:51 |
m4rtijn |
you can turn it off for single pages.. |
| 13:51 |
m4rtijn |
im not sure if u can turn it off at all |
| 13:51 |
m4rtijn |
pages |
| 13:53 |
HardPhuck |
how do i turn it off |
| 13:54 |
m4rtijn |
TCEMAIN.clearCacheCmd = 10, 8 |
| 13:54 |
m4rtijn |
is for pid 10 and 8 |
| 13:55 |
m4rtijn |
but google it first im not sure how it works |
| 13:55 |
HardPhuck |
k thx |
| 13:55 |
m4rtijn |
I have it only for my news - record folder in the tsconfig |
| 13:56 |
Recnelis |
HardPhuck: Turning off cache would be a bad idea... |
| 13:56 |
Recnelis |
HardPhuck: Typo3 is much faster with cache.. - Why do u wanna turn it off? |
| 13:56 |
Denyerec |
Anyone know the name of that american woman who's famous for weight loss clinics |
| 13:57 |
HardPhuck |
i have a stupid client, that wants to see all the changes immediately |
| 13:57 |
Denyerec |
Jenny Craig! |
| 13:57 |
isolysis |
3 points to Denyerec |
| 13:57 |
HardPhuck |
and apparently IE caches pages for days |
| 13:57 |
Recnelis |
HardPhuck: Why don't u give them Access to "Clear cache" in backend? |
| 13:57 |
Recnelis |
U know the little lightning :) |
| 13:58 |
HardPhuck |
i have done that, but she still reports errors, that is quite unusualy since this is not my first typo3 page |
| 13:58 |
Recnelis |
If ur using 4.2.1 that is... - Normal BE users can get access to the clear cache button.. |
| 13:58 |
Recnelis |
lol |
| 13:58 |
HardPhuck |
i am using 4.2.1 |
| 13:58 |
Recnelis |
Some clients are just a pain.. but yeah.. :) |
| 13:59 |
HardPhuck |
and the insteresting thing is that the page only has 20 subpages or so |
| 13:59 |
HardPhuck |
and a ttnews ext |
| 13:59 |
HardPhuck |
nothing more |
| 13:59 |
HardPhuck |
i have websites with 1500+ subpages and everything works with no problems |
| 14:00 |
m4rtijn |
the changes do appear always directly |
| 14:00 |
m4rtijn |
only not on tt_news |
| 14:00 |
HardPhuck |
well, she publishes mostly on tt news |
| 14:01 |
m4rtijn |
is tt_news on every page? |
| 14:01 |
HardPhuck |
yes, almost |
| 14:02 |
HardPhuck |
this website is for a travel agency, and all travels are handled as tt_news items with manual sorting |
| 14:02 |
HardPhuck |
www.iupotovanja.si |
| 14:02 |
HardPhuck |
ah |
| 14:02 |
HardPhuck |
www.ipotovanja.si |
| 14:03 |
HardPhuck |
the second onw |
| 14:13 |
mikhas |
I'd like to feed php with a typoscript-menu. what is a good way to go about this? |
| 14:45 |
webworker |
hi |
| 14:46 |
webworker |
I'v got a recursive funciton which replaces values in a multidimensional array. The problem is the memory is not freed after the function is ended, but the function does not save any value, and even if I don't save the return value I looks 12k of memory. |
| 14:49 |
ries2 |
webworker: normally you shouldn't worry about that and let the memory manager handle it |
| 14:49 |
m4rtijn |
hmm, I think you might be in the wrong channel webworker |
| 14:49 |
ries2 |
it might need be freed because it might be reserved for feature use |
| 14:49 |
webworker |
m4rtijn: why? it's a typo3 extension I'm talking about |
| 14:50 |
webworker |
ries2: I tried unset and =NULL but it doesn't help and the most important point it should be freed when the function is ended |
| 14:50 |
ries2 |
webworker: well.. may be PHP reserves it for feature use? |
| 14:51 |
ries2 |
or doesn't it get freed when the total script ends? |
| 14:58 |
ries |
Hmmm somebody tries to use my nick nowdays :D |
| 14:58 |
ries |
lucky me I am registered.... hehehehe |
| 15:05 |
webworker |
ries: how do you mean when total script ends? |
| 15:08 |
FloLeBlanc |
ries: hehe |
| 15:08 |
TheRealRies |
:-P |
| 15:30 |
mikhas |
is it possible to take the output of an cobject (for example tmenu or text) and parse it in an extension? |
| 15:30 |
mikhas |
these things are tricky. :-P |
| 15:30 |
mikhas |
spent the whole afternoon to find a way to create a menu using typoscript and parse the output afterwards. |
| 15:30 |
mikhas |
crap. |
| 15:33 |
ries |
mikhas: yes that is possible... |
| 15:34 |
ries |
just execute the object and you get the rsult back as a string |
| 15:35 |
mikhas |
ries: do you know anywhere this is done so I can learn from the code? |
| 15:38 |
ries |
mikhas: there are other acamples but this is how I did it : http://typo3.org/extensions/repository/view/rvt_tsobjtags/0.2.0/info/pi1%252Fclass.tx_rvttsobjtags_pi1.php/ |
| 15:41 |
mikhas |
hmm.. ok. |
| 15:55 |
mikhas |
thanks for your help. |
| 15:56 |
mikhas |
have to go,buy |
| 15:56 |
mikhas |
bye! =) |
| 16:21 |
GeorgesAbitbol |
Hi all. I am new to templavoila. I succeed to map and create columns for editors to enter content ... But I wanted to create a input just for a link. So i map an element and set it to link element. But in page mode, it is impossible to enter this link. Could I do thaht and how ? Thanks in advance |
| 16:30 |
conic |
how can i set a page to "hide in menu" via TS? |
| 16:31 |
conic |
is it ".hide = 1" ? |
| 16:35 |
Dynamike |
hi @all |
| 16:37 |
Dynamike |
i have a problem with configuring a hook in tt_products |
| 16:38 |
Dynamike |
i placed my code in class.tx_ttproducts_tracking |
| 16:38 |
Dynamike |
in this function getTrackingInformation(...) |
| 16:38 |
Dynamike |
$hookObjectsArr = array(); |
| 16:38 |
Dynamike |
if (is_array ($TYPO3_CONF_VARS['EXTCONF']['tt_products']['StatusCodeClass'])) { |
| 16:38 |
Dynamike |
foreach ($TYPO3_CONF_VARS['EXTCONF']['tt_products']['getTrackingInformationClass']['StatusCodeClass'] as $classRef) { |
| 16:38 |
Dynamike |
$hookObjectsArr[] = &t3lib_div::getUserObj ($classRef); |
| 16:38 |
Dynamike |
} |
| 16:38 |
Dynamike |
echo "WORKING"; |
| 16:39 |
Dynamike |
} |
| 16:39 |
Dynamike |
else |
| 16:39 |
Dynamike |
{ |
| 16:39 |
Dynamike |
echo "NOT WORKING"; |
| 16:39 |
Dynamike |
} |
| 16:39 |
ckoehler |
aaah crazy pastes |
| 16:39 |
Dynamike |
oops sorry |
| 16:39 |
Dynamike |
i paste it at phpfi |
| 16:40 |
Dynamike |
http://phpfi.com/334616 |
| 16:41 |
Dynamike |
i used these echo statements to look if he recognizes the $TYPO3_CONF_VARS Variable |
| 16:42 |
Dynamike |
so everytime i open the tracking page it shows me NOT WORKING on top of it |
| 16:43 |
Dynamike |
i created an extension that will catch the hook its called user_myextension |
| 16:43 |
Dynamike |
and i placed a class named class.tx_myextension_ttprodtrack in that extensions hooks-dir |
| 16:44 |
Dynamike |
my ext_localconf.php in user_myextension looks like this: |
| 16:45 |
m4rtijn |
Dynamike - dont post code here.. use phpfi.com |
| 16:45 |
m4rtijn |
ah, just read it ;) |
| 16:45 |
m4rtijn |
kk |
| 16:45 |
Dynamike |
yeah saw that already, too late, sorry! |
| 16:46 |
Dynamike |
ok, my ext_localconf.php |
| 16:46 |
Dynamike |
http://phpfi.com/334618 |
| 16:49 |
Dynamike |
and i followed the tutorial from robert lemke, just transferred it to extensions |
| 16:49 |
Dynamike |
http://typo3.org/development/articles/how-to-use-existing-hooks/ |
| 16:55 |
Dynamike |
lol |
| 16:55 |
Dynamike |
i actually found a solution |
| 16:55 |
Dynamike |
but it didnt make sense for me |
| 16:56 |
Dynamike |
in my ext_localconf.php i defined... |
| 16:57 |
Dynamike |
$GLOBALS ['TYPO3_CONF_VARS']['EXTCONF']['tt_products']['StatusCodeClass'] |
| 16:57 |
Dynamike |
and in class.tx_ttproducts_tracking is used |
| 16:57 |
Dynamike |
$TYPO3_CONF_VARS['EXTCONF']['tt_products']['StatusCodeClass'] |
| 16:58 |
Dynamike |
i used* |
| 16:58 |
Dynamike |
now i changed the part in class.tx_ttproducts_tracking to |
| 16:58 |
Dynamike |
$GLOBALS ['TYPO3_CONF_VARS']['EXTCONF']['tt_products']['StatusCodeClass'] |
| 16:58 |
Dynamike |
and now it works :D |
| 16:59 |
Dynamike |
strange |
| 16:59 |
Dynamike |
ok i think i'll figure this out soon, but thx anyway!!! |
| 17:00 |
Dynamike |
bye ;) |
| 17:00 |
m4rtijn |
Dynamike - guess that ppl that are into extension progging are not on atm. |
| 17:01 |
m4rtijn |
Dynamike - if u dont make it come again tomorow or later |
| 17:01 |
Dynamike |
alright m4rtijn, thx ;) |
| 17:56 |
Phlogi |
gg |
| 18:26 |
Faulix |
hallo |
| 18:27 |
Faulix |
I use tt_news and on the list-sites the texted is croped, and that is good, but is it possible to crop only complete sentence, not anywhere in the sentence? |
| 18:27 |
maholtz|WORK |
change crop to 100|...|1 |
| 18:47 |
Faulix |
but than it crops at a space, i will complete sentence, that means a . or something like that |
| 19:03 |
posix^ |
Is there a typo3 extension to archive mail and display it? |
| 19:04 |
posix^ |
that's probably not very clear.. |
| 23:37 |
scubes13 |
is there a location from which I can download previous versions of extensions? |
| 23:38 |
scubes13 |
I need to get realurl 1.1.4 - as it is the last version that worked with mysql 3.2.x according to a post |
| 23:57 |
dinsdale07 |
you can get it from the extension manager directly or I think you can modify the URL as well |
| 23:58 |
dinsdale07 |
In Extension Manager when you import an extension you get a selection dropdown menu with the Versions in TER |
| 23:59 |
dinsdale07 |
the extension has to be deleted though ... |