| 00:19 |
FloLeBlanc |
hi all |
| 00:21 |
smeringe |
hi FloLeBlanc |
| 00:21 |
FloLeBlanc |
anyone in who does know about typoscript queries and joins? :) |
| 00:23 |
smeringe |
he... |
| 00:23 |
FloLeBlanc |
? |
| 00:23 |
FloLeBlanc |
hi smeringe :) |
| 00:24 |
smeringe |
just sounded funny Flo :P doing queries with joins and stuff solely with ts |
| 00:24 |
FloLeBlanc |
smeringe: it is possible, though I don't know if the query I want to do is |
| 00:25 |
smeringe |
I'm sure it's possible. still is funny.. why not do some userfunc instead? |
| 00:26 |
timdeluxe |
someone around using eclipse? |
| 00:26 |
FloLeBlanc |
smeringe hmm.. don't know.. less of a hassle with files |
| 00:28 |
smeringe |
well, true maybe. but also less cumbersome. |
| 00:29 |
smeringe |
timdeluxe: I do |
| 00:29 |
smeringe |
(use eclipse that is) |
| 00:31 |
timdeluxe |
smeringe: i am asking in #eclipse at the moment. i want to change the default new line behaviour |
| 00:32 |
smeringe |
k. then I bet they can answer better then me. I'm always flirting with other editors as well so I'm never clever enough on one.. |
| 00:32 |
smeringe |
;) |
| 00:33 |
smeringe |
FloLeBlanc: seems quite 'straight forward' with joins.. http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/5/ |
| 00:33 |
timdeluxe |
ah i found it |
| 00:35 |
smeringe |
FloLeBlanc: maybe you are über haxxor at the ts CONTENT and select objects but otherwise see this for ref http://www.typo3wizard.com/en/articles/explaining-the-content-object.html |
| 00:36 |
FloLeBlanc |
smeringe thank you I know those links, my problem is the query I'd like to emulate is: SELECT * FROM fe_users AS r1 JOIN (SELECT (RAND() * (SELECT MAX(uid) FROM fe_users)) AS uid) AS r2 WHERE r1.uid >= r2.uid ORDER BY r1.uid ASC LIMIT 1; (almost random user record) |
| 00:37 |
smeringe |
oh. trickier |
| 00:37 |
FloLeBlanc |
yep :) |
| 00:37 |
FloLeBlanc |
perhaps I have to go with the userfunc |
| 00:38 |
smeringe |
then your either of on your own or go for a userfunc and get it solved with the above query ;) |
| 00:38 |
smeringe |
he |
| 00:38 |
FloLeBlanc |
well with the above query I have to consider that I have to limit the "randomness" to undeleted and visible records |
| 00:38 |
FloLeBlanc |
ts does that for you as far as I know when you use that way |
| 00:45 |
null_ |
hi |
| 00:45 |
null_ |
ries: are you around? |
| 00:45 |
ries |
about to leave actually.. but what's up? |
| 00:45 |
null_ |
hi :) |
| 00:45 |
null_ |
know it just middle of the day :) |
| 00:46 |
null_ |
Do you know where typo stores the admin login in sql? |
| 00:46 |
null_ |
i searched the be_session table |
| 00:47 |
null_ |
i mean the loggin, not the password of the admin |
| 00:48 |
ries |
null_: check be_users |
| 00:48 |
null_ |
ok |
| 00:48 |
ries |
what do you mean exactly by 'stored admin login' ? |
| 00:49 |
ries |
I think you are ok with be_sessions.. but sure what youa re looking for |
| 00:49 |
null_ |
if go to "log" in the backend# |
| 00:49 |
null_ |
i get a list of times a admin has logged in, and i want to know where this is logged in sql |
| 00:50 |
null_ |
in the be_sessions table there is an entry with the name and ip |
| 00:50 |
null_ |
but it must be stored anywhere else, cause if i change this, after bd backup it is still there. |
| 00:52 |
ries |
null_: there is a log table for this perpose |
| 00:52 |
ries |
leaving now |
| 00:53 |
FloLeBlanc |
smeringe: thank you for the input, will get some sleep now.. cya all :) |
| 00:53 |
null_ |
i guess i found it |
| 00:53 |
null_ |
cache_hash |
| 00:53 |
null_ |
thank you ries |
| 00:53 |
smeringe |
FloLeBlanc: sleep tight :) cya |
| 00:53 |
null_ |
wish you a good night |
| 07:26 |
alexmmm |
hi there |
| 07:27 |
devcow |
hello |
| 07:27 |
alexmmm |
anyone awake ? |
| 07:31 |
jimknopf |
wonder why i get disconnected all the time |
| 07:39 |
d|g |
hi all |
| 07:40 |
foool |
hi all |
| 07:48 |
xsebi |
oh lets discover whats playing cards vote... |
| 08:13 |
koomi |
moin |
| 08:21 |
alexmmm |
lo |
| 08:23 |
alexmmm |
if i create a complex flexible content element, does frontend editing basically still work on all editable parts of that fce ? |
| 08:24 |
alexmmm |
seems as if i can only edit the fce as a whole, but not the editable parts its made of. |
| 08:24 |
alexmmm |
*wrinkle* |
| 08:26 |
alexmmm |
ah well guess its too early in the morning |
| 08:26 |
alexmmm |
:P |
| 09:01 |
banban |
does anyone have manual for "ratings" extension. it is corrupted in the extension repository |
| 09:06 |
alexmmm |
anyone knows if complex flexible content elements allow separate frontend editing of their parts ? |
| 09:28 |
alexwx |
helo |
| 09:29 |
alexmmm |
morning |
| 09:29 |
alexwx |
helo, how to get the current URL with the ext. params also? with all the params in the URL |
| 09:31 |
alexmmm |
uhm the typolink might help there, but er better check the documentation |
| 09:38 |
pmk65 |
alexwx: In Typoscript, you can use the typolink function with the addQueryString parameter. |
| 09:38 |
teppi|work |
good morning |
| 09:38 |
alexwx |
pmk65 can i set it as true? OR 1 ? |
| 09:39 |
pmk65 |
1 |
| 09:40 |
pmk65 |
There's also an extra parameter you can set, to exclude some GET/POST parameters (There's no idea in keeping the id parameter, as the typolink generates that) |
| 09:40 |
pmk65 |
addQueryString.exclude = id,L |
| 09:40 |
pmk65 |
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/5/8/ |
| 09:41 |
alexmmm |
uhm can you somehow turn off content elements listed by Templavoilas add new content wizard ? |
| 09:42 |
alexmmm |
i.e hide from the list |
| 09:47 |
alexwx |
pmk65 thank you it looks nice |
| 09:49 |
alexmmm |
more general question, is it possible to edit fce's inner elements directly via frontend editing ? |
| 09:49 |
alexmmm |
or can you only edit the whole fce this way |
| 09:55 |
alexwx |
pmk65 hey, but the exclusion doesnt work $conf['addQueryString.']['exclude'] = 'L'; |
| 10:02 |
pmk65 |
alexwx: Works for me (but I used it from Typoscript, not PHP) Do you get 2 L parameters in your URL? |
| 10:04 |
alexwx |
pmk65 yes I get L param twice |
| 10:04 |
animan |
hi, is there any way to disable indexing different page types? namely type=98, for printlink that doesn't need to be indexed |
| 10:06 |
pmk65 |
animan: don't think so. But you could use conditions, and check for the TYPE parameter, then if it's 98,you turn of indexing. |
| 10:07 |
pmk65 |
alexwx: Here's an example on how I use it from TS http://www.typo3wizard.com/en/snippets/general-config/tip-a-friend-link-generated-using-typoscript.html#c490 |
| 10:15 |
alexwx |
pmk65 hmm, otherwise i am generating language menu, is there some nice TS spippet to generate the language menu? Because i am using a php code |
| 10:19 |
s-andersen |
Hi, I'm trying to insert an email in the RTE like mailto:(obscured mail address)?subject=Time 16:00, but TYPO3 cuts out the 16:00, then I tried %20 instead of whitespace, and that gave me a @, can someone tell me how I get a whitespace in there? |
| 10:31 |
alexwx |
pmk65 ok but I set the uniqueLinkVars = 1, now its ok |
| 10:31 |
alexwx |
in the config of TS |
| 10:38 |
Recnelis |
Hey guys.. do u know how people makes thoose neat automatic dropdown lists in or flexform in Typo3 extensions? I only know the "old" method of extending tt_content and making a drop down list of options.. :/ |
| 10:42 |
Recnelis |
Second thing, should I parse things from locallang.xml through htmlspecialchars or is it a waste? |
| 10:46 |
teppi|work |
hm we use flexform for extension options |
| 10:48 |
dotx |
helllo |
| 11:06 |
Recnelis |
teppi|work: Flexforms.. hmm heard a lot about em... just never looked at what they are.. I'll take a look |
| 11:06 |
Recnelis |
Is making a template for a extension a good idea? Rather than hardcoding? |
| 11:07 |
teppi|work |
i never worked with templates .. i think its a good option if you want to share your extension with the community ..so they can cutomize the output very easy .. |
| 11:08 |
teppi|work |
but if you just use it on your own its not necessary i think .. |
| 11:08 |
Recnelis |
It's actually for a company for whom I'm making a Typo3 website... |
| 11:09 |
Recnelis |
Just wondering if it's a lot of work or fairly simple.. I've made quite a few extensions but never used the option.. |
| 11:15 |
alexmmm |
hmm how could it be that the admPanel appears at top and outside of html tags even ? |
| 11:19 |
Nublaii |
There is a runaway cleanup process on my system, cleaning up the caches, and I can't figure out where it's coming from... |
| 11:19 |
Nublaii |
I'm using an old 3.8.1 installation |
| 11:20 |
Nublaii |
besides the install tool I can't think of anydefault extension that can do that... |
| 11:20 |
Nublaii |
any ideas? |
| 11:21 |
nd |
Anyone has a hint why my tt_news is showing me english date formatting? I have config.language set to 'de'... |
| 11:53 |
Recnelis |
Hey guys, any idea how I force PHP to show the date in the actual site language? My site language is danish but it shows the month name in english :/ |
| 11:55 |
void |
config.locale_all = dk_DK |
| 11:56 |
nd |
(Except that tt_news then tells me something about 04. of März grmpf...) |
| 11:59 |
nd |
Ah, Constants... |
| 12:06 |
Recnelis |
void: Funny enough I've already set that.. but the dates still show up in english :s |
| 12:07 |
void |
Recnelis: are that dates everywhere or only at one extension? |
| 12:08 |
Recnelis |
I've only got that extension with a date.. :) |
| 12:08 |
Recnelis |
I'm making the extension myself.. |
| 12:16 |
Joker7680 |
hello! anybody got experience with writing binary image data derived from a php script into normal typo3 content? |
| 12:17 |
Joker7680 |
i think it's just a small problem, but i cant figure it out since days. So I would be VERY VERY thankful |
| 12:18 |
void |
can you explain the problem in detail? |
| 12:19 |
Joker7680 |
of cource |
| 12:19 |
Joker7680 |
-ce +se |
| 12:20 |
Nublaii |
about that date: nd and recnelis -> plugin.tt_news.displaySingle.date_stdWrap.strftime = <span>%A</span> %e %B de %Y |
| 12:20 |
Joker7680 |
first my system: Typo3 4.1.5 on PostgreSQL 8.2 with adodb 4.93.0 and dbal 0.9.9 |
| 12:20 |
Joker7680 |
I have bytea data stored in an external database (also postgres) |
| 12:20 |
Joker7680 |
this is pictures for a gallery |
| 12:21 |
void |
typo3 store all images in files |
| 12:21 |
Joker7680 |
its an external db |
| 12:21 |
Nublaii |
and all related objects 'displayLatest', 'displayList' |
| 12:22 |
void |
Joker7680: so, you need to make SELECT your blob fiels, save data as files and make other manipulations your want to do... |
| 12:23 |
Joker7680 |
$res = pg_query($query); |
| 12:23 |
Joker7680 |
$row = pg_fetch_assoc($res); |
| 12:23 |
Joker7680 |
$bild_bin = pg_unescape_bytea($row['bild']); |
| 12:23 |
Joker7680 |
header('Content-Type: image/jpeg'); |
| 12:23 |
Joker7680 |
$content .= $bild_bin; |
| 12:23 |
Joker7680 |
thats what i did |
| 12:23 |
Joker7680 |
at first i echoed out the output |
| 12:23 |
Joker7680 |
and it worked |
| 12:23 |
Joker7680 |
since i know you should write content to $content I cannot get it work |
| 12:25 |
void |
Joker7680: don't understand. what do you want to do with that bytea data? |
| 12:25 |
Joker7680 |
just show it in the browser |
| 12:25 |
Joker7680 |
as rescaled thumbnails |
| 12:25 |
void |
so, write an extension.. |
| 12:26 |
Joker7680 |
then i would have the same problem |
| 12:26 |
void |
if you don't want to convert anything, just show.. |
| 12:26 |
void |
which problem? i don't see any |
| 12:27 |
Joker7680 |
ok, ill show you the solution that worked (but its VERY VERY ugly) |
| 12:27 |
void |
show... use phpfi.com |
| 12:27 |
Joker7680 |
in TS: |
| 12:27 |
Joker7680 |
picture = HTML |
| 12:27 |
Joker7680 |
picture { |
| 12:27 |
Joker7680 |
value = <img src="fileadmin/scripting/lo.php?id=###WFQBE_FIELD_medium_id###" height=150> |
| 12:27 |
Joker7680 |
} |
| 12:27 |
Joker7680 |
in the script: |
| 12:28 |
Joker7680 |
$res = pg_query($query); |
| 12:28 |
Joker7680 |
$row = pg_fetch_assoc($res); |
| 12:28 |
Joker7680 |
$bild_bin = pg_unescape_bytea($row['bild']); |
| 12:28 |
Joker7680 |
header('Content-Type: image/jpeg'); |
| 12:28 |
Joker7680 |
echo $bild_bin; |
| 12:28 |
teppi|work |
<void> show... use phpfi.com !! |
| 12:29 |
Joker7680 |
never used this page |
| 12:30 |
void |
Joker7680: ok. that is ugly, but that work. |
| 12:31 |
Joker7680 |
so people told me that I need to improve it: 1. use $content and 2. dont use brwoser rescaling, but rescale in php and use typo3 caching |
| 12:33 |
Joker7680 |
the easiest way would be, if it was possible to use the IMAGE-cObject ... but thats impossible because the GET-paramter then doesnt get parsed |
| 12:34 |
Joker7680 |
I found out, that when you use HTML as cObject you can use php scripts with GET paramaters in the source of image tags |
| 12:35 |
teppi|work |
i would write the images to the filesystem and just saving the path in the DB |
| 12:35 |
teppi|work |
then creating an extension which creates IMAGE cObjects from the images |
| 12:35 |
Joker7680 |
teppi: i decided not to do that for several reasons |
| 12:36 |
void |
Joker7680: IMAGE work only with files on the filesystem. use php-gd to rescale. |
| 12:37 |
Joker7680 |
void: and about outputting in $content? do i need header information when outputting via $content? |
| 12:38 |
void |
what do you mean? what is a difference between $content and $bild_bin? variable name?? |
| 12:39 |
Joker7680 |
i thought $content is a typo3 thing you have to add your content to |
| 12:39 |
Joker7680 |
when you use PHP_SCRIPT as cObject |
| 12:39 |
void |
you don't use PHP_SCRIPT and i think you shouldn't |
| 12:40 |
void |
anyway, PHP_SCRIPT is ugly even more than your code |
| 12:40 |
Joker7680 |
really .. well .good to know |
| 12:40 |
void |
if you want to do anything in typo3 way, write your own extension and use USER_INT |
| 12:41 |
Joker7680 |
i have only send you the ugly first solution |
| 12:41 |
Joker7680 |
my second apprach was with PHP_SCRIPT in TS |
| 12:41 |
Joker7680 |
here the one line: |
| 12:42 |
Joker7680 |
picture = PHP_SCRIPT |
| 12:42 |
Joker7680 |
picture.file = fileadmin/scripting/showPicture.php?id=###WFQBE_FIELD_medium_id### |
| 12:43 |
Joker7680 |
in fact with this second solution (PHP_SCRIPT as cObject in TS plus output to $content) I dont see anything... |
| 12:45 |
Joker7680 |
I just ask for a clean way to just output my binary (and rescaled) picture data from an external DB |
| 12:45 |
teppi|work |
and if you just temporarily save it in the filesystem ? |
| 12:46 |
void |
Joker7680: if i were you, i'd make an extension. |
| 12:46 |
Joker7680 |
teppi: I have thought about that too. But it's just not necessary |
| 12:47 |
Joker7680 |
void: maybe I will rewrite the code into an extension .. but anyway it would be the same code in another form i guess |
| 12:47 |
Joker7680 |
I will provide an extension for it, but i have also to use dbal for it |
| 12:47 |
Joker7680 |
right now i do direct postgres access |
| 12:47 |
void |
in extension you can use eID scripts... |
| 12:48 |
Joker7680 |
sorry, I never heard of eID scripts |
| 12:49 |
void |
eID scripts is a powerful feature to work with ajax, show pictures and so on, where you don't need the whole power of frontend |
| 12:49 |
Joker7680 |
void: what do think about teppis suggestion to temporarily write to filesystem? I just dont seem to like that idea |
| 12:49 |
Joker7680 |
I will google for that! |
| 12:50 |
void |
if i were you, i will not write pictures to filesystem... it have some more power, but have problems too - syncronizing and so on. but caching. |
| 12:50 |
void |
if speed and caching is not critical, i'll not write pictures on the filesystem |
| 12:51 |
Joker7680 |
wait. i NEED caching |
| 12:51 |
Joker7680 |
beacuase the pictures in the DB are big and i want to generate thumbnails and they should be CACHED |
| 12:52 |
Joker7680 |
i thought they would be automatically chached if i use typo3 Content Objects |
| 12:53 |
void |
yes. but typo3 CE work only with images at the filesystem. |
| 12:53 |
Joker7680 |
CE? |
| 12:53 |
void |
content element |
| 12:53 |
Joker7680 |
really? |
| 12:53 |
Joker7680 |
thats no good for me |
| 12:54 |
Joker7680 |
are you sure about that? |
| 12:54 |
void |
so, you can write source images to filesystem and use typo3 functions. or you can rescale images yourself and write them on the filesystem |
| 12:54 |
FloLeBlanc |
re |
| 12:54 |
void |
Joker7680: yes, i am sure. typo3 don't store any image data at the database |
| 12:54 |
void |
except image filenames, of course |
| 12:55 |
Joker7680 |
otherwise I cant get typo3 do the caching? |
| 12:55 |
void |
hi Flo |
| 12:55 |
FloLeBlanc |
hi void :) |
| 12:55 |
Joker7680 |
thats no good news :-( |
| 12:55 |
void |
Joker7680: not typo3. browser caching. |
| 12:56 |
Joker7680 |
well I thought as long as the php script call is identical, the result would be the same and therefore be saved in the DB |
| 12:56 |
Joker7680 |
you find this opinion in many forums |
| 12:57 |
Recnelis |
In my extension should I parse things from locallang.xml through htmlspecialchars or is it a waste? |
| 12:58 |
void |
Recnelis: i think you shouldn't. XML can't contain not-escaped characters like '<' i think.. |
| 12:59 |
Recnelis |
Ah.. allright.. certainly gonna clean up my code a little.. :) |
| 13:03 |
Joker7680 |
void: i think when chaching is not available through typo3 for binary images then i should create a new field for thumbnails in the DB |
| 13:04 |
Joker7680 |
and then just read from there without saving to filesystem |
| 13:04 |
Joker7680 |
would you call this a clean solution? |
| 13:05 |
void |
maybe. but anyway, you'll make an sql query for each image instead of use pass the request to apache |
| 13:07 |
Joker7680 |
thats right: one sql query per image .. but what do you mean after "instead"? |
| 13:08 |
void |
if you write image to filesystem, you can do no one sql query |
| 13:08 |
Joker7680 |
which solution would you choose? |
| 13:09 |
void |
depends |
| 13:09 |
Joker7680 |
:-) |
| 13:09 |
flops |
hi guys |
| 13:09 |
void |
but generally i think that storing image data in database is bad. |
| 13:10 |
void |
from database architecture point of view |
| 13:10 |
Joker7680 |
why? its extremely comfortable to to backups and keep track of the "link" |
| 13:11 |
Joker7680 |
and you can have additional fields that derive data from the binary object via trigger functions to describe it |
| 13:11 |
void |
when you have a row, where one field is ~10Mb? database become huge, queries are slow |
| 13:12 |
flops |
i'm writing a extension where i can add items like in tt_news (in the backend). works so far. but the list of these items under the List-module only shows the uid of these items. does someone knows how i have to edit the tca.php to show in this list the title or some other db-field of these items? like in tt_news the newstitle is shown |
| 13:12 |
Joker7680 |
thats why i use postgres and only ollow binary data for pictures around few MB |
| 13:14 |
void |
flops: see ['ctrl']['label'] at ext_tables.php |
| 13:14 |
flops |
thx void |
| 13:16 |
Joker7680 |
well thanks anyway .. I will think about it all :-) ... why cant things just be easy? |
| 13:16 |
void |
dunno) |
| 13:26 |
Randomresult |
hi everyone |
| 13:26 |
Randomresult |
im searching for a TS which makes me able to display the username of an logged in user |
| 13:26 |
Randomresult |
someone has a snippet? |
| 13:27 |
void |
Randomresult: page.20 = TEXT, page.20.data = TSFE:fe_user|user|username |
| 13:27 |
Randomresult |
void: great! |
| 14:00 |
Recnelis |
Hey, how do I set the debug to be true in a BE extension? |
| 14:00 |
Denyerec |
Hallo all |
| 14:02 |
FloLeBlanc |
hi denyerec |
| 14:03 |
Denyerec |
Heya flo |
| 14:03 |
Denyerec |
I figured out the mailform captcha problem |
| 14:03 |
FloLeBlanc |
good.. what was the problem |
| 14:03 |
Denyerec |
submitted the issue to the bugfinder with a solutio |
| 14:03 |
Denyerec |
n |
| 14:03 |
Denyerec |
Mailform was looking for a $GLOBAL['conf'] var that didn't exist |
| 14:06 |
nd |
Is it possible to tell typo3 to size images I put in as content in `em` not `px`? |
| 14:22 |
Denyerec |
Oooh, good question |
| 14:23 |
void |
nd: i think that's bad idea to scale all images... |
| 14:34 |
FloLeBlanc |
anyone using mm_forum? It seems impossible for me to show the "topicicon_pinned" |
| 14:50 |
SWEMark |
Hi, im looking to change the way realurl handles swedish charachters (å, ä, ö) and i can't seem to be able to find anything on the net. Any suggestions as to were i'd look for this? |
| 14:54 |
Phlogi |
I get an sql error everytime I clean fe_cache. Anyone has an idea? http://pastebin.ca/929009 |
| 14:57 |
SWEMark |
Do you have access to the mysql prompt? |
| 14:58 |
SWEMark |
Phlogi: http://dev.mysql.com/doc/refman/5.0/en/packet-too-large.html |
| 15:02 |
delmonico |
hey, got a little problem. I wrote an extension which creates some pages and content elements. however in the tv page module the CEs show up as "non-used elements" on the page and I have to create the reference manually |
| 15:03 |
delmonico |
can't find the right place in the sql db to create the ref. from the extension code |
| 15:04 |
Phlogi |
SWEMark: why does it only happen the first time? I mean once? |
| 15:06 |
SWEMark |
Phlogi: that might be because the query got too long due to long time since last cache-clear |
| 15:07 |
Phlogi |
SWEMark: hmm I don't think so... its quite strange |
| 15:07 |
Phlogi |
would the full output mabye helpful? |
| 15:10 |
Phlogi |
I guess its like a bug in typo3 because its quite crap what he wants to insert in db |
| 15:12 |
nd |
void: Sure. But inline images wouldn't be that bad, aight? Navigation/decoraction not, of course |
| 15:32 |
wgrider |
Is this a forum where we can ask questions about typo3 usage? |
| 15:33 |
teppi|work |
its more like a chat ;-) |
| 15:33 |
teppi|work |
but yes it is |
| 15:33 |
wgrider |
can I ask a question about the program? |
| 15:34 |
teppi|work |
lol |
| 15:34 |
SWEMark |
hehe |
| 15:34 |
SWEMark |
wgrider: Absolutely |
| 15:35 |
wgrider |
can a complete web page be loaded directly instead of being created inside the program? |
| 15:36 |
SWEMark |
Yes ofcourse, but that has nothing to do with typo3. |
| 15:37 |
wgrider |
I apologize for the simple questions but I only had a 10 minute introduction to the program and was told everything had to go through the program |
| 15:37 |
wgrider |
I dont have access other than the typo3 program interface |
| 15:38 |
SWEMark |
First, Typo3 is CMS and not a program |
| 15:38 |
wgrider |
yes I understand this |
| 15:38 |
SWEMark |
ok good :) |
| 15:39 |
SWEMark |
Everything does not have to go through Typo3 |
| 15:39 |
SWEMark |
It just depends on what you want to do. |
| 15:39 |
wgrider |
how can I upload if my only access is the typo3 interface? |
| 15:40 |
SWEMark |
Do you have access to the backend of typo3? |
| 15:40 |
wgrider |
do you mean admin access? |
| 15:41 |
SWEMark |
yes |
| 15:41 |
wgrider |
yes I do |
| 15:41 |
SWEMark |
Ok, in the menu, do you have an option named "File"? |
| 15:42 |
wgrider |
with only the filelist option under it |
| 15:42 |
SWEMark |
Yes, in it, you should be able to upload files. |
| 15:43 |
SWEMark |
"Upload Files" |
| 15:44 |
wgrider |
ok I see this but I only show image files here and was told this is the way that the images was uploaded but nothing about other file types |
| 15:44 |
wgrider |
what file extensions am I limited to? |
| 15:45 |
wgrider |
is it strictly html or do I need to find out what web server/OS is in place on the hosting server |
| 15:46 |
SWEMark |
html is html, server doesnt matter |
| 15:46 |
wgrider |
I should have asked differently can it handle asp pages |
| 15:46 |
SWEMark |
Default i think your limited to all the ordinary extension, Office, HTML, Images etc |
| 15:47 |
SWEMark |
give it a try |
| 15:47 |
wgrider |
ok I wanted to ask because there is no test server only the production server |
| 15:50 |
wgrider |
Thank you <SWEMark> for the help I will test out file creation and upload this way |
| 15:58 |
SilenceDK |
Hey guys, do you know of a way to add a page generation time to my Typo3 site? |
| 15:58 |
SilenceDK |
Like some typoscript code... I've got this feeling that it's really slow.. |
| 15:59 |
SWEMark |
Hmm, not sure |
| 16:00 |
SWEMark |
At first id say add some phpcode to the index.php temporary |
| 16:01 |
SWEMark |
Otherwise firebug for firefox might tell you whats taking time. |
| 16:02 |
SilenceDK |
Hmm.. perhaps that would be better |
| 16:47 |
nd |
Can anyone help me with this: http://pastebin.ca/929145 The ie.css is not included in internet-explorer. But the switch itself works |
| 17:04 |
SilenceDK |
In my extension what would be the "correct" way of includeing a external lib file? |
| 17:55 |
Vanesa |
hi |
| 17:55 |
Denyerec |
Do you guys normally allow tables in the RTE |
| 17:55 |
Vanesa |
anybody there who speaks german? |
| 17:55 |
Denyerec |
or do you make the client use table elements ? |
| 17:56 |
Vanesa |
geez qhere did all the german computer nerds go :/ |
| 18:01 |
Vanesa |
I want to install an extension called catdoc on my Indexed Search Engine |
| 18:01 |
Vanesa |
has anyone done that here? |
| 18:02 |
Vanesa |
it says in the handbook that I'm suppose to do this in the shell |
| 18:02 |
Vanesa |
wget http://ftp.45.free.net/pub/catdoc/catdoc-0.94.2.tar.gz |
| 18:02 |
Vanesa |
well download that |
| 18:02 |
Vanesa |
and then tar xfz catdoc-0.94.2.tar.gz |
| 18:02 |
Vanesa |
rm catdoc-0.94.2.tar.gz |
| 18:02 |
Vanesa |
./configure --prefix=$PWD --disable-wordview --with-wish= |
| 18:02 |
Vanesa |
make && make install |
| 18:03 |
Vanesa |
now the problem is, I dont know what they mean :( |
| 18:03 |
Vanesa |
can anybody help me? |
| 18:03 |
Vanesa |
please? |
| 18:12 |
uriahhee1 |
void: ping? |
| 18:12 |
void |
uriahhee1: pong |
| 18:12 |
uriahhee1 |
void: i'm having a little trouble with date_stdWrap.strftime and the language that the date is displayed in... |
| 18:12 |
uriahhee1 |
void: do you know how to set the proper language? |
| 18:13 |
uriahhee1 |
displayLatest.date_stdWrap.strftime= %B %d, %Y |
| 18:13 |
uriahhee1 |
void: that's what i have right now... |
| 18:13 |
void |
config.locale_all = ru_RU |
| 18:13 |
void |
or de_DE |
| 18:13 |
uriahhee1 |
hmm, ok |
| 18:14 |
uriahhee1 |
void: hmm, i have that set, but for some reason it doesn't work :-/ |
| 18:14 |
void |
what is your OS? |
| 18:14 |
uriahhee1 |
ubuntu |
| 18:14 |
void |
your server OS, i mean |
| 18:14 |
uriahhee1 |
ubuntu ;) |
| 18:14 |
uriahhee1 |
lol |
| 18:15 |
void |
ok. my test server is also under ubuntu. and no problems here. |
| 18:15 |
uriahhee1 |
hmm, strange |
| 18:15 |
uriahhee1 |
perhaps i don't have that locale installed? |
| 18:15 |
void |
for latest ubuntu versions all proper locales are installed... |
| 18:16 |
uriahhee1 |
hmm, ok |
| 18:16 |
uriahhee1 |
void: is fr_CA a proper locale? :P |
| 18:17 |
void |
fr_CA? what is it for? never heared... |
| 18:17 |
uriahhee1 |
french canada |
| 18:17 |
void |
fr for France i think |
| 18:17 |
void |
ah, canada |
| 18:17 |
void |
quebeq? |
| 18:17 |
uriahhee1 |
;) |
| 18:17 |
uriahhee1 |
yeah |
| 18:19 |
void |
uriahhee1: what gives "locale" command? |
| 18:20 |
uriahhee1 |
void: http://pastebin.ca/929250 |
| 18:20 |
uriahhee1 |
i guess en_CA is the only locale installed? |
| 18:20 |
void |
uriahhee1: i think it is just active locale.. |
| 18:21 |
uriahhee1 |
hmm, ok |
| 18:21 |
void |
i do not know a lot about linux... don't know how to list avalable locales |
| 18:21 |
uriahhee1 |
hmm, ok |
| 18:21 |
void |
uriahhee1: aha! locale -a |
| 18:23 |
uriahhee1 |
void: ok |
| 18:23 |
uriahhee1 |
void: ah, i only have en_CA and en_US :-/ |
| 18:24 |
void |
uriahhee1: so... i think, you need to install needed locale.. (i do not know how to do that) |
| 18:24 |
uriahhee1 |
hmm, ok |
| 18:24 |
void |
maybe, instal some *i18n-frca* package |
| 18:25 |
uriahhee1 |
perhaps :P |
| 18:25 |
uriahhee1 |
i'll check it out |
| 18:25 |
uriahhee1 |
googling now ;) |
| 18:28 |
uriahhee1 |
hmmm |
| 18:28 |
uriahhee1 |
so i added the locale |
| 18:34 |
uriahhee1 |
hrm.... |
| 18:34 |
uriahhee1 |
still not working |
| 18:46 |
Denyerec |
void, uriah... |
| 18:46 |
void |
hey Denyerec |
| 18:46 |
Denyerec |
how much control do you give your clients in the RTE? |
| 18:46 |
Denyerec |
I have mine locked down tight |
| 18:46 |
Denyerec |
but I am wondering if I should allow images and table,s |
| 18:49 |
void |
why not allow them?) |
| 18:49 |
void |
depends on client... |
| 18:57 |
Denyerec |
Well, I am worried they will throw all kinds of shit in there and then the page styling won't look right |
| 18:57 |
Denyerec |
also I am nervous about images in the RTE, for some reason I don't know where they go. |
| 18:58 |
Denyerec |
Like if someone pastes in an image, where is that image uploaded to and stored? |
| 19:26 |
void |
Denyerec: in uploads/RTEmagick*.jpg AFAIK. but you can disable images in RTE |
| 19:29 |
Denyerec |
do you usually disable them |
| 19:29 |
Denyerec |
? |
| 19:32 |
void |
Denyerec: i do not know what is "usually" =) i rarely work with end-users... |
| 19:33 |
void |
i write extensions, fix bugs and so on |
| 19:37 |
Denyerec |
Ah |
| 19:37 |
Denyerec |
Fair enough |
| 19:37 |
Denyerec |
perhaps someone like uschi would know more about end users |
| 19:38 |
uschi |
grats void |
| 19:38 |
void |
hi uschi |
| 19:40 |
uschi |
i do not even know what this eID is |
| 19:45 |
Denyerec |
what is eID-scripts ? |
| 19:45 |
Denyerec |
uschi - do you allow your users to paste tables and images into the RTE? |
| 19:45 |
just2b |
fast version of typo3 |
| 19:45 |
void |
eID-script is a typo3 programming technique... |
| 19:45 |
Denyerec |
or do you insist they use image and table content elements |
| 19:45 |
uschi |
tables yes, images: no |
| 19:45 |
void |
for showing pictures and generation ajax-responses |
| 19:46 |
uschi |
with the new table editor in 4.2 this is safe |
| 19:46 |
uschi |
just testing out the zebra tables |
| 19:46 |
void |
just2b: did you wrote eID-scripts? |
| 19:46 |
void |
*write |
| 19:47 |
uschi |
void, what are eID scripts? |
| 19:47 |
void |
uschi: > eID-script is a typo3 programming technique for showing pictures and generation ajax-responses. you saw index.php?eid=tx_cms_showpic, right? that is the eid-script |
| 19:48 |
uschi |
ok. what does the e in eid stand for? |
| 19:49 |
void |
uschi: don't really know. maybe, for Extension. or maybe that's like G in GNU or K in KDE |
| 19:50 |
uschi |
hm |
| 19:51 |
void |
if someone interested: http://forum.typo3.biz/showthread.php?t=5958 |
| 19:51 |
void |
(on russian, but code is understandable, i think) |
| 19:53 |
just2b |
void there are enlgish pages with more info ;) |
| 19:54 |
void |
just2b: really?) show me them) |
| 19:55 |
just2b |
not now |
| 20:04 |
Denyerec |
Oooh |
| 20:04 |
Denyerec |
just2b being coy with his URLs |
| 20:04 |
Denyerec |
;) |
| 20:09 |
just2b |
no i just have to work |
| 20:28 |
SilenceDK |
In my extension what would be the "correct" way of includeing a external lib file? |
| 20:28 |
SilenceDK |
Using a straight include or should I use some typo3 thing |
| 20:28 |
just2b |
require_once or t3lib_div::makeInstance |
| 20:29 |
just2b |
better last one |
| 20:43 |
flops |
cya guys |
| 21:24 |
uriahhee1 |
just2b: hey, do you know whether it's possible to append the proper st/rd/th to the number in a date with strftime? |
| 21:31 |
just2b |
append what? |
| 21:32 |
uriahhee1 |
well, like |
| 21:32 |
uriahhee1 |
december 1st, or 2nd, or 3rd, or 4th |
| 21:32 |
uriahhee1 |
you know? |
| 21:32 |
just2b |
ah yeah sure |
| 21:35 |
uriahhee1 |
just2b: hmm, and also, for some reason, in french it still shows the month in english :( |
| 21:36 |
just2b |
so you didnt set french in config? |
| 21:36 |
uriahhee1 |
just2b: umm, well, what do you mean? do i need to set a separate language setting for tt_news or something? |
| 21:37 |
uriahhee1 |
page.config.sys_language_uid = 0 |
| 21:37 |
uriahhee1 |
page.config.language = fr |
| 21:37 |
uriahhee1 |
page.config.locale_all = fr_CA |
| 21:37 |
uriahhee1 |
that's what i have right now |
| 21:37 |
just2b |
and the locales are on the server? |
| 21:37 |
uriahhee1 |
yeah, i just put them on |
| 21:37 |
uriahhee1 |
do i need to reinstall php or something for it to work, though? |
| 21:38 |
just2b |
restart better once |
| 21:38 |
uriahhee1 |
hmm... |
| 21:38 |
uriahhee1 |
i restarted |
| 21:38 |
uriahhee1 |
but it didn't change |
| 21:38 |
just2b |
there is somewehre a script how to check.. but the locales are not loaded if not in frnech |
| 21:39 |
uriahhee1 |
hmm... |
| 21:39 |
uriahhee1 |
where would this script be? :-/ |
| 21:39 |
just2b |
typo3.net |
| 21:39 |
uriahhee1 |
hmm, ok |
| 21:40 |
just2b |
try this |
| 21:40 |
just2b |
$loc_de = setlocale (LC_ALL, 'de_DE@euro', 'de_DE', 'de', 'ge'); |
| 21:40 |
just2b |
echo "Preferred locale for german on this system is '$loc_de'"; |
| 21:40 |
just2b |
but fill it with the fr |
| 21:41 |
uriahhee1 |
ok |
| 21:43 |
uriahhee1 |
just2b: Preferred locale for german on this system is 'fr_CA.UTF-8' |
| 21:43 |
just2b |
so set this in config |
| 21:43 |
uriahhee1 |
ok |
| 21:43 |
uriahhee1 |
with the .UTF-8? |
| 21:44 |
just2b |
i dont know that, sry |
| 21:44 |
uriahhee1 |
ohhh |
| 21:44 |
uriahhee1 |
works now :D |
| 21:44 |
uriahhee1 |
thanks! |
| 21:44 |
uriahhee1 |
haha |
| 21:45 |
uriahhee1 |
just2b: how do i add the st/nd/rd/th at the end of the day, though? :-/ |
| 21:45 |
just2b |
take a look at tsref > stdwrap > strftime |
| 21:45 |
uriahhee1 |
hmm,ok |
| 21:57 |
uriahhee1 |
just2b: i seriously can't find it :( is it even possible? |
| 21:57 |
just2b |
guess so |
| 21:57 |
uriahhee1 |
ever tried? :P |
| 21:57 |
just2b |
what again you want? ;) |
| 21:58 |
uriahhee1 |
just2b: lol :) |
| 21:58 |
uriahhee1 |
just2b: i want to show the date's day with st/nd/rd/th appended to it (i.e. 1st 2nd 3rd 4th) ;) |
| 21:59 |
just2b |
is this possible with strftime |
| 21:59 |
uriahhee1 |
i don't know :S that's what i'm asking haha |
| 22:00 |
just2b |
check http://at.php.net/strftime |
| 22:00 |
uriahhee1 |
and, well, in typo3, or with tt_news, how else would it be possible to format the date? |
| 22:00 |
just2b |
with a hook |
| 22:00 |
uriahhee1 |
hmm? |
| 22:01 |
uriahhee1 |
what do you mean by a hook? |
| 22:02 |
just2b |
it is a typo3 technique |
| 22:04 |
uriahhee1 |
just2b: would i have to create a hook or use an existing one? |
| 22:04 |
just2b |
use a existing one |
| 22:05 |
uriahhee1 |
ok |
| 22:08 |
wgrider |
would there be someone here that could help a newbie to typeo3 with a quick problem? |
| 22:09 |
void |
wgrider: don't ask to ask, just ask |
| 22:11 |
wgrider |
I have attempted to upload an htm file through the interface and when I attempt to view it does not show just a 404 error |
| 22:12 |
wgrider |
the file shows in the filelist but not in the page view |
| 22:12 |
just2b |
set the rights to 777 |
| 22:12 |
uriahhee1 |
or... make sure the file isn't too big? |
| 22:12 |
uriahhee1 |
oh |
| 22:12 |
uriahhee1 |
never mind :P |
| 22:14 |
wgrider |
I took a file already out there and made a change and uploaded via the upload files option in the filelist and I recieive the error |
| 22:16 |
nature |
i have a text w/image container. all the returns are being wrapped like this... |
| 22:16 |
nature |
<p class="bodytext"><hr noshade> |
| 22:16 |
nature |
</p> |
| 22:16 |
nature |
where do i change that? |
| 22:17 |
nature |
not only would i prefer it to do a <br> i'd also like to change the class |
| 22:19 |
Phlogi |
typoscript nature |
| 22:19 |
Phlogi |
css styled content |
| 22:19 |
nature |
yeah i'm in the object editor |
| 22:19 |
nature |
err... ts object browser |
| 22:20 |
Phlogi |
jap |
| 22:20 |
Phlogi |
search for it |
| 22:21 |
Phlogi |
in tt_content maybe |
| 22:25 |
nature |
maybe |
| 22:25 |
nature |
or not :) |
| 22:28 |
wgrider |
can files be uploaded through the interface and be visible from the browser, i tried this and i recieved a file not found any ideas? |
| 22:29 |
nature |
click on the image file on the back end and grab the path? |
| 22:29 |
wgrider |
are you answering my question? |
| 22:30 |
nature |
i was trying |
| 22:30 |
wgrider |
ok I wasnt sure, I know the path it says it cannot find the file |
| 22:30 |
nature |
i've been uploading images all day via the backend and loading them into the front end |
| 22:30 |
wgrider |
and the file does not show in page view |
| 22:31 |
wgrider |
this is an htm file not an image |
| 22:31 |
nature |
oh |
| 22:31 |
wgrider |
I asked on here earlier and they said it should work that they have done it that way |
| 22:31 |
nature |
well... i'm still mostly clueless at this point |
| 22:32 |
wgrider |
unfortuneately so am I |
| 22:32 |
wgrider |
is there anyone here that might have an answer? |
| 22:33 |
nature |
you know that's one of the bestest parts about typo3 |
| 22:33 |
nature |
there's so many of us that are totally clueless we have a lot of company |
| 22:34 |
just2b |
lol is that a good thing? |
| 22:34 |
wgrider |
oh now thats a warm fuzzy |
| 22:35 |
nature |
sure.... it means we all have a ton of empathy for each other and are at times perhaps more likely to offer clueless help :) |
| 22:38 |
wgrider |
does anyone here upload htm files via the filelist? |
| 22:39 |
nature |
i do... i just clicked on one of my html files that i uploaded via fileadmin |
| 22:39 |
nature |
and it opened a new window |
| 22:40 |
nature |
showing the file |
| 22:40 |
wgrider |
when I do this I recieive file not found, I even get this when i type in the direct path |
| 22:41 |
nature |
that's odd |
| 22:41 |
wgrider |
any ideas? |
| 22:42 |
nature |
i just tested by uploading a css file to my fileadmin/template/main dir and then clicked it and it viewed the file in the browser |
| 23:33 |
uriahhee1 |
what the hell |
| 23:33 |
uriahhee1 |
why the hell isn't this news plugin working? :-/ |
| 23:33 |
uriahhee1 |
settings are exactly the same as another that is working....... |
| 23:38 |
Denyerec |
static templates? |
| 23:40 |
uriahhee1 |
Denyerec: nope |
| 23:45 |
chefan |
oh stop complaining :D |
| 23:45 |
void |
anyone have a legal windows here? =) |
| 23:45 |
chefan |
if typo3 was easy, or worse: calculable, people wouldn't pay you so much for working with it |
| 23:45 |
chefan |
i do |
| 23:45 |
void |
Denyerec: do you? |
| 23:46 |
void |
IE8b1 is out |
| 23:46 |
void |
and don't want to work under wine |
| 23:46 |
chefan |
don't usually use it |
| 23:46 |
chefan |
well |
| 23:46 |
void |
i want to see screenshots =) |
| 23:46 |
chefan |
if that is a plea to download the admin distro, i won't |
| 23:47 |
OliverThiele |
i have more than 1 wintendo licence |
| 23:47 |
OliverThiele |
i this important for TYPO3 users ? ;) |
| 23:47 |
void |
OliverThiele: no =) |
| 23:47 |
chefan |
i killed my system once because i didn't follow my principle to wait with m$-updates until the problem reports drop to a manageable daily amount |
| 23:48 |
void |
OliverThiele: but i think someone may download IE8 and test the typo3 backend, for example |
| 23:48 |
chefan |
well, it could be |
| 23:48 |
OliverThiele |
i can do this, maybe @work |
| 23:48 |
chefan |
as far as i read, m$ will try again to implement w3c conformity |
| 23:49 |
Denyerec |
Yes void |
| 23:49 |
Denyerec |
Mine's legit |
| 23:49 |
Denyerec |
I happen to have a friend at Redmond who got me a copy cheaply |
| 23:49 |
chefan |
in the meantime, "inventing" a new "standard" for backward compatibility to broken products |
| 23:49 |
Denyerec |
chefan who is talking ? |
| 23:49 |
OliverThiele |
in germany the systembuilderlicence is also cheap |
| 23:49 |
Denyerec |
I feel like I have someone on ignore... |
| 23:50 |
Denyerec |
Ahhh yeah |
| 23:50 |
Denyerec |
the IE8 beta |
| 23:50 |
Denyerec |
heh |
| 23:50 |
Denyerec |
Good luck with that one. |
| 23:50 |
chefan |
Denyerec: i was still refering if IE8 could be of importance to typo3 users |
| 23:51 |
Denyerec |
Yeah but who is talking ? |
| 23:51 |
Denyerec |
I see you, void and OliverThiele |
| 23:51 |
Denyerec |
anyone else participating ? |
| 23:51 |
void |
Denyerec: and that's all |
| 23:51 |
chefan |
and since it is a viewport on what you are offering with typo3, it could be interesting to know how you have to rewrite your templates to make it look ok in IE8, if any |
| 23:51 |
Denyerec |
Ahh ok good. |
| 23:52 |
chefan |
apart of you, no one |
| 23:52 |
void |
i saw screenshots IE8 passing ACID2 test |
| 23:52 |
void |
13/100 for ACID3 |
| 23:52 |
chefan |
yep, that was the goal |
| 23:53 |
chefan |
personally i think m$ should get out of the browser business |
| 23:53 |
chefan |
they didn't manage to release just one stable and standard compliant product since the existance of the world wide web |
| 23:53 |
void |
i want to know... do we have to make one more template - IE6,IE7,IE8,(FF||Opera||Safari) |
| 23:53 |
chefan |
that's not so impressive |
| 23:53 |
chefan |
there is the point |
| 23:54 |
Denyerec |
Wow |
| 23:54 |
Denyerec |
Acid3 test crashed Opera |
| 23:54 |
chefan |
but you might look at browsershots.org, if they already have IE8 in the list |
| 23:54 |
void |
Denyerec: which version? |
| 23:54 |
Denyerec |
Latest |
| 23:54 |
Denyerec |
9.25 |
| 23:54 |
Denyerec |
actually |
| 23:54 |
Denyerec |
when I reloaded, it got to 46 |
| 23:55 |
void |
Denyerec: for me, acid3 also crash Konqueror 3 and Konqueror 4 |
| 23:55 |
void |
(don't have safari because don't have Mac) |
| 23:55 |
Denyerec |
LOL firefox gets to 50 |
| 23:55 |
void |
FF2? |
| 23:56 |
void |
or FF3? |
| 23:56 |
Denyerec |
2 |
| 23:56 |
void |
so, FF4 will pass it =) |
| 23:56 |
void |
the best results give night builds of webkit |
| 23:58 |
chefan |
rats, i am so over that crappy fighting with standards and whatever shabby browser the user is using |
| 23:58 |
nd_ |
;) |
| 23:58 |
chefan |
welcome to www.mysite.com/welcome.TXT |
| 23:58 |
chefan |
hmm |
| 23:58 |
chefan |
or even better |
| 23:58 |
chefan |
www.mysite.com/index.pdf |
| 23:59 |
chefan |
thanks for calling, foad |
| 23:59 |
titii |
hello |
| 23:59 |
nd_ |
Na, just tell people to request informations by snail mail or fax |
| 23:59 |
chefan |
for geeklogs, any SQL dump would do |
| 23:59 |
nd_ |
lol |
| 23:59 |
chefan |
for elitists, a binary log |
| 23:59 |
titii |
how to get the URL address down to the root of typo3 site? "index.php" |