| 00:05 |
Denyerec |
Anyone awake ? |
| 00:11 |
timdeluxe |
no. |
| 00:59 |
atmos4 |
hi, anyone here who understands how to use stdWrap .setCurrent ? |
| 01:09 |
Denyerec |
What do you want to achieve atmos4 ? |
| 01:09 |
atmos4 |
I'm coding tan extension that renders images |
| 01:10 |
Denyerec |
ok |
| 01:10 |
atmos4 |
the setup for the images is via TS setup |
| 01:10 |
atmos4 |
so to be able to allow for complex gifbuilder setup, I wanna set the image file to sue via setCurrent |
| 01:11 |
atmos4 |
I'm loading the ts setup for the image, then set the $lConf['thumbnail.']['setCurrent'] = $row['thumbnail'] and then render it via $this->cObj->IMAGE($lConf['thumbnail.']); |
| 01:12 |
atmos4 |
I tried a simple TS setup with a TEXT object and there I was able to set the content via setCurrent = Hello World and current = 1 |
| 01:15 |
atmos4 |
hmm, I'll try reducing the ts setup for the image to something simpler |
| 01:15 |
Denyerec |
I have used setCurrent |
| 01:15 |
Denyerec |
I am trying to remember *where* |
| 01:17 |
Denyerec |
http://www.phlogi.net/f/t3/tsp/sp/-527da99536/ |
| 01:17 |
Denyerec |
maybe there is something in there that can help |
| 01:27 |
atmos4 |
Denyerec: I have gotten setCurrent to work with TEXT object, but not yet with IMAGE |
| 01:27 |
atmos4 |
can't figure out the correct TS syntax |
| 01:27 |
Denyerec |
that snippet uses it with images I think |
| 01:29 |
atmos4 |
yea but on tt_content |
| 01:29 |
Denyerec |
ah |
| 01:29 |
Denyerec |
hmm |
| 01:29 |
atmos4 |
I need to manually call setCurrent |
| 01:29 |
Denyerec |
you could probably looka t the code of rg smoothgallery |
| 01:30 |
atmos4 |
I could also write to a dummy key in the ts |
| 01:30 |
atmos4 |
like realFilename and then set filename form that in ts setup |
| 01:30 |
atmos4 |
but it's a hack |
| 01:35 |
atmos4 |
the tsref doc os setCurrent is virtually nonexistant |
| 01:43 |
atmos4 |
hmm |
| 01:43 |
atmos4 |
the following code works |
| 01:43 |
atmos4 |
on an IMAGE object |
| 01:43 |
atmos4 |
file.import.setCurrent = agm_duisburg_t01.png |
| 01:43 |
atmos4 |
file = uploads/tx_fbreferences/agm_duisburg_t01.png |
| 01:43 |
atmos4 |
file.import = uploads/tx_fbreferences/ |
| 01:43 |
atmos4 |
file.import.current = 1 |
| 01:43 |
atmos4 |
file.import.listNum = 0 |
| 01:43 |
atmos4 |
file.maxW = 164 |
| 01:44 |
atmos4 |
argh |
| 01:45 |
atmos4 |
the file = line should be commented out |
| 01:46 |
atmos4 |
the code worked without it |
| 01:49 |
atmos4 |
this still doesn't help me too much, because I need to set the current record on a parent onject |
| 01:55 |
dokma |
Denyerec: what was it? Did you fix it? |
| 01:56 |
Denyerec |
Yeah dok |
| 01:56 |
Denyerec |
not the way I wanted |
| 01:56 |
Denyerec |
but the site's working |
| 02:03 |
atmos4 |
hmm, now using file.import.setCurrent < plugin.tx_fbreferences_pi1.listView.thumbnail.setCurrent on the sub images of the gifbuilder |
| 02:03 |
atmos4 |
still quite a hack |
| 02:03 |
atmos4 |
templavoila can do it without that |
| 05:10 |
typo3login |
Hi |
| 05:11 |
typo3login |
Anyone here ? |
| 05:31 |
typo3login |
Hello ? |
| 05:35 |
Tsoots |
lo |
| 05:37 |
ries |
some are.... |
| 05:53 |
typo3login |
Hi ! |
| 05:54 |
typo3login |
Ive got a problem with sr_feuser_register, the Frontend User Registration extension, maybe one of you might be able to help me ? |
| 06:05 |
typo3login |
Anyway, if someone reads it later : When I include the plugin as a content and insert it in my html template, I get a blank page. There's not even html code returned. It happens including the static template of the ext or not. If I dont include the plugin content - through styles.content.get - I get my page back. |
| 09:17 |
nd |
anyone knows how to disable the about-screen for every POI? My map is too small to have this info... |
| 09:17 |
maholtz|WORK |
morning |
| 09:17 |
nd |
morning |
| 09:27 |
Georges_Abitbol |
yop |
| 09:32 |
skurfuerst |
good morning |
| 09:32 |
_pedda_ |
good morning |
| 09:35 |
nd_ |
umlauts on the assoc page are broken... |
| 11:31 |
atmos4 |
hmm, thi is strange: |
| 11:32 |
atmos4 |
I'm using array_walk_recursive to replace markers in a typoscript object |
| 11:32 |
atmos4 |
array_walk_recursive($lConf['thumbnail.'], create_function('&$v,$k', |
| 11:32 |
atmos4 |
'$v=str_replace("###IMAGE###","'.$row['thumbnail'].'",$v);'. |
| 11:32 |
atmos4 |
'$v=str_replace("###TITLE###","'.$row['title'].'",$v);' |
| 11:32 |
atmos4 |
)); |
| 11:32 |
atmos4 |
now $row always returns the results of the first row of the result |
| 11:33 |
atmos4 |
although this code is inisde a while($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) loop |
| 11:33 |
atmos4 |
it seems php somehow caches the anonymous function |
| 11:33 |
atmos4 |
anyone have an idea how to work around that? |
| 11:34 |
dokma |
it doesn't cache it |
| 11:34 |
dokma |
it's create once |
| 11:34 |
dokma |
when array_walk_recursive is called |
| 11:34 |
atmos4 |
yes but I get the ame result for each row |
| 11:35 |
atmos4 |
also a print_r at the beginning of the loop print different rows |
| 11:35 |
maholtz|WORK |
@atmos4: why dont you use the typo3 functions? f.e. substituteMarkerArray |
| 11:35 |
atmos4 |
do they work on TS arrays? |
| 11:46 |
atmos4 |
hmm, found substituteMarkerInObject |
| 11:46 |
atmos4 |
that could work |
| 11:50 |
atmos4 |
maholtz|WORK: thx for the hint in the right direction |
| 11:51 |
atmos4 |
it seems however my problem is the usage of substitueMarkerArray*Cached* |
| 11:51 |
atmos4 |
ind the processing of the html template |
| 11:51 |
atmos4 |
so much for copy & paste from other extensions =) |
| 11:54 |
atmos4 |
argh still three time the same result with the non-cache version |
| 11:57 |
atmos4 |
ah of course |
| 11:57 |
atmos4 |
substitueMaerkerInObject works by reference |
| 11:58 |
atmos4 |
so once I substitute the first time, no markers are left in the ts object |
| 11:58 |
atmos4 |
so I need to copy the ts object first |
| 12:00 |
fred^^ |
Do anyone know a good ext. that can create an RSS feed of my tt_news records? I can not get rss directly from tt_news on this particular site |
| 12:01 |
atmos4 |
why not? |
| 12:04 |
snoy_ms |
hey all. Whats the best extension for translation the loc. languages in extensions ? |
| 12:06 |
snoy_ms |
i found lfeditor. I try it but there was another one and i forget the name.... |
| 15:43 |
csanyipal |
hi |
| 15:46 |
litzinger |
maybe today is the day I get this figured out (have asked this question 3 times this week and have not gotten any responses). I'm using tt_news, and I want to be able to set the value of the token ###LATEST_NEWS### within my Template script. I've tried various things similar to "plugin.tt_news.LATEST_NEWS.value = My New Title", but that hasn't worked. Does anyone know how I replace token values? |
| 15:51 |
csanyipal |
I have a fresh installed typo3 on debian system and have setup everything except apache2 VirtualHost for typo3. So when I visit http://localhost/typo3/ then get Error: Internal Server Error. So I set up LogLevel debug, and looked in log file and saw this: [Fri Jul 17 10:02:45 2009] [error] [client 127.0.0.1] Request exceeded the limit of 10 internal redirects due to probable configurati on error. Use 'LimitInternalRecursion' to incre |
| 15:51 |
csanyipal |
ase the limit if necessary. Use 'LogLevel debug' to get a backtrace. How can I solve this problem? |
| 15:52 |
pulponair |
csanyipal: mod_rewrite enabled ? |
| 15:52 |
csanyipal |
in apache? wait, I'll see |
| 15:53 |
pulponair |
csanyipal: it obviously is enabled |
| 15:54 |
pulponair |
csanyipal: check your rewriting |
| 15:54 |
pulponair |
csanyipal: further more check file permission ... |
| 15:56 |
csanyipal |
mod_rewrite is enabled, and I have run the command: sudo chown -R www-data:www-data /var/lib/typo3-dummy |
| 15:56 |
csanyipal |
it's on Debian Etch system.. not on Lenny :( |
| 15:57 |
pulponair |
csanyipal: distribution does not matter |
| 15:57 |
csanyipal |
ok |
| 15:58 |
pulponair |
csanyipal: its related to rewriting, something is wrong with the path/depth you installed typo3 to ...as a quick workaround just turn of rewriting |
| 15:58 |
csanyipal |
this is on Bubba miniserver |
| 15:58 |
csanyipal |
ok |
| 15:59 |
pulponair |
csanyipal: this error is usually cause by an endless rewrite loop... |
| 16:00 |
pulponair |
csanyipal: if you did not enabled the typo3 htacces base rewritting, there is probably some strange default rewriting taking place...check your apache config for it and remove/fix it |
| 16:00 |
teppi|work |
litzinger, did you read this page: http://typo3.org/documentation/document-library/extension-manuals/tt_news/2.5.2/view/1/9/ ? |
| 16:00 |
pulponair |
litzinger: can be done by hooking getitemmarkerarray |
| 16:00 |
csanyipal |
ok, here on Debian Etch I haven't the command a2enmod so how can I unload the rewrite modul? |
| 16:02 |
pulponair |
csanyipal: there is an symlink in enableMods remove it |
| 16:03 |
pulponair |
csanyipal : /etc/apache/mods-avaible |
| 16:03 |
pulponair |
i guess |
| 16:04 |
csanyipal |
pulponair: yes, /etc/apache2/mods-enabled/ and here are symlinks |
| 16:04 |
csanyipal |
can I just remove the symlink? |
| 16:04 |
pulponair |
csanyipal: yes |
| 16:04 |
csanyipal |
ok |
| 16:04 |
pulponair |
csanyipal: create a new one if you need this module |
| 16:06 |
csanyipal |
pulponair: sudo /etc/init.d/apache2 restart Error: Forcing reload of web server (apache2)... waiting Syntax error on line 16 of /etc/apache2/conf.d/admin.conf Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration failed! |
| 16:09 |
pulponair |
csanyipal: need to comment out this line |
| 16:09 |
pulponair |
since the apache does not know the rewrite module anymore |
| 16:10 |
csanyipal |
ok |
| 16:10 |
pulponair |
csanyipal: just comment out any rewrite related stuff or wrap an if arround it |
| 16:10 |
pulponair |
dude, thats actually not typo3 related ;). You should make yourself familiar with apache basic configuration ;> |
| 16:11 |
csanyipal |
ok, thanks |
| 16:12 |
csanyipal |
pulponair: I did it, and restart apache2 |
| 16:13 |
csanyipal |
pulponair: lynx http://localhost/typo3 |
| 16:13 |
csanyipal |
pulponair: Database Error No database selected |
| 16:15 |
csanyipal |
pulponair: ok, I try not from localhost but from my desktop machine with: address: http://bubba/typo3 |
| 16:15 |
csanyipal |
in firefox |
| 16:15 |
pulponair |
csanyipal: :well you have to configure typo3 to make it work |
| 16:15 |
csanyipal |
ok |
| 16:15 |
pulponair |
e.g. set up a database. |
| 16:16 |
pulponair |
Dude, read the documentation ;> |
| 16:16 |
csanyipal |
I was install typo3 on my desktop machine behind the Bubba firewall/server but I want to install it on Bubba webserver |
| 16:17 |
csanyipal |
pulponair: on mine desktop machine I run Debian Lenny, but on Bubba server run Debian Etch |
| 16:17 |
csanyipal |
and things are different.. |
| 16:17 |
pulponair |
csanyipal: distribution does not matter... |
| 16:18 |
pulponair |
if typo3 complains about a missing database the database isnt configured that's pretty straight forward |
| 16:18 |
Denyerec |
Can anyone explain how TYpo3 can be using ExtJS if you have to PAY for ExtJS ? |
| 16:18 |
csanyipal |
ok |
| 16:19 |
pulponair |
Denyerec: that's something i wonder as well |
| 16:19 |
dreier-schmiede |
hi, i have typo3 4.2.8. and templavoila, when there is no translation for the selected language the default content is displayed... but when i delete "<langDisable type="integer">0</langDisable>" in the xml-template the second language would not be displayed.. |
| 16:19 |
pulponair |
Denyerec: hi btw ;) |
| 16:19 |
Denyerec |
Hey :D |
| 16:20 |
Denyerec |
I would like to learn extjs... but cannot afford to buy it. |
| 16:20 |
csanyipal |
pulponair: I'm now at typo3 Install tool THANKS! :) |
| 16:20 |
Denyerec |
So... what do I do I wonder? |
| 16:21 |
pulponair |
dreier-schmiede: l18n is a complicated thing even more if TV comes into play. (Due to its xml) |
| 16:21 |
pulponair |
dreier-schmiede: read through the internationalisation howto to get a clear overview of how things work together.. |
| 16:23 |
dreier-schmiede |
pulponair: thx, but where to find the "internationalistion hotow" |
| 16:24 |
pulponair |
dreier-schmiede: i get you a link. btw: dont get me wrong but this topic is way to complex to explain it via irc... |
| 16:24 |
d|ver |
hi.. on a server without ImageMagick... how to enable thumbnails? |
| 16:24 |
pulponair |
d|ver:plain gd should do the job as well |
| 16:25 |
d|ver |
config? |
| 16:25 |
pulponair |
d|ver: within the installer right |
| 16:25 |
pulponair |
dreier-schmiede: http://typo3.org/documentation/document-library/core-documentation/doc_l10nguide/current/ |
| 16:25 |
d|ver |
I moved a local install to the server but couldn't find it in the config |
| 16:25 |
dreier-schmiede |
pulponair: thx |
| 16:25 |
d|ver |
local install with IM |
| 16:25 |
litzinger |
is there a way to see what exec_SELECTquery actually creates as the query string? |
| 16:26 |
pulponair |
dreier-schmied: put special extension to the fact that localizing records in tv works different to normal content elements. |
| 16:26 |
pulponair |
s/extension/attention ;) |
| 16:27 |
pulponair |
litzinger: use 'SELECTquery' + t3lib_div::debug |
| 16:27 |
pulponair |
litzinger: and enable sql debug within the installer |
| 16:29 |
d|ver |
hm.. waiting for the hoster to install IM then :) .... |
| 16:32 |
Denyerec |
pulponair - you're seriously getting some high T3 points these days |
| 16:33 |
dreier-schmiede |
pulponair: do you realy think there is no way to explain me why the default language content is displayed when there is no translation |
| 16:34 |
dreier-schmiede |
i think it is just somthing like "hidePagesIfNotTranslatedByDefault" but for content elements |
| 16:34 |
d|ver |
pfff... my first typo3 ready for release tomorrow... |
| 16:34 |
dreier-schmiede |
everythink else work perfekt |
| 16:34 |
d|ver |
http://www.lapp-insulator.de/Users//base.php?id=221&lid=1 |
| 16:34 |
pulponair |
dreier-schmiede: there is a way but it will take some time due to the fact that you first need to explain what translation paradigmen you are using how all relevant settings are set etc |
| 16:34 |
d|ver |
compared to my own CMS it took me 10x the time to do it |
| 16:35 |
d|ver |
but they insisted on typo3... |
| 16:35 |
d|ver |
anyway... it's not bad... only weird (TYPOSCRIPT) |
| 16:35 |
pulponair |
d|ver: if you are used to it you'll be a able to get up a medium sized site within one day |
| 16:36 |
d|ver |
i understand.. but I usually work with a designer who want 100% pixel exact layout... |
| 16:36 |
d|ver |
that's hell with typo3 |
| 16:37 |
d|ver |
in my own CMS i can just code PHPm with simple HTML templates |
| 16:37 |
pulponair |
d|ver: thats a matter of templating not of typo3 |
| 16:37 |
d|ver |
it's for bigger sites OK |
| 16:37 |
d|ver |
or if u adapt ready site template |
| 16:37 |
d|ver |
but not if I get a design from my designer |
| 16:38 |
d|ver |
with weird menus and stuff |
| 16:38 |
pulponair |
d|ver: perhaps you should switch over to a designer who is more web proof ;> |
| 16:40 |
d|ver |
I don't switch designers like underwear.. :) |
| 16:40 |
d|ver |
I trust in him.. |
| 16:41 |
Denyerec |
hehe |
| 16:41 |
Denyerec |
d|ver in fairness, I've never had trouble with Typo layouts |
| 16:42 |
pulponair |
Denyerec: typo3 does not restrict regarding layouts |
| 16:42 |
Denyerec |
I know |
| 16:42 |
Denyerec |
That's why I love it :) |
| 16:43 |
d|ver |
Denyerec: layout is easy because I use XHTML+CSS for years.. but menu coding, etc is insane |
| 16:43 |
pulponair |
Denyerec: well i wouldnt say that i love it ...some things are really ugly ..but ...there arent real alternatives |
| 16:43 |
pulponair |
d|ver: right TS is something you need to get familiar with in order to be fast |
| 16:44 |
d|ver |
should be more like javascript |
| 16:44 |
Denyerec |
pulponair - perhaps I like it because I don't get involved in the really hairy stuff |
| 16:44 |
pulponair |
d|ver: maybe but writing language parser isnt that easy |
| 16:44 |
d|ver |
standard.. because TS looks like in 84 on a C64 |
| 16:44 |
pulponair |
d|ver: due to that line stuff right ;) |
| 16:45 |
pulponair |
d|ver: though basic was more powerfull at least it was aware of controll structures and loops and stuff ;) |
| 16:45 |
d|ver |
i still don't understand it... but i hacked it and it works now :D |
| 16:45 |
pulponair |
d|ver: tell us what you want to do perhaps we can enlight you... |
| 16:46 |
pulponair |
d|ver: hacking typo3 isnt a good idea in the face of updates |
| 16:46 |
d|ver |
have the first 3rd level menu item a different HTML than the following items |
| 16:47 |
d|ver |
i could use CSS first:, but IE problems |
| 16:47 |
pulponair |
d|ver: thats acctually no problem could you paste the raw html you need? |
| 16:47 |
dreier-schmiede1 |
ping |
| 16:47 |
dreier-schmiede1 |
ahhhh |
| 16:47 |
pulponair |
pong |
| 16:47 |
d|ver |
I know there is some weird formatting like **||**|||(( |
| 16:47 |
dreier-schmiede1 |
did you got my question? |
| 16:49 |
d|ver |
all active menu items have a <p> </p> before and after, except the first |
| 16:51 |
dreier-schmiede1 |
i said: i think there are only 3 config parms: in my localconf: hidePagesIfNotTranslatedByDefault=1; in my template.setup sys_language_mode = content_fallback & sys_language_overlay = hideNoneTranslated |
| 16:51 |
dreier-schmiede1 |
pulponair: kommst du aus berlin |
| 16:51 |
pulponair |
dreier-schmiede: hamburg |
| 16:51 |
dreier-schmiede1 |
aso |
| 16:52 |
dreier-schmiede1 |
hier war gerade unwetter und mein modem musste neugestartet werde |
| 16:52 |
dreier-schmiede1 |
;= |
| 16:52 |
dreier-schmiede1 |
;) |
| 16:52 |
pulponair |
hier ist auch gewitter |
| 16:52 |
dreier-schmiede1 |
können wir das mal schnell auf deutsch klären? |
| 16:53 |
pulponair |
dreier-schmiede1: ja aber dann nicht im channel query |
| 16:56 |
dreier-schmiede1 |
pulponair: haste mein query? |
| 16:58 |
dreier-schmiede1 |
ping |
| 17:36 |
_pedda_ |
cu all |
| 20:08 |
Golgata |
hi :) i use indexed_search in a page with frames - and when i click "submit", it loads the page in the frame instead of the whole window... how can i fix this? |
| 20:10 |
litzinger |
I'm trying to replace a tt_news token ###LATEST_HEADER###, and I followed the example file on how to use the itemMarkerArrayFunc to extend tt_news. when I do a debug on the markerArray, LATEST_HEADER isn't even in the list. I can replace other tokens such as TITLE, but that doesn't help me. My code is very simple... |
| 20:10 |
litzinger |
includeLibs.user_sbGlobal = fileadmin/user_classes/sb_global.php |
| 20:10 |
litzinger |
plugin.tt_news.itemMarkerArrayFunc = user_updateTTNewsTemplateMarkers |
| 20:10 |
litzinger |
function user_updateTTNewsTemplateMarkers($markerArray, $conf) |
| 20:10 |
litzinger |
{ |
| 20:10 |
litzinger |
$markerArray['###LATEST_HEADER###'] = 'TESTING'; |
| 20:10 |
litzinger |
return $markerArray; |
| 20:10 |
litzinger |
} |
| 20:11 |
litzinger |
It will not replace LATEST_HEADER |
| 20:11 |
Golgata |
think you cant use markers in php-scripts, can you? |
| 20:12 |
litzinger |
they have example files in the /res/ folder of tt_news on how to do just this |
| 20:12 |
litzinger |
I can put in TITLE, and it will replace all my news entries titles with "TESTING" but I can't replace LATEST_HEADER |
| 20:16 |
litzinger |
ok, ###LATEST_HEADER### is outside the ###CONTENT### and ###NEWS### tokens, so it's not in the 'loop'. |
| 20:16 |
litzinger |
thus it isnt in the maker array |
| 20:18 |
litzinger |
http://pastie.org/549679 |
| 20:19 |
litzinger |
summary at that url |
| 21:08 |
csanyipal |
hi |
| 21:09 |
csanyipal |
I have just installed TYPO3 Ver. 4.2.8 |
| 21:11 |
csanyipal |
Sorry, but I can't to use Ext Manager |
| 21:11 |
csanyipal |
Fatal error: Call to undefined function curl_init() in /Users/<removed>/typo3_src-4.2.8/t3lib/class.t3lib_div.php on line 2551 |
| 21:11 |
csanyipal |
what can I do? |
| 21:12 |
csanyipal |
$TYPO3_CONF_VARS --> [curlUse]=1 |
| 21:29 |
csanyipal |
I setup now $TYPO3_CONF_VARS --> [curlUse]=0 |
| 21:29 |
csanyipal |
and want to Retrieve/Update |
| 21:30 |
csanyipal |
OK succes. |
| 23:07 |
atmos4 |
hmm |
| 23:07 |
atmos4 |
hmm, anyone has a trick to suppress the safari css styles in htmlarea rte? |
| 23:11 |
atmos4 |
it inserts sth like span.Apple-style-span on copy'n'paste |
| 23:29 |
atmos4 |
argh can't understand why apple is doing such crap, their browser is otherwise very good |