| 01:49 |
ewomer |
i got it working |
| 02:36 |
theduke |
anyone still here? |
| 02:37 |
theduke |
i have a template that loads a js file |
| 02:38 |
theduke |
the js file executes just fine when i call the template directly |
| 02:38 |
theduke |
but when i open a page using the template the js does not execute |
| 02:38 |
theduke |
paths are fine, the css file works just fine |
| 02:39 |
theduke |
it's probably some rights issue |
| 02:39 |
theduke |
but i cant figure it out |
| 02:44 |
ewomer |
can typo3 be used in conjunction with a webpage/website designer |
| 02:49 |
ewomer |
or can tpo3 do it all |
| 02:49 |
ewomer |
*typo3 |
| 02:54 |
dinsdale07 |
theduke, are you using templavoila and forgot including the header part in your template? |
| 02:54 |
dinsdale07 |
ewomer, |
| 02:54 |
ewomer |
um yes |
| 02:54 |
dinsdale07 |
sorry - I had a tingly pinky :-) |
| 02:54 |
ewomer |
lol |
| 02:55 |
dinsdale07 |
ewomer, I think typo3 is great working together with a designer |
| 02:55 |
ewomer |
ok im still trying to grasp what typo is exactly for |
| 02:55 |
ewomer |
to me its like a website/page manager right or am i wrong? |
| 02:56 |
dinsdale07 |
typo3 provides a framework which you can use to manage content. how you present this content is defined by a layout. |
| 02:57 |
ewomer |
ok |
| 02:57 |
dinsdale07 |
you can use most templates a webdesigner has created and implement it in typo3 although it requires some work to replace the right parts of the template with dynamic content |
| 02:58 |
ewomer |
i was looking for an opensource equal. to dreamweaver but i guess both kompozer and nvu are dead |
| 02:59 |
dinsdale07 |
I see - I think typo3 is not so much a tool to help a webdesigner create a nice layout but a framework to keep the layout content and logic of a webpage together. |
| 02:59 |
dinsdale07 |
If you look for a dreamweaver replacement you might look into quanta, scream or aptanta |
| 02:59 |
ewomer |
thanks |
| 03:00 |
theduke |
ewomer: no i use automaketemplate |
| 03:00 |
theduke |
and the linked css file loads just file |
| 03:00 |
theduke |
fine |
| 03:00 |
theduke |
just the js files don't |
| 03:00 |
ewomer |
automaketemplete? |
| 03:00 |
theduke |
Template Auto-parser |
| 03:00 |
dinsdale07 |
theduke, I think you answered to me :-) you also have the tingly pinky :-) |
| 03:01 |
theduke |
ah , yeah right |
| 03:01 |
theduke |
tired.... ^^ |
| 03:01 |
dinsdale07 |
if you're european I can understand why - it's late. do you have a link to the page you are talking about? |
| 03:02 |
ewomer |
i have the link www.google.com |
| 03:02 |
ewomer |
quanta is still stuck on kde 3.5.10 |
| 03:04 |
theduke |
yeah, the template is here: http://theduk3.th.funpic.de/typo3/fileadmin/template/index2.html and the page here: http://theduk3.th.funpic.de/typo3/index.php?id=28 |
| 03:04 |
dinsdale07 |
That's a shame. But I'm still on gnome. Actually these days I'm mainly using Eclipse also for html since I do mainly php. |
| 03:04 |
theduke |
i put in the alert() to check if its executed |
| 03:06 |
ewomer |
where are you from |
| 03:06 |
ewomer |
germany/denmark |
| 03:06 |
dinsdale07 |
I see you are using jquery - so there should be several javascript files included in the header? |
| 03:06 |
theduke |
i use one javascript file to include the others |
| 03:07 |
dinsdale07 |
btw that *thing* went right across my screen :-) |
| 03:07 |
dinsdale07 |
I'm german living in Quebec. |
| 03:08 |
theduke |
then we could switch over to german if it wasn't against the channel rules ^^ i'm from vienna |
| 03:08 |
theduke |
what thing? |
| 03:08 |
ewomer |
o ok cause some of the lettering in the websit is messy |
| 03:09 |
theduke |
oh that, just some charset issues, didn't get to that yet |
| 03:09 |
dinsdale07 |
a scrolling popup box |
| 03:09 |
dinsdale07 |
how do you include your .js files in the header. with TS code? |
| 03:10 |
theduke |
ah you mean the ad ... it's a free hoster |
| 03:10 |
theduke |
no i just left the <script ...> in the template |
| 03:11 |
ewomer |
http://imagebin.org/37088 is what i see |
| 03:12 |
dinsdale07 |
I think regarding the js the relative path has probably changed unless you copied the files in the typo3 folder |
| 03:12 |
theduke |
the js files are in the same folder as the template file , fileadmin/template |
| 03:13 |
theduke |
mhm let me try something |
| 03:13 |
dinsdale07 |
I usually include my js files via TS, like this: page.includeJS.file20 = fileadmin/scripts/jquery/jquery-1.2.6.pack.js |
| 03:14 |
dinsdale07 |
ewomer, I see the same. It's probably the encoding encoding not utf8 but that's easy to repair. |
| 03:15 |
ewomer |
ok |
| 03:16 |
dinsdale07 |
theduke, this way you don't have to touch the template if you want to modify the path. |
| 03:22 |
theduke |
how can i include more than one .js file like this? |
| 03:22 |
theduke |
file30 file40... doesn't work |
| 03:29 |
ewomer |
sea monley is got to be the dumbist idea why not seperate all the packages that it has |
| 03:39 |
ewomer |
where can i find website templetes |
| 03:44 |
ewomer |
later in off to bed |
| 08:44 |
_pedda_ |
hi all |
| 09:03 |
spabhat |
hi _pedda_ |
| 09:04 |
_pedda_ |
hello spabhat :) |
| 09:07 |
randomresult |
good morning |
| 09:07 |
randomresult |
:) |
| 09:09 |
_pedda_ |
moin randomresult moin maholtz|WORK |
| 09:10 |
maholtz|WORK |
moin & gratulations - you was the first today:) |
| 09:12 |
_pedda_ |
indeed :) |
| 09:12 |
_pedda_ |
i'm so proud of myself |
| 09:12 |
_pedda_ |
.. |
| 09:14 |
maholtz|WORK |
lol |
| 09:15 |
_pedda_ |
hehe |
| 09:25 |
randomresult |
the first after u entered maholtz|WORK |
| 09:25 |
_pedda_ |
we've got some vips on board... psst! |
| 09:25 |
_pedda_ |
;) |
| 09:26 |
randomresult |
:) |
| 09:44 |
m4rtijn |
hi all |
| 09:44 |
fred^^ |
morning, m4rtijn |
| 09:48 |
fred^^ |
Do any one know how to add the page alias to the body ID ? I am using this example, http://diaryproducts.net/about/cms/typo3/css_style_page_alias_uid |
| 10:09 |
fred^^ |
Is it impossible to add something to the body through templavoila and TS? |
| 10:09 |
_pedda_ |
the example shown in the link is correct |
| 10:09 |
_pedda_ |
i use this: |
| 10:10 |
_pedda_ |
http://paste.phlogi.net/-650f7dd06d/ |
| 10:10 |
fred^^ |
http://paste.phlogi.net/body_tag_w-4/ This is my current setup |
| 10:12 |
fred^^ |
No go. What have you mapped as ROOT element? The body? |
| 10:12 |
_pedda_ |
yes |
| 10:12 |
fred^^ |
Im using the body, with mode set to INNER |
| 10:13 |
fred^^ |
You the same? |
| 10:13 |
_pedda_ |
yes |
| 10:13 |
_pedda_ |
did you set up the header parts ? |
| 10:14 |
_pedda_ |
check the checkbox fpr body in your header parts |
| 10:14 |
fred^^ |
Aha :) |
| 10:14 |
fred^^ |
I never use the header parts, thats why |
| 10:14 |
_pedda_ |
klick set and save and return |
| 10:14 |
_pedda_ |
;) |
| 10:14 |
_pedda_ |
does it work now ? |
| 10:14 |
fred^^ |
Not yet, ill empty the cache |
| 10:15 |
fred^^ |
No, did not help, that either |
| 10:16 |
fred^^ |
I'll do some more digging |
| 10:17 |
_pedda_ |
ok |
| 10:37 |
fred^^ |
Aha |
| 10:37 |
fred^^ |
sourceopt is removing the ID |
| 10:38 |
_pedda_ |
you got it ? |
| 10:40 |
fred^^ |
Not yet, but atleast I know more |
| 10:53 |
_pedda_ |
k |
| 11:25 |
pmk65 |
has anyone here any experience in setting up a project at forge.typo3.org? |
| 11:26 |
maholtz|WORK |
yep |
| 11:26 |
maholtz|WORK |
its quite easy, but some modules doesnt work |
| 11:26 |
maholtz|WORK |
f.e. metrics |
| 11:27 |
pmk65 |
I have diabled those, but its the repository settings Im not quite sure about. specially the login/pass part. |
| 11:28 |
maholtz|WORK |
ok, i didnt set them - and can use it with my typo3 login data |
| 11:28 |
pmk65 |
Do I fill that with my own forge login/pass? (the documentation for Redmine gives a 404 on the repository help) |
| 11:28 |
maholtz|WORK |
no, i didnt fill it up |
| 11:28 |
maholtz|WORK |
i ignored that |
| 11:29 |
pmk65 |
I thought so, as it would be syupid if it was my pw, and i then added more members.. |
| 11:29 |
maholtz|WORK |
yep, |
| 11:29 |
pmk65 |
I just have to figure out how to upload the initial files then :) |
| 11:29 |
maholtz|WORK |
all members of the project are allowed to write, others only to read |
| 11:29 |
maholtz|WORK |
i hope *g* |
| 11:30 |
maholtz|WORK |
didnt test, if i can commit something with my login, if i am not at that project |
| 11:30 |
maholtz|WORK |
if you want test it, you can do it at project "exiftool" f.e. that would not harm anyone |
| 11:31 |
pmk65 |
do I commit the files directly from my typo3conf/ext/extension/ folder or do I create a seperate folder for that? |
| 11:32 |
pmk65 |
im using tortoisesvn (pc) |
| 11:32 |
maholtz|WORK |
afaik you can commit them directly |
| 11:32 |
maholtz|WORK |
but some people submit their projects with individual foldernames |
| 11:32 |
maholtz|WORK |
which i do not like. |
| 11:33 |
maholtz|WORK |
because i have to use an symlink than |
| 11:33 |
pmk65 |
I tried, but I must have done something wrong, as I just ended up wid 3 extra folders in my ext dir (branches, tags & trunk) |
| 11:35 |
maholtz|WORK |
in eclipse i can make an new project from svn, i select than the trunk folder in svn and save it as "myextension" in typo3conf/ext/ |
| 11:36 |
maholtz|WORK |
so i am working in trunk and having no problems |
| 11:36 |
maholtz|WORK |
if i did that with an existing extension, i copy the files after that in the directory and didnt get in trouble with that |
| 11:36 |
m4rtijn |
hmm, anyone whos good at php who could give me a hand here: http://php.pastebin.com/m13779c26 .. |
| 11:37 |
m4rtijn |
the file which is being generated there is completely correct... but the file - download has 0 bytes.. |
| 11:39 |
pmk65 |
m4rtijn: Check the save/print module of my PMK Slimbox extension. It has a working "header" part. -> http://typo3.org/extensions/repository/view/pmkslimbox/current/info/savefile.php/ |
| 11:40 |
pmk65 |
function is at the bottom of the script. |
| 11:42 |
maholtz|WORK |
@m4rtijn: mysql_fetch_assoc returns assoziatives array - t3lib_div::debug($new); |
| 11:44 |
m4rtijn |
thanks guys |
| 11:52 |
pmk65 |
Im giving up on that forge repository thing. I can only get it to checkout, not commit. :( |
| 11:55 |
just2b |
pmk65 at your own projects? |
| 11:56 |
pmk65 |
yes. but I getting fed up with trial & error due to no documentation for how to use the forge repository. and forge is damn slow loading... |
| 11:57 |
pmk65 |
but incomplete documentations is TYPO3 unofficial trademark.. |
| 11:58 |
just2b |
thats strange but you are correct with the slow |
| 11:59 |
maholtz|WORK |
@pmk65: if you make an commit - which error do you get? |
| 11:59 |
pmk65 |
I can't commit, only checkout. |
| 11:59 |
maholtz|WORK |
and try to commit only one file |
| 12:00 |
maholtz|WORK |
but you should get an message from your tool? |
| 12:05 |
pmk65 |
I don't. and Im not going to waste more time on it. I'll just develop the ext as I normally do.. |
| 12:07 |
maholtz|WORK |
wondering - i never had any problem with that |
| 12:08 |
maholtz|WORK |
hm.. |
| 12:08 |
maholtz|WORK |
i am wrong i had some trouble with xml files |
| 12:08 |
maholtz|WORK |
i wasnt able to commit manuals - but afaik that was an eclipse bug |
| 12:08 |
pmk65 |
forge sucks. I can't even delete the project.. :p |
| 12:09 |
maholtz|WORK |
i am a fan of forge - but you are right, it is not perfect |
| 12:10 |
pmk65 |
I liked the idea too, but if the documentation is incomplete, it's pretty hard to use IMHO. |
| 12:22 |
maholtz|WORK |
seems to be |
| 12:31 |
nd__ |
I added a var to ext_conf_template.txt... is it possible to configure it, so that when I enter something in the ExtMgm and Update it makes an update in the dbs? |
| 12:31 |
m4rtijn |
grr.. im getting crazy, I have my DB in utf8, my tables in utf8 and my single fields in utf8, but if I insert something from a online form.. its not utf8.. |
| 12:32 |
nd__ |
m4rtijn: Tried to tell the form to accept utf8? |
| 12:33 |
m4rtijn |
hmm.. how? |
| 12:33 |
nd__ |
accept-charset="utf-8" |
| 12:33 |
nd__ |
in <form> |
| 12:33 |
nd__ |
I don't know for sure it that changes it... |
| 12:33 |
m4rtijn |
I;ll try right away |
| 12:37 |
m4rtijn |
that didnt work.. |
| 12:37 |
nd__ |
well, was a try... |
| 12:37 |
m4rtijn |
I also have <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
| 12:42 |
fred^^ |
Is it possible to add an id to the defaultHeader based on the page id? |
| 12:45 |
theduke |
morning guys, I have a problem with TMENU, how can I specify that a Link should not contain an actual link?^^ what I mean: wrap = <li>|</li> produces <li><a href="...">Pagename</a></li> and I just want <li>Pagename</li> |
| 12:46 |
pmk65 |
nd__: if you want to use the "UPDATE!" functilnality in EM, you need to create an extra php file. |
| 12:46 |
pmk65 |
nd__: and name it "class.ext_update.php" |
| 12:47 |
lilalinux |
what does the (0-2) mean in: config.linkVars = L(0-2) |
| 12:47 |
lilalinux |
Is that possible values = 0,1,2? |
| 12:47 |
pmk65 |
an example -> http://typo3.org/extensions/repository/view/pmkautokeywords/current/info/class.ext_update.php/ |
| 12:47 |
nd__ |
pmk65: Thanks alot |
| 12:49 |
pmk65 |
lilalinux: could be. There's a lot of "hidden" features in TYPO3, as the documentation doesn't seem to get updated. You can try and see if you might get lucky finding some info here.. -> http://wiki.typo3.org/index.php/Pending_Documentation |
| 12:51 |
pmk65 |
theduke: use "doNotLinkIt" in your menu. then the menuitems will not be linked. |
| 12:52 |
porkpie |
guy's can someone point me to the link for the official guidelines on multilanguge setup |
| 12:53 |
pmk65 |
fred^^: Is it because you need the FCE id passed to external Typoscript? |
| 12:57 |
pmk65 |
porkpie: -> http://typo3.org/1220.0.html (but as usual it haven't been updated for ages..) |
| 12:58 |
lilalinux |
porkpie: do you use templatevoila? |
| 12:58 |
porkpie |
sometimes |
| 12:58 |
lilalinux |
I tried http://typo3.org/1220.0.html an hour ago, and it is not of much use |
| 12:59 |
porkpie |
pmk65:is this still curremy |
| 12:59 |
lilalinux |
porkpie: http://wiki.typo3.org/index.php/TemplaVoila#How_to_change_icon_for_default_language |
| 12:59 |
lilalinux |
but the recommended approach only works for FCE (Flexible Content Element) |
| 13:01 |
porkpie |
pmk65:is the document still current http://typo3.org/1220.0.html |
| 13:01 |
lilalinux |
[13:17] <pmk65> porkpie: -> http://typo3.org/1220.0.html (but as usual it haven't been updated for ages..) |
| 13:02 |
pmk65 |
That's the only official document afik. But as lilalinux said, it's not very useful as it haven't been updated. I think there's a wiki page somewhere that describes it in a much better (and up-to-date) way. I just can't find it.. :p |
| 13:05 |
pmk65 |
There's a german wiki page, but it's not that informative.. -> http://wiki.typo3.org/De:multi_language_sites |
| 13:10 |
mathiasschreiber |
hola |
| 13:23 |
just2b |
peter, still there? |
| 13:25 |
porkpie |
pmk65:am I correct in saying that english is alway the default languge out of the box and that if you change it can cuase issues |
| 13:25 |
porkpie |
cause |
| 13:25 |
mathiasschreiber |
issues? no |
| 13:26 |
mathiasschreiber |
you just need to download the localization for the language you're gonna use and set the config.language value in typoscript accordingly |
| 13:26 |
porkpie |
mathiasschrebiber:I was told this was the case and it is in the guidlines |
| 13:26 |
mathiasschreiber |
depends on what you want to do |
| 13:27 |
mathiasschreiber |
just tell me, what you try to achieve :) |
| 13:27 |
mathiasschreiber |
then I can tell you about possible issues |
| 13:28 |
fred^^ |
Is there a manual for css_styled_content? |
| 13:28 |
mathiasschreiber |
why would you need one? |
| 13:29 |
fred^^ |
I want to add an id to the defaultHeader based on the page id or alias |
| 13:29 |
fred^^ |
I can not seem to get typo3 to add ID to the body tag, so im doing it this way instead |
| 13:29 |
mathiasschreiber |
but header could be repeated, so you "could" get duplicate ids |
| 13:29 |
mathiasschreiber |
plus: |
| 13:29 |
mathiasschreiber |
did you try: |
| 13:29 |
mathiasschreiber |
page.bodyTag = <body id="myId"> ? |
| 13:30 |
porkpie |
mathiasschrebiber:the queston is it a guidline to leave en as the default language |
| 13:30 |
fred^^ |
I know which page titles are gonna be there, so that is something I will avoid |
| 13:30 |
porkpie |
mathiasschrebiber:then do the rest in the tsetup |
| 13:30 |
mathiasschreiber |
pork, are we talking Frontend or Backend |
| 13:31 |
porkpie |
FE |
| 13:31 |
mathiasschreiber |
pork, then you can set any language you like |
| 13:31 |
porkpie |
well when you add a lang .... you don't add english |
| 13:31 |
mathiasschreiber |
fred, you need a "dynamic" bodyTag, did I get this right? |
| 13:31 |
mathiasschreiber |
config.language = default |
| 13:31 |
porkpie |
you add nl or es |
| 13:31 |
porkpie |
not en |
| 13:31 |
mathiasschreiber |
this will load the default language (which is indeed english |
| 13:32 |
mathiasschreiber |
most (99.9%) of the extensions use "default" for english |
| 13:32 |
porkpie |
mathiasschreiber:OK.... thanks |
| 13:32 |
mathiasschreiber |
you're welcome |
| 13:33 |
porkpie |
mathiasschreiber:so if this is changed and you are not aware of this it can and will cause problems when you dev an ext |
| 13:33 |
mathiasschreiber |
sec, got my co-worker here... |
| 13:34 |
mathiasschreiber |
ok, back |
| 13:35 |
mathiasschreiber |
you mean if we change "default" so something else? |
| 13:35 |
mathiasschreiber |
yes, but this is highly unlikely.... why would we :) |
| 13:36 |
porkpie |
mathiasschreiber:OK ... Im have a client that has :S |
| 13:36 |
mathiasschreiber |
? |
| 13:36 |
mathiasschreiber |
just to get this straight... a client did what? add "en" as a language? |
| 13:36 |
porkpie |
mathiasschreiber:and it has caused problem with an ext we have developed .. |
| 13:37 |
porkpie |
mathiasschreiber:they changed the default lang to another language and en to the alternative |
| 13:37 |
mathiasschreiber |
but then you just need to copy the xml path default to whatever language you actually used |
| 13:38 |
mathiasschreiber |
ok... wait... I am dacing on two weddings atm |
| 13:38 |
porkpie |
mathiasschreiber:you mean the locallang.xml |
| 13:38 |
fred^^ |
Yes, mathiasschreiber, thats correct |
| 13:38 |
mathiasschreiber |
ah ok. so we're just talking locallang.xml.... |
| 13:39 |
fred^^ |
I'm doing this so I can style different elements (right now, only need to style the defaultHeader) |
| 13:39 |
mathiasschreiber |
I was frassled |
| 13:39 |
porkpie |
mathiasschreiber:well not actually just that ... but that is what we use on our ext |
| 13:39 |
mathiasschreiber |
fred, what kind of html output do you need? |
| 13:40 |
mathiasschreiber |
porkpie: I have to admit that I still don't get the question :) sry |
| 13:40 |
fred^^ |
mathiasschreiber: This is my setup, http://paste.phlogi.net/body_tag_w-5/ |
| 13:41 |
fred^^ |
Well, I need a wrap around the header with an id, an id on the header itself or an id on the body tag so I can style it with CSS |
| 13:42 |
mathiasschreiber |
ok, and the ID in the bodytag could come from the alias field, right? |
| 13:43 |
mathiasschreiber |
try this: |
| 13:43 |
mathiasschreiber |
page.bodyTagCObject = COA |
| 13:43 |
mathiasschreiber |
page.bodyTagCObject { |
| 13:43 |
mathiasschreiber |
10 = TEXT |
| 13:43 |
mathiasschreiber |
10.field = alias |
| 13:43 |
mathiasschreiber |
10.wrap = <body id="side-|"> |
| 13:43 |
mathiasschreiber |
} |
| 13:44 |
TaucherMK |
fred^^: You could also generate the css dynamicly (with conditions on the globalVar |
| 13:45 |
mathiasschreiber |
good point also |
| 13:46 |
fred^^ |
I'll try that, did you notice the code in my setup that did not work? |
| 13:46 |
fred^^ |
I commented it out |
| 13:46 |
mathiasschreiber |
another thing I'd do would be to set a fallback, so if the field "alias" isn't set you don't end up with id="side-" |
| 13:47 |
fred^^ |
For fallbacks of that type, is it best to use some kind of IF check? |
| 13:47 |
mathiasschreiber |
depends |
| 13:47 |
mathiasschreiber |
i'd do something like this (untested) |
| 13:47 |
mathiasschreiber |
inside the cObject part |
| 13:47 |
mathiasschreiber |
10 = TEXT |
| 13:47 |
jananne |
Hello i'm using a standard typo3 mailform on my website. How can i set onFocus="this.value=''"in the inputfield? |
| 13:47 |
fred^^ |
If alias field is not empty add dynamic id, else show default id is what im thinking |
| 13:48 |
mathiasschreiber |
ah... thats easy |
| 13:48 |
mathiasschreiber |
just add this line |
| 13:48 |
mathiasschreiber |
10.if.isTrue.field = alias |
| 13:48 |
mathiasschreiber |
this will trigger the complete "10" to show only if the field is filled |
| 13:48 |
mathiasschreiber |
then you would have to change the wrap to |
| 13:49 |
mathiasschreiber |
page.bodyTagCObject.stdWrap.wrap = <body |> |
| 13:49 |
mathiasschreiber |
or use noTrimWrap... something like this |
| 13:49 |
fred^^ |
wonderful |
| 13:50 |
fred^^ |
Your example worked, by the way |
| 13:50 |
fred^^ |
I did not know I had to set the CObject to COA |
| 13:50 |
mathiasschreiber |
;-) |
| 13:51 |
mathiasschreiber |
using typo3 sind 3.1rc1 ;-) |
| 13:51 |
mathiasschreiber |
wow, I'm old.... |
| 13:52 |
nd__ |
If my extension has more than one PAGE object it seems I cannot access the flexform-config of the normal pi1 from the other PAGE... how do I fix this? |
| 13:52 |
fred^^ |
I think my first version was 3.6 |
| 13:52 |
maholtz|WORK |
@nd__: you should be able too |
| 13:52 |
fred^^ |
I've been working with typo3 for 3 about years now |
| 13:52 |
fred^^ |
Still got lots to learn |
| 13:53 |
maholtz|WORK |
yep, me too |
| 13:53 |
fred^^ |
Still have not tried to program extensions, though |
| 13:53 |
nd__ |
maholtz|WORK: Ok... so I guess I got something wrong because I'm not :) |
| 13:53 |
fred^^ |
Thats one of the next things I will try, if time allows |
| 13:53 |
mathiasschreiber |
that's the easiest thing imho |
| 13:54 |
mathiasschreiber |
nd__ what do you mean with "more than one PAGE object"? |
| 13:54 |
nd__ |
mathiasschreiber: In my setup.txt I create a PAGE object for type=552 requests |
| 13:54 |
mathiasschreiber |
ok |
| 13:55 |
mathiasschreiber |
but the flexform setup has nothing to do with page objects |
| 13:55 |
mathiasschreiber |
I think you're talking of Extension Flexform values, right? |
| 13:57 |
nd__ |
yes |
| 13:57 |
nd__ |
Well, most important I need to access the Storage Folder |
| 13:59 |
mathiasschreiber |
um....have to admit i never use those.... |
| 13:59 |
mathiasschreiber |
but basically the plugin gets the same data in every PAGE object |
| 13:59 |
mathiasschreiber |
you tried the obvious stuff... clearing caches and all? |
| 14:06 |
pmk65 |
nd__: From TS you can find the id of the General Storage Folder, like this: -> http://www.typo3wizard.com/en/snippets/cool-stuff-typoscript/finding-the-uid-of-the-general-record-storage-page-using-typoscript.html |
| 14:07 |
nd__ |
mathiasschreiber: did, yes |
| 14:07 |
mathiasschreiber |
hm |
| 14:07 |
lilalinux |
I installed static_info_tables and see 187 languages in ROOT, but when creating a new "Alternative Page Language" I can only choose "Default" as language |
| 14:07 |
nd__ |
pmk65: Thanks, lemme try with that |
| 14:07 |
lilalinux |
Do I have to activate the languages? |
| 14:07 |
mathiasschreiber |
lila, yes |
| 14:08 |
lilalinux |
mathiasschreiber: how? |
| 14:08 |
mathiasschreiber |
extManager, set the languages you like then set "update from repository" |
| 14:08 |
lilalinux |
thx |
| 14:10 |
lilalinux |
mathiasschreiber: do you mean "Transaction Handling"? |
| 14:10 |
lilalinux |
I guess this is only a translated backend? |
| 14:11 |
lilalinux |
Erm, Translation Handling |
| 14:12 |
mathiasschreiber |
nope |
| 14:12 |
mathiasschreiber |
this also boils down to extensions in the FE |
| 14:12 |
mathiasschreiber |
example: |
| 14:12 |
mathiasschreiber |
or wait... |
| 14:12 |
mathiasschreiber |
*thinking |
| 14:12 |
mathiasschreiber |
ah, no |
| 14:12 |
mathiasschreiber |
used to be that way |
| 14:13 |
mathiasschreiber |
but if you want to change the FE localization of an extension (or ALL extensions) to let's say... spanish, you'd need to set config.language = es |
| 14:15 |
lilalinux |
at the moment I only want to translate my own texts |
| 14:15 |
lilalinux |
not extensions |
| 14:15 |
mathiasschreiber |
ah |
| 14:15 |
mathiasschreiber |
ok, go to the root of your install (not site) |
| 14:15 |
mathiasschreiber |
create a new website language |
| 14:16 |
mathiasschreiber |
then you can translate your content |
| 14:16 |
mathiasschreiber |
then you need to tell TYPO3 what condition to match to use the other language |
| 14:16 |
mathiasschreiber |
example: |
| 14:17 |
mathiasschreiber |
[globalVar = GP:L=1] |
| 14:17 |
mathiasschreiber |
config.sys_language_uid = 1 |
| 14:17 |
mathiasschreiber |
[end] |
| 14:18 |
mathiasschreiber |
this will tell TYPO3 to use the content for language 1 (you can get the ID from the root of your website, it's in the title/alt Tag of the icon of the lang you just created) if the GET Variable L is 1 |
| 14:18 |
lilalinux |
When I say "New" in root (the second node of the tree), I don't have a record type "website language" |
| 14:19 |
mathiasschreiber |
the "root" if the little "Earth" Icon |
| 14:19 |
mathiasschreiber |
you are an admin user, right? |
| 14:19 |
lilalinux |
yeah |
| 14:19 |
lilalinux |
I have the first node (with the globe) and the second as the root for my website |
| 14:20 |
mathiasschreiber |
you need to click the globe |
| 14:20 |
lilalinux |
ok, there I already have 187 languages |
| 14:20 |
lilalinux |
installed by static_info_tabled |
| 14:20 |
mathiasschreiber |
? |
| 14:20 |
mathiasschreiber |
sec... let me log into a site |
| 14:20 |
lilalinux |
but it doesn't say "website language" but only "language" |
| 14:21 |
mathiasschreiber |
when I click my globe and click "New" I get Page, Backend User, Backend Usergroup, Filemout, Workspace, WEBSITE LANGUAGE |
| 14:21 |
lilalinux |
wow |
| 14:21 |
mathiasschreiber |
globe-in-hand icon |
| 14:21 |
mathiasschreiber |
its there, trust me :) |
| 14:22 |
lilalinux |
indeed :-) |
| 14:22 |
lilalinux |
What do I name the Language? "Deutsch" or "German"? |
| 14:22 |
lilalinux |
mater of taste I guess |
| 14:22 |
lilalinux |
matter.. |
| 14:22 |
mathiasschreiber |
whatever is more "talking" to your editors |
| 14:23 |
mathiasschreiber |
if your editors are the ones translating it to "Deutsch", that might be the better way |
| 14:23 |
mathiasschreiber |
on the other hand: |
| 14:23 |
lilalinux |
oopsie |
| 14:23 |
lilalinux |
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /var/typo3_src-4.2.1/t3lib/class.t3lib_db.php on line 835 |
| 14:23 |
lilalinux |
Warning: Cannot modify header information - headers already sent by (output started at /var/typo3_src-4.2.1/t3lib/class.t3lib_db.php:835) in /var/typo3_src-4.2.1/typo3/template.php on line 632 |
| 14:23 |
mathiasschreiber |
? |
| 14:23 |
mathiasschreiber |
after you added the language? |
| 14:24 |
lilalinux |
after saving |
| 14:24 |
lilalinux |
but the record is there |
| 14:24 |
lilalinux |
we'll see |
| 14:24 |
mathiasschreiber |
got that too |
| 14:24 |
lilalinux |
do I need to add my default language there, too? |
| 14:24 |
mathiasschreiber |
interesting |
| 14:24 |
mathiasschreiber |
no |
| 14:24 |
mathiasschreiber |
default is always there |
| 14:25 |
lilalinux |
how does it know, that the default is german, then? |
| 14:26 |
lilalinux |
hm, uk flag or us flag? |
| 14:26 |
mathiasschreiber |
pretty simple: |
| 14:26 |
mathiasschreiber |
set: |
| 14:27 |
mathiasschreiber |
config.language = de |
| 14:27 |
mathiasschreiber |
then (in the condition I just posted) set |
| 14:27 |
mathiasschreiber |
config.language = default |
| 14:27 |
mathiasschreiber |
default = english for extensions |
| 14:27 |
lilalinux |
yeah, but how does it know the flag? |
| 14:28 |
mathiasschreiber |
it doesn't |
| 14:29 |
mathiasschreiber |
so that part is true |
| 14:29 |
m4rtijn |
im hungry |
| 14:29 |
mathiasschreiber |
ok, gotta go... moving today :) |
| 14:30 |
lilalinux |
brb firewall needs to be exchanged O_o |
| 14:52 |
|Xabbu |
Can anyone point me in the right direction as how to rename (and add) the "layout"-field of the "table"-contentelement? |
| 14:59 |
progzy |
Hi, I can not find a way to make a content for an item of a level 1 menu to be the same than its children (level 2) ; (content overload). Is there a way to do it please ? |
| 15:00 |
progzy |
|Xabbu : : http://support.typo3.org/snippets/c/35/?L=&cHash=dcb2a4ed88 ? |
| 15:03 |
|Xabbu |
progzy: Thanks fot the hint. But unfortunatly not what I was looking for. I wanted to add and rename the Layout of a table-contentelement. |
| 15:04 |
progzy |
|Xabbu : oh sorry |
| 15:04 |
|Xabbu |
Not to worry. That snippet was good. And I probably will need it in future. |
| 15:06 |
nd__ |
Gna, I still cannot access my cObj |
| 15:10 |
pmk65 |
|Xabbu: Put this in your Page TSConfig.. -> http://paste.phlogi.net/-94268717dc/ |
| 15:11 |
nd__ |
It must have something to do with the different pagetype |
| 15:13 |
pmk65 |
|Xabbu: it might be a different field for the table CE (which I don't use), so check if the field is named header_layout |
| 15:13 |
pmk65 |
nd__: post your code.. |
| 15:14 |
nd__ |
pmk65: Which parts of it? |
| 15:14 |
pmk65 |
what ever it is that doesn't work :) |
| 15:16 |
progzy |
How could I do to get the same dynamic content in a specific column (a banner for instance) for all the website ? |
| 15:17 |
nd__ |
Well... it's done with lib/div: We added a second controller, a second model etc. and configured a different pagetype so we can get json-answers... if I set the storage folder for the plugin it shows in the first or main controller but is 0 in the second... |
| 15:25 |
lilalinux |
What uids do I choose for [globalVar = GP:L = 0] and config.sys_language_uid = 0? The static_info_tables supplied uids or the self created "website language" uids? |
| 15:26 |
tobi_t3w |
the self created "website language" uids |
| 15:26 |
flowdab |
hello... how can i prevent typo3 from resizing images in the text&image-content-element? |
| 15:26 |
lilalinux |
and if the latter, what uid would I choose for the default language, as this is doesn't have an uid (it's not created as a website language) |
| 15:26 |
tobi_t3w |
default uid is 0 |
| 15:26 |
lilalinux |
k |
| 15:27 |
lilalinux |
and the others? custom uids or static_info_table uids? |
| 15:27 |
tobi_t3w |
the others are the website language uids |
| 15:28 |
lilalinux |
thx |
| 15:30 |
tobi_t3w |
flowdab: if you enter images without setting the size and the block is smaller than the styles.content.imgtext.maxW constant typo3 should'nt resize the images |
| 15:31 |
flowdab |
aha... i didn't know that a certain styles.content.imgtext.maxW exists |
| 15:31 |
flowdab |
where do i find it |
| 15:31 |
flowdab |
just in my template settings? |
| 15:31 |
tobi_t3w |
just use the constant editor |
| 15:39 |
flowdab |
tobi_t3w: okay... i use the constant editor in my root template and set styles.content.imgtext.maxW = 500 |
| 15:39 |
flowdab |
but it has no effect |
| 15:41 |
jananne |
Hello i'm using a standard typo3 mailform on my website. How can i set onFocus="this.value=''"in the inputfield? |
| 15:41 |
lilalinux |
I can see the translates Page title when I add &L=2 to the url, but the content element remains the default language. Althtough I translated it to that language |
| 15:44 |
pmk65 |
jananne: modify the tt_content setup, by added a "parms.input" to the mailform setup. |
| 15:45 |
pmk65 |
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/8/20/ |
| 15:45 |
jananne |
pmk65: thx |
| 15:47 |
pmk65 |
tt_content.mailform.20.params.input = onFocus="this.value=" |
| 15:48 |
jananne |
pmk65: thx! :) |
| 15:48 |
jananne |
just needs that :) |
| 15:49 |
pmk65 |
but wouldn't that clear the content of the field whenever you put focus to it?? |
| 15:54 |
jananne |
pmk65: how would you do it? |
| 15:54 |
jananne |
i see this way on many websites.. |
| 15:55 |
lilalinux |
porkpie: http://typo3.org/documentation/document-library/core-documentation/doc_l10nguide/1.0.0/view/1/3/#id4003677 |
| 15:56 |
pmk65 |
jananne: You mean with a text in the field, which is cleared when the user puts focus? Similar to this? -> http://www.sharemation.com/typo3test/expandinginput.html |
| 15:57 |
lilalinux |
Do I need to publish a translated content element before I can see it in FE? |
| 16:11 |
lilalinux |
am I missing something? http://rafb.net/p/ZdU7vS92.html |
| 16:29 |
lilalinux |
the TV template says: Language Mode => "Disabled" |
| 16:29 |
lilalinux |
is that ok? |
| 16:51 |
lilalinux |
I GOT IT!!!!!!!!!!!! |
| 16:52 |
lilalinux |
answering myself for google :-) |
| 16:52 |
lilalinux |
1. Web>Page: The page module must know that a translation must be bound 1-1 to the default translation. This is configured by setting mod.web_layout.defLangBinding = 1 in Page TSconfig. |
| 16:52 |
lilalinux |
2.TypoScript: You must ask the frontend rendering to select content from the default language and look for overlay records from the translation. This is configured with config.sys_language_overlay = 1 in the TypoScript Template. |
| 16:54 |
lilalinux |
How do I disable the display of the content element's 'Header' field? |
| 16:56 |
randomresult |
hi, i installed srfeuser and i have a german page |
| 16:56 |
randomresult |
now i want to change some words... but my locallang only has englisH? |
| 16:56 |
randomresult |
where do i find the german stuff? |
| 16:57 |
randomresult |
in the frontend... it shows up in german---> but how if the locallang only is in english |
| 16:57 |
randomresult |
anyone an idea? |
| 17:05 |
l_e_o |
hello |
| 17:06 |
l_e_o |
in my template selector, I'd like to read a template setup variable from the class which fills the backend selector box. how can this be done? |
| 17:09 |
randomresult |
where do i find the damned translation for srfeuser |
| 17:13 |
lilalinux |
randomresult: ts_language_de? |
| 17:18 |
ckoehler |
for those going to t3con09-dallas, make sure to sign up soon |
| 17:18 |
ckoehler |
http://t3con09-dallas.typo3.org/home.html |
| 17:18 |
jbaptiste_j |
I have a question, I need a piece of page content to show up in different pages as a part of those pages, I don't want to copy-paste the content as I need to be able to modify this content in one place for it to appear in multiple pages within different contexts (with different contents after and before in different pages) |
| 17:18 |
ckoehler |
early bird special ends in feb |
| 17:21 |
randomresult |
it is in typo3conf/l10n/de/srfeuser_register/srfeuser_register/pi1/de.locallang.xml |
| 17:26 |
ckoehler |
ries2: do you want to put something about t3con09-dallas in the topic? |
| 17:26 |
ckoehler |
i think that would be great |
| 17:27 |
ries |
ckoehler: sure, what do you suggest? |
| 17:27 |
lilalinux |
how do I override the tt_content.header field? I want to diable it in frontend for all content elements |
| 17:43 |
progzy |
I'd like to place some dynamic content at a specific position/column for my all website. How Can I do this avoiding editing each page one by one to insert that content please ? Extension template could help I guess ? |
| 17:43 |
ckoehler |
ries: sorry, stepped away for a minute |
| 17:43 |
ckoehler |
hmm |
| 17:43 |
ckoehler |
maybe just a link to the website |
| 17:44 |
ckoehler |
http://t3con09-dallas.typo3.org/ |
| 17:44 |
ckoehler |
put it somewhere in the front |
| 17:44 |
ckoehler |
since it's a timed event |
| 17:44 |
ckoehler |
in april |
| 17:47 |
ckoehler |
ries: great, thanks! |
| 17:48 |
ries |
looks good to you? |
| 17:48 |
ckoehler |
yeah that's great |
| 17:49 |
progzy |
I tried this : http://pastebin.com/m79f4bb06 |
| 17:52 |
lilalinux |
Hello Google, here's how to disable tt_content.header field in frontend: lib.stdheader.10.1 > |
| 17:53 |
progzy |
Here is my structure : Root page -> About [item 1, item 2 ...] News [item1 item 2 ...] |
| 17:54 |
progzy |
My main template is on the root |
| 17:54 |
progzy |
I have extended the "About" template |
| 17:55 |
progzy |
I want the main content to be the same for all subpages |
| 17:55 |
progzy |
Here is a sample of my extented template ("About") : http://pastebin.com/m79f4bb06 |
| 17:56 |
progzy |
This works well with the content defined inside the TS but I do not manage to make it work with the ttçcontent :\ |
| 17:56 |
progzy |
*tt_content |
| 17:57 |
progzy |
Does any one can help on this please ? |
| 18:22 |
Sebastan |
hello, I have developed a own extension but now suddenly in the backend Web->List an error occurs. it says: |
| 18:22 |
Sebastan |
Warning: t3lib_div::include(/var/www/web2/user/cc2_01/web/typo3conf//var/www/web2/user/cc2_01/web/typo3conf/ext/plissee/tca.php) [function.t3lib-div-include]: failed to open stream: No such file or directory in /var/www/webapps/typo3/typo3_src-4.2.3/t3lib/class.t3lib_div.php on line 4296 |
| 18:23 |
Sebastan |
the problem is the extension doesnt have an tca.php |
| 18:23 |
Sebastan |
So it cant be found. |
| 18:23 |
Sebastan |
I looked into the kickstarter and then view results but there isnt a tca.php... |
| 18:24 |
Sebastan |
so why does this error comes up? |
| 18:26 |
Sebastan |
anyone? |
| 18:28 |
maholtz|WORK |
what happens if you create an empty tca.php? |
| 18:28 |
maholtz|WORK |
you didnt create any database table? |
| 18:31 |
Sebastan |
I created tables but not with the kickstarter. I created the tables in ext_tables.sql and ext_tables.php. It worked till now. No errors so far but now the error occurs... I will take a look what depends into a tca.php |
| 18:33 |
maholtz|WORK |
what did you define in ext_tables.php? |
| 18:35 |
Sebastan |
I defined the tables like this: |
| 18:35 |
Sebastan |
$TCA["plissee_fenstertyp"] = array ( "ctrl" => array ( 'title' => 'LLL:EXT:crmportal/locallang_db.xml:plissee_fenstertyp', 'label' => 'uid', 'tstamp' => 'tstamp', 'crdate' => 'crdate', 'cruser_id' => 'cruser_id', 'default_sortby' => "ORDER BY crdate", 'delete' => 'deleted', 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php', 'iconfile' => '', ), "feInterface" => array |
| 18:35 |
Sebastan |
every table has such entry... |
| 18:35 |
maholtz|WORK |
t3lib_extMgm::extPath($_EXTKEY).'tca.php' |
| 18:39 |
progzy |
Any idea for my extension template problem please ? |
| 18:41 |
Sebastan |
that looks like work... but thanks... :) |
| 18:43 |
maholtz|WORK |
@progzy: you get the content from actuall page? or not - did you include static template css_styled_content? |
| 18:52 |
progzy |
maholtz|WORK: well ... I try to get the content from the "about" menu item extended template |
| 18:53 |
progzy |
I'd like the content to be placed in the sub items |
| 19:00 |
progzy |
maholtz|WORK : but yes, I have included the "static template css_styled_content" |
| 19:02 |
progzy |
maholtz|WORK : I have to go. Thanks for your help ... |
| 19:03 |
maholtz|WORK |
have to go now bye |
| 20:28 |
j_s |
Hello folks. Is there an easy way to "manipulate"/change the sorting-column from an extension? I am developing an extension, where I store some image locations in a table and I would like to have two images switch position. And the sorting coloum seems to be the rigth solution, however I don't know the "TYPO3-way" to change/resort/reposition elements. |
| 20:31 |
j_s |
I could of course write my own sorting-function to move the images forward and backward. |
| 21:42 |
flowdab |
hello |
| 21:42 |
lilalinux |
Is "unhide" a special right? |
| 21:42 |
flowdab |
how can i prevent typo from including the imgtext stylesheet? |
| 21:42 |
lilalinux |
I have configured some users, but they can't make pages visible |
| 21:42 |
flowdab |
or how can i make it using my own one |
| 21:43 |
lilalinux |
flowdab: do you use TV? |
| 21:43 |
flowdab |
yeah i'm just watching it |
| 21:45 |
lilalinux |
lol |
| 21:45 |
lilalinux |
I'm talking about TemplaVoila |
| 21:46 |
flowdab |
no.. sorry... don't use it |
| 21:47 |
lilalinux |
then I don't know |
| 21:59 |
flowdab |
does anybody know? :( |
| 22:08 |
lilalinux |
Why doesn't "unhide" work for my non-admin backend users? |
| 22:08 |
lilalinux |
they don't even see the hide/unhide checkbox in BE |
| 22:14 |
lilalinux |
got it |
| 22:14 |
lilalinux |
Allowed excludefields: Page: Hide page |
| 22:33 |
[Francesco] |
Hi, how i can display tt_news search results in another "area" of my template and not in the same area of the tt_news search box ? |
| 22:34 |
[Francesco] |
is this possibile by new versions of tt_news ? or should i pass the "swords" content of a "self_made" search box to the tt_news search box set as invisible ? |
| 23:17 |
[Francesco] |
then there's no way to do that ? |