| 09:32 |
m4rtijn |
hi all |
| 09:32 |
maholtz|WORK |
morning:) |
| 09:33 |
dokma |
hi all and morning :) |
| 09:33 |
m4rtijn |
hi dok |
| 09:35 |
dokma |
hi there m4rtijn |
| 09:40 |
FloLeBlanc |
hi all |
| 09:42 |
m4rtijn |
hi flo |
| 09:49 |
m4rtijn |
hmm, any of u guys good with javascript? I have 2 suckerfish menus on one page.. and in ie6 only the first dropdown menu works.. |
| 09:49 |
m4rtijn |
I think its a javascript problem.. though im not sure |
| 09:51 |
m4rtijn |
its on www.drknittl.de/index.php |
| 09:51 |
m4rtijn |
"unser spektrum" has a dropdown |
| 09:58 |
m4rtijn_ |
hmm |
| 09:59 |
m4rtijn_ |
got disconnected without noticing |
| 09:59 |
m4rtijn_ |
did somebody answer my question? |
| 09:59 |
maholtz|WORK |
nope:( |
| 09:59 |
m4rtijn_ |
okay |
| 10:07 |
dot1 |
yep guys |
| 10:08 |
dot1 |
how can I retrive the entries points from page in an extension ? |
| 10:33 |
dot1 |
where templavoilà store the mapping infortaions in databases ? |
| 10:44 |
tcsoft |
tx_templavoila_datastructure? |
| 10:50 |
dot1 |
tcsoft: oki je viens de trouvé c'est en fait l'autre table tx_templavoila_tmplobj dans la colonne templatemapping => thanks |
| 10:57 |
FloLeBlanc |
*points to the topic title* :-P |
| 11:08 |
bayer |
how can i find out more about the .current property? I'd like to really understand it |
| 11:09 |
maholtz|WORK |
api |
| 11:32 |
m4rtijn |
re |
| 12:18 |
No5251 |
hi |
| 12:18 |
No5251 |
how can i use piVars from pi1 in pi2? |
| 12:18 |
maholtz|WORK |
t3lib_div::_GET |
| 12:19 |
No5251 |
is this the only way? |
| 12:19 |
maholtz|WORK |
do not know - have an look in tslib_pibase for that |
| 12:19 |
maholtz|WORK |
and tell me:) |
| 12:19 |
No5251 |
okay, thx :) |
| 12:34 |
m4rtijn |
hmm |
| 12:34 |
randomresult |
good morning |
| 12:34 |
m4rtijn |
hi random |
| 12:34 |
randomresult |
:) |
| 12:34 |
randomresult |
i have a prob :) |
| 12:34 |
randomresult |
or an answer... |
| 12:34 |
m4rtijn |
i get up to late? |
| 12:34 |
m4rtijn |
u |
| 12:35 |
randomresult |
no, good morning sounds nice ... doesnt it? |
| 12:35 |
m4rtijn |
.. darn.. typo in jokes.. totally ruins it |
| 12:35 |
randomresult |
wait... i go to phpfi... mom |
| 12:35 |
m4rtijn |
it does |
| 12:36 |
randomresult |
ok, i want to make the following: |
| 12:36 |
randomresult |
i add a txt file in the media section of a page |
| 12:36 |
randomresult |
and i have this lib: http://phpfi.com/331138 |
| 12:37 |
m4rtijn |
and then? |
| 12:37 |
randomresult |
it should load some styles... |
| 12:37 |
m4rtijn |
and then? |
| 12:37 |
maholtz|WORK |
? "slide"? |
| 12:37 |
maholtz|WORK |
levelmedia:-1,slide |
| 12:37 |
randomresult |
normaly, i do this with pictures... the slide command looks wehter there is a file in the actual page... if not ... it slides up til it find a picture |
| 12:37 |
maholtz|WORK |
afaik not because "slide" |
| 12:38 |
maholtz|WORK |
grmbl: because the " |
| 12:38 |
randomresult |
so u have a parent page ´with an image given in the page properties... and then all the subpages have this images too... until ... |
| 12:38 |
randomresult |
maholtz|WORK .... what? |
| 12:38 |
maholtz|WORK |
i would think the syntax is not correct |
| 12:38 |
randomresult |
it works with images... |
| 12:39 |
randomresult |
exactly this code... wait... |
| 12:39 |
maholtz|WORK |
should it be levelmedia:-1,slide |
| 12:39 |
randomresult |
wait... i check my image skript which is working |
| 12:40 |
randomresult |
this is working... :http://phpfi.com/331144 |
| 12:40 |
randomresult |
also with "slide" |
| 12:40 |
randomresult |
but i check without "" |
| 12:40 |
randomresult |
wait |
| 12:40 |
maholtz|WORK |
thanks:) |
| 12:40 |
maholtz|WORK |
i wait:) |
| 12:41 |
randomresult |
doesnt work without "" too |
| 12:41 |
m4rtijn |
and then? |
| 12:41 |
m4rtijn |
:p |
| 12:41 |
maholtz|WORK |
does not work without? |
| 12:41 |
randomresult |
sorry... maholtz... my english is too bad... |
| 12:41 |
randomresult |
no it doesnt |
| 12:41 |
maholtz|WORK |
me too *G* |
| 12:42 |
randomresult |
http://phpfi.com/331145 |
| 12:42 |
randomresult |
this does not work too |
| 12:42 |
maholtz|WORK |
but with quotations it works? levelmedia:-1,"slide" ? |
| 12:43 |
randomresult |
but it should work with any file... or not .. cause when i add a 10.value = hello it shows hello |
| 12:43 |
randomresult |
maholtz|WORK: i use this with images |
| 12:43 |
randomresult |
and there it works |
| 12:43 |
randomresult |
with"" |
| 12:43 |
m4rtijn |
if u add: file.import.override.field = media |
| 12:43 |
m4rtijn |
at the end? |
| 12:43 |
randomresult |
ill try |
| 12:43 |
maholtz|WORK |
that code cannot work! |
| 12:44 |
maholtz|WORK |
TEXT has no .file property |
| 12:44 |
maholtz|WORK |
use FILE instead |
| 12:44 |
randomresult |
oh... ok |
| 12:44 |
m4rtijn |
and add: file.import.override.field = media |
| 12:44 |
m4rtijn |
at the end |
| 12:44 |
m4rtijn |
dont forget |
| 12:46 |
randomresult |
http://phpfi.com/331146 |
| 12:46 |
randomresult |
like this? |
| 12:46 |
maholtz|WORK |
works? |
| 12:49 |
randomresult |
no |
| 12:50 |
randomresult |
:( |
| 12:50 |
gHelp |
I just changed typo3 folder from one host to another but still some links are indicate to old host. Someone would like to reply |
| 12:51 |
randomresult |
well. i try again without the "" |
| 12:52 |
m4rtijn |
gHelp - u should transfer the domain as well - easiest solution |
| 12:53 |
randomresult |
hmmm |
| 12:53 |
FloLeBlanc |
can there be a maxlength set for the news-titles of tt_news? |
| 12:53 |
Phlogi |
can anyone please tell me where I can change the browser title behaviour? I would like to use a different field there? I just don't know where that was atm :) |
| 12:54 |
randomresult |
i dont get it... |
| 12:54 |
randomresult |
... why it does not work... |
| 12:55 |
randomresult |
does HTML has a file propertie= |
| 12:55 |
randomresult |
property |
| 12:57 |
gHelp |
m4rtijin: even i have already tried many way but could take any effect on those links |
| 12:58 |
gHelp |
would u like to tell me why does it happan becoz it´s one of the most common problem |
| 13:00 |
m4rtijn |
what kind of links are you talking about? |
| 13:01 |
m4rtijn |
if they are links of the type: external URL.. then its clear |
| 13:01 |
m4rtijn |
does anyone know why a standard mailform would not refer to the "thanks" page? |
| 13:01 |
m4rtijn |
even if I entered it... |
| 13:03 |
m4rtijn |
grr |
| 13:03 |
gHelp |
for instances: i have two links over the language button inside (www.newexample.com) which are still indicate to the old host(www.oldexample.com).. |
| 13:04 |
m4rtijn |
why dont u just point the domain: oldexample.com -> to newexample.com |
| 13:04 |
m4rtijn |
then it doesnt matter ;) |
| 13:05 |
m4rtijn |
but.. its hard to say why.. depends on how you created those links |
| 13:06 |
m4rtijn |
normally if the links are not "hardcoded" but relative.. it does not happen |
| 13:06 |
m4rtijn |
sooo.. somebody must've entered links like: <a href "oldexample.com/bla"> |
| 13:06 |
gHelp |
if u visit this page u can see what wrong with those links -- http://www.buildingcommunities.eu/index.php |
| 13:06 |
m4rtijn |
if thats the case u have to change them by hand |
| 13:07 |
m4rtijn |
check the settings of the flags.. |
| 13:07 |
m4rtijn |
maybe its an extension.. which needs configuring |
| 13:07 |
gHelp |
but there are many links or pages which are still indicate to the old host .. |
| 13:08 |
m4rtijn |
check the TS Setup for: baseURL |
| 13:08 |
m4rtijn |
config.basURL |
| 13:08 |
m4rtijn |
base* |
| 13:09 |
gHelp |
can it possible to configure to baseURL from admin panel |
| 13:10 |
m4rtijn |
no |
| 13:11 |
m4rtijn |
login the backend -> module templates -> click the root page -> edit SETUP |
| 13:31 |
m4rtijn |
is there an extension which could fix the redirection from the standard mailform.. |
| 13:31 |
m4rtijn |
somehow its not working.. I never had this problem though.. strange |
| 13:36 |
m4rtijn |
hmm.. works now.. contstant editor set the internal links thingie to "" mpty |
| 13:36 |
m4rtijn |
empty.. gnarr |
| 13:39 |
gHelp |
ma4rtijn: I m gonna be mad becoz ................... |
| 13:40 |
m4rtijn |
gHelp - are you the website admin? |
| 13:40 |
gHelp |
actually, i deleted to all cache and even tried to find out a link of old host but dont know where is the problem |
| 13:41 |
m4rtijn |
.. its probably config.baseURL |
| 13:41 |
gHelp |
yap, but i´m not good in Typo3 |
| 13:42 |
gHelp |
I only found config.baseURL = "1" in lot of places |
| 13:42 |
m4rtijn |
erm.. wait |
| 13:43 |
gHelp |
thanks dude for ur kind support |
| 13:43 |
m4rtijn |
np... |
| 13:44 |
m4rtijn |
hmm, config.baseURL = 1 shouldnt be in the SETUP |
| 13:44 |
m4rtijn |
afaik |
| 13:45 |
m4rtijn |
hmmm... no config.baseURL = type String |
| 13:45 |
m4rtijn |
config.baseURL = 1 wouldnt do much |
| 13:45 |
gHelp |
yap, it´s not in the setup but when i make a search in all folder of my website in eclipse then i found config.baseURL="1" |
| 13:45 |
m4rtijn |
where did u find that? |
| 13:46 |
m4rtijn |
hmmkay |
| 13:47 |
m4rtijn |
did u get my PM? |
| 14:12 |
m4rtijn |
not much going on here ey |
| 14:17 |
randomresult |
hey... another problem: i use 5=TEXT 5.data=page:title |
| 14:18 |
randomresult |
to display the page title... |
| 14:18 |
randomresult |
now i want only to display the title of the parent page... |
| 14:18 |
randomresult |
is there a setting for level? |
| 14:18 |
randomresult |
like 5.data=page:title:level=4 |
| 14:19 |
randomresult |
so that a subpage allways displays the title of its parent page? |
| 14:26 |
ndee |
hi there, I would like to do following with typoscript: a page is called like www.site.com/country/Switzerland and I want to make a content-column, dependant on the country, anyone knows how I could do that? |
| 14:32 |
No5251 |
ndee: create a subpage "Switzerland"? |
| 14:33 |
davidbrunnthaler |
where can i change, which datas are shown in the overview of irre.. |
| 14:34 |
ndee |
No5251: in the best scenario, we have 198 different countries and we don't want to create a sub page for each country there is. |
| 14:36 |
No5251 |
davidbrunnthaler: i think in the tca.php |
| 14:37 |
m4rtijn |
ndee - how do you want to link to those pages? |
| 14:39 |
ndee |
m4rtijn: we have a selectorbox on top and when you select a country, the content of the column changes. |
| 14:39 |
davidbrunnthaler |
mh i'm already working on the tca.php (in my case its tca.mnasym.php), but its just changing the sub-page content |
| 14:39 |
ndee |
it's actually just like this: index.php?id=1&country=XXX and a content-column is dependant on that country=XXX |
| 14:39 |
davidbrunnthaler |
not the overview page.. |
| 14:40 |
davidbrunnthaler |
or does the overview page get the datas from the subpage |
| 14:40 |
davidbrunnthaler |
? |
| 14:42 |
ndee |
m4rtijn: http://pastie.org/231946 that's how it looks like at the moment, now, I want to do following somehow: that pidInList = country=XXX |
| 14:44 |
pmk65 |
randomresult: 5.data = leveltitle:-2 |
| 14:47 |
pmk65 |
davidbrunnthaler: with "overview page" do you mean "List" view in the BE? |
| 14:48 |
davidbrunnthaler |
i'm speaking of the sample-datasets of irre |
| 14:48 |
davidbrunnthaler |
and yes i mean the list view in the BE |
| 14:49 |
davidbrunnthaler |
but not the pagetree overview - but the right overview of all the irre datas |
| 14:49 |
pmk65 |
on. then the text, comes from the TCA config label |
| 14:49 |
davidbrunnthaler |
(first "but" is too much) |
| 14:52 |
pmk65 |
in your IRRE record setup in TCA, you have a "foreign_label". This is the one that defines what you see in the BE list. |
| 14:54 |
pmk65 |
there is a couple new "label" functions available if you run TYPO3 v4.1+, where you can set the label from a userfunc. (this is very useful, if a simple field(label is not enough) |
| 14:55 |
pmk65 |
Check this wiki page for some of the "undocumented" features.. -> http://wiki.typo3.org/index.php/Pending_Documentation |
| 14:57 |
davidbrunnthaler |
ok thanks |
| 14:57 |
davidbrunnthaler |
i'm checking the site |
| 14:59 |
pmk65 |
some more info on IRRE and labels can be found in the Core API -> http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.1.0/view/4/2/#id4250279 |
| 15:07 |
Denyerec |
hey pmk |
| 15:07 |
pmk65 |
Hi Denyerec |
| 15:08 |
ndee |
anyone has experience with select.join in typoscript? |
| 15:09 |
m4rtijn |
hi deny |
| 15:09 |
maholtz|WORK |
why dont you ask your question directly? |
| 15:09 |
ndee |
ok, I give it a try :D |
| 15:10 |
Denyerec |
hey martijn |
| 15:10 |
ndee |
I have table tt_content and table tx_countryselect_countries, I wanna join those two tables in typoscript, here is what I got so far: |
| 15:10 |
Denyerec |
got your 4 back today ;) |
| 15:11 |
ndee |
http://pastie.org/231961 |
| 15:11 |
ndee |
is there a way to output the SQL that typoscript is generating? |
| 15:13 |
maholtz|WORK |
mysql log file |
| 15:13 |
ndee |
I want all tt_content elements which have the same pid as the tx_countryselect_countries entry PLUS the tx_countryselect_countries.title field should be "Switzerland" |
| 15:15 |
maholtz|WORK |
tx_icc is correct? |
| 15:15 |
maholtz|WORK |
orderBy = sorting is not correct |
| 15:15 |
maholtz|WORK |
ORDER BY sorting; |
| 15:15 |
maholtz|WORK |
in you SQL will not work with two tables |
| 15:16 |
ndee |
maholtz|WORK: http://pastie.org/231964 <-- updated |
| 15:17 |
maholtz|WORK |
same with languageField |
| 15:17 |
ndee |
probably true eh |
| 15:17 |
ndee |
stupid me |
| 15:17 |
ndee |
maholtz|WORK: http://pastie.org/231965 <-- updated |
| 15:19 |
Denyerec |
WANTED: Extension developer to co-operate with on small projects, to be paid peanuts / glory. |
| 15:20 |
ndee |
Denyerec: who's not looking for someone like that? :D |
| 15:20 |
Denyerec |
Mmm, pmk and just2b? :) |
| 15:22 |
ndee |
maholtz|WORK: and when I don't have access to the mysql logs? |
| 15:24 |
kreegee_ |
can i check for submitted values in mailformplus in ts? |
| 15:24 |
kreegee_ |
i want to depend the target email on the selected country |
| 15:26 |
maholtz|WORK |
@ndee: afaik there is na extension devlog but i havent used it yet |
| 15:26 |
maholtz|WORK |
what happens if you just make join without where (and set max=2) |
| 15:26 |
maholtz|WORK |
yhould output something:) |
| 15:28 |
ndee |
maholtz|WORK: hm, also empty |
| 15:28 |
ndee |
now it works |
| 15:28 |
maholtz|WORK |
and without join? |
| 15:28 |
ndee |
let me check real quick |
| 15:31 |
davidbrunnthaler |
mh ok my question is again.. where can i change the mysql-query for the overview page of irre? |
| 15:32 |
davidbrunnthaler |
http://www.tfa.w4y.at/___div/dl/irre_overview.gif (i mean the red circled datas) |
| 15:32 |
davidbrunnthaler |
and not the labels.. |
| 15:35 |
ndee |
maholtz|WORK: as soon as I use a where, it gets empty |
| 15:36 |
ndee |
maholtz|WORK: and I do use the tablename: where = tt_content.pid=56 |
| 15:40 |
m4rtijn |
is it possible to have the tt_news LIST view to show a category at the start.. not all cats.. but frontend users still be able to switch it with CATMENU |
| 15:51 |
isolysis |
Phlogi_: thanks, I was able to find it in the object browser. |
| 15:57 |
ghofmann |
Hi all, are there any plans (or already existing extensions) that will enable TYPO3 to "update itsself"? Like the ter_update_check extension (which handles extensions, but not the core)? |
| 16:00 |
isolysis |
ghofmann: that seems unlikely because typo3 uses symlinks on unix machines and junctions on windows servers, so i can't see any extension having such privileged access to the command prompt on a server |
| 16:11 |
ghofmann |
isolysis: OK, this makes sense. Maybe a shell script that can be invoked in an ssh session? http://typo3.org/extensions/repository/view/fdfx_svn/0.4.0/ sounds somehow like that... |
| 16:13 |
Recnelis |
Hey guys.. can I iterate through the data ind t3lib_div::_GP ? Usually u can iterate through $_POST ... |
| 16:14 |
isolysis |
ghofmann: it's not impossible to have an auto-updating typo3 - but it doesn't mean its a good idea. if you have a serious website you don't want to screw anything up so it would be preferable to do it manually.. its not that difficult. anyway, an auto-updating script would only be useful for small version upgrades, i.e. 4.1.5 upgraded to 4.1.6, but if you were doing say 4.1.5 to 4.2.1 then... |
| 16:14 |
isolysis |
...this is different and lots of complications can happen and screw everything up, because you need to check compatibility on extensions and update database tables etc and test front end functionality to make sure everything works properly |
| 16:16 |
isolysis |
perhaps what would be more useful is a script that downloads the latest typo3 source from the repository and extracts the files onto the server for you - then you have an interface maybe to update symlinks and a redirect to the install tool so you can do final database table updates etc. thats about as far it would go realistically if someone created it |
| 16:17 |
ghofmann |
isolysis: you're absolutely right. I definitely would not run such a script against a productive machine... |
| 16:18 |
ghofmann |
...because in the past I always had some minor issues after upgrading (mostly relative to the RTE). |
| 16:21 |
isolysis |
ghofmann: we have a site in beta testing, but theres lots of stuff in there and we want to go live with it.. currently on v 4.1.5 and i have been hesitant to upgrade to 4.2.1. manually even, since i dont know if it will cock things up bad style.. i already had one bad experience where non- utf8 characters screwed up our database and i ended reinstalling typo3 and recreating everything..... |
| 16:21 |
isolysis |
...that wasnt fun, so now i am extra cautious |
| 16:21 |
ghofmann |
...my plan would be to copy my productive server (LAMP) to my own notebook (WAMP) and to let run an auto-update script against the test machine and (in case of success) copy everything back to productive machine |
| 16:22 |
isolysis |
ghofmann: sounds interesting but how do you accommodate for the difference in symlinks and junctions? |
| 16:24 |
isolysis |
ghofmann: personally i wouldn't advise moving the productive setup to a different server since configuration issues might cause it to work locally but not on the live server.. if i would do such a thing, i would create a new database and subfolder on the live server and install/upgrade the typo3 there and if it worked, redo all the steps exactly for the live versions |
| 16:25 |
isolysis |
the main thing is that you write down each step you carried out to perform the upgrade so you know how to repeat it |
| 16:29 |
ghofmann |
isolysis: you're right again. So it seems that TYPO3-updates will keep non-trivial (-: |
| 16:31 |
isolysis |
ghofmann: actually i need to make a correction, if you do ever plan to do something like that, i wouldn't install typo3 in a subfolder if your normal typo3 is in root folder since the settings are tiny bit different, instead you need a new ip adress and install it there. :p |
| 17:03 |
m4rtijn |
weekend is calling!!! |
| 17:03 |
m4rtijn |
cu all on monday |
| 17:25 |
Provito |
Has anyone found an elegant way to copy page structures and also change any internal links to those pages so that they now reference the copy |
| 17:49 |
Recnelis |
Hey guys.. can I iterate through the data ind t3lib_div::_GP ? Usually u can iterate through $_POST ... |
| 17:51 |
ckoehler |
Recnelis: nope |
| 17:51 |
ckoehler |
it's not an array |
| 17:52 |
Recnelis |
Hmm.. that kindda sucks.. :/ - I've got a form to which users can dynamically add a extra input field... |
| 17:52 |
Recnelis |
I need to validate these fields if the exist via php and add them to the mail I'm sending out |
| 17:52 |
Recnelis |
How would I tackle this best? |
| 17:53 |
Recnelis |
if they exist* |
| 17:53 |
ckoehler |
well |
| 17:53 |
ckoehler |
you can still iterate over $_POST |
| 17:53 |
ckoehler |
but when you get the key |
| 17:53 |
ckoehler |
you pass it through t3lib_div::_GP |
| 17:53 |
ckoehler |
to get the value |
| 17:54 |
Recnelis |
Ahh.. so a la: foreach($_post as $element) $var = t3lib_div::_GP($element) ? |
| 17:55 |
ckoehler |
Recnelis: yeah that looks about right |
| 17:55 |
ndee |
http://pastie.org/231965 <-- anyone knows why that as soon as I add the "where" part, the result is empty. |
| 17:56 |
ckoehler |
because there is no content record with uid = 1 ? |
| 17:57 |
ndee |
ckoehler: there is a record with the uid = 1. |
| 17:57 |
ckoehler |
double check that |
| 17:57 |
ckoehler |
what query is generated? |
| 17:58 |
ckoehler |
you could set sqlDebug = 1 in the install tool and misspell the table name to get the exact query |
| 17:58 |
ckoehler |
and then run it manually to tweak it |
| 17:58 |
ndee |
ah sweet, that's what I gonna do. |
| 18:03 |
Recnelis |
ckoehler: Would it be somehow unsafe to iterate over the post elements and add them to the mail? |
| 18:05 |
ckoehler |
well |
| 18:05 |
ckoehler |
potentially |
| 18:05 |
ckoehler |
you still need to make sure it's allowed |
| 18:05 |
ckoehler |
which _GP doesn't do |
| 18:07 |
Recnelis |
So as long as I pass them through _GP I should be safe? |
| 18:10 |
ckoehler |
no |
| 18:10 |
ckoehler |
_GP doesn't do validation |
| 18:10 |
ckoehler |
you have to decide whether you want those |
| 18:10 |
ndee |
is there a way to disable the pidInList setting at all? When I don't set it, it uses a default value, I just want that it doesn't show up anymore. |
| 18:10 |
ckoehler |
Recnelis: htmlspecialchars and intval and such are your job |
| 18:11 |
Recnelis |
$showEan = htmlspecialchars(trim(t3lib_div::_GP($this->prefixId.'_company_type'))); <- Currently I pass everything through htmlspecialchars and trim... |
| 18:29 |
ckoehler |
Recnelis: that's not bad |
| 18:29 |
ckoehler |
i think XSS is still possible |
| 18:30 |
ckoehler |
but it's better than nothing |
| 18:30 |
ckoehler |
you can be more disciminating when you know stuff is just an integer |
| 18:30 |
ckoehler |
with intval |
| 18:34 |
Recnelis |
I see.. hmm.. - Well most fields are text inputs.. only a few int |
| 18:38 |
encore |
I have a question. I am building a frontend-plugin that inserts code on specific places in the template, 2 different types of output. What is the best approach to set the marker in the template, where to output code? I'm brainstorming how to do this the easiest way. |
| 18:42 |
encore |
I was thinking of using "Insert Plugin' list in Content Elements", but could it be easier done using typoscript-markers like lib.place1 = plugin_pi1 and lib.place2 = plugin_pi2 of some sort? |
| 18:54 |
ckoehler |
encore: both :) |
| 18:54 |
ckoehler |
insert plugin and it appears where you put it |
| 18:54 |
ckoehler |
but you can also create it via TS and assing the content to a TS object, which you can then put on the page in various ways |
| 18:54 |
ckoehler |
the extension code itself doesn't change |
| 18:56 |
encore |
ckoehler: thanks for the tip, can you point me to the direction of how to do it via typoscript. I first thought of using RECORDS, but I guess it's possible to create it without using records. |
| 18:56 |
ckoehler |
look at how templavoila does it |
| 18:57 |
encore |
ah... true! =) |
| 18:57 |
encore |
USER. |
| 18:57 |
ckoehler |
yep |
| 19:04 |
ndee |
http://pastie.org/232119 <-- shouldn't that display record from tt_content with the uid = 1? |
| 19:05 |
encore |
ckoehler: weird, I've never though about how easy it was to insert a plugin this way, even though I've used templavoila like forever. right in front of me. :) |
| 19:06 |
ckoehler |
encore: yep, it's quite simple |
| 19:14 |
encore |
ckoehler: I'm messing around with it now, but this typoscript should suffice then? |
| 19:14 |
encore |
lib.stuff = USER lib.stuff.userFunc = tx_myplugin_pi1->main |
| 19:15 |
ndee |
typoscript can be a real paaaaaaaaaain :D |
| 19:15 |
ckoehler |
encore: i think so |
| 19:15 |
ckoehler |
does it work? |
| 19:16 |
encore |
ndee: indeed. :) |
| 19:17 |
encore |
ckoehler: nope, I'm just guessing though. but the default function when creating frontend plugins using the kickstarter is called "main". |
| 19:18 |
ndee |
http://pastie.org/232119 <-- I mean that's total basics and it is also from the example, bleh. |
| 19:20 |
encore |
I think I need a function of some sort to make it work. |
| 19:47 |
uschi |
anybody here from munich by any chance? |
| 19:55 |
encore |
well. tested a bit now and as far as I can see, you can't instance a frontend plugin using the forementioned lines only, I must have missed something. I'll try some more googling later. dinner! =) |
| 20:31 |
tomyN |
hi, I got the latest Firefox and it loads the mainframe in Typo3 without the tools on the left |
| 20:34 |
tomyN |
Safari shows overlapping of layers, and opera doesn't load RTE |
| 20:36 |
encore |
tomyN: Firefox 3 should work with latest typo3, 4.1.7 or 4.2.1 (although I've got mixed results, works fine on one site after upgrade, not on some others). Either way, in FF3, you can just walk "back" one page and then it'll work after that. |
| 21:37 |
tomyN |
anyone here? |
| 21:38 |
tomyN |
I got Firefox 3 and it shows only the mainframe of the T3 backend |
| 21:38 |
tomyN |
how can I change this? |
| 21:41 |
tomyN |
37 users online, and the channel is dead? |
| 21:53 |
ckoehler |
boo |
| 21:58 |
encore |
well.. wasted like 3 hours just to find out that you can't easily instance a plugin using the way templavoila does it. heck knows why. |
| 21:58 |
encore |
killed a lot of creativity though. |
| 22:00 |
ckoehler |
did you include the file? |
| 22:00 |
ckoehler |
also, try this |
| 22:00 |
ckoehler |
at least for wec_map |
| 22:01 |
encore |
it's a frontend plugin. |
| 22:01 |
encore |
wasn't an external php. |
| 22:01 |
ckoehler |
lib.map < plugin.tx_wecmap_pi1 |
| 22:01 |
ckoehler |
that would work |
| 22:02 |
ckoehler |
it works with others |
| 22:02 |
ckoehler |
like macinasearchbox |
| 22:02 |
ckoehler |
so it should work that way |
| 22:03 |
encore |
arhg, that one worked. |
| 22:03 |
encore |
one more reason to swear at typoscript. |
| 22:03 |
ckoehler |
sorry for not getting that right first :) |
| 22:03 |
encore |
no worries. this is actually great news. |
| 22:04 |
encore |
and if I want to do settings on that specific instance, I just do lib.map.stuff = somevalue |
| 22:04 |
ckoehler |
ya |