| 07:19 |
D3ph7 |
hellop |
| 08:35 |
D3ph7 |
hello ... i got the failure -->Deprecated: Function ereg() is deprecated in C:\Xampp\htdocs\t3\typo3_src-3.7.1\typo3\sysext\install\mod\class.tx_install.php on line 1771 <--- on every site of the install-tool on version 3.7.1 of Typo3 |
| 08:39 |
PiMB |
morning! |
| 08:41 |
D3ph7 |
hello .. |
| 09:05 |
D3ph7 |
how can i solve this problem ---- > Warning: Cannot modify header information - headers already sent by (output started at C:\Xampp\htdocs\t3\typo3_src-3.7.1\typo3\template.php:220) in C:\Xampp\htdocs\t3\typo3_src-3.7.1\typo3\template.php on line 601 |
| 09:13 |
PiMB |
something gave an output already on line 220 in template.php check what it is and fix it |
| 09:19 |
Prot0 |
morning! |
| 09:21 |
PiMB |
wsup! |
| 09:22 |
fuchur |
3.7.1 ?? !! |
| 09:24 |
fuchur |
[08:39] <D3ph7> hello ... i got the failure -->Deprecated: Function ereg() is deprecated << just use php 5.2.x |
| 09:24 |
PiMB |
@ fuchur , yes true :) but that was discussed yesterday already |
| 09:24 |
fuchur |
TYPO3 versions lower then 4.3 are not supposed to run php 5.3 and higher |
| 09:24 |
fuchur |
PiMB i don't think there is much to "discuss" ^^ |
| 09:25 |
PiMB |
;] I agree |
| 09:25 |
fuchur |
imho you should in _no_ case run 3.7.1 |
| 09:25 |
PiMB |
could be fun though.. |
| 09:25 |
PiMB |
I wouldn't either btw |
| 09:25 |
fuchur |
yeah but somehow he doesn't look like a fun-user :P |
| 09:32 |
maholtz|WORK |
morning |
| 09:32 |
Prot0 |
morning :] |
| 09:37 |
fuchur |
mornin maholtz |
| 09:42 |
PiMB |
morning |
| 09:43 |
m4rtijn |
hi all |
| 09:46 |
Prot0 |
hello |
| 09:46 |
PiMB |
hi |
| 09:49 |
Denjerek |
hey m4rtijn |
| 10:15 |
kraftb |
good morning ! |
| 10:18 |
Prot0 |
morning kraftb |
| 10:18 |
fuchur |
too to you |
| 10:18 |
kraftb |
hello you ... |
| 10:19 |
kraftb |
so whats up today? any nasty patches annoying fixes or unrequired features |
| 10:19 |
kraftb |
;) |
| 10:21 |
BejjWrk |
http://pastebin.org/52424 <- anyone know how to make the same thing but with listnum = random ? I know that directive isnt supported but i need to figure out a way to aquire something like that |
| 10:27 |
kraftb |
so you want to traverse the rootline downwards, and if on some page images are found, one of them should get displayed ? |
| 10:27 |
Denjerek |
hey kraft |
| 10:27 |
kraftb |
hey denejerek (wasn't that denyerec before???) |
| 10:27 |
teppi|work |
i think he wants to show images randomly .. |
| 10:27 |
kraftb |
did you undergo a change in personality ? *gg* |
| 10:28 |
fuchur |
mh is there a TYPO3 api call for TRUNCATE? didn't find one yet |
| 10:29 |
kraftb |
substr ? |
| 10:29 |
kraftb |
ah ... database truncate. no. there isn't one. |
| 10:29 |
kraftb |
you'll have to use TYPO3_DB->sql_query |
| 10:29 |
teppi|work |
kraftb, haha .. yesterday a friend of mine asked me to have a look why the captcha isnt rendered anymore in his project .. while i debugged the captcha.php i saw your name above the code .. little world .. |
| 10:30 |
fuchur |
kraftb ok, so probably i'll stick to delete |
| 10:30 |
kraftb |
yes. the initial version was from kasper ... |
| 10:30 |
fuchur |
i don't like queries in my extensions :) |
| 10:30 |
kraftb |
but it was only doing a image_string or such - and no obfuscation |
| 10:30 |
kraftb |
so I took some time to rotate each letter and move it a random x,y amount around and draw some ellipses in the background. |
| 10:30 |
teppi|work |
ah ok |
| 10:31 |
teppi|work |
it throws some notifications in newer php versions i think |
| 10:31 |
teppi|work |
so the header is already sent |
| 10:31 |
teppi|work |
but maybe it was also an old version |
| 10:31 |
teppi|work |
dunno |
| 10:31 |
kraftb |
fuchur: depends on how many records you expect in your table. If count(*)>uncountably_many_of_them(); then you'll better stick to truncate and have this one query in your ext. |
| 10:32 |
kraftb |
could be. I also had some problems with the extension recently. |
| 10:32 |
fuchur |
yep, thinking of this ... there will be round about thousand lines a week |
| 10:32 |
fuchur |
not that much ... |
| 10:33 |
teppi|work |
BejjWrk, one solution would be to use the code you have to configure a litte plugin .. |
| 10:33 |
teppi|work |
in the plugin you generate a random listnum |
| 10:33 |
BejjWrk |
kraftb: or if several images are added to "media" it should list a random one |
| 10:33 |
teppi|work |
and render the content with $this->cObj->stdWrap |
| 10:33 |
BejjWrk |
teppi|work: ive been leaning towards that hmm |
| 10:34 |
BejjWrk |
yeah I'll do that, I'll just make a small ext to do this for me |
| 10:36 |
kraftb |
BejjWrk: I would simply use a userFunc: |
| 10:37 |
kraftb |
.listNum.userFunc = tx_myclass->randomListNum |
| 10:37 |
kraftb |
of course you could put this into a extension |
| 10:37 |
kraftb |
but "listNum" has stdWrap properties, so you can use post/preUserFunc |
| 10:37 |
kraftb |
or append/prepend |
| 10:38 |
kraftb |
but you have to take care of caching. when the page is cached, the random image wont change |
| 10:38 |
teppi|work |
i think this only works if listnum would support stdWrap .. but i dont think so |
| 10:38 |
teppi|work |
but i'm not quite sure |
| 10:38 |
kraftb |
so you'll either have to make the page uncache, or generate all images and display one randomly using javascript |
| 10:38 |
teppi|work |
:-) |
| 10:38 |
kraftb |
of course listNum supports stdWrap. read TSref |
| 10:38 |
teppi|work |
i see only int |
| 10:39 |
teppi|work |
in the data type col |
| 10:39 |
kraftb |
on my website think-open.at I used an approach using conditions. |
| 10:39 |
kraftb |
I put in a bunch (20) conditions, which use a random number to display one of the current seasonal images |
| 10:39 |
kraftb |
so ever time the same random number comes out, just an already matched condition gets matched again - and the pages is delivered from cache |
| 10:40 |
BejjWrk |
kraftb: yep |
| 10:40 |
kraftb |
so random+caching-javascript ... |
| 10:40 |
kraftb |
but was quite complicated to get this to work |
| 10:40 |
kraftb |
read the description on the right. |
| 10:40 |
kraftb |
probably its listNum.stdWrap.hereStdWrapProps |
| 10:41 |
teppi|work |
ok you're right .. shame on me :-) |
| 10:43 |
Denjerek |
Yes it was Denyerec |
| 10:43 |
fuchur |
mh, is there an "easy" way to start a backend-module as cronjob? |
| 10:43 |
Denjerek |
but I'm on-site at the moment |
| 10:43 |
Denjerek |
so I am using a variation :) |
| 10:43 |
Denjerek |
If I ghost out, you might also see Denyerevski |
| 10:43 |
Denjerek |
:) |
| 10:43 |
Denjerek |
My Dutch and Russian counterparts ;) |
| 10:47 |
kraftb |
ahh ... so you are a localized-multi-personal individual ;) |
| 10:54 |
fuchur |
mh if I just init t3lib_db and run t3lib_db->connectDB() it does not find the server, username, pass from localconf.php |
| 10:54 |
fuchur |
is there a way to get the localconf values? |
| 10:55 |
fuchur |
instead of simply requiring it and using the vars :( |
| 10:55 |
fuchur |
;) |
| 10:55 |
kraftb |
if you have your own script I guess you'll have to include t3lib/config_default.php |
| 10:55 |
kraftb |
but if you write your own client-applicatoin (is this what you are doing) then you'll best create a .cli script ... |
| 10:55 |
kraftb |
see the TYPO3 coreAPI manual on "CLI" scripts |
| 10:56 |
kraftb |
its for commandline-scripts. |
| 10:57 |
fuchur |
thank, will have a look for that |
| 11:02 |
fuchur |
mh why does config_default call t3lib_extMgm:: without requiring it... grmbl |
| 11:02 |
fuchur |
ok |
| 11:02 |
fuchur |
works ... thank |
| 11:02 |
fuchur |
s |
| 11:05 |
fuchur |
kraftb do you think it would make sense to implement something like if(defined('PATH_t3lib')) { require_once t3lib_div and t3lib_extmgm} |
| 11:05 |
fuchur |
this are the to classes needed by config_default to work correctly |
| 11:05 |
BejjWrk |
ok now I totally snowed myself in lol |
| 11:05 |
BejjWrk |
I have the pi1, with a function in it named randListNum returning the value "it works" |
| 11:06 |
BejjWrk |
now i need to retrieve that value from ts |
| 11:09 |
sorenmalling |
BejjWrk: userFunc? |
| 11:19 |
BejjWrk |
I can get the value into say, temp.randval < tx_blablabla_pi1 |
| 11:20 |
BejjWrk |
but how do i get that value in the rest of the ts ? |
| 11:20 |
BejjWrk |
and lib.biglogo < tx_blablabla_pi1 displays the value on the page |
| 11:21 |
sorenmalling |
BejjWrk: A userFunc in your TS |
| 11:21 |
BejjWrk |
enlighten me |
| 11:22 |
BejjWrk |
there are alot of things I dont understand with ts |
| 11:22 |
sorenmalling |
BejjWrk: http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/#id3973427 |
| 11:22 |
BejjWrk |
that helped me like an ant rayed with a magnifying glass |
| 11:24 |
sorenmalling |
BejjWrk: Did you even look at the link |
| 11:25 |
sorenmalling |
BejjWrk: This link might be better for what you need: http://www.typo3-jack.net/typo3-english-lists-netfielders-de/6519-typo3-typoscript-userfunc-passing-value.html |
| 11:27 |
pmk65 |
Im writing an ext which uses the processDatamap_afterDatabaseOperations hook to postprocess tt_news records. For this I need to access the Typoscript setup for tt_news. |
| 11:27 |
pmk65 |
Anyone knows how to do that from a BE script? |
| 11:29 |
pmk65 |
in FE you can so something like: $GLOBALS['TSFE']->tmpl->setup['plugin.']['tt_new'] but that's not possible in BE unless I create a TSFE object. |
| 11:32 |
sorenmalling |
pmk65: This is maybe not the biggest help, but what about looking how the typoscript object browser generates it's tree view? |
| 11:33 |
pmk65 |
good idea |
| 11:34 |
iaj` |
hi there :) |
| 11:35 |
iaj` |
someone familliar with powermail? |
| 11:35 |
iaj` |
-l :/ |
| 11:36 |
sorenmalling |
pmk65: If you find out, i would like to know it to :) i might start a extension that need to get the configuration for a specific extension to :) |
| 11:37 |
Prot0 |
iaj`: pretty familiar |
| 11:37 |
Prot0 |
;] |
| 11:38 |
iaj` |
Prot0, hmm got some problems.. e.g. how would you just insert a bold text in a form? |
| 11:38 |
Prot0 |
from the BE or from the FE? |
| 11:38 |
PiMB |
just insert a 'insert html here' here |
| 11:38 |
iaj` |
uhh, in the BE... eg a header to sth in bold font style |
| 11:39 |
fuchur |
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 71 bytes) |
| 11:39 |
fuchur |
*lol* |
| 11:39 |
fuchur |
thanks php! |
| 11:39 |
iaj` |
another thing is .. you need to specify a fieldset title - but I dont want one to get shown on the FE :/ how do you solve that? |
| 11:39 |
Prot0 |
:) |
| 11:39 |
Prot0 |
fuchur: doing image processing? |
| 11:39 |
fuchur |
no |
| 11:39 |
Prot0 |
iaj`: you can modify the templates of powermail |
| 11:40 |
Prot0 |
iaj`: copy them to for example your fileadmin folder, there you can modify most of the HTML that it generates |
| 11:41 |
iaj` |
Prot0, ah i see, thanks, where can I find this basic template? |
| 11:41 |
fuchur |
/t3lib/class.t3lib_parsehtml.php on line 879 |
| 11:41 |
fuchur |
o_O |
| 11:42 |
Prot0 |
typo3conf/ext/powermail/templates/* |
| 11:42 |
Prot0 |
;) |
| 11:42 |
iaj` |
Prot0, thanks... :-) |
| 11:43 |
Prot0 |
welcome :] |
| 11:44 |
fuchur |
i never got this error before |
| 11:44 |
Prot0 |
you can set them after you changed them with TS |
| 11:44 |
Prot0 |
fuchur: are you performing any specific operations? :] |
| 11:45 |
Prot0 |
had this problem before with image/pdf rendering |
| 11:45 |
fuchur |
could it be my page is too large? :D |
| 11:45 |
PiMB |
what the hell are you doing on that page? |
| 11:46 |
PiMB |
must be some funky shizzle.. |
| 11:46 |
fuchur |
i put round about 1.500 p-paragraphs in a marker-array and then get it rendred by pi_wrapInBaseClass |
| 11:46 |
Prot0 |
lol |
| 11:46 |
fuchur |
;-) |
| 11:46 |
maholtz|WORK |
@fuchur: nope, 34 MB is not enough |
| 11:46 |
PiMB |
like I said, funky shizzle |
| 11:46 |
fuchur |
yay _I_ know that maholtz :( |
| 11:47 |
fuchur |
but the super-cool-specialized-TYPO3-mega-hoster thinks it's a security risk to set memory limit higher then 32mb *cough* |
| 11:47 |
iaj` |
Prot0, woah.. that looks difficult. |
| 11:47 |
PiMB |
it's not |
| 11:47 |
PiMB |
if you know html, you know what to do |
| 11:48 |
fuchur |
yay _I_ know that |
| 11:49 |
iaj` |
PiMB, ahhh never heard of a <legend> tag |
| 11:49 |
animan |
hi, how to add onload="window.print();" to body element? |
| 11:52 |
Prot0 |
lol |
| 11:52 |
Prot0 |
iaj`: Than you dont know HTML :P |
| 11:53 |
Prot0 |
its fairly easy to modify the templates |
| 11:53 |
iaj` |
yeah... just the markers got me confusing |
| 11:53 |
Prot0 |
it just has a lot of markers to add field classes, javascripts ids etc. |
| 11:53 |
iaj` |
.e.g why is there a <! -- ###CONTENT### --> <- this one is never used or am I wrong? |
| 11:54 |
iaj` |
<!-- actually sorry |
| 11:54 |
Prot0 |
why wouldnt it be used? |
| 11:54 |
Prot0 |
thats a template subpart |
| 11:58 |
Prot0 |
:] |
| 12:00 |
iaj` |
oh... so that whole part gets substituted by typo then |
| 12:00 |
Prot0 |
yes |
| 12:05 |
pmk65 |
sorenmalling: http://pastebin.com/m25dc7c87 |
| 12:05 |
pmk65 |
the var $tmpl->setup contains the TS setup. |
| 12:06 |
sorenmalling |
Then how do you specify it only for tt_news? |
| 12:06 |
iaj` |
Prot0, can I add a checkbox consisting of like a table with 4 entries? |
| 12:06 |
pmk65 |
$tmpl->setup['plugin.']['tt_news'] |
| 12:07 |
Prot0 |
so like 4 table rows? |
| 12:08 |
iaj` |
Prot0, yeah |
| 12:08 |
Prot0 |
erm |
| 12:08 |
Prot0 |
i think so |
| 12:08 |
Prot0 |
hang on ill look in the template |
| 12:11 |
sorenmalling |
pmk65: Arh, cool! :) Just like in FE |
| 12:11 |
PiMB |
@animan you can change the bodytag via page.bodyTag = <body> etc |
| 12:12 |
Prot0 |
i would say that you would need <!-- ###POWERMAIL_FIELDWRAP_HTML_CHECK### begin --> |
| 12:12 |
Prot0 |
in the fieldwrap html |
| 12:15 |
pmk65 |
sorenmalling: i followed your advice and looked at the objectbrowser. and then took the codeparts needed. |
| 12:16 |
sorenmalling |
pmk65: Glad I could help :) are you going to be a part of the certification in Copenhagen in November? |
| 12:17 |
pmk65 |
maybe. Im still not sure if its worth it for me. |
| 12:19 |
sorenmalling |
Okay |
| 12:19 |
sorenmalling |
But you can still drop by for a beer afterwards :-) |
| 12:36 |
iaj` |
Prot0, hmm thanks... |
| 12:36 |
Prot0 |
np :] |
| 12:36 |
iaj` |
what would you do to have a textfield aligned correctly?? e.g. the inputboxes all one below each other? |
| 12:39 |
Prot0|away |
CSS my friend, CSS ;] |
| 12:41 |
iaj` |
the problem is that powermail only supports adding css classes to that input box - but not to the label that's prior to it.. am I wrong? |
| 13:03 |
PiMB |
@iaj, powermail already wraps every input/label combination into a unique div with id |
| 13:03 |
PiMB |
you could use that for instance to changes styles. |
| 13:03 |
PiMB |
or just go with the common div where your form resides and use a div#yourWrapFormDiv input { } |
| 13:03 |
PiMB |
statement |
| 13:08 |
iaj` |
PiMB, yeah I created a new fieldset with unique ID and am doing #ID label { float:left width:150px } now |
| 13:08 |
iaj` |
still cant get a checkbox with '4 rows' to work |
| 13:18 |
iaj` |
hmm powermail doesnt really support copy and paste actions, right? |
| 13:35 |
atmos4 |
hi, maybe you have an idea how to solve this: |
| 13:36 |
atmos4 |
I've got a menu consisting of a header and the menu and some outer div with the decoration |
| 13:36 |
atmos4 |
now I'd like to skip rendering of the div, if there's no content in the menu |
| 13:36 |
atmos4 |
now the menu consist of a COA with 10 for the header (actually a rootline) and 20 for the HMENU of subpages |
| 13:37 |
atmos4 |
so if there are no subpages I'd like to skip rendering of the menu and the wrapping div alltogether |
| 13:37 |
atmos4 |
which requires querying from the COA 10 object, if the COA 20 object is empty |
| 13:37 |
atmos4 |
any idea how to achieve that? |
| 13:40 |
maholtz|WORK |
@atmos4: COA.stdWrap.required = 1 + COA.stdWrap.prepend = #your COA 10# |
| 13:41 |
atmos4 |
thx, I'll try thatz |
| 13:41 |
atmos4 |
I was just thinking about using a before stdwrap object |
| 13:41 |
atmos4 |
for the header |
| 13:41 |
maholtz|WORK |
there are many ways i guess |
| 13:42 |
atmos4 |
there always are ;-) |
| 13:42 |
maholtz|WORK |
well HMENU itselft has stdWrap, so do you do not need the COA 10 + 20 |
| 13:42 |
atmos4 |
yes |
| 13:42 |
maholtz|WORK |
hehe:) |
| 13:48 |
atmos4 |
ok, now that I remove the wrap on the hmenu that seems to be working |
| 13:48 |
atmos4 |
removed |
| 13:48 |
atmos4 |
otherwise it was never empty |
| 13:49 |
anteatersa |
does anyone know why the following would select records on time not date: |
| 13:49 |
anteatersa |
andWhere.dataWrap = date > {date: U} |
| 13:49 |
Prot0 |
iaj`: how do you mean? copy/paste |
| 13:50 |
atmos4 |
well just replaced wrap with stdWrap.wrap which makes it work as expected |
| 13:53 |
atmos4 |
btw. is there a typoscript aware editor that has a tree view of the ts setup for navigation? |
| 13:53 |
anteatersa |
atmos4: I wish |
| 13:53 |
atmos4 |
I'm currently using textmate which has nice syntax highlighting but no navigation |
| 13:53 |
atmos4 |
means lots of scrolling in large ts setup |
| 13:55 |
anteatersa |
atmos4: sometimes helps to break your typoscript into diferent sections and include them through "Include basis template:" |
| 13:55 |
atmos4 |
or maybe I'm doing too much logic in typoscript =) |
| 13:56 |
atmos4 |
yea, if eg. one is only for a part of the page or an extension that makes sense |
| 14:00 |
Prot0 |
is there an IRC channel for IE6 haters? |
| 14:00 |
maholtz|WORK |
@Prot0: isnt _every_ IRC channel for IE6 haters ;) |
| 14:01 |
Prot0 |
hmm |
| 14:01 |
Prot0 |
in that case i will express my feelings for IE6 here |
| 14:01 |
Prot0 |
*!%^$&*!$^!%!!#$@#% |
| 14:01 |
Prot0 |
/END |
| 14:01 |
Prot0 |
:] |
| 14:02 |
Conic |
hi all |
| 14:03 |
Conic |
can someone tell me how i can add an icon to the edit, delete, versions etc icons in the list module? |
| 14:03 |
Prot0 |
you mean you want to alter the BE icons? |
| 14:03 |
atmos4 |
maholtz|WORK: I switched from prepend to before, cause prepend would apply before the wrap |
| 14:04 |
atmos4 |
but thx for bringing me in the right direction |
| 14:04 |
atmos4 |
# |
| 14:04 |
maholtz|WORK |
np:) |
| 14:06 |
Prot0 |
Conic: Don't know exactly, but try to look through other TYPO3 skins. Example: https://typo3.org/extensions/repository/view/modern_skin/current/ |
| 14:08 |
Conic |
Prot0: sry, was afk |
| 14:08 |
Conic |
Prot0: no i mean i want to add a new icon to the existing ones |
| 14:09 |
Conic |
the functionality is already written, but i don't know how to create a button for that |
| 14:09 |
Conic |
i think there should be a hook for it, but no clue how i can find it |
| 14:09 |
Prot0 |
i don't quite follow |
| 14:09 |
anteatersa |
Prot0: display: inline |
| 14:10 |
Prot0 |
you want to add the icons in the be, so they are not there yet? |
| 14:10 |
Prot0 |
anteatersa: que? :] |
| 14:10 |
Conic |
hehe, i want to add a new icon to those which are already there! |
| 14:10 |
anteatersa |
I spent 3-4 hours yesterday debugging ie6 css |
| 14:10 |
Prot0 |
lol |
| 14:10 |
Prot0 |
me about 3 yesterday |
| 14:11 |
Prot0 |
and 2 today but thats was ie6 + js |
| 14:11 |
Prot0 |
also a good combo |
| 14:11 |
Conic |
omg |
| 14:11 |
Prot0 |
something was not being parsed well |
| 14:11 |
anteatersa |
my js ie6 worries stopped when I started using jquery |
| 14:11 |
Prot0 |
well |
| 14:11 |
Prot0 |
it was in combination with powermail |
| 14:11 |
Prot0 |
(even worse hehe) |
| 14:12 |
anteatersa |
doesn;t that use prototype? |
| 14:12 |
Prot0 |
yup |
| 14:12 |
anteatersa |
eww |
| 14:12 |
Conic |
btw, does powermail's js run slow since last update? |
| 14:12 |
Prot0 |
:D |
| 14:12 |
Prot0 |
no but its getting more buggy :( |
| 14:12 |
Prot0 |
instead of less |
| 14:13 |
Conic |
for me it runs "well" but extremely slow since the last update |
| 14:13 |
Prot0 |
i dont have the idea that anything is done with the bug reports though |
| 14:13 |
Conic |
before it was extremely fast |
| 14:13 |
Conic |
jsut as js should be |
| 14:13 |
Prot0 |
everytime i use powermail i got the feeling that you can do so much with it |
| 14:14 |
Conic |
indeed |
| 14:14 |
Prot0 |
but in the end it's just not enough |
| 14:14 |
Prot0 |
for standard mailforms its fine |
| 14:14 |
Prot0 |
brb, reboot: windows nag-box |
| 14:15 |
Conic |
nag box? never heard that... |
| 14:16 |
Conic |
now is there someone who knows about the hook for adding icons to the list module? |
| 14:21 |
Prot0 |
back |
| 14:24 |
Conic |
Prot0: do you know about the hook for adding icons to the list module? |
| 14:24 |
Conic |
i want to add a new icon to those which are already there! |
| 14:25 |
Prot0 |
i still dont follow |
| 14:25 |
Prot0 |
so change the icon? |
| 14:25 |
Prot0 |
or add another extra icon? |
| 14:25 |
Conic |
add another extra icon? |
| 14:26 |
Prot0 |
what would the functionality for that than |
| 14:26 |
Conic |
i mean "!", not "?" |
| 14:26 |
Prot0 |
? |
| 14:26 |
Conic |
;) |
| 14:26 |
Conic |
it should just be a link to my module, which does the rest |
| 14:27 |
Prot0 |
im sure its possible but never done it, dunno how to ;] |
| 14:27 |
Conic |
do you know how i can find the way? |
| 14:27 |
Prot0 |
perhaps you can look in the versioning ext how that does it |
| 14:28 |
Conic |
versioning ext? |
| 14:28 |
Prot0 |
its in the core |
| 14:28 |
Conic |
ah, i see |
| 14:28 |
Conic |
nice idea |
| 14:28 |
Conic |
lemme look there..... |
| 14:30 |
Prot0 |
/typo3/sysext/version/ |
| 14:34 |
PiMB |
a link to your module? in the list module? |
| 14:34 |
PiMB |
in the page tree you mean? |
| 14:35 |
Prot0 |
in the list module |
| 14:36 |
pmk65 |
does asnyone know of any BE functions for generationg typolinks? I would rather avoid having to create a fake TSFE in order to use cObj. |
| 14:37 |
PiMB |
typolinks? |
| 14:38 |
PiMB |
can't you use getPageLink |
| 14:38 |
PiMB |
http://www.typo3-unleashed.net/typo3apidocs/typo3api_4.2.1/html/d6/d19/classtx__felogin__pi1.html#ad9a164e888e268ff2011dd85a916576 |
| 14:38 |
PiMB |
like the description says: generate links with typolink function ;] |
| 14:39 |
pmk65 |
its part of felogin. which is FE. and I know how to make links from FE ext. |
| 14:40 |
PiMB |
ah in mod ? |
| 14:40 |
PiMB |
no, sorry ;] not from the top of my head. |
| 14:42 |
pmk65 |
no its in a BE hook, that runs whenever content is saved edited. |
| 14:43 |
pmk65 |
In BE you don't have access to the typolink function, so either i'll have to create the url myself (which prevents it from being realurl'ed) or create a fake TSFE (which is a pain) |
| 14:45 |
Prot0 |
why does it need to be realurl'ed? |
| 14:45 |
PiMB |
to look good |
| 14:45 |
Prot0 |
lol |
| 14:48 |
PiMB |
so, anybody here thinks that coding with dual screen is faster then with 1 |
| 14:51 |
Prot0 |
im used to 1 screen now |
| 14:51 |
maholtz|WORK |
someone out who have not yet an google wave account? i have some invites left |
| 14:52 |
pmk65 |
I just started using 2 screens this month. still a bit confusing but im getting the hang of it.. |
| 14:52 |
Prot0 |
it can be faster if you sometimes get lost in your open apps |
| 14:52 |
pmk65 |
maholtz|WORK> I could use one.. |
| 14:52 |
maholtz|WORK |
send my your gmail account |
| 14:56 |
pmk65 |
(obscured mail address) |
| 14:56 |
pmk65 |
thanks |
| 14:57 |
maholtz|WORK |
np, takes some days |
| 15:03 |
Conic |
i would be interested, too ;) |
| 15:03 |
Conic |
do you have enough left? |
| 15:10 |
maholtz|WORK |
yep |
| 15:20 |
Conic |
then my account is (obscured mail address) ;) |
| 15:21 |
Conic |
thanks for that! |
| 15:24 |
maholtz|WORK |
np |
| 15:50 |
PiMB |
is there a way to tell quickly which extensions on a page are user_int and which are user? |
| 15:56 |
iaj` |
when I got a marker.. is is somehow possible to extract the last, lets say, 10 symbols out of it? |
| 15:56 |
iaj` |
<label for="check_###LABEL_NAME###">###LABEL### <span style="float:right">###DESCRIPTION###</span></label> |
| 15:56 |
iaj` |
thats what I've been trying |
| 15:57 |
iaj` |
but apparently that descriptiion doesn't get filled it - to powermail |
| 15:58 |
Prot0 |
you can use one of the 17 hooks available for that if you want to make custom markers |
| 16:00 |
iaj` |
hm, can you give me an example?? |
| 16:00 |
iaj` |
tried to pull marks from my page.10.marks.. but that didnt work :P |
| 16:02 |
Prot0 |
thats not going to do it |
| 16:02 |
iaj` |
I recognized that :/ |
| 16:02 |
Prot0 |
i think there is actualyl an extension to add custom markers to powermail |
| 16:03 |
Prot0 |
hm no |
| 16:03 |
iaj` |
hm no :D? |
| 16:04 |
Prot0 |
did you read this? |
| 16:04 |
Prot0 |
http://typo3.org/documentation/document-library/extension-manuals/powermail/1.5.0/view/ |
| 16:04 |
Prot0 |
and specially http://typo3.org/documentation/document-library/extension-manuals/powermail/1.5.0/view/1/13/#id2495559 |
| 16:05 |
Prot0 |
(at the bottom could be very interesting for you) |
| 16:10 |
iaj` |
mhh yeah.. if I'd get it that is :) |
| 16:11 |
me84 |
hey there |
| 16:12 |
me84 |
i'm facing a typoscript problem. anybody interested to help |
| 16:13 |
me84 |
've been browsin from forum to forum for more than a hour |
| 16:19 |
Prot0 |
there are ppl here |
| 16:19 |
Prot0 |
spit out your problem |
| 16:19 |
Prot0 |
;] |
| 16:21 |
anteatersa |
don't ask to ask, just ask |
| 16:25 |
me84 |
ok, i want to build a list of sites in a page. and before each list entry there shall be one picture out of the content of that site |
| 16:27 |
Prot0 |
do you have the snapshots? |
| 16:27 |
Prot0 |
or do they need to be rendered? |
| 16:27 |
me84 |
i don't want shapshots of the pages |
| 16:28 |
me84 |
i want to pic one image out of the images used on the page |
| 16:28 |
Prot0 |
out of the content? |
| 16:28 |
me84 |
yes |
| 16:28 |
Prot0 |
erm |
| 16:29 |
me84 |
do you think it's possible? |
| 16:29 |
Prot0 |
you build the list with typoscript? |
| 16:30 |
Prot0 |
should be i think |
| 16:30 |
Prot0 |
you can use RECORDS for grabbing content of the pages |
| 16:31 |
me84 |
yes |
| 16:31 |
Prot0 |
and CONTENT for rendering them |
| 16:31 |
Prot0 |
dunno about the images part though |
| 16:32 |
Prot0 |
they are stored as images right? not in the RTE? |
| 16:32 |
me84 |
yes |
| 16:33 |
Prot0 |
my guess is that its possible |
| 16:33 |
Prot0 |
but it will be quite some TS |
| 16:33 |
Prot0 |
hehe |
| 16:33 |
anteatersa |
possible... but quite tricky with TS |
| 16:33 |
me84 |
how do i use that CONTENT element?! |
| 16:35 |
atmos4 |
there is an extension that creates an imagemenu of pages |
| 16:36 |
atmos4 |
it adds another field to each page for specifying a thumbnail image |
| 16:36 |
atmos4 |
maybe that's what you're looking for |
| 16:37 |
me84 |
not exactly ... my whish is that the typoscript will pic one picture automatically |
| 16:37 |
me84 |
i'll try that records stuff |
| 16:37 |
anteatersa |
me84: http://www.typo3wizard.com/en/articles/explaining-the-content-object.html |
| 16:37 |
atmos4 |
me84: you mean the first image on the page content? |
| 16:37 |
anteatersa |
bookmark that site as well it's a goldmine |
| 16:37 |
me84 |
yes |
| 16:37 |
atmos4 |
oh well that could be done in ts |
| 16:38 |
Prot0 |
me84: http://pastebin.com/d2442929c |
| 16:38 |
Prot0 |
theres an example |
| 16:38 |
atmos4 |
wait a sec I did sth soimilar for teaser content |
| 16:38 |
me84 |
:-) |
| 16:38 |
Prot0 |
of grabbing content of a page and customly displaying it |
| 16:38 |
me84 |
yeah |
| 16:39 |
atmos4 |
I have some ts for selecting a random content element from a page and showing the first image from that element |
| 16:39 |
atmos4 |
but the code is quite extensive |
| 16:39 |
atmos4 |
and if you'Re not quite good at typoscript you'll probably get confused |
| 16:40 |
atmos4 |
but I could post it on pastebin |
| 16:40 |
me84 |
hmm im not quite good yet |
| 16:40 |
me84 |
yeah would be great |
| 16:40 |
me84 |
i hope to become better by that project ... |
| 16:40 |
me84 |
hehe |
| 16:42 |
atmos4 |
http://pastebin.org/52746 |
| 16:42 |
Prot0 |
:) |
| 16:42 |
atmos4 |
have fun understanding it ;-) |
| 16:42 |
atmos4 |
I have to get back to coding |
| 16:43 |
Prot0 |
nice one too :) |
| 16:43 |
atmos4 |
what it does is look through all pages recursively form a given page id, then grab the first content element form each page |
| 16:43 |
atmos4 |
and then show a teaser of the content object, by showing the first image and an abrigded version of the text |
| 16:44 |
atmos4 |
pastebin messed up the indenting ... |
| 16:44 |
me84 |
ok thx |
| 16:44 |
atmos4 |
the interesting is probably this: |
| 16:44 |
atmos4 |
file.import = uploads/pics/ |
| 16:44 |
atmos4 |
file.import.data = field : image |
| 16:44 |
atmos4 |
file.import.listNum = 0 |
| 16:44 |
atmos4 |
file.maxW = {$RIGHT_MAX_IMG_IN_TEXT_WIDTH} |
| 16:45 |
atmos4 |
it's the trick to get only the first image |
| 16:45 |
me84 |
that what is interessting for me is how do i say him from which content element to import the picture |
| 16:45 |
atmos4 |
oh well, there was not so much a trick in that, trickier was getting only the first caption :-) |
| 16:46 |
atmos4 |
well depends on your select query |
| 16:47 |
me84 |
ok makes sense so i'll need to understand the select query |
| 16:47 |
atmos4 |
yea, I only ever have one content element on the pages in this example |
| 16:48 |
atmos4 |
it also uses a random record |
| 16:48 |
atmos4 |
you shoudl probably look at an easier example to list content from a page |
| 16:48 |
me84 |
.listNum = 0 will use a random record??? |
| 16:48 |
atmos4 |
no |
| 16:48 |
me84 |
i'll try to understand it |
| 16:48 |
atmos4 |
that just uses the first image |
| 16:48 |
atmos4 |
if there are more than one |
| 16:49 |
me84 |
yes, thats what i thought too |
| 16:49 |
atmos4 |
in INFO_CONTENT.10.select is the select query that get the stuff from tt_content |
| 16:49 |
atmos4 |
but as said this just gets one random content element |
| 16:50 |
atmos4 |
so your query would look different |
| 16:50 |
me84 |
ahhh ok i see |
| 16:50 |
me84 |
ok, i'll find out how to do that with tsref i think |
| 16:51 |
atmos4 |
yea the select syntax should be described there under the content object |
| 16:52 |
atmos4 |
I'll get back to coding now |
| 16:52 |
me84 |
ich seh grad du hast ja auf deutsch kommentiert ;-) |
| 16:52 |
me84 |
vielen dank und viel spaß weiterhin bei der arbeit |
| 16:53 |
atmos4 |
OK |
| 16:55 |
atmos4 |
if you need to select xontent from several pages recursively, you might find the userfunc I use for this useful: |
| 16:55 |
atmos4 |
http://pastebin.org/52749 |
| 19:12 |
atmos4 |
just finished adding support to tt_products for disabling payment and shipping methods based on total sum of the order |
| 19:12 |
atmos4 |
was quite more complicated than I had imageined ;-) |
| 19:13 |
atmos4 |
it also handles reset to default values, if an option becomes unavailable after chaging the basket contents |
| 19:14 |
atmos4 |
and it even uses ts syntax similar to global minPrice support :-) |