| 00:00 |
Realness |
No? |
| 00:07 |
Realness |
If anyone is alive at the keyboard, I have another issue too. It seems I'm doing everything wrong with the operators (=, >, < etc.), but cannot find any documentation about how these work in the TS-Ref (which I assume is The Scripture I should be looking into for this). Anyone know where to find documentation on TS operators, then? |
| 00:09 |
pulponair |
hi dudes |
| 00:13 |
wacky_ |
Found |
| 00:13 |
wacky_ |
add mod.SHARED.defaultLangKeysomething = gb.gif and another similar line in the root page's TSconfig. |
| 00:13 |
wacky_ |
Bye! :) |
| 00:24 |
Realness |
Anyone got time to take a look at this: |
| 00:24 |
Realness |
Hi! I have a noobish question for you: how to configure and make a plugin show up in the FE. I miserable failed with this (http://phpfi.com/267110) but really can't figure out what wrong desite some hours scorching the web and the manuals. It seems people take this for granted, maybe? Well, I didn't. :( Somebody have an idea? |
| 00:25 |
pulponair |
Realness: u are using the classical template way right? |
| 00:26 |
Realness |
I'm using TemplaVoila, and can render other content properly (not just this plugin) |
| 00:27 |
pulponair |
Realness: ok, did you try the following : lib.info1 = TEXT lib.info1.value= hello world |
| 00:27 |
Realness |
yes, works |
| 00:27 |
pulponair |
Realness: just to make sure lib.info1 is working at all |
| 00:27 |
Realness |
ah, yes (trying again just to make sure) |
| 00:28 |
pulponair |
Realness: ok to be honest: i do not not that plugin but perhaps you forgot to include its static template? (if it has one) |
| 00:31 |
Realness |
I have, that but you were right - lib.infobox1 didn't give me any text. |
| 00:32 |
pulponair |
Realness: I am sorry i am in hurry since i gotta pick up a mate of me at the tube station. So here some short hints: check for the template, double check the mapping thing...in case of doub ask ries or awillys for help ...both are usually very friendly and willing to help ...(if they got time atm) |
| 00:32 |
Realness |
Thanks anyhow! |
| 00:33 |
Realness |
I always feel real stupid whenever I use Typo3, but you are not. :P |
| 00:33 |
pulponair |
Realness: so if it does not show up at all it is probably a mapping /TO issues ...try to make that "hello world" thing work and afterwards focus on the plugin |
| 00:34 |
pulponair |
? |
| 00:34 |
Realness |
Will do! I might have been looking at the wrong things all the time. |
| 00:34 |
ries |
Realness: |
| 00:34 |
pulponair |
i did not get this "stupid" thing? ? :) |
| 00:34 |
ries |
did you try this |
| 00:34 |
ries |
lib.infobox1 = TEXT |
| 00:34 |
ries |
lib.infobox1.value = realness |
| 00:34 |
ries |
and checked if that shows up? |
| 00:34 |
pulponair |
ries:i just told him the same :) |
| 00:35 |
Realness |
Well, just was saying that I feel kinda lost whenever I use Typo3. |
| 00:35 |
pulponair |
[23:25] pulponair: Realness: ok, did you try the following : lib.info1 = TEXT |
| 00:35 |
pulponair |
Realness: dont worry it seems kindo complex to beginners |
| 00:35 |
Realness |
Seems to be some faulty element types set in the TVtemplate |
| 00:36 |
Realness |
pulponair: you can say that again! |
| 00:37 |
Realness |
It's a humbling experience |
| 00:37 |
pulponair |
Realness: right... |
| 00:37 |
Realness |
:) |
| 00:38 |
pulponair |
Realness: all of us were at that point ...so fell free to ask |
| 00:39 |
Realness |
thanks |
| 00:39 |
pulponair |
Realness: anyway i gotta go now ...i am convinced your issue will be solved ...bye |
| 00:39 |
Realness |
bye! |
| 00:40 |
Realness |
hm, I cant even seem to get the lib.infobox1 = TEXT |
| 00:40 |
Realness |
lib.infobox1.value = hello world to work |
| 00:41 |
pulponair |
mapping issue ! ;) |
| 00:41 |
pulponair |
i am really out now ..;> |
| 00:44 |
Realness |
I'm looking the mapping now ... and both the TV html template mapping and the DS mapping seems correct |
| 00:51 |
Realness |
yay! the hello world appeared... but not the plugin... |
| 00:53 |
ries |
Realness: good |
| 00:53 |
ries |
let me check your plgin... |
| 00:53 |
Realness |
http://phpfi.com/267110 |
| 00:54 |
ries |
try this |
| 00:54 |
ries |
lib.infobox1 < plugin.tx_jppageteaser_pi1 |
| 00:54 |
ries |
and see if that works |
| 00:54 |
ries |
Just that one line in the root if your TS setup |
| 00:55 |
Realness |
sure |
| 00:55 |
Realness |
no, nothing seems to appear - maybe it needs a stylesheet? |
| 00:58 |
ries |
Nhaaa I don't think so |
| 00:58 |
ries |
is there anything in a flexform that might give a hint? |
| 00:59 |
Realness |
A flexform? |
| 01:02 |
Realness |
The form where you enter parameters if you add the plugin as a piece of content in a page? |
| 14:07 |
olegs |
I need to create a pager like << 1 2 3 >> |
| 14:07 |
olegs |
can't do that with .directory or .browse |
| 14:07 |
olegs |
are there any examples around? |
| 14:10 |
voidus |
olegs: use extension |
| 14:11 |
olegs |
which one? |
| 14:14 |
voidus |
olegs: gsi_pagenav |
| 14:21 |
olegs |
thanks |
| 14:32 |
olegs |
voidus: looks like gsi_pagenav doesn't output list of pages |
| 14:32 |
olegs |
only Page 1 of 20 |
| 14:43 |
olegs |
voidus, ftrs_subpagenav |
| 14:43 |
olegs |
that's a bit better, it is based on gsi_pagenav. |
| 14:48 |
voidus |
thanks |
| 16:04 |
gdfgdsgf |
gfhfg |
| 16:04 |
gdfgdsgf |
rttrsedf |
| 16:04 |
gdfgdsgf |
02vcvx00 |
| 16:37 |
Realness |
Hey! Someone got time to look at a basic problem? |
| 16:38 |
Realness |
I can't get a plugin to show up at my page, a basic "hello world" does work but once I try to get the plugin to show up, it fails. I figure I must be doing something wrong with the typo3 syntax, but I really don't understand what. |
| 16:39 |
Realness |
http://phpfi.com/267217 |
| 16:39 |
Realness |
If anyone could take a peek at that, it'd make my day. |
| 16:41 |
Hendrix |
What have you done so far? |
| 16:43 |
Realness |
I've tried if TEXT shows up at the designated place of the TV template - it does |
| 16:43 |
Realness |
So it shouldn't be a template missetup thing |
| 16:44 |
Realness |
And then I have tried numerous variants of http://phpfi.com/267217 |
| 16:45 |
Realness |
But I really can't get my head around how to get the plugin to show up. An expression like plugin.tx_jppageteaser_pi1 should be analogous to TEXT, right? |
| 16:52 |
Realness |
Any idea? |
| 16:53 |
Hendrix |
Sorry for being a bit unresponsive. |
| 16:54 |
Realness |
np |
| 16:54 |
Realness |
Just checking if you were still there :) |
| 16:54 |
Hendrix |
So you want to include a plugin in all instances of the TV template? |
| 16:55 |
Hendrix |
So all pages use the template use the same plugin? |
| 17:02 |
Hendrix |
Or do you want to include the plugin in the pages as you put them into Typo3? |
| 17:02 |
Realness |
Yes, exactly. It's supposed so be a sidebar infobox which recommends other articles |
| 17:03 |
Hendrix |
Okey. In TV you mark the place where you want the plugin to be rendered. Then you make it a TypoScript object path. |
| 17:03 |
Hendrix |
Much like you would a menu for example. |
| 17:04 |
Realness |
Yes, I've checked that with a simple lib.textbox = TEXT lib.textbox.value = test and that works. Is it an enitirely different procedure to insert a plugin than an objekt like TEXT? |
| 17:05 |
Hendrix |
Then in your TS Setup you add: lib.my_article_box < plugin.tx_myplugin_piX |
| 17:05 |
Realness |
yes |
| 17:05 |
Realness |
nothing |
| 17:06 |
Realness |
it does show up when added manually, but I need it added automaticly |
| 17:07 |
Hendrix |
Is the object path in the TV template the same as you add the plugin to? |
| 17:07 |
Realness |
yes |
| 17:08 |
Realness |
otherwise, the TEXT test wouldn't work, right? |
| 17:08 |
Hendrix |
Yeah. That's probably true. |
| 17:09 |
Hendrix |
And the plugin "compiles"? I.e. no typos etc? |
| 17:09 |
Hendrix |
It sounds like you've done everything right so it's probably something stupid. |
| 17:10 |
Realness |
well, it does show up as it should if I add it as a content part |
| 17:10 |
Realness |
yes, that's what I figured too |
| 17:10 |
Hendrix |
Where are you located by the way? Bredbandsbolaget customers generally are from Sweden... =) |
| 17:11 |
Realness |
wierd thing is that every single thing I add in the template via ts seems to require a separate syntax to work... I'm astounded |
| 17:11 |
Realness |
Sweden, yes |
| 17:11 |
Hendrix |
Well I'm from Stockholm anyway. |
| 17:11 |
Realness |
Hej hej |
| 17:11 |
Hendrix |
Hej! |
| 17:12 |
Realness |
Oops, we broke the english only rule |
| 17:12 |
Hendrix |
Yeah typo3 is really a patchwork of different things. |
| 17:12 |
Realness |
How about talking a bit privately? |
| 17:13 |
Realness |
hm |
| 17:13 |
Realness |
seems I can't do that on freenode for some reason |
| 17:14 |
Hendrix |
That would require registration on freenode it seems... |
| 17:14 |
voidus |
Realness: you need to register |
| 17:15 |
voidus |
type /msg nickserv register <password> |
| 17:15 |
Realness |
I see... ah, well. |
| 17:16 |
Realness |
Anyway, you had any idea on what this problem could be about? I think it's a syntax error in the TS, since the TEXT shows up okay. |
| 17:17 |
Hendrix |
Well the matching of the plugin name could also be a problem. |
| 17:17 |
Hendrix |
So where in Sweden are you? |
| 17:17 |
Realness |
A misspell? |
| 17:17 |
Realness |
Stockholm |
| 17:18 |
Denyerec |
YO |
| 17:18 |
Denyerec |
HEY |
| 17:18 |
Realness |
hey |
| 17:18 |
Denyerec |
Morning all! |
| 17:18 |
Denyerec |
clock |
| 17:18 |
Denyerec |
clack |
| 17:18 |
Realness |
heh |
| 17:18 |
Hendrix |
Realness: Something like that most probably. |
| 17:19 |
Realness |
Let me check the spelling of that thing... |
| 17:19 |
Hendrix |
I've got the exact sam syntax running in a site. On two different servers, behold! ;) |
| 17:19 |
Realness |
... |
| 17:20 |
Realness |
hey! |
| 17:20 |
Realness |
I've spent four working days on this problem alone! |
| 17:20 |
Realness |
:P |
| 17:20 |
Denyerec |
If you have the same code running in two places, make sure you're also running the identical source versions of typo and all associated extensions too... |
| 17:20 |
Denyerec |
I fell into that trap the other dat |
| 17:20 |
Denyerec |
day |
| 17:21 |
Hendrix |
Well right now we're sorting out caollations in MySQL. Oh joy! |
| 17:21 |
Hendrix |
collations even... |
| 17:21 |
Realness |
hmm... how do I check that... I'm not the sysadmin of this system, unfortunately |
| 17:21 |
Realness |
ooh |
| 17:22 |
Realness |
I think there are two instances of typo3 running, but I'm not sure |
| 17:26 |
Realness |
So they could like, conflict with each other? |
| 17:31 |
Hendrix |
Haven't got a clue. But they might. |
| 17:39 |
Realness |
I see. Well, thanks for helping out. I'll think of ways to handle this... :/ |
| 17:39 |
Realness |
brb |
| 18:21 |
dokma |
guys, is it possible to build a menu of images with a font from a ttf file I provided? |
| 18:28 |
Hendrix |
Yeah. It should be possible, but I have no idea of exactly how. |
| 18:28 |
Hendrix |
Check the documentation. |
| 18:29 |
dokma |
yeah, I'm digging into it right now |
| 18:30 |
Denyerec |
dooookkkkkma |
| 18:30 |
Denyerec |
dokma |
| 18:30 |
Denyerec |
Yo |
| 18:30 |
dokma |
hey mate! :) |
| 18:30 |
Denyerec |
GIFBUILDER will do that for you |
| 18:30 |
Denyerec |
there's a bundle of examples in "Typoscript by example" I think |
| 18:31 |
dokma |
hey Denyerec I'm just digging into gifbuilder |
| 18:31 |
Denyerec |
about feeding GifBuilder with source text from a normal HMenu |
| 18:31 |
dokma |
but I can't figure out how to mix it with a menu |
| 18:31 |
dokma |
I have tsbyex opened |
| 18:31 |
Denyerec |
I'm sure there's something in Typoscript By Example |
| 18:31 |
dokma |
and I checked that section |
| 18:31 |
dokma |
probably I missed it! |
| 18:32 |
dokma |
how are you? |
| 18:36 |
dokma |
gotcha |
| 18:36 |
dokma |
seems like gmenu can use font files |
| 18:37 |
Denyerec |
gmenu! |
| 18:37 |
Denyerec |
that's the one. |
| 18:37 |
dokma |
yeah |
| 18:37 |
dokma |
how are you? |
| 18:37 |
dokma |
how's business? |
| 18:37 |
Denyerec |
i'm busy as hell on a load of crap jobs tht need tying up so I can focus on the one big paying one. |
| 18:37 |
dokma |
ahhh, I see |
| 18:37 |
dokma |
that is exactly my situation |
| 18:37 |
dokma |
haha :) |
| 18:38 |
Denyerec |
I have 4 jobs that aren't paying well and are boring. |
| 18:38 |
Denyerec |
and one big one that I really want to do well. |
| 18:38 |
dokma |
I'm on 7+1 big |
| 18:38 |
dokma |
seems you're faster |
| 18:38 |
dokma |
hshsh |
| 18:38 |
Denyerec |
Hehehe |
| 18:38 |
dokma |
:) |
| 18:39 |
Denyerec |
i have more on, but not typo3 specific |
| 18:39 |
Denyerec |
and even less interesting |
| 18:41 |
dokma |
same here :) |
| 18:41 |
dokma |
some marketing requests from Turke |
| 18:41 |
dokma |
Turkey |
| 18:41 |
dokma |
arrived this week |
| 18:41 |
dokma |
we need to make an offer and I will translate it to english |
| 18:41 |
dokma |
but if we score it |
| 18:41 |
Denyerec |
Do you get work from the internet, or just by word of mouth ? |
| 18:41 |
dokma |
it will be a huge cash source for us |
| 18:41 |
dokma |
both |
| 18:41 |
dokma |
this request came from internet |
| 18:42 |
Denyerec |
I get a little from the internet, but most is word of mouth. |
| 18:42 |
Denyerec |
My website is so old and out of date it's amazin anyone bothers to call from it |
| 18:45 |
dokma |
:) |
| 18:45 |
dokma |
I'm not much better |
| 18:45 |
Denyerec |
I have to get a newsletter extension working for one client |
| 18:45 |
dokma |
my company web site is amongst the ugliest I mage |
| 18:45 |
Denyerec |
and se_feuser_reg scares the shit out of me. |
| 18:46 |
dokma |
I'm pretty good at sr_feuser stuff |
| 18:46 |
dokma |
so if you need help just shout |
| 18:46 |
Denyerec |
I probably will be doing :) |
| 18:46 |
dokma |
:) |
| 18:46 |
dokma |
np mate |
| 18:46 |
Denyerec |
then I need to make a thumbnail gallery in Typo3 |
| 18:46 |
Denyerec |
or at least find an extension that gets 99% of the way there |
| 18:47 |
olegs |
I need to create a pager that shows like << 1 2 3 >> - are there any examples around? |
| 18:47 |
Denyerec |
Yeha there's a couple of extensions oelgs |
| 18:47 |
Denyerec |
browse the repo and you'll find a couple here and there |
| 18:47 |
dokma |
olegs for what you need it= |
| 18:47 |
dokma |
? |
| 18:47 |
dokma |
tt_news has it done |
| 18:48 |
Denyerec |
the one I saw did the < 1 2 3 > thing for pages in a tree branch |
| 18:48 |
Denyerec |
which would be neat for things like reviews |
| 18:48 |
dokma |
yeah, I think I saw one like that too |
| 18:48 |
olegs |
dokma - I have a list of 100 pages |
| 18:48 |
olegs |
there are two extensions that does similar things |
| 18:48 |
olegs |
I need to show only 3 numbers from 100 |
| 18:49 |
Denyerec |
so you have 100 list items |
| 18:49 |
Denyerec |
and you want, say, 35 per page |
| 18:49 |
olegs |
no |
| 18:49 |
Denyerec |
goin for a walk before I explode |
| 18:49 |
Denyerec |
back later |
| 18:49 |
Denyerec |
:/ |
| 18:50 |
olegs |
I need to show pages not items |
| 18:50 |
olegs |
like .browse |
| 19:08 |
Hendrix |
How do I get rid of Typo3 standard stylesheet? |
| 19:27 |
pmaidment |
Hi everyone |
| 19:27 |
pmaidment |
I have a very quick question about tt_news, does anyone have a moment? |
| 19:28 |
TovaLe |
I want to edit the tt_news template, giving the template a background image etc. How do i do this? |
| 19:28 |
pmaidment |
do you know about how templating works in tt_news TovaLe? |
| 19:29 |
pmaidment |
you know about the HTML template file? |
| 19:30 |
TovaLe |
pmaidment: I do |
| 19:30 |
TovaLe |
i know where it's located. |
| 19:30 |
TovaLe |
and i know how to remove things like time.. |
| 19:30 |
TovaLe |
date* |
| 19:30 |
pmaidment |
ok, there's a little trick you can do with tt_news, do you know how to make your own markers? |
| 19:31 |
TovaLe |
i don't :( |
| 19:31 |
pmaidment |
i.e ###SOMEMARKER### |
| 19:31 |
pmaidment |
ok, let's see if I can teach you :) |
| 19:31 |
pmaidment |
or at least give you a nice extension to help :) |
| 19:31 |
pmaidment |
give me 2 secs to root it out |
| 19:32 |
TovaLe |
okay, thx already :D. |
| 19:34 |
pmaidment |
just a few secs, need to get the t3x out of my installation |
| 19:35 |
pmaidment |
ok, before that, just a quick question, have you used the kickstarter TovaLe? |
| 19:35 |
pmaidment |
i.e. extension kickstarter |
| 19:35 |
TovaLe |
yes i did |
| 19:36 |
TovaLe |
not with the tt_news ext but i did use it.. |
| 19:36 |
pmaidment |
cool, ok, getting this extension for you now, made it myself, it uses 'hooks' in tt_news |
| 19:36 |
TovaLe |
but the server where the website is on i can't use it bcus of some write permissions. |
| 19:36 |
TovaLe |
okay |
| 19:36 |
TovaLe |
:) |
| 19:38 |
pmaidment |
ok, try grabbing http://paulmaidment.selfip.com/tt_news_extend.t3x |
| 19:38 |
pmaidment |
tell me if it downloads ok |
| 19:38 |
TovaLe |
got it |
| 19:39 |
pmaidment |
ok, install that through extrep on your typo3 install |
| 19:40 |
pmaidment |
and tell me when done...there's obviously more... |
| 19:40 |
TovaLe |
sorry, you lost me there.. extrep? |
| 19:40 |
pmaidment |
extension manager |
| 19:40 |
TovaLe |
a k :p |
| 19:40 |
TovaLe |
ok |
| 19:40 |
TovaLe |
installed it |
| 19:41 |
pmaidment |
now, do you have kickstarter installed (or shell access to your linux box)? |
| 19:42 |
pmaidment |
or access to the files..basically, as you'll need to edit one to define your markers |
| 19:42 |
pmaidment |
with me so far? |
| 19:42 |
TovaLe |
yes i am.. one moment.. |
| 19:43 |
pmaidment |
cool |
| 19:43 |
TovaLe |
have to ask my brother about it ( sitting next to me about it ), but he's on the phone at the moment :s. |
| 19:43 |
TovaLe |
he has access etc. |
| 19:44 |
pmaidment |
while I'm here, does anyone know how to stop tt_news adding attributes to the paragraph tags when it renders in the FE (using HTMLarea but checked DB, the FE is detecting \n and converting to <p></p>, which is fine...but don't want the attributes being added) |
| 19:44 |
pmaidment |
ok, cool |
| 19:45 |
TovaLe |
I'm installing the kickstarter now. |
| 19:45 |
pmaidment |
cool |
| 19:45 |
pmaidment |
you also need to add a line to localconf.php to make things easier...2 secs, will find it |
| 19:46 |
TovaLe |
noedit right? |
| 19:46 |
pmaidment |
put this line before the ?> in localconf.php |
| 19:46 |
pmaidment |
$TYPO3_CONF_VARS['EXT']['noEdit']=0; |
| 19:46 |
pmaidment |
yup |
| 19:46 |
TovaLe |
did that already in typo3 ( installer ) |
| 19:46 |
pmaidment |
:) |
| 19:46 |
TovaLe |
you can do it there :) |
| 19:46 |
pmaidment |
nice |
| 19:46 |
TovaLe |
( yes!, i learned you something ;) ). |
| 19:47 |
pmaidment |
thanks :) |
| 19:47 |
TovaLe |
kiddin', have the kickstarter installed now. |
| 19:47 |
pmaidment |
excellent |
| 19:47 |
pmaidment |
ok, so that extension is called cornexchange_tt_news in the repository yes? |
| 19:47 |
pmaidment |
if you list out your extensions... |
| 19:48 |
TovaLe |
yes |
| 19:48 |
pmaidment |
(it's called cornexchange_*) because I wrote it for a specific client, you'll get the idea once you see it |
| 19:49 |
TovaLe |
okay :p. |
| 19:49 |
pmaidment |
ok, so click into the details page for the extension and choose 'edit files' from the context menu |
| 19:49 |
TovaLe |
k |
| 19:50 |
pmaidment |
the file to edit is class.tt_news_marker.php can you see it? |
| 19:50 |
TovaLe |
yes |
| 19:50 |
pmaidment |
take a look at it |
| 19:51 |
pmaidment |
function extraItemMarkerProcessor($markerArray, $row, $lConf, $objNews) { //Get the categories from the flexform //$catId = $this->getNewsCategotiesFromFlexform($objNews); //$catName = $this->getCategoryName($catId); //$markerArray['###NEWS_CATEGORY_ROOTLINE']="ZZZ"; |
| 19:51 |
pmaidment |
this is the function of interest |
| 19:51 |
TovaLe |
okay |
| 19:51 |
theconic |
short interruption: if i want a <table> tag to have the class "fish" AND the class "apple", is it right if i write it like this? <table class="fish apple"> thanks for help |
| 19:51 |
pmaidment |
fairly obvious how it works |
| 19:51 |
pmaidment |
in the database...the tt_news table is $row in this |
| 19:51 |
pmaidment |
do you understand it? |
| 19:52 |
TovaLe |
a bit.. |
| 19:52 |
pmaidment |
the conic...I think so, best thing to do is try it and see if it works |
| 19:52 |
theconic |
ok, thanks |
| 19:52 |
pmaidment |
how good is your PHP knowledge TovaLe? |
| 19:52 |
theconic |
i'm back later |
| 19:53 |
TovaLe |
my PHP Knowledge is basic :). |
| 19:53 |
Denyerec |
I'm having one specific problem with the "Image Processing" part of the install. Under the GD test, where you normally get 3 purple blocks with writing in them.... none of mine have writing in them. |
| 19:53 |
pmaidment |
ok, basic example.... |
| 19:53 |
pmaidment |
$markerArray['###TITLE###']=$row['title']; |
| 19:53 |
TovaLe |
this i understand |
| 19:53 |
pmaidment |
have you checked your imagemagick install Denyerec? |
| 19:54 |
pmaidment |
ok, so that's the basics of it |
| 19:54 |
Denyerec |
As far as I can tell, it's all working perfectly except the last 3 tests with the writing. |
| 19:54 |
pmaidment |
tt_news has a column called title and you are assigning it to ###TITLE###, try it in one of your templates |
| 19:54 |
pmaidment |
try making a custom one like this |
| 19:55 |
pmaidment |
$markerArray['###MYTEST###']='Hello World'; |
| 19:55 |
pmaidment |
then pop that in your tt_news template (don't forget to go into the tt_news plugin and reselect the template otherwise it'll use the old cached version) you with me? |
| 19:56 |
pmaidment |
mmm...not sure of imagemagick, next big task for me actually, I'm sure there must be some docs on this on typo3.org |
| 19:57 |
pmaidment |
does that help TovaLe? |
| 19:59 |
TovaLe |
Okay, so i make a markerarray called i.e. ###TEST### with the text 'Hello world' attached to it. Now when i put ###TEST### into my html template.. the text 'Hello world' will be showed, right? You lost me there with the reselecting part. |
| 19:59 |
pmaidment |
yes, correct, ok, to explain the 'reselecting'... |
| 19:59 |
pmaidment |
tt_news has a small (bug in my opinion) |
| 20:00 |
TovaLe |
:D |
| 20:00 |
pmaidment |
when you pick a template for a content element (plugin) it loads the one you pick into a 'cached file' |
| 20:00 |
TovaLe |
yes |
| 20:00 |
pmaidment |
so if your template is called mytemplate.html and you go into the plugin you'll see mytemplate_01.html |
| 20:00 |
TovaLe |
yes |
| 20:00 |
pmaidment |
if you do not refresh it, it'll use the old one, so you need to remember to change it |
| 20:01 |
TovaLe |
ow okay :).. so i just have to upload the new html again.. |
| 20:01 |
pmaidment |
yes |
| 20:01 |
TovaLe |
okay |
| 20:02 |
pmaidment |
it's a bit annoying if you have loads of plugins (I am also looking at a fix for that :) ) |
| 20:02 |
pmaidment |
the key to that is a symlink script :) |
| 20:02 |
TovaLe |
:) |
| 20:04 |
pmaidment |
oh, and clear your cache after all updates |
| 20:04 |
TovaLe |
i did.. |
| 20:04 |
pmaidment |
cool |
| 20:04 |
pmaidment |
did it work? |
| 20:05 |
TovaLe |
one moment pls. |
| 20:05 |
pmaidment |
k |
| 20:06 |
TovaLe |
Yes it works |
| 20:06 |
TovaLe |
cool |
| 20:06 |
pmaidment |
cool |
| 20:06 |
TovaLe |
:D |
| 20:06 |
pmaidment |
ok, now to show you the secret of how it works |
| 20:07 |
pmaidment |
go back to the extension details page |
| 20:07 |
TovaLe |
okay |
| 20:07 |
TovaLe |
i'm there |
| 20:07 |
pmaidment |
can you see ext_localconf.php |
| 20:07 |
pmaidment |
? |
| 20:08 |
TovaLe |
yes |
| 20:08 |
pmaidment |
open it up |
| 20:08 |
TovaLe |
done |
| 20:08 |
pmaidment |
these lines do the magic |
| 20:08 |
pmaidment |
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['tt_news']['extraItemMarkerHook'][] = 'EXT:cornexchange_tt_news/pi1/class.tt_news_marker.php:&user_tt_news_marker';$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['tt_news']['selectConfHook'][] = 'EXT:cornexchange_tt_news/pi1/class.user_tt_news_select.php:&user_tt_news_select'; |
| 20:09 |
pmaidment |
it tells tt_news to use these functions for adding markers (and also for 'select' functions...I can explain in a moment) |
| 20:09 |
pmaidment |
this is the one for the marker |
| 20:10 |
pmaidment |
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['tt_news']['extraItemMarkerHook'][] = 'EXT:cornexchange_tt_news/pi1/class.tt_news_marker.php:&user_tt_news_marker'; |
| 20:10 |
pmaidment |
it tells it what file and class to use for extra markers (N.B. it is very important that the class name begins with user_) |
| 20:10 |
TovaLe |
okay |
| 20:10 |
pmaidment |
otherwise it wont work |
| 20:11 |
pmaidment |
so basically if you write your own extension, you need a line like the one above |
| 20:11 |
pmaidment |
and a file like mine |
| 20:11 |
pmaidment |
and it'll replace the markers |
| 20:11 |
pmaidment |
it's called a hook |
| 20:11 |
TovaLe |
riiight :). |
| 20:12 |
TovaLe |
but i'm not so formiliar yet with typo3 as you.. can't really make my own extensions :p.. yet. |
| 20:12 |
pmaidment |
more info here on that topic http://typo3.org/development/articles/how-to-use-existing-hooks/ |
| 20:12 |
pmaidment |
well, maybe that doc is a little advanced for you at the moment |
| 20:12 |
pmaidment |
but add to your favourites for later |
| 20:12 |
TovaLe |
already did ;). |
| 20:13 |
pmaidment |
:) |
| 20:13 |
pmaidment |
basically, I recommend getting used to making some extensions with the kickstarter, is quite easy actually |
| 20:13 |
pmaidment |
you also need to read up on the typo3 api |
| 20:14 |
TovaLe |
So now i can make my own marker ( thats already a big step for me ), but now i have to bind a picture onto it or? |
| 20:15 |
pmaidment |
well, you have full control over all your data now...so in the template, just do something like (not sure of exact syntax here...check w3schools etc) <table style="background-image:url('myimage.gif;background-repeat:no-repeat;')"></table> |
| 20:16 |
pmaidment |
where the image is substituted with your marker etc |
| 20:16 |
pmaidment |
and some <tr><td></td></tr> ;) |
| 20:17 |
pmaidment |
you know what I mean? |
| 20:17 |
TovaLe |
yes i get ya |
| 20:18 |
pmaidment |
cool |
| 20:18 |
pmaidment |
btw...my email is (obscured mail address) send me a mail if you like :) |
| 20:18 |
TovaLe |
can i build my template html in table instead of div's? |
| 20:18 |
TovaLe |
i will :) |
| 20:18 |
pmaidment |
anything you like, you have full control over the whole template...data and style |
| 20:18 |
pmaidment |
it's up to you |
| 20:20 |
pmaidment |
now, the select marker is another secret, you can influence the actual data tt_news picks...but that's for another day :) |
| 20:20 |
TovaLe |
okay .. |
| 20:21 |
TovaLe |
Realy realy thx pmaidment. |
| 20:21 |
pmaidment |
the one in that ext is blank as I have no need to use it for this client, but I can give examples :) |
| 20:21 |
pmaidment |
no problem :) |
| 20:21 |
TovaLe |
my e-mail is (obscured mail address) |
| 20:21 |
pmaidment |
noting it down now :) |
| 20:22 |
pmaidment |
send me an email, we will chat more :) |
| 20:22 |
TovaLe |
okay i will.. |
| 20:22 |
pmaidment |
I'll send my MSN over email and we can chat on that yes? |
| 20:23 |
pmaidment |
not tonight as I need to go speak to my client but tomorrow perhaps |
| 20:23 |
TovaLe |
yes, that would be realy helpfull |
| 20:23 |
pmaidment |
cool |
| 20:24 |
TovaLe |
pmaidment: my msn is (obscured mail address) |
| 20:24 |
theconic |
i got this <div class="tx-guestbook-field ve_guestbook_firstname"> in the tempalte file of ve_guestbook and i want to mate it a comment |
| 20:24 |
theconic |
is there a possibility? |
| 20:25 |
pmaidment |
you got your MSN active now TovaLe? |
| 20:25 |
TovaLe |
yes |
| 20:25 |
theconic |
can you make comments in the template files? i tried the normal html comments, they don't work |
| 20:25 |
pmaidment |
adding you |
| 20:25 |
TovaLe |
pmaidment: sorry, (obscured mail address) is my msn |
| 20:25 |
pmaidment |
ok |
| 20:26 |
pmaidment |
you get my request? |
| 20:26 |
TovaLe |
no |
| 20:27 |
pmaidment |
btw am using GAIM under linux so it can be a bit strange...can you add me... (obscured mail address) ... see if that works |
| 20:27 |
TovaLe |
done |
| 20:27 |
theconic |
someone who knows this? can i make comments in a template file? |
| 20:28 |
pmaidment |
ok, send me a message on MSN if it's accepted, you should be able to see me now |
| 20:28 |
pmaidment |
what is your question theconic? |
| 20:29 |
theconic |
i want to know wether i can make a comment in the template file of ve_guestbook |
| 20:29 |
theconic |
there is some code written, and i can't hide it |
| 20:29 |
theconic |
so i want to make it like a comment |
| 20:30 |
theconic |
that it's not deleted, but just has no effect |
| 20:30 |
Realness |
Hey. Where does one find the "constant editor" for a template? |
| 20:30 |
theconic |
if i make a \\ before, or a <-- --> around it or something like that, it still works |
| 20:30 |
pmaidment |
what do you mean by a comment? |
| 20:31 |
theconic |
i mean... moment... |
| 20:31 |
theconic |
<input type="text" name="tx_veguestbook_pi1[firstname]" value="###VALUE_FIRSTNAME###" class="tx-guestbook-form-inputfield-med" id="firstname" /> |
| 20:31 |
theconic |
this is inside the template file |
| 20:32 |
theconic |
but i don't want it to be seen for typo3 |
| 20:32 |
Realness |
Try this: http://htmlhelp.com/reference/wilbur/misc/comment.html |
| 20:32 |
pmaidment |
2 secs |
| 20:32 |
theconic |
this comment doesn't work... |
| 20:32 |
pmaidment |
yes, a normal HTML comment should be fine |
| 20:33 |
theconic |
ok, ill try again |
| 20:33 |
theconic |
because all the others dont |
| 20:33 |
theconic |
DAMN, I'm so stupid :D |
| 20:34 |
Denyerec |
was CoolURI the alternative to RealURL ? |
| 20:34 |
theconic |
i tried all but except the html comment |
| 20:34 |
theconic |
thanks very much... |
| 20:35 |
Realness |
np :) |
| 20:56 |
pmaidment |
I think that CoolURI is an attempt at improving realurl, have not looked into it fully |
| 21:11 |
Realness |
does anyone know how to configure js_pageteaser from ts? the darn thing seems to have incomplete docs! grr |
| 21:11 |
Denyerec |
The CoolURI manual is a bit.... thin |
| 21:11 |
Denyerec |
voidus, dokma - you ever used CoolURI ? |
| 21:11 |
Realness |
most manuals I have seen so far are... thin, to say the least |
| 21:11 |
voidus |
Denyerec: no |
| 21:11 |
dokma |
no |
| 21:11 |
Denyerec |
Bummer |
| 21:12 |
Denyerec |
always RealURL ? |
| 21:12 |
dokma |
is it realurl replacements |
| 21:12 |
dokma |
yes |
| 21:13 |
dokma |
do you guys think this top menu could be achieved only with gmenu and custom fonts? http://korisno.lir.dk/ |
| 21:13 |
voidus |
Denyerec: what is it for? |
| 21:14 |
Denyerec |
Well, it's for speaking URLs |
| 21:14 |
Denyerec |
IE www.den.com/pages/article-about-giraffes.html |
| 21:14 |
Denyerec |
instead of index.php?id=43 |
| 21:15 |
Denyerec |
dokma - I think Uschi did something exactly like that. |
| 21:15 |
dokma |
really? |
| 21:15 |
Denyerec |
But you're going to have to wait for Monday to talk to her I will guess. |
| 21:15 |
Denyerec |
Yeah. |
| 21:15 |
Denyerec |
I remember talking to her abou ti. |
| 21:15 |
dokma |
ohh... yeah |
| 21:15 |
Denyerec |
I didn't want to make a menu though, just the headings. |
| 21:15 |
dokma |
I rememeber she traveled away |
| 21:15 |
Denyerec |
How long for ? |
| 21:15 |
dokma |
can't remember |
| 21:16 |
Denyerec |
bum |
| 21:28 |
Denyerec |
What was the wrap without stripping whitespace call? |
| 21:28 |
Denyerec |
wrapNoTrim or something |
| 21:29 |
voidus |
Denyerec: noTrimWrap |
| 21:29 |
Denyerec |
super! |
| 21:31 |
Realness |
denyerec: I was looking into some chat logs and noticed that you'd been "using jp_pageteaser for quite a while without complaint". have you tried TS configuration of it? |
| 21:33 |
Denyerec |
Whoa. |
| 21:33 |
Denyerec |
Reading logs? |
| 21:34 |
Denyerec |
I've configured bits of it with TS |
| 21:34 |
Realness |
Yes, I think I've read about everything on the web about jp_pageteaser now. :P |
| 21:34 |
Denyerec |
but I always use html templates |
| 21:34 |
Realness |
I was hoping for some documentation of a successfull implementation of it in TS, but so no luck. :/ |
| 21:35 |
Realness |
have you managed to set starting points and such from TS? |
| 21:35 |
Realness |
And seeing your name in the log was just a coincidence, btw... found it deep somewhere in a google search |
| 21:37 |
Realness |
The HTML templates work out okay, trick is to make a tv template where jp_pageteaser shows up without the poor magazine editors having to manually add it every time they create a new article page |
| 21:37 |
Realness |
seems to me that there is no way to do it, or that it is a well kept secret |
| 21:43 |
Denyerec |
Hmm |
| 21:43 |
Denyerec |
Starting point... |
| 21:44 |
Denyerec |
the flexform must set something. |
| 21:44 |
Denyerec |
have you looked at the plugin's core TS? |
| 21:44 |
Denyerec |
you might find some clue in there. |
| 21:45 |
Realness |
yes, but I don't think I understood it - check out the ff in the midlle of this page |
| 21:45 |
Realness |
http://www.traum-projekt.com/forum/112-typo3/97881-datensatz-tt_content-extension-content-weitergeben.html |
| 21:45 |
Denyerec |
if you can't find it, then it shouldn't be too hard to expose your own typoscript var for it inside the plugin |
| 21:45 |
Denyerec |
ff ? |
| 21:45 |
Realness |
flexform, sorry |
| 21:46 |
Realness |
there is also this |
| 21:46 |
Realness |
http://typo3.org/extensions/repository/view/jp_pageteaser/1.5.6/info/ext_typoscript_setup.txt/ |
| 21:46 |
Realness |
and this |
| 21:46 |
Realness |
http://typo3.org/extensions/repository/view/jp_pageteaser/1.5.6/info/ext_typoscript_constants.txt/ |
| 21:46 |
Realness |
but I could find anything about it there |
| 21:47 |
Denyerec |
looks like you might have to edit the core PHP and add that typoscript hook yourself :S |
| 21:47 |
Denyerec |
I will be back in a bit. |
| 21:47 |
Realness |
omg |
| 22:23 |
theconic |
can someone tell me how ve_guestbook should be styled normally? |
| 22:23 |
theconic |
by css? or by a template file? |
| 22:29 |
voidus |
theconic: by both? |
| 22:31 |
theconic |
ok ^^ |
| 22:32 |
theconic |
and if i would want to have it a different style on two pages? |
| 22:32 |
theconic |
do i then have to do it by typoscript in the page where it's inside? |
| 22:34 |
theconic |
can i write something like .class { display: none; } in the TSconfig? |
| 22:35 |
theconic |
voidus: or how can i do this? |
| 22:36 |
voidus |
theconic: use 2 different css files. and switch between using conditions |
| 22:37 |
theconic |
ok, sounds senseful |
| 22:37 |
theconic |
and how do i use a css file just for this page? |
| 22:38 |
voidus |
[globalVar = TSFE:id = 11] |
| 22:38 |
voidus |
page.includeCSS.mycss = fileadmin/path/to/file.css |
| 22:38 |
voidus |
[end] |
| 22:38 |
theconic |
and this is what i will have to write in the tsconfig of the page? |
| 22:41 |
theconic |
damn, where the hell can i learn all this tsconfig staff... |
| 22:41 |
voidus |
it's not tsconfig |
| 22:41 |
voidus |
it's ordinal TS |
| 22:42 |
voidus |
web>template>info/modify>setup>add these lines |
| 22:43 |
theconic |
oh oh oh.... why does this have to be so complicated ^^ ok, but thanks very much |
| 22:44 |
theconic |
will this css then be included also for the subpages? |
| 22:58 |
do3mca |
no |
| 22:59 |
salamandyr |
can anyone suggest a good shopping cart extension (with paypal integration) that works with T3? |