| 00:12 |
|Lurch| |
Hello. I have some MENU elements displaying a tree of where the user current is on the site. Is there some easy way I can change some of the links displayed in the menu depending on the current page? e.g. when I am in a->b->c i want the tree to show a->{b,d,e}->c and when I am in a->b->f I want the menu to show a different set, like a->{b,g,h}->f |
| 00:12 |
|Lurch| |
(hope that explanation isn't too confusing) |
| 00:15 |
voidus |
|Lurch|: you can do it using [globalVar = TSFE:id] |
| 00:15 |
|Lurch| |
voidus: tovarish... i have no idea what that means :) |
| 00:16 |
voidus |
:))) |
| 00:16 |
voidus |
do you know about TS conditions? |
| 00:16 |
|Lurch| |
voidus: no, but i'm excited to learn. |
| 00:16 |
voidus |
you can set one part of TS or another part depending on some conditions |
| 00:17 |
voidus |
something like that: |
| 00:18 |
voidus |
lib.menu = HMENU |
| 00:18 |
voidus |
lib.menu.1 = TMENU |
| 00:18 |
voidus |
[globalVar = TSFE:id] |
| 00:18 |
voidus |
lib.menu.1.wrap = <b>|</b> |
| 00:18 |
voidus |
[else] |
| 00:18 |
voidus |
lib.menu.1.wrap = <i>|</i> |
| 00:18 |
voidus |
[end] |
| 00:18 |
voidus |
where you should substitute id with your page-id |
| 00:20 |
|Lurch| |
"substitue id with your page-id"? |
| 00:20 |
voidus |
ah, i am a bit wrong |
| 00:21 |
voidus |
[globalVar = TSFE:id = 57] for example |
| 00:21 |
voidus |
that means that part under this line will be parsed only if id of page is 57 |
| 00:22 |
|Lurch| |
ugh. i'm really confused by the [x = b = c] syntax here.. |
| 00:22 |
voidus |
hm.. you can assume that globalVar= is a one lexeme |
| 00:24 |
voidus |
maybe, it should be better to use [globalVar withoud =, but not i write such rules :) |
| 00:24 |
voidus |
*without |
| 00:24 |
|Lurch| |
ok.. let's say i'm beginning to understand... |
| 00:25 |
|Lurch| |
but what i in essence need to do is hide some elements in the menu and show some others depending on TSFE:id |
| 00:25 |
|Lurch| |
how can I do that? |
| 00:27 |
voidus |
hm.. |
| 00:28 |
|Lurch| |
perhaps i should explain wiht an example |
| 00:28 |
voidus |
maybe |
| 00:28 |
voidus |
HMENU repeats structure of page tree |
| 00:28 |
|Lurch| |
I have a a tree that contains follow sub-pages: "intro","sign up for service", "service agreement", "terms and conditions" |
| 00:29 |
|Lurch| |
normally when people click on those elements, they go from page to page |
| 00:29 |
|Lurch| |
that is normal behavior |
| 00:29 |
|Lurch| |
what i want to do however is when person is on "sign up for service" page, clicking on the "service agreement" and "terms and conditions" links would pop up new windows for the links instead of switching to them |
| 00:30 |
|Lurch| |
i am trying to do that by having those links be "external links" when "sign up for service" page is active, and normal pages otherwise |
| 00:30 |
voidus |
no.. |
| 00:30 |
voidus |
they may be usual links with another target |
| 00:31 |
voidus |
so you need to adjust some TMENU parameters depending on your page id |
| 00:32 |
|Lurch| |
well, i actually want to point them to different page (different template) for the popup |
| 00:34 |
voidus |
hm.. |
| 00:34 |
voidus |
but you want that pages to be in whole HMENU? can you create another HMENU for these pages? |
| 00:35 |
|Lurch| |
yeah, i guess i can create a separate tmenu, though i still need to figure out how to make that tmenu active only with certain page id |
| 00:35 |
|Lurch| |
it's not as convenient, but it can work |
| 00:36 |
voidus |
tmenu or hmenu? |
| 00:36 |
|Lurch| |
tmenu |
| 00:37 |
voidus |
if you have a two sets of pages.. with different templates, they have different ids and located in different parts of pagetree... |
| 00:37 |
voidus |
is that right? |
| 00:39 |
|Lurch| |
that can be arranged. |
| 00:39 |
|Lurch| |
i was hoping to just have them side-by-side and hidden/visible depending on context |
| 00:39 |
|Lurch| |
but yes, i can create duplicate subtree |
| 00:39 |
voidus |
if so, you need different hmenus.. not only tmenus |
| 00:40 |
|Lurch| |
ok |
| 00:40 |
voidus |
switching between hmenu is simple.. |
| 00:44 |
voidus |
good night |
| 09:50 |
just2b___ |
hello, anyone experience with DBAL? |
| 10:04 |
genaudanebendenk |
Hi @ all. Tried to install examples from typo3.org/buch. ends with md5 checksum failure. Who knows about this? |
| 11:26 |
pulponair |
hi there |
| 12:59 |
shpchp |
How can I create frontend user? TYPO3 just allow me to create Backend user, can't find there can create Frontend user. |
| 13:07 |
pulponair |
shouldnt the rte escape html code by default? |
| 13:10 |
{kENNy} |
shpchp: in the backend in a sysfolder you can create one |
| 13:14 |
shpchp |
{kENNy}, but I can't find sysfolder in admin->Web->List |
| 13:15 |
shpchp |
the right menu's new command in "New TYPO3 site" can not create frontend user |
| 13:16 |
shpchp |
there is only a "Root page" which I just create in the "New TYPO3 site" |
| 13:20 |
FabianFabian- |
create a sysfolder |
| 13:21 |
{kENNy} |
shpchp: than create a sysfolder :) |
| 13:23 |
pulponair |
any hints on how to insert HTML code to the RTE without having it beeing interpreted ? |
| 13:24 |
uschi_ |
yes, pulponair |
| 13:24 |
pulponair |
uschi: so? :) |
| 13:25 |
uschi |
do you know german, pulponair ? |
| 13:25 |
uschi |
if so,read this |
| 13:26 |
uschi |
no, wait |
| 13:26 |
pulponair |
uschi: yes i do ...(at least a little) |
| 13:26 |
koomi |
hrhr |
| 13:26 |
uschi |
ok, let me have a look to my config |
| 13:27 |
uschi |
the article is not finished |
| 13:27 |
shpchp |
how to create sysfolder? create it in Web->List->New TYPO3 site? |
| 13:27 |
uschi |
you can add a sysfolder anywhere in your page tree, shpchp |
| 13:28 |
uschi |
just choos the page type |
| 13:30 |
shpchp |
uschi, got it. Many thanks. |
| 13:30 |
uschi |
http://phpfi.com/210509 @ pulponair |
| 13:31 |
pulponair |
uschi: which one is the important part? |
| 13:31 |
uschi |
RTE.default.proc { |
| 13:31 |
uschi |
dontHSC_rte = 1 |
| 13:31 |
uschi |
#dontUndoHSC_db = 0 |
| 13:31 |
uschi |
} |
| 13:31 |
uschi |
i am just checking |
| 13:32 |
uschi |
i solved this problem with the entitities by manipulating the js-code |
| 13:32 |
uschi |
but i forgot where |
| 13:33 |
shpchp |
perhaps a stupid question: Is TYPO3 very hard to use? I don't know if I can use it to create a site. |
| 13:34 |
pulponair |
uschi: hmm no way it still gets interpreted after pushing the save button :| |
| 13:34 |
uschi |
hm, your rte running in demo-mode? |
| 13:34 |
uschi |
mine is, and i configured those bloody in and out parsers |
| 13:35 |
uschi |
RTE.default.proc.entryHTMLparser_db.htmlSpecialChars = 0 |
| 13:35 |
uschi |
this one is important as well, pulponair |
| 13:36 |
uschi |
and these |
| 13:36 |
uschi |
RTE.default.proc.entryHTMLparser_rte = 1 |
| 13:36 |
uschi |
RTE.default.proc.exitHTMLparser_rte = 1 |
| 13:36 |
uschi |
RTE.default.proc.entryHTMLparser_rte.htmlSpecialChars = 1 |
| 13:36 |
uschi |
RTE.default.proc.exitHTMLparser_rte.htmlSpecialChars = -1 |
| 13:37 |
uschi |
the problem is, you will have to understand when your code gets fucked up, pulponair |
| 13:37 |
uschi |
it is a combination of all these htmlspecialchar-values |
| 13:42 |
pulponair |
uschi: : as always ;) |
| 13:47 |
pulponair |
uschi: a fuck off i ll give it up actual it isnt that important |
| 13:47 |
andreasbalzer |
what's the problem? |
| 13:49 |
pulponair |
andreasbalzer: i got a code box div within my rte css. This box aims to contain code like html/php etc. But for some reasons the bloody fuckin htmlarea screws up my html code on saving |
| 13:49 |
andreasbalzer |
hm.. |
| 13:49 |
andreasbalzer |
what about using a code box ext? |
| 13:50 |
pulponair |
actually i would expect it to convert <li> to <li&lgt; on saving |
| 13:50 |
pulponair |
andreasbalzer: it is more about code htmlareas code interpreation |
| 13:51 |
andreasbalzer |
o i c |
| 13:55 |
avu |
hi |
| 13:55 |
avu |
What's the canonical way to determine the version of a typo3 installtion in a given directory? |
| 13:57 |
pulponair |
avu: good question ;) |
| 14:01 |
avu |
well, I guess I'll stick with 'head ChangeLog' for the time being. |
| 14:02 |
pulponair |
avu: imho there is no central place to look up the version nummber :| |
| 14:02 |
pulponair |
avu: did you perform a grep on the t3 dir? |
| 14:02 |
pulponair |
on e.g. version |
| 14:03 |
avu |
yes, it yielded ~2.400 lines of $stuff :/ |
| 14:03 |
pulponair |
fuck |
| 14:03 |
pulponair |
what about the version number itself ? |
| 14:05 |
pulponair |
avu: got it |
| 14:05 |
pulponair |
sysext/topapps/ext_emconf.php |
| 14:06 |
pulponair |
avu:'TYPO3_version' => '4.1.0-', |
| 14:08 |
avu |
superb, thank you. |
| 14:09 |
pulponair |
avu: check it on your system i am running a 4.1rc .. |
| 14:11 |
avu |
pulponair: it's defined in config_default.php here |
| 14:12 |
pulponair |
avu: :| |
| 14:12 |
pulponair |
grep for TYPO3_version :) |
| 14:12 |
avu |
yeah, I already found it when I said thank you |
| 14:12 |
avu |
wouldn't have thanked you if you didn't solve my problem ;) |
| 14:13 |
pulponair |
avu: ;) |
| 14:19 |
ILYA |
Do anybody know how to add shortcuticon (favicon.ico) to the BE pages??? |
| 14:29 |
brosment |
Hi. Do anybody know how to add shortcuticon (favicon.ico) to the BE (NOT FE)??? |
| 14:38 |
brosment |
Hi. Do anybody know how to add shortcuticon (favicon.ico) to the BE (NOT FE)??? |
| 14:39 |
kermit_green |
brosment: You could just add on favicon to the backend |
| 14:39 |
kermit_green |
or what do you want to archive ? |
| 14:41 |
brosment |
I need to set favicon.ico on all pages of BE |
| 14:42 |
brosment |
I want to achieve distinguish between FE and BE pages by favicon.ico in the tabs of my web-browser |
| 14:42 |
kermit_green |
ahhh, i see. |
| 14:43 |
brosment |
do you have any ideas? |
| 14:43 |
kermit_green |
as the favicon is in the root of you page and typo3 is a subfolder of your root, i don't think you can do this without a hack |
| 14:44 |
brosment |
What hack? |
| 14:44 |
kermit_green |
you could hack the core script to have a link to the favicon |
| 14:44 |
kermit_green |
or you could do somthing magic with mod_rewrite.. |
| 14:45 |
brosment |
Do you know core script to hack? |
| 14:46 |
brosment |
filename |
| 14:46 |
kermit_green |
index.php ? |
| 14:47 |
brosment |
Oh, thank you very much. I will try. |
| 15:27 |
los-lucas |
hi! |
| 15:30 |
los-lucas |
for some reason typo begun to append the following content to my content headers: <br /><img src="clear.gif" width="1" height="5" border="0" class="spacer-gif" alt="" title="" /><br /> |
| 15:30 |
los-lucas |
do you have any idea why could it happen and how could I disable this behaviour? |
| 18:37 |
uschi |
can someone please answer a question about tt_news and tv? |
| 18:38 |
uschi |
Rie1, are you awake? |
| 18:38 |
uschi |
i want to show the most important news in a box on a page |
| 18:38 |
uschi |
i am using tv |
| 18:38 |
koomi |
uschi: use categories |
| 18:39 |
koomi |
uschi: i got one "top meldung" and used the category selector to just show those with "top meldung" |
| 18:39 |
uschi |
how to map the box where those news will show up. either latest or most important |
| 18:39 |
uschi |
ok, thx |
| 18:39 |
koomi |
de rien |
| 18:40 |
uschi |
koomi, i have different authors for those news and one being responsible for the frontpage |
| 18:40 |
koomi |
there's no acl for categories iirc |
| 18:40 |
uschi |
so people shall be able to ask for certain news showing up on the frontpage |
| 18:40 |
koomi |
hmm |
| 18:41 |
koomi |
uschi: you can use ts to hide categories for unprivilidged users |
| 18:41 |
koomi |
(sorry about the acl part, that was wrong) |
| 18:42 |
uschi |
and the other question: how do i map that newsbox |
| 18:42 |
koomi |
in tv? |
| 18:42 |
uschi |
as TypoScriptObjectPath? |
| 18:42 |
uschi |
yes |
| 18:42 |
koomi |
jop |
| 18:42 |
koomi |
and then create a new lib.topNews or whatever |
| 18:42 |
uschi |
this is exactly the name i had in mind, i will start with that |
| 18:42 |
koomi |
:) |
| 18:49 |
koomi |
h! |
| 18:49 |
koomi |
hi |
| 18:49 |
koomi |
i'm off. tv time. wetten dass :) |
| 18:56 |
Bruce_ |
i've a question fot the pros - i want to use something like the imap authorization plugin, but don't know what to do with it after it's imported (into the currect RC2). |
| 18:58 |
Bruce_ |
(without the spelling mistakes:) i've a question for the pros - i want to use something like the imap authorization extension, but don't know what to do with it after it's imported (into the current RC2). |
| 20:30 |
Rocketjock |
Hello all |
| 20:42 |
QuaidM |
helo |
| 20:42 |
QuaidM |
I am new to install typo3, I need help |
| 21:03 |
los-lucas |
hi guys |
| 21:04 |
los-lucas |
do you know how can I hide a certain content element via TypoScript? |
| 21:06 |
los-lucas |
hi Ries! |
| 21:06 |
los-lucas |
: ) |
| 21:07 |
Ries |
Hey los-lucas |
| 21:08 |
los-lucas |
do you know how can I hide a certain content element via TypoScript? i found this entry, but it doesn't look like a clean solution... |
| 21:08 |
los-lucas |
http://lists.netfielders.de/pipermail/typo3-english/2006-February/020999.html |
| 21:09 |
Ries |
If teh content is added using tt_content, and not by means of TS then I don't know... may be there is an extension? |
| 21:09 |
los-lucas |
Ries: http://lists.netfielders.de/pipermail/typo3-english/2006-February/020925.html |
| 21:10 |
los-lucas |
this seems to be what I need |
| 21:10 |
los-lucas |
but I don't know how to refer to a content id |
| 21:10 |
los-lucas |
they refer to page.10.subparts.STANDARD_TEXT=TEXT |
| 21:10 |
los-lucas |
where do they get the STANDARD_TEXT bit from? |
| 21:11 |
Ries |
I don't know, I don't use teh classic methid.... |
| 21:11 |
Ries |
submarts might be a marker or someting? |
| 21:20 |
Fab1an- |
yes it is a marker |
| 21:21 |
Fab1an- |
it refers to <!-- ###STANDARD_TEXT### begin --> ... <!-- ###STANDARD_TEXT### end --> in the template file |
| 21:25 |
Fab1an- |
and ofcourse you can only use that code if page is a PAGE object en page.10 is a TEMPLATE with page.10.file etc .. |
| 21:31 |
Fab1an- |
page.10.template.file* |
| 21:35 |
Rocketjock |
Hi Ries |
| 21:42 |
Ries |
Hey Rocketjock |
| 21:42 |
Ries |
what's up? |
| 21:42 |
Ries |
all ok? |
| 22:05 |
eezee |
Hi guys, a quick question... I seem to be getting error "The current username, password or host was not accepted when the connection to the database was attempted to be established" |
| 22:05 |
eezee |
and it appears to be related to persistent DB connetction |
| 22:05 |
Ries |
eezee: if yous et it no persistence it is ok? |
| 22:05 |
eezee |
e.g. User xxx has already more than 'max_user_connections' active connections in |
| 22:06 |
eezee |
I'm new to typo3 framework and have not worked out where to change these settings... |
| 22:07 |
eezee |
most of the time I can access all the pages.. but then keep getting error messages saying that my uname and pwd are incorrect... |
| 22:08 |
eezee |
is there any way to modify the configuration of typo3 to achieve no persistent connections being used? |
| 22:11 |
Ries |
eezee: try to setup a direct socket to mysql |
| 22:30 |
Rocketjock |
Ries: all is well here...you? |
| 22:31 |
Ries |
all fine here |
| 22:31 |
Rocketjock |
Ries: I have to move my server :( the place I host it at was bought out and they don't do colo |
| 22:31 |
Ries |
shit load of work... |
| 22:31 |
Ries |
and I am working now!!!! |
| 22:31 |
Rocketjock |
Ries: feast or famine |
| 22:31 |
Ries |
where are you going to move to? |
| 22:33 |
Rocketjock |
I may move it to my house. I can get a 1MB up and down here for about hte same price... no bandwidth restrictions |
| 22:33 |
j0hndeere |
Hello, earthlings. |
| 22:33 |
Ries |
Rocketjock: That's nice!!! make sure you buy a UPS ;) |
| 22:33 |
Ries |
Hey j0hndeere |
| 22:33 |
j0hndeere |
Hello Ries. |
| 22:34 |
j0hndeere |
How is life on your planet today? |
| 22:34 |
Rocketjock |
Hi j0hndeere |
| 22:34 |
j0hndeere |
Hello, Rocketjock. |
| 22:34 |
Rocketjock |
Ries: yep have a couple of small ones.... looking at getting a backup power unit |
| 22:35 |
Rocketjock |
Ries: trying to get my sister in DC to send me a rack to put it in |
| 22:36 |
Ries |
hehehe |
| 22:36 |
Rocketjock |
Ries: trying to get CB fired... they aren't doing anything |
| 22:36 |
Ries |
I just bought a really small UPS for two resons 1) power is bad here 2) to power my cable model and router when I don't have power |
| 22:37 |
Ries |
Rocketjock: Oooo.... that's to bad... |
| 22:37 |
Ries |
Rocketjock: How big is the project? |
| 22:37 |
Ries |
still the same? |
| 22:37 |
Rocketjock |
Ries: still the same... thay haven't done anything in the last six months |
| 22:38 |
Rocketjock |
Ries: I guess thats good because it makes me learn things faster |
| 22:40 |
Rocketjock |
Ries: what projects are you working on...anything interesting? |
| 22:41 |
Ries |
Rocketjock: I work on to many projects.... |
| 22:41 |
Ries |
Rocketjock: But I know good ppl taht work for me... |
| 22:44 |
Rocketjock |
Ries: hopefully we can call you soon :) |
| 22:46 |
Ries |
I cannot garantee at this point anything... |
| 22:46 |
Ries |
Rocketjock: do you want me to talk to CB? |
| 22:53 |
Rocketjock |
Ries: no I am done with them.... the have made to many promisies and not kept any of them... but thanks for the offer |
| 22:53 |
Ries |
yw.... |
| 22:54 |
Rocketjock |
bbiab... have to go pick up children |
| 22:59 |
Ries |
(Y) ciao |
| 23:07 |
los-lucas |
enyone here good at html&css? |
| 23:08 |
los-lucas |
I got the following problem: http://szostak.biz/rendering_problem/index.html |
| 23:09 |
los-lucas |
(alternative version with nice html formatting here: http://szostak.biz/rendering_problem/reformatted.html) |
| 23:09 |
los-lucas |
I got a problem with 2nd level items |
| 23:09 |
los-lucas |
they behave strange... |
| 23:52 |
j0hndeere |
simple idiot question here... probably hard to find in the documentation because it's so simple |
| 23:52 |
Rocketjock |
2 |
| 23:52 |
Rocketjock |
42 |
| 23:52 |
j0hndeere |
but I have a header (lib.header) in TV that needs to be set to a certain height to match an image |
| 23:52 |
j0hndeere |
apparently firefox needs it, though internet exploder works fine |
| 23:52 |
j0hndeere |
what's the silly command for doing this |
| 23:53 |
j0hndeere |
wow... must've stumped him |
| 23:56 |
Ries |
j0hndeere: I thought you spacelings knew everything.... |
| 23:57 |
j0hndeere |
No, we know random and usually useless pieces of information. |