| 00:00 |
pinkmonkey |
*knock knock knock* |
| 00:00 |
voidus |
we here, really |
| 00:01 |
voidus |
do you see us? |
| 00:05 |
pinkmonkey |
lol voidus |
| 00:05 |
pinkmonkey |
voidus..it's me typo3newbee |
| 00:05 |
voidus |
do you see white rabbit? |
| 00:05 |
voidus |
ah.. |
| 00:05 |
pinkmonkey |
we chatted last night |
| 00:06 |
pinkmonkey |
i need your help again |
| 00:06 |
voidus |
hm... didn't you degrade fro newbie to monkey? :) |
| 00:06 |
pinkmonkey |
i didn't see the white rabbit yet |
| 00:06 |
pinkmonkey |
if i see it..i'll follow it |
| 00:06 |
voidus |
ok |
| 00:06 |
pinkmonkey |
hahaha |
| 00:06 |
pinkmonkey |
i had to change the nick |
| 00:06 |
pinkmonkey |
cause someone in here ask me to do that |
| 00:07 |
voidus |
ok, i saw your question about loginbox |
| 00:07 |
voidus |
and asked if you use TV or not |
| 00:07 |
typo3newbee |
i'm sorry i didn't see it |
| 00:07 |
typo3newbee |
i use TV |
| 00:08 |
voidus |
ok. so you need to map an area where you need to insert loginbox |
| 00:08 |
voidus |
and then write some TS like lib.mylogin < plugin.tx_newloginbox_pi1 |
| 00:10 |
typo3newbee |
ok..i clicked on web --> tv page |
| 00:10 |
typo3newbee |
i can c the main content area and right teaser |
| 00:11 |
typo3newbee |
but i can't see the left column |
| 00:11 |
voidus |
no.. mapping is done in web>templavoila |
| 00:14 |
typo3newbee |
so do i have to do a mapping? |
| 00:14 |
Denyerek |
NOES |
| 00:14 |
Denyerek |
He's changed it back! |
| 00:15 |
typo3newbee |
hahahaha |
| 00:16 |
voidus |
what? |
| 00:16 |
num000 |
hi there |
| 00:16 |
typo3newbee |
sorry voidus..i was not laughing to you |
| 00:17 |
voidus |
my what is for denyer :) |
| 00:18 |
typo3newbee |
Denyerec was the one who ask me to change the nickname |
| 00:19 |
voidus |
ah :) |
| 00:19 |
voidus |
Denyerec: why? |
| 00:19 |
Denyerec |
Well |
| 00:19 |
Denyerec |
he won't be a newbie forever. |
| 00:19 |
Denyerec |
Then his name will no longer be relevant. |
| 00:19 |
Denyerec |
SO he may as well get over that now :) |
| 00:20 |
typo3newbee |
yeah maybe in few months |
| 00:20 |
typo3newbee |
typo3 is totally new for me |
| 00:20 |
typo3newbee |
i use to work on joomla |
| 00:20 |
fummeltrine |
did somebody ever hacked special=language support into JSMENU? we are fiddling with some weird caching problems in sr_language_menu and the drop-down and decided to solve the language-menu in ts only, but our selector box solution with hmenu in ts is quite ugly ... |
| 00:21 |
voidus |
fummeltrine: there is really a free place for extension that should replace sr_language_menu. i use languageMenu.php from tt_news (a bit hacked) |
| 00:22 |
fummeltrine |
languageMenu.php is not better i think |
| 00:22 |
voidus |
typo3newbee: really. one day you'll decide to change the nickname and all ppl will not recognize you :) |
| 00:22 |
fummeltrine |
i would like to just use ts for any menu, also lang-menus |
| 00:23 |
typo3newbee |
voidus: ok..i clicked on "templavoila" --> "/mywebsite/Storage Folder" |
| 00:23 |
fummeltrine |
but unfortunatly jsmenu does not support special=language, so we finally came to this: ... mom ,, |
| 00:23 |
typo3newbee |
shall i change my nick? |
| 00:24 |
voidus |
fummeltrine: isn't it possible to make a JSMENU for ordinal TMENU using proper wraps? |
| 00:25 |
voidus |
give_me_a_nickna: hehe.. summarize your first and last name |
| 00:25 |
voidus |
a lot of ppl used that way ) |
| 00:25 |
fummeltrine |
http://phpfi.com/268357 this is our solution so far ... |
| 00:25 |
voidus |
fummeltrine: yes, that's what i mean |
| 00:26 |
fummeltrine |
yeah, tmenu with some tricks in fact, yes |
| 00:27 |
fummeltrine |
but that is quite ugly, a generic solution would be much better. suggestions? |
| 00:28 |
brad2007 |
ok-typo3newbee aka pinkmonkey here |
| 00:29 |
voidus |
fummeltrine: i think, it's normal TS. not more ugly than usual. |
| 00:29 |
fummeltrine |
^^ |
| 00:31 |
ries |
Denyerec: !!! |
| 00:31 |
ries |
got 5 minutes for me? |
| 00:31 |
Denyerec |
sure pm |
| 00:31 |
brad2007 |
voidus: ok..i clicked on "templavoila" --> "/mywebsite/Storage Folder" |
| 00:31 |
brad2007 |
what next? |
| 00:32 |
voidus |
brad2007: click on TO and select modify DS/TO |
| 00:32 |
Denyerec |
beep ries pm |
| 00:33 |
ries |
funny : http://www.youtube.com/watch?v=_Yw7oX5CXhk&mode=related&search= |
| 00:34 |
brad2007 |
voidus: i can't see "modify DS/To" |
| 00:34 |
fummeltrine |
k, so we will live with this. at least the caching problem disappered. we had a very confusing effect if a) clearCacheAtMidnight=1, b) some second extension on a page c) the crawler did the new cache of the page at 01:00 -> then "sometimes" the language_menu disappered on the page. |
| 00:35 |
fummeltrine |
after some investigation we decided not to investigate the caching mechanism any further .. debugging in this area is just disgusting .. |
| 00:37 |
ries |
this is funny to : http://www.youtube.com/watch?v=GuMMfgWhm3g&mode=related&search= |
| 00:40 |
voidus |
fummeltrine: yes, i completely agree. T3 caching is not transparent and very hard to debug |
| 00:40 |
voidus |
brad2007: hm... what you see? |
| 00:40 |
brad2007 |
ries: thx |
| 00:40 |
brad2007 |
ries: it's really funny |
| 00:41 |
brad2007 |
voidus: i click on "TO" but i couldn't see any select with the name "modify DS/TO" |
| 00:41 |
voidus |
maybe, you need to click on DS? :) |
| 00:44 |
fummeltrine |
voidus: yes, but every site really depends on a working cache. otherwise parsetimes are not acceptable. especially under load. disabled t3-cache is no option. and then with a "really" working crawler creating the cache for a page is no trivial task |
| 00:44 |
brad2007 |
same listing..."edit, new, info,..." |
| 00:45 |
brad2007 |
but i can't find modify DS/TO |
| 00:45 |
brad2007 |
do you mean "edit"? |
| 00:45 |
voidus |
no. did you read FTB? |
| 00:45 |
fummeltrine |
there are just too many dependencies to discover |
| 00:46 |
voidus |
fummeltrine: yes... |
| 00:46 |
brad2007 |
what's FTB? |
| 00:46 |
brad2007 |
voidus: what's FTB? |
| 00:46 |
voidus |
brad2007: futuristic template building |
| 00:46 |
brad2007 |
not yet |
| 00:46 |
voidus |
manual about how to use templavoila |
| 00:46 |
voidus |
i think it's time to :) |
| 00:47 |
brad2007 |
i see.. |
| 00:47 |
brad2007 |
well than i have to read it |
| 00:49 |
fummeltrine |
brad2007, before you start: its worth it! tv is really great |
| 00:49 |
brad2007 |
you know the site which i'm working on was built by a company..but i have to add some more extensions like guestbook, forum, frontend login,..this is pretty tough...i thoguht it would be as using joomla |
| 00:49 |
brad2007 |
be as easy as joomla |
| 00:50 |
brad2007 |
but i was wrong |
| 00:51 |
brad2007 |
:( |
| 00:53 |
brad2007 |
fummeltrine: i will do that for sure..actually i bought this typo3 book |
| 00:53 |
brad2007 |
i'm still not done with reading |
| 00:53 |
fummeltrine |
most extension are not too hard to add if you understood the t3 concept of doing things |
| 00:54 |
brad2007 |
the best way for me to learn something was till yet...learning by doing |
| 00:55 |
brad2007 |
you know if you use joomla...you had to install the module like login module..and select the position like the left column |
| 00:55 |
fummeltrine |
yes. but there is a lot of reading in t3. there are many documents, tv is one of them |
| 00:55 |
brad2007 |
publish it and you are done |
| 00:55 |
brad2007 |
but typo3 seems to be more complicated..but it's fun |
| 00:56 |
brad2007 |
i realised that if i want to use an extension..i hace to load it, than install it... |
| 00:56 |
brad2007 |
after that i have to create a new pagecontent |
| 00:57 |
brad2007 |
and than paste the record |
| 00:57 |
fummeltrine |
well its often also simple if you want that plugin in the content area of your t3-page. but you have to understand the mapping mechanism of tv and basics of ts if you want eg. a login as a "visible on oll pages element". |
| 00:58 |
brad2007 |
can you answer me this last Q...what does mapping exactly do? |
| 00:58 |
Denyerec |
It sorta lets you direct content to the mapping target |
| 00:58 |
Denyerec |
so if you map to a div called "geoff" |
| 00:58 |
fummeltrine |
1. you have a html template |
| 00:58 |
Denyerec |
then you can send content to Geoff now |
| 00:59 |
brad2007 |
geoff? |
| 00:59 |
fummeltrine |
2. you tell t3 to substitute some parts of it with - a menu, a content area, a copyright info |
| 01:00 |
brad2007 |
ok..and than' |
| 01:01 |
fummeltrine |
so you have a) a definition of elements you want (eg. menus, content and stuff) and b) one ore more emplates that "maps" those elements to your html |
| 01:02 |
fummeltrine |
so you create a map between your layout (multple layouts if you want), and your dynamic elements that will be handled with t3 |
| 01:03 |
brad2007 |
ok..i think i got you |
| 01:04 |
fummeltrine |
try to read the ftb. sleep. read it again and try it. its really nice. |
| 01:04 |
brad2007 |
yeah i'll read it.. |
| 01:04 |
brad2007 |
do u have the direct link for that? |
| 01:04 |
brad2007 |
is there any video tutorial? |
| 01:05 |
fummeltrine |
mom |
| 01:05 |
fummeltrine |
http://typo3.org/documentation/document-library/tutorials/doc_tut_ftb1/1.0.1/view/ |
| 01:06 |
brad2007 |
error |
| 01:07 |
fummeltrine |
a podcast featuring tv: http://castor.t3o.punkt.de/files/podkast_julestue3-build-website.m4v |
| 01:07 |
brad2007 |
great |
| 01:07 |
brad2007 |
thank you so much fummeltrine |
| 01:08 |
fummeltrine |
the first link works for me. otherwise go to typo3.org -> extensions -> search tempalvoila -> manual links |
| 01:09 |
brad2007 |
ok fummeltrine..i found it now |
| 01:09 |
brad2007 |
is there any website with video tutorials? |
| 01:09 |
fummeltrine |
be warned, the learning curve is not very flat. take some time, go not to fast forward. go step by step |
| 01:09 |
brad2007 |
ok..i will |
| 01:09 |
fummeltrine |
yeah, you should check http://typo3.org/podcast/ |
| 01:10 |
fummeltrine |
some of them are very interesting and make fun |
| 01:11 |
brad2007 |
i'll check the podcasts too |
| 01:11 |
brad2007 |
once again i want to thank you and voidus |
| 01:11 |
brad2007 |
you guys rock |
| 01:11 |
fummeltrine |
there are tons of info worth to learn :) |
| 01:12 |
brad2007 |
now i better head to bed |
| 01:12 |
brad2007 |
good night guys |
| 01:13 |
fummeltrine |
gn8 |
| 01:15 |
Denyerec |
At least he has a real name now |
| 01:17 |
fummeltrine |
^^ |
| 01:29 |
Denyerec |
wow typo3.org changed |
| 01:29 |
Denyerec |
whoever did it needs to read up on typography |
| 01:29 |
Denyerec |
:S |
| 01:32 |
voidus |
Denyerec: don't you think [read more >>>] is ugly? |
| 01:32 |
Denyerec |
Yes, it is. |
| 01:32 |
Denyerec |
The orange in that volume is too heavy, the header font being the same size as the article font is disrupting |
| 01:33 |
Denyerec |
the read-more needs to be right aligned and not underlined or in [ ] |
| 01:33 |
Denyerec |
I mean |
| 01:33 |
Denyerec |
they should have used typo orange |
| 01:33 |
Denyerec |
Oooh oooh |
| 01:33 |
Denyerec |
someone is making changes in realtime |
| 01:33 |
Denyerec |
right now |
| 01:34 |
Denyerec |
cos the shade of orange just changed to the right one |
| 01:34 |
voidus |
yeah.. why they don't use workspaces? |
| 01:34 |
Denyerec |
Hehe |
| 01:34 |
Denyerec |
for CSS changes? |
| 01:34 |
Denyerec |
I'd love to see that. |
| 01:35 |
Denyerec |
wish there was a global RSS feed too |
| 01:36 |
fummeltrine |
typo3.org works in fact very good for me. its quite well arranged and beside a not working search engine (google solves this) the site is functional usable. |
| 01:36 |
fummeltrine |
and there _are_ rss feeds |
| 01:37 |
fummeltrine |
there is a special rss-feed gathering page somwhere. at least i get updated extensions and the blog thingies with rss |
| 01:38 |
voidus |
Denyerec: http://www.artlebedev.com/mandership/98/ |
| 01:38 |
voidus |
^^ that link is about "read more" is evil |
| 01:39 |
Denyerec |
? |
| 01:39 |
fummeltrine |
and there is a task force leaded by matthias schreiber working on a "2.0" version of .org. i think they are still looking for persons helping out .. |
| 01:40 |
voidus |
Denyerec: read :) |
| 01:40 |
Denyerec |
I see :D |
| 01:40 |
Denyerec |
I was helping out with the 5.0 dev sites |
| 01:40 |
Denyerec |
but the SebKur just vanished |
| 01:40 |
Denyerec |
and so I had no more tasks. |
| 01:41 |
Denyerec |
and because mailling lists are hopeless, I fell out of contact |
| 01:41 |
fummeltrine |
i occassionaly look into 5.0. what i have seen is extremly kewl. |
| 01:42 |
fummeltrine |
i have digged into the component manager and the aop paradigm |
| 01:42 |
voidus |
hm.. 5.0 will out not very soon, i think :( |
| 01:43 |
voidus |
and even when i will out, all extensions should be rewritten |
| 01:43 |
voidus |
*it |
| 01:43 |
Denyerec |
Indeed |
| 01:43 |
fummeltrine |
robert seems to be really smart with those things. i finally decided to get rid of my oo-prejudices and am currently working on getting more knowledge on all of that. |
| 01:43 |
Denyerec |
I still don't get APO |
| 01:43 |
Denyerec |
AOP |
| 01:44 |
voidus |
what do you think, what time it will take to rewrite Templavoila in 5.0 style? |
| 01:44 |
fummeltrine |
this is in fact a peace of code that parses and influences your php-code :) |
| 01:44 |
Denyerec |
voidus - perhaps they will not need to, if the TV paradigm is made to be part of 5.0 |
| 01:44 |
Denyerec |
:) |
| 01:44 |
voidus |
fummeltrine: php is a terrible language... AOP in php is really hack |
| 01:45 |
Denyerec |
Though TV really is a monster. |
| 01:45 |
fummeltrine |
the question is for me not "how long will a release take", but the concept is interesting |
| 01:45 |
Denyerec |
voidus - do you think PHP5, and even PHP 6 are so terrible ? |
| 01:45 |
voidus |
yes |
| 01:45 |
Denyerec |
PHP4 is without doubt a *complete* mess |
| 01:45 |
Denyerec |
but are 5 and 6 as bad? |
| 01:45 |
voidus |
yes, they too |
| 01:45 |
Denyerec |
:( |
| 01:45 |
voidus |
python *now* is more beatiful than php6 |
| 01:46 |
fummeltrine |
no php flame pls. this is senseless |
| 01:46 |
Denyerec |
What would you write Typo 5.0 in then? |
| 01:46 |
Denyerec |
Just out of interest. |
| 01:46 |
Denyerec |
Python ? |
| 01:46 |
voidus |
yes... |
| 01:46 |
voidus |
don't you know such snake? :) |
| 01:46 |
Denyerec |
No :) |
| 01:46 |
Denyerec |
If you love Python so much |
| 01:46 |
fummeltrine |
php5 did a very lot with oo and many concepts of oo are now implemented. |
| 01:46 |
Denyerec |
then why do you not develop moochy or whatever it's called |
| 01:47 |
Denyerec |
Plone |
| 01:47 |
voidus |
no.. plone is ugly |
| 01:47 |
Denyerec |
So Python is not so beutiful ;) |
| 01:47 |
Denyerec |
I think we see here, that the product is greater than the tool. |
| 01:47 |
voidus |
typo3 is beatiful thing in ugly language, plone is an ugly thing on beatiful lang |
| 01:47 |
fummeltrine |
so why not use php, if even a java-friend of me says: "well after looking into php5 i must say all really usefull concepts are in there" |
| 01:48 |
Denyerec |
one thing I read a year ago on the Typo5 list was that they wanted to stay with PHP because the community was PHP-centric |
| 01:48 |
fummeltrine |
"go on and write some kews framework in php". this is exactly what 5.0 does |
| 01:48 |
Denyerec |
so moving to Java or Python would alienate a LOT of core developers |
| 01:48 |
Denyerec |
brb |
| 01:51 |
fummeltrine |
why not use php? i dont get it. it is all just about concepts of oo. php now has most of them implemented in a stable way. |
| 01:51 |
voidus |
why i can't modify object in the runtime? delete some functions or add new?.. |
| 01:52 |
voidus |
why echo is still possible?.. |
| 01:53 |
voidus |
and all functions in the one global namespace |
| 01:53 |
voidus |
with ugly prefixes |
| 01:53 |
fummeltrine |
oehm you can analyze a class with reflection and fiddle with it. do we need it at runtime for a scriptinglanguage? |
| 01:55 |
fummeltrine |
but your 2. and 3. argument is about bad coding style and syntax .. who cares about syntaxes? |
| 01:55 |
voidus |
maybe not. php is enough oo. but still far not perfect |
| 01:55 |
fummeltrine |
that is surely true |
| 01:56 |
voidus |
and php have no debugger within... maybe i am stupid, but i can't use debugger in the any IDE... |
| 01:56 |
fummeltrine |
? |
| 01:57 |
voidus |
i can't make it working |
| 01:57 |
fummeltrine |
i have a debugger for php in my fsck vim .. |
| 01:57 |
voidus |
local debugger? or on server? |
| 01:58 |
fummeltrine |
serverside, xdebug and some veird vi script -> breakpoint, vardumps, whatever you want |
| 01:59 |
voidus |
hm... maybe. |
| 01:59 |
voidus |
i don't use vim... |
| 01:59 |
fummeltrine |
i dont like those gui thingies :) maybe i should get comfortable with it when i have some spare time. but there are several ides that will happily debug php afaik |
| 02:00 |
Denyerec |
voidus - the Zend debugger is really quite good. |
| 02:01 |
Denyerec |
Even the one in Eclipse is OK |
| 02:01 |
Denyerec |
(Debugger) |
| 02:01 |
Denyerec |
Though I agree about the namespace thing. |
| 02:01 |
Denyerec |
It damages 3rd party library authoring |
| 02:03 |
fummeltrine |
yeah, 5.0 has some strict naming schemes to get rid of namespace problems |
| 02:11 |
voidus |
if we introduce in php namespaces, add some runtime object manipulation, add console, remove echo, <? and curly braces, we'll get python :) |
| 02:12 |
Denyerec |
what is runtime object manipulation ? |
| 02:12 |
Denyerec |
Is that the same as switching function pointers in C ? |
| 02:13 |
Denyerec |
EG changing an object method after instantiation ? |
| 02:13 |
voidus |
yes... |
| 02:13 |
Denyerec |
I don't thinkI've ever written a peice of code that has needed that :) |
| 02:14 |
Denyerec |
I also still do not understand AOP :) |
| 02:15 |
voidus |
and what i love in python: returnanobject().callmethod()[0].replace('x','y') |
| 02:15 |
voidus |
less local variables |
| 02:15 |
Denyerec |
w |
| 02:15 |
Denyerec |
tf |
| 02:15 |
Denyerec |
does that do |
| 02:15 |
fummeltrine |
uh .. i once used function pointers in c. and it was a smart solution and even did make sense at this point. i then finally got pointer arithmetics. but it was during my studies .. so .. |
| 02:16 |
Denyerec |
C makes perfect sense. |
| 02:16 |
Denyerec |
Everything else is complicated :( |
| 02:16 |
fummeltrine |
^^ |
| 02:16 |
Denyerec |
So simple things like embedded code I like. |
| 02:16 |
voidus |
in php that would be: $a = returnanobject(); $b= $a->callmethod(); $c=$b[0]; $d = str_replace($c,'x','y'); |
| 02:16 |
Denyerec |
COmplicated things like API's and objecty stuff... gah |
| 02:17 |
fummeltrine |
k, it was a realtime project in this case for me ... |
| 02:17 |
Denyerec |
AHHH |
| 02:17 |
Denyerec |
I see voidus |
| 02:17 |
Denyerec |
youre essentially chaning up the calls |
| 02:17 |
Denyerec |
The python stack must be about the size of Greece. |
| 02:20 |
voidus |
of Greece? |
| 02:20 |
voidus |
i don't understand the comparison |
| 02:21 |
fummeltrine |
Denyerec, think of the aop framework as a wrap in ts ^^. you can wrap any method of your component with some other code, if your aop-regex matches the method-name |
| 02:22 |
Denyerec |
voidus - I am suggesting it's very large. |
| 02:22 |
Denyerec |
fummeltrine can you give me some example ? |
| 02:23 |
voidus |
Denyerec: fuction a(){ echo 'a'} |
| 02:24 |
fummeltrine |
you have a method "deleteFoo". you write a aop that matches the delete part of the "deleteFoo" method name and then say that only logged in users in group bar are allowed to execute this method |
| 02:24 |
voidus |
Denyerec: and then function on_before_a(){ echo 'before a'} |
| 02:25 |
fummeltrine |
or: you want to add a debug to _all_ method of your extension class: you write a aop match for "myext->*" and say "log all my params to some file" |
| 02:26 |
fummeltrine |
so you have a generic way to hack any of your methods. one aop to match all method you want to hack. |
| 02:29 |
fummeltrine |
if your naming scheme is consequent you could eg apply your complete security and checking code to aop, generic, without any possible workarounds for the code |
| 02:30 |
fummeltrine |
read the 5.0 docu of aop again. there are some nice examples. i think this concept is at least very interesting |
| 02:31 |
Denyerec |
hmm |
| 02:31 |
Denyerec |
so voidus |
| 02:31 |
Denyerec |
Which bit is on_before_a is AOP ? |
| 02:31 |
Denyerec |
looks like a function call to me |
| 02:34 |
fummeltrine |
well, the aop thingie happens before instantiating your class .. this is somehow "fake runtime", i would say. so you have the complete wraped code before executing it |
| 02:35 |
Denyerec |
Ah |
| 02:35 |
Denyerec |
that makes a little more sense. |
| 02:36 |
fummeltrine |
because of this the aop-framework will have to implement a caching for the newly fiddled actual php. as far as i have seen it doesnt do this at the moment, but it will in the future |
| 02:38 |
Denyerec |
So what you're saying |
| 02:38 |
Denyerec |
is you have a bunch of methods |
| 02:38 |
Denyerec |
and you have a framework that can "find and replace" on those methods |
| 02:38 |
Denyerec |
to insert bits of code here and there |
| 02:39 |
fummeltrine |
another example: you have a project with several devs working on the code. you, as the genious leader, fix the naming scheme and tell the devs to cut there head of if they dont respect it. then you apply your security mechs (quoting of any sql eg). your devs must no longer think about this, as long as they name their methods accordingly |
| 02:40 |
fummeltrine |
Denyerec, yes. all really relevant code moves to aop and your devs concentrate on functionality and not security |
| 02:40 |
Denyerec |
because some AOP overwatch type thing looks for all functions with "write" in their name, and applied the check_if_allowed_to_write() method to them ? |
| 02:40 |
fummeltrine |
exactly |
| 02:41 |
Denyerec |
I think I'm beginning to see how it fits. |
| 02:41 |
Denyerec |
I was unaware of the AOP-preprocessor side of things before |
| 02:41 |
Denyerec |
which made a lot of things very confusing. |
| 02:41 |
Denyerec |
Now they're starting to make sens. |
| 02:41 |
fummeltrine |
this took me 2 or 3 readings to get the concept. read the doc again in 5.0. it makes sense |
| 02:42 |
Denyerec |
It might now :) |
| 02:45 |
fummeltrine |
i hope my explanations where not totally wrong ;) |
| 02:48 |
Denyerec |
me too |
| 02:48 |
Denyerec |
:D |
| 02:56 |
fummeltrine |
one of the great things i finally realized when looking and thinking about 5.0 was, that i really want a kewl framework. the component manager is extremly kewl "i want a logger class", and you get _one_. you want to hack the actual code and do this with aop -> you implement a new auth service (eg against ldap) and just say at _one_ point that _all_ your codes that wants to autherize has to use this. your damn-kewl-new-auth-class just has t |
| 02:56 |
fummeltrine |
o implement the generic auth-inerface. php and the component manager will assure it does, otherwise your auth-class wont be used |
| 02:57 |
Denyerec |
Hmm |
| 02:58 |
Denyerec |
it's "cool" by the way ;) |
| 02:58 |
fummeltrine |
this is what 5.0 is all about at the moment. it creates code to help you to code and reuse. this is by far the most advanced framework i have seen. i bet its the best upcoming solution at least in php. |
| 03:01 |
fummeltrine |
another thing that is nice is the "test-driven" thingie. all about unit tests. i just started a new ext and tried to use this. i like it. it makes my code better (i think). 5.0 has tests for all and everything. all standalone. this is absolutly great. if we have this in the hole framework, we will instantly see if some new code breaks anything. |
| 03:02 |
fummeltrine |
so. enough about my 5.0 enthusiasm. i really like the concepts. lets see what comes out of this. |
| 03:10 |
Denyerec |
Hehehe |
| 03:10 |
Denyerec |
in at least 18 months |
| 03:12 |
fummeltrine |
whenever, yes |
| 03:15 |
fummeltrine |
ts is already implemented ;) .. i am waiting for details on the content repository. this will also be very interesting to understand the main concepts. i did not understand a word when i tried to dig into the specs. this might just have been to abstract for me. i am curious what happens there. |
| 03:18 |
Denyerec |
it feels good to be on the starting end of it. |
| 03:18 |
Denyerec |
because I think there will be a lot to understand |
| 03:19 |
fummeltrine |
yes, for sure. at the moment the code base is relativly small. you have a chance to get into it. this is quite thrilling |
| 03:22 |
fummeltrine |
enough. i need to take a nap. gn8 Denyerec. nice chat :) |
| 03:22 |
Denyerec |
gnight fummel |
| 03:33 |
num000 |
hi Denyerec |
| 03:33 |
Denyerec |
hey num |
| 03:34 |
voidus |
i am here... was afk |
| 03:34 |
num000 |
hi voidus |
| 03:34 |
num000 |
;) |
| 03:34 |
voidus |
Denyerec: interesting chat |
| 03:34 |
Denyerec |
Yes, I have some more insight to go on. |
| 03:35 |
Denyerec |
I will be re-reading the Typo5 docs sometime soon I think |
| 03:35 |
voidus |
btw, do you know, that lib/div devs decide to rename it into "cool" ?:) |
| 03:36 |
Denyerec |
? |
| 03:36 |
Denyerec |
They actually called it that ? |
| 03:36 |
Denyerec |
the "Cool" framework ? |
| 03:36 |
voidus |
yes :) |
| 03:36 |
Denyerec |
Oh man. |
| 03:36 |
Denyerec |
I swear |
| 03:36 |
voidus |
tx_cool :) |
| 03:36 |
Denyerec |
anyone who isn't English should be banned from trying to be funny. |
| 03:37 |
Denyerec |
Because it just doesn't work. |
| 03:37 |
Denyerec |
Except maybe the Japanse game show writers. |
| 03:37 |
Denyerec |
;) |
| 03:38 |
voidus |
Cool = Cooperated object library |
| 03:38 |
voidus |
as Hintz say |
| 03:38 |
Denyerec |
haha |
| 03:38 |
Denyerec |
Interesting work around;) |
| 03:41 |
voidus |
Denyerec: can i ask what irc client do you use? :) |
| 03:44 |
Denyerec |
mIRC |
| 03:45 |
voidus |
heh.. quite unexpected |
| 03:45 |
Denyerec |
How so / |
| 03:46 |
Denyerec |
I probably use it because it was the one I used first, 13 or so years ago. |
| 03:46 |
voidus |
i thought mIRC is used mostly in Eastern Europe |
| 03:47 |
Denyerec |
Well, then, I have no idea what people in the West use |
| 03:47 |
Denyerec |
Comrade |
| 03:47 |
Denyerec |
;) |
| 03:47 |
voidus |
hm.. BitchX, XChat, dunno :) |
| 03:48 |
voidus |
stop |
| 03:49 |
voidus |
13 years? |
| 03:49 |
voidus |
how old you was? |
| 03:50 |
voidus |
2007-13 = 1994, windows 3.1 |
| 03:50 |
Denyerec |
"how old are you" |
| 03:50 |
Denyerec |
Old enough for whatever you're thinking about ;) |
| 03:50 |
voidus |
mIRC created in 1995 |
| 03:50 |
voidus |
you lie :) |
| 03:50 |
Denyerec |
so my date's aren't so good |
| 03:51 |
Denyerec |
I was close :) |
| 03:51 |
Denyerec |
My first exposure to the "internet" was through a few BBS systems |
| 03:51 |
Denyerec |
then Windows 3.1 at school |
| 03:51 |
Denyerec |
then Windows 95 at college |
| 03:52 |
voidus |
so... you want to say you connected to BBS before school? :) |
| 03:55 |
Denyerec |
Before college ae |
| 03:55 |
Denyerec |
*aye |
| 03:56 |
Denyerec |
Ok Comrade Voidus, Ive got to sleep |
| 03:56 |
Denyerec |
and I think so should you :) |
| 03:56 |
voidus |
good night :) |
| 03:56 |
voidus |
i'll go.. |
| 04:47 |
num000 |
voidus gone? |
| 04:47 |
num000 |
Denyerec gone? |
| 04:55 |
ries |
num000: They are usually sleeping at this time |
| 04:59 |
num000 |
ries, well, not always, also they are just gone |
| 04:59 |
num000 |
where are you from ries? |
| 05:02 |
ries |
I am from Ecuador |
| 05:02 |
ries |
so it's still 10PM here |
| 05:02 |
num000 |
cool |
| 05:03 |
ries |
Den is often late.. Voidus to.... both great guys |
| 05:03 |
num000 |
thats right |
| 05:03 |
num000 |
very helpful |
| 05:03 |
num000 |
but you aswell |
| 05:04 |
ries |
I am unfortunatly not that active teh last couple of months |
| 05:04 |
ries |
just hanging out here |
| 05:05 |
num000 |
are you an active typo3 user? |
| 05:21 |
ries |
num000: fairly... |
| 05:23 |
num000 |
ries do you know tt_news? |
| 05:23 |
ries |
num000: don't wanne know :D |
| 05:24 |
ries |
num000: I don't make to many sites... |
| 05:48 |
num000 |
i've a problem with tt_news, i'm getting an error on the page it should be displayed as LIST. it says that it has a tt_news configuration error and no defaultCode value is given although i've given it in ts |
| 05:48 |
num000 |
has anyone got an idea? |
| 06:56 |
d|g |
hi all |
| 07:10 |
tsrepadmin |
good morning #typo3 !!! |
| 07:11 |
gerards |
good morning d|g tsrepadmin . |
| 07:21 |
num000 |
good morning tsrepadmin gerards |
| 07:21 |
gerards |
its afternoon where I am. |
| 07:21 |
gerards |
:) |
| 07:24 |
d|g |
gerards hi =) |
| 09:45 |
bauschan |
hi there |
| 10:38 |
Fanty |
got a simple little problem with USER_INT - http://phpfi.com/268391 |
| 10:47 |
Fanty |
noone at all awake? |
| 11:03 |
kaktuspalme |
How can i disalbe automatic cookie sending? |
| 11:08 |
Fanty |
got a simple little problem with USER_INT - http://phpfi.com/268391 |
| 11:10 |
bauschan |
Fanty: first it has to be 'includeLibs' |
| 11:11 |
bauschan |
second your classname has to be prefixed user_blaFoo |
| 11:11 |
Fanty |
bauschan: tried it. Dident change anything. It calls the right function and displays helloworld too if I change it to USER |
| 11:12 |
Fanty |
bauschan: tx_ works too |
| 11:14 |
alexwx |
hello |
| 11:15 |
alexwx |
how the session in the extension works? the session start didnt works automaticly, or there is another method? how to using session in an extension? |
| 11:19 |
alexwx |
hmm no one using session or something in a extension? |
| 11:20 |
bauschan |
Fanty: the AdminPanel is your friend while debugging user methods |
| 11:20 |
Denyerec |
morning |
| 11:22 |
Fanty |
bauschan: how do I see anything in the admPanel? |
| 11:24 |
Fanty |
bauschan: I cant find anything about any user funcs in the admPanel |
| 11:27 |
bauschan |
Fanty: have a look at the TypoScript log in the Admin Panel |
| 11:28 |
bauschan |
it will tell you a lot about your USER obj |
| 11:29 |
Fanty |
bauschan: it dosent mention the obj at all.. |
| 11:29 |
alexwx |
how to use a sessions in an extension? |
| 11:35 |
Fanty |
how can it render <!--INT_SCRIPT.927019ae4837e235b6f786b3e361ad6d--> and not mention the object in the admPanel? |
| 11:37 |
Fanty |
alexwx: http://wiki.typo3.org/index.php/Extension_Developers_Guide#Using_sessions |
| 11:41 |
alexwx |
Fanty thanks |
| 11:42 |
Fanty |
it works if I set the page.99 = USER_INT ... but when I use it in lib.visited = USER_INT it does that <!--INT_SCRIPT .... --> thing... anyone have any clue why? |
| 11:44 |
banban |
is it possible to insert default content element (lets say sitemap) always when user creats new page so that default content element is inserted when page is created? thanks for the answe! |
| 12:27 |
Denyerec |
hey pmk |
| 12:28 |
Denyerec |
Why named after a watch, I wonder? |
| 12:28 |
Denyerec |
I thought it was the light machinegun at first, but that is a PKM |
| 12:29 |
pmk65 |
It's the 1st letters of my real name. Peter Mikael Klein ;) |
| 12:32 |
silithlas |
hi, I have made a printable page for my website with templavoila, but now I would like to know... is it possible to disable links on the webpage? As html links in articles is a nonsense for a printable page. And I don't want the user to click on a link. Thanks |
| 12:40 |
Denyerec |
erm |
| 12:40 |
Denyerec |
well |
| 12:40 |
Denyerec |
if they're printing it |
| 12:40 |
Denyerec |
they can't click 'em anyway |
| 12:40 |
Denyerec |
:) |
| 12:40 |
Denyerec |
One thing I wrote for my own system long time ago, was to compile a list of URL targets at the foot of the page, and insert references by the link words |
| 12:41 |
Denyerec |
so if you had a link such as "visit borlands website" |
| 12:41 |
Denyerec |
it would become "visit borlands website [1]" |
| 12:41 |
Denyerec |
then in the foot of the document, you would see : [1] http://www.borland.com |
| 12:41 |
Denyerec |
only on the printed version, of course |
| 12:42 |
Denyerec |
now how the holy hell you do such a thing in Typo... |
| 12:42 |
Denyerec |
...I haven't the faintest idea |
| 12:48 |
pmk65 |
silithlas: Add this to the header of your print page: http://phpfi.com/268414 |
| 12:48 |
pmk65 |
That will make ALL links on the page unclickable. |
| 12:50 |
pmk65 |
Denyerec: Take a look at TCDirectmail. It has a plaintext option, that does exactly that for links. |
| 12:50 |
banban |
is it possible to insert default content element (lets say sitemap) always when user creates new page - So, that default content element is inserted when page is created? thanks for the answer! |
| 12:51 |
Denyerec |
Hmmm pmk - could use some kind of GET var to trigger an extension that uses the TCDirectmail php as a postuserfunc on the content |
| 12:53 |
pmk65 |
Denyerec: You don't need TCDM for that. It uses an external class for the HTML->Plaintext conversion. |
| 12:53 |
pmk65 |
It uses this one: http://www.chuggnutt.com/html2text.php |
| 12:55 |
pmk65 |
TCDM has several methods to choose from, but this one is the best method for converting HTML->Plaintext. |
| 12:56 |
alexwx |
Can i Load the media images into some pages from its parent??? Like the header Image for all the subpages if the menu |
| 12:57 |
Denyerec |
pmk, that would create the plain text, but not a digest of reference links. |
| 12:57 |
janand |
Hi all |
| 12:58 |
janand |
Anyone working on tt_news extension |
| 12:58 |
janand |
please help.. |
| 13:01 |
janand |
Denyerec:hi? |
| 13:05 |
delmonico |
sr_feuser_register generates wrong links here... they always point to the startsite (using realurl) |
| 13:08 |
pmk65 |
Denyerec: Then you could do it with Javascript, like this: http://phpfi.com/268417 |
| 13:29 |
Denyerec |
lo janand |
| 13:32 |
elbart |
hello guys |
| 13:37 |
Denyerec |
MWHAHAHAHAHA! |
| 13:37 |
Denyerec |
(in case you were wondering: http://paste2.org/p/8226 ) |
| 13:40 |
Denyerec |
watch out for the hole just2b |
| 13:40 |
Denyerec |
You don't wanna land on Ries |
| 13:41 |
elbart |
hehe Denyerec has his got his fun |
| 13:41 |
elbart |
-his |
| 13:41 |
just2b |
what happend? |
| 13:42 |
Denyerec |
http://paste2.org/p/8226 |
| 13:42 |
Denyerec |
Don't worry, just a little delerious from lack of sleep |
| 13:43 |
just2b |
yeah find your bed ;) |
| 14:06 |
janand |
Denyerec: Hi! |
| 14:07 |
janand |
Denyerec: I have a little problem in tt_news archive items listing |
| 14:07 |
janand |
Denyerec: Can you help me on this? |
| 14:07 |
Denyerec |
depends what your problem is |
| 14:08 |
janand |
Denyerec: On the archive page i want to display only month and year of the archive items |
| 14:08 |
Denyerec |
do you know about Typo3 Wizard ? |
| 14:08 |
Denyerec |
if not, google for it |
| 14:08 |
Denyerec |
they have many snippets on there |
| 14:08 |
janand |
Denyerec: And click on the month/year shows me details list? |
| 14:22 |
janand |
Denyerec:r u there? |
| 14:22 |
Denyerec |
yes |
| 14:22 |
Denyerec |
did you check typo3wizard ? |
| 14:23 |
Denyerec |
rebiooting brb |
| 14:38 |
ries |
Denyerec: ? |
| 14:41 |
janand |
Denyerec: I did search for tt_news |
| 14:42 |
janand |
Deneyerec::( |
| 14:42 |
Denyerec |
on Typo3wizard |
| 14:42 |
Denyerec |
there is exactly what you need |
| 14:43 |
Denyerec |
it's where I got mine from |
| 14:44 |
m0oman |
hm. using HMENU/TMENU is there something like excludeUidList just the other way around, only displaying pages in the menu that i explicitely define? |
| 14:49 |
silithlas |
hi, if I have an url like that... http://www.mindenice.fr/index.php?id=172&tx_ttnews[tt_news]=161&cHash=d4348adcd9 |
| 14:49 |
silithlas |
is there a way to to take all is after ?id=? |
| 14:49 |
janand |
Denyerec: not getting the exact TS? |
| 14:50 |
Denyerec |
Typo3wizxard |
| 14:50 |
Denyerec |
that Is all I can tell yo |
| 14:50 |
Denyerec |
until I am not busy any more |
| 14:50 |
m0oman |
http://phpfi.com/268445 <--- like this only working. |
| 14:50 |
Denyerec |
then perhaps I can sit down and write the thing for you from scratch |
| 14:50 |
Denyerec |
but until then |
| 14:50 |
Denyerec |
use Typo3Wizard |
| 14:53 |
m0oman |
hah. special = list! |
| 14:54 |
silithlas |
nobody has an idea? as I would like to add &print=1 to an existing url with many parameters |
| 14:57 |
ries |
Denyerec: ping |
| 15:23 |
snowman |
how can i wrap the CDATA of <A> in a TMENUITEM? |
| 15:38 |
delmonico |
is there a possibility to have a 'keyword search' and generate a list of all the keywords used on pages? |
| 16:22 |
Denyerec |
Just been looking at a site |
| 16:22 |
Denyerec |
and all the clickable email addresses run through a decrypt function |
| 16:22 |
Denyerec |
is that spamProtectEmailAddresses = 2 by default ? |
| 16:32 |
gerards |
i think spamProtectEmailAddresses is not 2 by default. |
| 16:46 |
Denyerec |
hey gerards! |
| 16:47 |
Denyerec |
Not seen you in a little while |
| 16:56 |
gerards |
yeah. |
| 16:56 |
gerards |
just too lazy to fire up the irc client. |
| 16:56 |
gerards |
hows it going Denyerec ? |
| 16:58 |
Denyerec |
Been very busy |
| 16:58 |
Denyerec |
and right now, ries is keeping me on my toes ;) |
| 16:58 |
ries |
and more than happy to do so :D |
| 17:05 |
Denyerec |
Man. |
| 17:05 |
Denyerec |
Portal. |
| 17:05 |
Denyerec |
Is the perfect game. |
| 17:05 |
gerards |
i'm proud of you ries. |
| 17:40 |
tet |
hi there! |
| 17:40 |
tet |
need help on typo3! care to help? |
| 17:42 |
Denyerec |
Got cash? |
| 17:42 |
Denyerec |
¬_¬ |
| 17:42 |
Denyerec |
I am the dandy highwayman! HAH! |
| 17:42 |
Denyerec |
Avoidus :D |
| 17:42 |
tet |
just installed typo3, but unable to login to backend. uses default login : userid=admin password=password |
| 17:43 |
voidus |
haha :) |
| 17:43 |
voidus |
tet: check mysql strict mode.. |
| 17:43 |
tet |
err.. how and where to check? |
| 17:45 |
voidus |
search your my.cnf for "strict" |
| 17:50 |
tet |
ok. will do that.. |
| 17:56 |
tet |
voidus: can't seems to find it... err... where is this my.cnf, under mysql folder or typo3 folder? |
| 17:57 |
voidus |
find /etc | grep my.cnf |
| 18:07 |
tet |
voidus: I am actually working in windows xp, install apache in my notebook, so where should I find this my.cnf? |
| 18:08 |
voidus |
tet: hm.. where is your apache and mysql installed? |
| 18:09 |
tet |
under program files |
| 18:11 |
voidus |
so, search the program files for "my.cnf" |
| 18:34 |
tet |
voidus : ok found it .. now what? |
| 18:34 |
voidus |
search in my.cnf for "strict" |
| 18:35 |
Denyerec |
I am so, so tired. |
| 18:35 |
Denyerec |
and what is worst |
| 18:35 |
Denyerec |
is I will not be able to go to bed tonight :( |
| 18:36 |
tet |
found it... |
| 18:37 |
voidus |
remove that parameter, save my.cnf and restart mysql |
| 18:39 |
tet |
ok. done thanks a lot! you make my day! |
| 18:40 |
Denyerec |
Hes good at that |
| 18:40 |
Denyerec |
:) |
| 18:41 |
ries |
for your info : http://www.icann.org/announcements/announcement-2-09oct07.htm |
| 18:43 |
tet |
see ya guys! got to get on with my work... :) |
| 18:44 |
ries |
voidus: did you register already somethign cool in russia?!?! :D |
| 18:45 |
voidus |
ries: i'd not say "cool". i'd say "cold". |
| 18:46 |
ries |
hehehe |
| 18:57 |
Denyerec |
hha |
| 19:01 |
fummeltrine |
good morning guys :) |
| 19:03 |
Denyerec |
hey fummel |
| 19:04 |
fummeltrine |
question: i have a several "container for elemets", to realize 50/50, 70/30 and so on in tv. i would like to automagically set the header fields of those elemets to "50/50", "70/30" .. when adding such a element. this will not be shown in fe, but make the be more usable. ideas how to do this? |
| 19:05 |
fummeltrine |
i furthermore want those container elements have "language -> [all]" set. this would be very comfortable for our localisation solution. |
| 19:10 |
fummeltrine |
so the abstraced question is: cat i somehow, for some content elements set a default value of for some fields of this element? |
| 19:11 |
fummeltrine |
eg. i add a text-element. can i set the "header"-string to a default value? can i do this for self created elements? |
| 19:12 |
voidus |
yes, you can |
| 19:12 |
fummeltrine |
tell me :) |
| 19:12 |
voidus |
there is TCAdefautls for this |
| 19:12 |
voidus |
read TSConfig manual |
| 19:13 |
Denyerec |
fummeltrine - when you figure it out |
| 19:13 |
Denyerec |
tell me |
| 19:14 |
fummeltrine |
^^ great .. i will see. this nags me since we switches all of our new sites to tv |
| 19:14 |
voidus |
Denyerec: http://typo3.org/documentation/document-library/references/doc_core_tsconfig/4.1.0/view/1/2/#id3617877 |
| 19:15 |
Denyerek |
cos I have 70/30 FCE's for clients and being able to put in a header that is not rendered on the FE would be very handy. |
| 19:15 |
Denyerek |
fummeltrine - when you figure it out |
| 19:15 |
Denyerek |
tell me |
| 19:15 |
fummeltrine |
k |
| 19:15 |
fummeltrine |
we have exactly the same problem here ;) |
| 19:19 |
fummeltrine |
ok, i know i can set default values in tsconfig for standard elements (eg delete unused header-layouts), but how can i achieve this for fce's ? |
| 19:26 |
fummeltrine |
<- bored .. we will release a new site for some big japan electronics company (the german page of it). somewhere between monday and wednesday .. there are still a lot of things to fiddle with boring css-details .. but i have packed up work for the day and just want to hack on some more interesting thingies ;) the fce-default value is one of them ... |
| 19:39 |
ries |
fummeltrine: what company?? |
| 19:42 |
fummeltrine |
^^ i will tell, when its online ... |
| 19:44 |
fummeltrine |
we did the site for one of its branches for several years. they restructured the company and needed some agency to do the website. this was a 2 week task. we adapted the current layout of the branch and created a dispatcher site. there will be a lot of things for us to do in the future (i hope) |
| 20:26 |
ries |
fummeltrine: I had to make a quote for a Japanese company one day... making chips and stuff, just wondering if it's the same company |
| 20:31 |
smurfslayer |
hi ries |
| 20:32 |
ries |
Hey smurfslayer |
| 20:55 |
joe_ |
hi |
| 20:56 |
joe_ |
is it normal that thumbnails will not be generated for the backend filebrowser? and if its so, can i change this? i want so see thumbs in the backend :/ |
| 21:00 |
ks |
how do you compare tt_news vs mini_news ? |
| 21:05 |
wacky_ |
What's the opposite to 'Separate Structure' ? |
| 21:06 |
wacky_ |
in the FE translation ? |
| 21:06 |
wacky_ |
and where is it set ? |
| 21:45 |
uriahheep |
ok, so let's say i have a button FCE where i need to have a div containing an image have its css width set automatically to the image's width + 8px |
| 21:46 |
uriahheep |
how would i use templating to get that working? |
| 21:48 |
fummeltrine |
wacky_, the opposite is "one page fits all" |
| 21:48 |
fummeltrine |
if you use templavoila, you might want to check the tv-multiglanguage podcast |
| 21:48 |
fummeltrine |
mom |
| 21:50 |
fummeltrine |
wacky_, http://typo3.org/podcast/?tx_podkast_pi1%5Bpointer%5D=2&cHash=b5ec431845 first podcast on the page. quite interesting |
| 21:51 |
fummeltrine |
for tv this usually drops down to <meta type="array"><langDisable>1</langDisable></meta> in your DS |
| 21:52 |
fummeltrine |
you should also check the t3 wiki on that, the docu there is quite clear |
| 21:54 |
fummeltrine |
http://wiki.typo3.org/index.php/TemplaVoila#TemplaVoila_localization |
| 21:58 |
fummeltrine |
and, this is allways the most significant docu for localization: http://typo3.org/documentation/document-library/core-documentation/doc_l10nguide/current/ |
| 21:59 |
fummeltrine |
... |
| 22:00 |
fummeltrine |
uriahheep, if i understood you right: you tell your fce to add a special css-file if the element is added and set your css for the class there. |
| 22:04 |
uriahheep |
fummeltrine: nah, i already do that ;) |
| 22:06 |
uriahheep |
fummeltrine: what i have in the FCE is just a link with an img tag inside it, and around this link there are divs with translucent png shadows for this image... |
| 22:07 |
uriahheep |
fummeltrine: the thing is, the container div needs to have its width set to the image's width + 8px... now, the image's width will vary from one button element that i create from this template to another |
| 22:07 |
fummeltrine |
give me an example pls |
| 22:08 |
uriahheep |
...so, yeah... i need to find a way to automatically set the div's width to the image's width... somehow |
| 22:08 |
fummeltrine |
mhhh |
| 22:09 |
uriahheep |
it can for sure be done, but... i'm not too sure how ;) |
| 22:09 |
fummeltrine |
really? usually a container box grows with its content. so you usually do not want to set a width for the container, but a margin for the image |
| 22:10 |
fummeltrine |
show me your page, maybe i can then understand what you want |
| 22:10 |
uriahheep |
fummeltrine: http://pastebin.ca/734540 |
| 22:10 |
uriahheep |
fummeltrine: sorry, the page is not online yet |
| 22:11 |
uriahheep |
fummeltrine: usually, yes, the container div will grow with the content.... unless you have some other divs inside it which are float:left; / float:right; ...then a width had to beset |
| 22:11 |
uriahheep |
be set* |
| 22:11 |
uriahheep |
this is the case in this situation |
| 22:12 |
fummeltrine |
aeh ... |
| 22:13 |
uriahheep |
fummeltrine: anyway, in the code that i just pasted, tplButton has a style set... i would need this style to be set automatically with typoscript, or something... |
| 22:13 |
fummeltrine |
i dont understand what you want to achieve with this |
| 22:14 |
uriahheep |
it creates a button image with a shadow all around it, which expands with different image widths :) |
| 22:15 |
uriahheep |
let me giveyou an example of what it creates, one second |
| 22:17 |
uriahheep |
fummeltrine: http://img409.imageshack.us/img409/8126/bntmoreinfowg5.png |
| 22:17 |
fummeltrine |
ah |
| 22:17 |
uriahheep |
fummeltrine: it creates a button like this, except that the button part is separated from the shadows, so that only the shadow is a link ;) |
| 22:17 |
uriahheep |
oops |
| 22:17 |
uriahheep |
i mean that only the rectangle is a link, and the shadow can't be clecked |
| 22:17 |
uriahheep |
clicked* |
| 22:18 |
fummeltrine |
args .. |
| 22:18 |
uriahheep |
? |
| 22:18 |
fummeltrine |
*thinking* |
| 22:18 |
uriahheep |
;) |
| 22:18 |
uriahheep |
keep thinking, i'll brb - going to have a cigarette |
| 22:18 |
fummeltrine |
mmmh |
| 22:20 |
fummeltrine |
1 div with 3 nested divs: |
| 22:21 |
fummeltrine |
the first makes the left shadow part (fixed height and width with a css bg-image, floating left) |
| 22:24 |
fummeltrine |
the second <div class=button><a href><img /></a></div> with a img-top-margin in the height of the top shadow, the shadow as a 1xheight of div image, stretched over x-axe of the div, the div with fixed height |
| 22:26 |
fummeltrine |
and the third div width for the right shadow, floating right, fixed height. |
| 22:26 |
fummeltrine |
... |
| 22:26 |
fummeltrine |
better: first the left, then the right floating div, then the middle div. |
| 22:27 |
uriahheep |
back |
| 22:27 |
fummeltrine |
so the middle shadow is just a css background image of the middle div, strechted over the width of the div ^^ |
| 22:28 |
fummeltrine |
no calculation needed ... |
| 22:28 |
uriahheep |
can't work |
| 22:28 |
fummeltrine |
? |
| 22:29 |
fummeltrine |
why? |
| 22:29 |
uriahheep |
because the corner shadows are wider than the side shadows |
| 22:29 |
uriahheep |
zoom into the image i posted and you'll see why |
| 22:30 |
uriahheep |
...the stretched shadow on top of the button can only start a few pixels after the beginning of the button |
| 22:30 |
fummeltrine |
you have 3 bg-images: 1 for the left part, one for the right part, and the middle, streched over the width of the button |
| 22:30 |
fummeltrine |
this will work |
| 22:30 |
uriahheep |
because the shadow gradually gets higher, causes a smoother shadow, etc. |
| 22:31 |
voidus |
hm... i have an 3rd level domain and ubuntu installed on |
| 22:31 |
voidus |
anyone know how can i get working mail()? |
| 22:32 |
uriahheep |
and anyway, the problem is the floating divs... they cause the container div to stretch to width:100%; automatically |
| 22:32 |
Denyerec |
In TS is there some way of detecting if an element has subitems ? |
| 22:32 |
Denyerec |
I need to put a different wrap on items with subitems. |
| 22:32 |
fummeltrine |
uriahheep, then use spans an no float |
| 22:32 |
uriahheep |
hmm, perhaps... |
| 22:33 |
uriahheep |
can spans have a background image in IE though? |
| 22:34 |
fummeltrine |
but with 3 different bg-images and some margins and paddings for the button you should be able to achieve a quite good solution with this, and you can give a damn of the actual button width (eg. if this is a image created by a ts menu)) |
| 22:40 |
uriahheep |
hmm, nope, it won't work with spans... they cannot have background images. |
| 22:41 |
uriahheep |
oh, wait... |
| 22:41 |
fummeltrine |
even if not uriahheep, you could still use p, and make it not act as a block element. or fleat all element left. then this is not depending on the width of the contairne |
| 22:42 |
fummeltrine |
s/fleat/float/ , s/contairne/container/ |
| 22:42 |
uriahheep |
hmm... |
| 22:42 |
uriahheep |
what display:; would i give the p? |
| 22:43 |
uriahheep |
inline? |
| 22:43 |
fummeltrine |
y |
| 22:44 |
fummeltrine |
use divs, give them display: inline, add the bg-images, float all divs left. |
| 22:44 |
uriahheep |
hmmm |
| 22:45 |
uriahheep |
i might not even need to float the divs |
| 22:45 |
fummeltrine |
but if you don't. you would have to set a width for the max width of the elements |
| 22:45 |
fummeltrine |
and you do not want that |
| 22:49 |
uriahheep |
hrm... |
| 22:49 |
uriahheep |
ok, it's just not working... |
| 22:49 |
fummeltrine |
^^ |
| 22:50 |
uriahheep |
if i do display:inline; there needs to be content inside the div, which makes it larger than the set height because of line height overriding the height... changing the line-height in css doesn't help |
| 22:50 |
uriahheep |
i'm just going to stick to my original plan, and somehow set the width of the div with typoscript |
| 22:51 |
uriahheep |
...however, i need to somehow find a way to do that :S |
| 22:51 |
uriahheep |
i guess i can just have a typoscript element and set it |
| 22:52 |
uriahheep |
but how can i use typoscript to calculate the image's width? |
| 22:52 |
fummeltrine |
mmmh .. you could also try a ul/li structure .. ther ar a lot of examples for working horizontal "menus" with ul/li |
| 22:52 |
uriahheep |
bah |
| 22:52 |
fummeltrine |
even in ie and with bg-images |
| 22:53 |
fummeltrine |
look at the horizontal menu (top of page) on www.mvwa.de, you could adapt this to your needs |
| 22:53 |
uriahheep |
at the moment it'll much simpler to just make typo3 calculate the image height in a template ;) |
| 22:53 |
uriahheep |
iknow how to make ul/li menus like that ;) |
| 22:54 |
uriahheep |
it's just that it would be simpler to get it working this way right now... and i kind of have a time restraint ;) |
| 22:55 |
uriahheep |
do you know how i can calulate the height, though? |
| 22:56 |
fummeltrine |
and insert this value in your html? no. i currently have no good idea about this |
| 22:59 |
fummeltrine |
i would suggest to create the hole img with shadows and such in ts an wrap it with your link ;) that would solve a lot of probs |
| 23:00 |
uriahheep |
heheh |
| 23:01 |
fummeltrine |
but it will also take some time for a proper gifbuilder setup ;) |
| 23:01 |
uriahheep |
heh yeah |
| 23:03 |
uriahheep |
voidus: do you know how? ;) |
| 23:04 |
voidus |
what? i didn't follow the channel |
| 23:06 |
uriahheep |
voidus: how can i get the width of an imported image? |
| 23:07 |
voidus |
imported? |
| 23:07 |
uriahheep |
well |
| 23:07 |
voidus |
css - @import 'ed? |
| 23:07 |
uriahheep |
nah |
| 23:07 |
uriahheep |
10.file.import'ed |
| 23:08 |
voidus |
ah.. |
| 23:09 |
uriahheep |
voidus: ...from a template, though |
| 23:09 |
voidus |
i think, no way. |
| 23:09 |
uriahheep |
there isn't a way? :-/ |
| 23:09 |
voidus |
but.. |
| 23:10 |
voidus |
i am not sure that is your case, but |
| 23:11 |
uriahheep |
voidus: my case is this: i have an FCE with an image inside a div, and i need to set this div's width to the image width + 8px in typoscript somehow |
| 23:14 |
voidus |
there was a register |
| 23:14 |
voidus |
something like register:lastImageInfo |
| 23:16 |
uriahheep |
http://www.typo3wizard.com/en/content-comments.html?no_cache=1&tx_rfcontentcomments_pi1%5Bcontentuid%5D=454 |
| 23:16 |
uriahheep |
ah, nice... |
| 23:18 |
uriahheep |
voidus: so, basically, in the typoscript for my image in the FCE, i could write lib.button_width = TEXT; lib.button_width.data = TSFE:lastImageWidth|0; lib.button_width.wrap = width: | px; |
| 23:18 |
uriahheep |
...right? :-/ |
| 23:18 |
voidus |
yes |
| 23:18 |
uriahheep |
very nice :) |
| 23:18 |
uriahheep |
thanks for the tip |
| 23:18 |
uriahheep |
fummeltrine: thanks to you as well ;) |
| 23:26 |
Phlogi_ |
just |
| 23:28 |
uriahheep |
voidus: should this work if i put it in the typoscript that's in the DS? |
| 23:28 |
voidus |
uriahheep: dunno.. |
| 23:31 |
uriahheep |
hmm, k... |
| 23:32 |
uriahheep |
in the Data Structure XML, can i include a template file to be loaded every time the FCE is loaded? |
| 23:46 |
uriahheep |
voidus: oh, do you know how i can add 8 to the result of TSFE:lastImageInfo|0 ? |
| 23:47 |
voidus |
uriahheep: use .prioriCalc |
| 23:48 |
uriahheep |
thanks |
| 23:56 |
uriahheep |
voidus: could you help me out to do this please? |