| 00:16 |
tjacobs |
Hello, I want to add a php code on very begin of each page request (for logging access and doing some processing), someone can point me a way? |
| 00:16 |
tjacobs |
ries: you my typo3 guru? :D |
| 00:18 |
ries |
tjacobs: I would call up that PHP from your TS in page 5 for example |
| 00:25 |
tjacobs |
why page 5? |
| 00:26 |
ries |
because... usually people take page 10 :D |
| 00:26 |
ries |
and page.5 is before page.10 |
| 00:26 |
ries |
I talk about TS... |
| 00:30 |
tjacobs |
there is a way to require a php file without creating extension? |
| 00:30 |
tjacobs |
I want to put php code in a simple way |
| 01:13 |
ries |
tjacobs: yes there is... |
| 01:13 |
ries |
just create a user function and add it to your localconf.php |
| 01:14 |
ries |
and make sure the name of the function starts with user_ |
| 01:15 |
tjacobs |
hummm, and how I will call it on Sections textarea? is the right way? |
| 07:32 |
silverline_jiten |
Hello all |
| 07:33 |
silverline_jiten |
is anybody knows about ldap? |
| 07:36 |
nd |
what to know about it? |
| 08:22 |
silverline_jiten |
i want to install and configure for typo3] |
| 08:36 |
silverline_jiten |
i want to create a workspace administrator, who will have right to create user for that workspace |
| 08:57 |
erikdahlin |
Anyone knows how to get days of the week with the right locale setting in an FE extension? |
| 09:06 |
jjulian |
hi im having a weird issue with a realurl link: there is a subpage and the link on the german site is mydomain.de/somepath/somepage shows up fine. the link for the english version is mydomain.com/somepath_translated_english/somepage_translated_english this redirects me to the login page. although i checked in the database if the realurl has the right uid for that link BUT if im in the options menu there is a red and a green text which says: |
| 09:07 |
coolguy |
hello there. iam writing an own extension and now i want to use a template. is there a good tutorial out there which explains how to use nested templates? |
| 09:10 |
coolguy |
sorry my ff crashed ... ^^ |
| 09:11 |
BejjWrk |
np, nobody has answered during your absence |
| 09:16 |
_pedda_ |
hi all |
| 09:18 |
fuchur |
morgen |
| 09:20 |
_pedda_ |
moin |
| 09:35 |
nd |
silverline_jiten: We use eu_ldap for LDAP-authentication... it has it's problems but works if you tweak the code here and there |
| 10:06 |
silverline_jiten |
hello "nd" |
| 10:06 |
silverline_jiten |
can u tell me what u did to configure ldap on u'r pc |
| 10:12 |
todo |
hi guys |
| 10:13 |
todo |
I have problem resizing images in typo3 |
| 10:13 |
todo |
do you know why it can be |
| 10:14 |
nd |
silverline_jiten: We already had an working (sort-of, it's lotus domino) ldap-server in the company. |
| 10:15 |
nd |
silverline_jiten: If you want to configure ldap, please use google |
| 10:15 |
silverline_jiten |
yes i hv tried |
| 10:15 |
silverline_jiten |
do u hv any idea? |
| 10:15 |
silverline_jiten |
how to do |
| 10:16 |
silverline_jiten |
did u configure / install ldap on u'r local pc? |
| 10:17 |
nd |
silverline_jiten: No I did not. We connect to the company ldap via eu_ldap |
| 10:18 |
todo |
I mean when I add text with image and in media give dimentions to the image... the image stay the same |
| 10:22 |
jjulian |
hi im having a weird issue with a realurl link: there is a subpage and the link on the german site is mydomain.de/somepath/somepage shows up fine. the link for the english version is mydomain.com/somepath_translated_english/somepage_translated_english this redirects me to the login page. although i checked in the database if the realurl has the right uid for that link BUT if im in the options menu there is a red and a green text which says: |
| 10:26 |
BejjWrk |
your text didnt come up |
| 10:26 |
BejjWrk |
fyi |
| 10:43 |
silverline_jiten |
is there anybody else who know about ldap? |
| 10:46 |
nd |
silverline_jiten: If it's about setting up an ldap, go to #linux or something similar and ask there. It's quite off topic in here and the chances to get good answers are pretty low |
| 10:52 |
silverline_jiten |
ok thanks |
| 10:56 |
m4rtijn |
hi |
| 11:03 |
jjulian |
question: i have a header in my source code its the first line saying this text is xml . i cant find that where could it be? i was in the root setup and root constants and alos in the the templates folder its nowhere. |
| 11:07 |
jjulian |
so im trying to change the doctype |
| 11:18 |
maholtz|WORK |
@jjulian: check TSref for top level object CONFIG? |
| 11:20 |
Xilent |
need help to understand ts if syntax |
| 11:20 |
Xilent |
field = tx_vbcontentauthor_date |
| 11:20 |
Xilent |
if.isTrue.field = tx_vbcontentauthor_date |
| 11:24 |
jjulian |
maholtz|WORK found what i need to change :D works great but the xhtml filter does something wrong. is it possible to add code to it? cause i need some code to change & to the html code of it |
| 11:29 |
maholtz|WORK |
@jjulian: do not know which xhtml filter you mean, but htmlSpecialChars should do the work? |
| 11:44 |
yuno |
so, for clean urls... RealURL or CoolURI? |
| 11:48 |
BejjWrk |
id say realurl, but I have no experience with cooluri |
| 11:55 |
dec___ |
how do i give the user permission to change font sizes in the default typo3 rte ? |
| 11:55 |
dec___ |
there's no button for that, just for h1 h2 <p> etc |
| 12:03 |
Bluespuke |
hey maholtz|WORK, may i ask you something? |
| 12:03 |
maholtz|WORK |
@Bluespuke - just ask, perhaps there are others who know the answer:) |
| 12:03 |
maholtz|WORK |
well, i try to answer too:) |
| 12:04 |
Bluespuke |
i try to copy this: http://www.elemente-websolutions.ms/blog/2009/02/06/typo3-klick-vergrosern-mit-lupensymbol/ |
| 12:04 |
maholtz|WORK |
wow, where did you find that? |
| 12:04 |
Bluespuke |
you're on this site too so i ask you ;-) |
| 12:04 |
maholtz|WORK |
ok, whats the problem |
| 12:05 |
Bluespuke |
this works fine, except the javascript to onclick the previous link |
| 12:05 |
Bluespuke |
i copied the code and checked yours, but nothing :s |
| 12:06 |
maholtz|WORK |
you have an link (its related to the html structure i guess) |
| 12:07 |
maholtz|WORK |
so, check if there are elements between the a-tag and the img |
| 12:08 |
maholtz|WORK |
afaik it expects sth like <a href="">img</a><a onclick="openpreviouslink...> |
| 12:08 |
yuno |
BejjWrk: ye, i guess i'll go with realurl. it seems to be far more popular |
| 12:08 |
Bluespuke |
yes that's what i have |
| 12:09 |
Bluespuke |
exactly the same structure |
| 12:09 |
maholtz|WORK |
can you send me an link? |
| 12:09 |
Bluespuke |
even alert(elem.parentNode.getElementsByTagName('a')[0]); in the function outputs the good url, just no onclick action |
| 12:09 |
Bluespuke |
http://www.treffpunkt-eifel-ardennen.net/dienste/ |
| 12:09 |
Bluespuke |
(for example) |
| 12:09 |
coolguy |
hi i have a question regarding the extension development. i created an extension with the kcikstarter and installed it. now i am developing on the sourcecode. in the ext_emconf.php is a php line: _md5_values_when_last_written ... how do i update it? i mean since the last write of the extension manager the source has been changed some time. |
| 12:11 |
maholtz|WORK |
@coolguy: via extension manager -> afaik go to update/delete sth like that |
| 12:11 |
coolguy |
kk |
| 12:11 |
maholtz|WORK |
there is a link |
| 12:11 |
maholtz|WORK |
@Bluespuke: well, seems there is no lightbox there |
| 12:12 |
maholtz|WORK |
it works for me |
| 12:12 |
maholtz|WORK |
if you click on the lupe (what ever it is called in english) the same happens, as if you click on the image itself |
| 12:16 |
Bluespuke |
maholtz|WORK: i don't know why the lightbox is gone... nothing happens for me when i click on this image... gonna try it with IE :s |
| 12:18 |
dec___ |
how do i give the user permission to change font sizes in the default typo3 rte ? |
| 12:24 |
Bluespuke |
maholtz|WORK: tyvm for your help, i got my error... |
| 12:24 |
Bluespuke |
i included the JS via page.headerData |
| 12:24 |
Bluespuke |
nerdy as i am, i used page.headerData.1337, the same as the lightbox extension xD |
| 12:24 |
Bluespuke |
now it's working fine! |
| 12:25 |
maholtz|WORK |
great |
| 12:25 |
maholtz|WORK |
you could post a short message on that blog an thanks André... *g* |
| 12:26 |
Bluespuke |
shure :D |
| 12:27 |
dec___ |
what's the best google maps extension? |
| 12:28 |
todor |
hi there |
| 12:33 |
yuno |
BejjWrk: on a second thought... i'll try cooluri. realurl's manual is f-ing long. the configuration part alone is ~8200 words long |
| 12:33 |
yuno |
that's just ridiculous :> |
| 12:34 |
Bluespuke |
lunch time! :D |
| 12:45 |
todor |
can anybody help me |
| 12:50 |
_pedda_ |
sure tody: you have to reinstall it again |
| 12:50 |
_pedda_ |
todor |
| 12:51 |
_pedda_ |
just wanted to pint you, that we can't hep you if you don't tell us about aour problem :) |
| 12:51 |
_pedda_ |
*point |
| 12:51 |
todor |
hahaha |
| 12:51 |
todor |
shure |
| 12:51 |
todor |
thanks |
| 12:51 |
_pedda_ |
;) |
| 12:52 |
_pedda_ |
mmh my keyboard s*cks again |
| 12:52 |
todor |
well, I have problem with resizing a picture in typo3 |
| 12:52 |
_pedda_ |
what is the is state and what is the sould be state ? |
| 12:52 |
todor |
when I put text with a picture and set dimentions to the picture |
| 12:53 |
_pedda_ |
they're ignored ? |
| 12:53 |
todor |
the picture stay the same size in frontend |
| 12:53 |
_pedda_ |
ok |
| 12:53 |
todor |
why? |
| 12:53 |
_pedda_ |
is it a new project? or was this project already running and you're new to it ? |
| 12:53 |
todor |
yes I'm new |
| 12:54 |
todor |
the project is old |
| 12:54 |
_pedda_ |
ok so this project is alredy existing |
| 12:54 |
_pedda_ |
ok |
| 12:54 |
_pedda_ |
did you move it from one server to another ? |
| 12:54 |
_pedda_ |
or did this issue just start ? |
| 12:54 |
yuno |
how can you change the markup of the included content types (e.g. "Text with image to the right")? |
| 12:54 |
todor |
I don't know about the server cos I'm dealing with edit only |
| 12:55 |
_pedda_ |
ah ok |
| 12:55 |
_pedda_ |
so you should ask someone who is the admin of the project |
| 12:55 |
_pedda_ |
because |
| 12:55 |
_pedda_ |
this can be serverside (the plugin for resizing is missing on a server) |
| 12:55 |
_pedda_ |
or it is a configuration issue (the admin configured the system to ignore settings for resizing images) |
| 12:56 |
todor |
ok is it possible to instal it as extention |
| 12:56 |
_pedda_ |
not really |
| 12:56 |
_pedda_ |
are you an editor ? or do you have admin rights ? |
| 12:56 |
todor |
no but a person with admin rights at the office can't do this as well |
| 12:57 |
_pedda_ |
if you have an administrator account, you can check the installtool of typo3 if ImageMagick is properly configured/installed on the server |
| 12:57 |
_pedda_ |
there is a imagetest you can proceed as well.. to check if it's working properly |
| 12:58 |
_pedda_ |
if so, you have to check the configuration of the project if it's prohibited to resize images (this needs to be set, it's not the default configuration state) |
| 12:59 |
_pedda_ |
so if the installtool says imagemagick is working properly, you need to check the typoscript setup of your project |
| 12:59 |
todor |
aham ok |
| 12:59 |
_pedda_ |
got me ? |
| 12:59 |
todor |
right |
| 12:59 |
_pedda_ |
hehe.. not really |
| 12:59 |
todor |
thank you very much :) |
| 12:59 |
_pedda_ |
just check the installtool first |
| 13:00 |
_pedda_ |
you know how to access it ? |
| 13:00 |
todor |
i'l do |
| 13:00 |
todor |
my admin is here |
| 13:00 |
todor |
:) |
| 13:00 |
todor |
but he's a little busy now |
| 13:00 |
_pedda_ |
depending on the version of typo3 (if it's less than 4.2.8) you need to create a file called ENABLE_INSTALL_TOOL within typo3conf on the server |
| 13:01 |
_pedda_ |
this needs to be done manually |
| 13:01 |
todor |
ok |
| 13:01 |
_pedda_ |
then you can access the installtool (icon on the left) from the backend |
| 13:01 |
_pedda_ |
type in your installtool password and check the basic settings as well as image processing.. |
| 13:02 |
_pedda_ |
and run these few tests mentioned under image processing |
| 13:04 |
_pedda_ |
just come back if your problems still remain |
| 13:04 |
solshark |
Hello all. Is any way to see orderer products (tt_products) in backend in readable format? |
| 13:05 |
todor |
thank you _pedda_, I'l come back if the problem don't disappear |
| 13:05 |
_pedda_ |
ok |
| 13:08 |
jjulian |
hi im using tmenu and a depths of 2. so menu and submenu. now i try to have in the second layer the title of the parent element in the id tag. how could i achieve that? |
| 13:09 |
_pedda_ |
id tag of what ? |
| 13:09 |
_pedda_ |
id -attribute of which tag |
| 13:10 |
jjulian |
of the second layer menu element |
| 13:10 |
jjulian |
you were german right? so it would be easier for me to explain in german maybe :D |
| 13:12 |
jjulian |
but i do a little example i have a menu item : "menu 1" with submenu "sub 1" and "sub 2" id like to have id on "sub 1" of id="m_idofmenu1_thisid" and nearly same on "sub 2" : id="m_idofmenu1_thisid" :D |
| 13:16 |
_pedda_ |
still not answered my question.. |
| 13:16 |
_pedda_ |
pn |
| 13:45 |
dec___ |
how do i setup the rte to give me access to changing the font size |
| 13:49 |
dec___ |
http://pastebin.com/m41ce6620 i have put this code in the tsconfig of the root page |
| 13:50 |
dec___ |
i want the class "inline" to be available |
| 13:51 |
dec___ |
nvm, found it |
| 14:15 |
m4rtijn |
re |
| 15:14 |
enmerkar_ |
hrm, i got an error while publishing a workspace and now a page has disappeared, any ideas? something about can't publish record i don't have access to |
| 15:23 |
enmerkar_ |
there's [MOVE-TO PLACEHOLDER for ...] everywhere, but I have no idea how to access those content elements. they should simply be published |
| 15:36 |
_jjulian |
anyone knows how i can renew the realurl caches? |
| 15:39 |
_pedda_ |
Web -> Info -> speaking path management -> flush all of them |
| 15:40 |
_pedda_ |
-> they will become generated again |
| 15:49 |
coffeejunky |
pedda, but they will be generated once a user clicks the page |
| 15:49 |
coffeejunky |
not realy nice performance |
| 15:49 |
coffeejunky |
i saw an extension a few weeks ago to recreate the cache |
| 15:50 |
coffeejunky |
but I think it was for the whole cache. one minute, I'll check this |
| 15:52 |
coffeejunky |
maybe this is something for you: http://typo3.org/extensions/repository/view/cwt_cacheall/current/ |
| 15:57 |
unbob1 |
Hi gang, I'm wondering if anybody knows how to produce only xml-output from a frontend plugin - I suppose you would have to supress all template-html and change headers? |
| 15:58 |
unbob1 |
with typoscript you can do this: |
| 15:58 |
unbob1 |
config.disableAllHeaderCode = 1 |
| 15:58 |
unbob1 |
config.additionalHeaders = content-type: text/xml |
| 15:59 |
unbob1 |
but I want to do that from php + remove template html |
| 16:08 |
crisb2010 |
hi there |
| 16:10 |
crisb2010 |
question: this is the TS for the third level of my menu (http://pastie.org/621783). what i want to do is, to not display the third menu once a page of this hierarchy is active. tried serveral things, nothing worked. does someone have a clue? |
| 16:12 |
crisb2010 |
currently he sets the class active in the a tag, so i am looking for a way to say "don't show this menu" |
| 16:15 |
_pedda_ |
coffeejunky: what i understood from him was, how to recreate them.. not whether this shall happen on a certain time every defined time period |
| 16:15 |
_pedda_ |
unbob1: you can generate an xml structure via typoscript |
| 16:16 |
_pedda_ |
with do some querrying and wrapping the entries in the proper tags |
| 16:16 |
_pedda_ |
and create an xml structure on the fly |
| 16:17 |
_pedda_ |
use something like this http://typo3.toaster-schwerin.de/typo3_english/2007_10/msg00821.html |
| 16:17 |
_pedda_ |
no need for php or html-template file |
| 16:18 |
_pedda_ |
typoscript = multilevel php array btw |
| 16:18 |
_pedda_ |
some kind of at least |
| 16:19 |
unbob1 |
_pedda_: thx, but I think I still prefer creating the xml-output with php, I also have some flexform-data |
| 16:19 |
_pedda_ |
then you need php.. |
| 16:20 |
_pedda_ |
because there is still no way to access flexformfields via ts |
| 16:20 |
unbob1 |
ok, that's settled then :) |
| 16:20 |
_pedda_ |
but you can take the structure from the example i posted |
| 16:21 |
_pedda_ |
tsposcript: page.typeNum = 0 |
| 16:21 |
_pedda_ |
php |
| 16:23 |
_pedda_ |
['page'].['.typeNum'].['0'] |
| 16:23 |
_pedda_ |
sou you just need to extend theexample above |
| 16:24 |
_pedda_ |
with your own php code |
| 16:24 |
_pedda_ |
http://wiki.typo3.org/index.php/TypoScript_-_PHP_Interaction |
| 16:25 |
unbob1 |
ah, thanks for the help, and the link... I think it will clear some things up for me |
| 16:25 |
_pedda_ |
;) |
| 16:25 |
_pedda_ |
basically ts = php |
| 16:25 |
_pedda_ |
but multileveled array |
| 16:26 |
unbob1 |
I really knew that, but if confused me when |
| 16:26 |
unbob1 |
$GLOBALS["TSFE"]->tmpl->setup["config."]["disableAllHeaderCode"] = 1; |
| 16:26 |
unbob1 |
didn't work |
| 16:27 |
unbob1 |
f.ex |
| 16:27 |
_pedda_ |
i'm not that into programming.. |
| 16:27 |
_pedda_ |
but just a second |
| 16:32 |
_pedda_ |
= !1! |
| 16:32 |
_pedda_ |
hmpf |
| 16:32 |
_pedda_ |
= '1'; |
| 16:33 |
_pedda_ |
should do the job |
| 16:33 |
unbob1 |
tried that also :) |
| 16:33 |
unbob1 |
no go |
| 16:33 |
_pedda_ |
hmm |
| 16:36 |
_pedda_ |
no clue then.. never did an extension for typo3 :-P |
| 16:36 |
unbob1 |
hehe, ok, thanks anyway :) |
| 16:40 |
crisb2010 |
does nobody has a idea how to build such a menu? i'm clueless ... |
| 16:53 |
BejjWrk |
have a nice weekend everyone |
| 17:10 |
crisb2010 |
anyone here yet that can help me with that menu? |
| 17:15 |
_pedda_ |
yes but not now... gotta go now |
| 17:15 |
_pedda_ |
on monday.. or some evening at the weekend |
| 19:06 |
coffeejunky |
_peda_: take the pages to level 4. kill the level 3 navigation in ts and put some level4 navigation on level3 (not shown in menu) item TS |
| 19:06 |
coffeejunky |
should do the trick, but not sure :-D had an 48 hours day. have to go to bed now ;) |
| 19:06 |
coffeejunky |
eeh the message was for crisb2010 |
| 19:07 |
coffeejunky |
uuuh, need sleep |
| 19:07 |
coffeejunky |
bye |