| 00:00 |
techgurufloyd |
Sorry, what is it that points? |
| 00:03 |
ries_laptop_ |
techgurufloyd: your root page points then to your real home... |
| 00:03 |
techgurufloyd |
Right now, I have the root page as a shortcut to the "first subpage". And that first sub page has the title, eg "Foobar, Inc." and a Navigation title: "Home". |
| 00:05 |
techgurufloyd |
So, I would expect realurl to generate example.com/en/Users/<removed>/en/foobar-inc/index.html Shouldn't it use the navigation Title? |
| 00:05 |
ries_laptop_ |
that should work.. so properly I mis-understood yoru question |
| 00:08 |
techgurufloyd |
Or in other words: How do I tell RealURL to use the navigation title instead of the title? |
| 00:10 |
ries_laptop_ |
Hmmmmm I don't know that answer, but I think it's possible... I see what you are saying now |
| 00:11 |
techgurufloyd |
Thanks for trying ;) |
| 00:29 |
boonkerz |
hi |
| 00:30 |
ries_laptop |
hey boonkerz |
| 00:32 |
boonkerz |
hi ries i search an solution how i can make my image with an nice border |
| 00:32 |
boonkerz |
:D |
| 00:37 |
ries_laptop |
boonkerz: photoshop??? :D |
| 00:37 |
boonkerz |
for every image :D |
| 00:37 |
ries_laptop |
I think typoscript by example has a sample of that |
| 00:38 |
ries_laptop |
long time no seen btw... or at least speak :) |
| 00:39 |
boonkerz |
http://www.flickr.com/photos/boonkerz |
| 00:39 |
boonkerz |
right side |
| 00:39 |
boonkerz |
:) |
| 00:39 |
boonkerz |
nice borders :D |
| 00:42 |
ries_laptop |
can't you do that with an image overlay? |
| 05:53 |
Dead |
Hello, I would hear about what is ajax kernel you can use in Typo3? |
| 05:57 |
Dead |
Or Framework |
| 06:17 |
lous |
hello |
| 06:17 |
lous |
http://paste.phlogi.net/-a1f7150483/ |
| 06:17 |
lous |
does anyone know why this wont works? |
| 08:43 |
lous |
hi all |
| 08:50 |
nkuttler |
lous: does it work without the conditional? |
| 08:57 |
lous |
nkuttler what? :) |
| 09:05 |
_pedda_ |
hi all |
| 09:07 |
lous |
i |
| 09:07 |
lous |
hi |
| 09:13 |
lous |
sorry, what was the url of the site where i can paste some t3 snippets? |
| 09:15 |
nd_ |
lous: http://paste.phlogi.net/ |
| 09:16 |
lous |
thanks :D |
| 09:21 |
lous |
http://paste.phlogi.net/-27cdadfbe2/ |
| 09:21 |
lous |
does anyone know why this wont work? |
| 09:40 |
lous |
does anyone know why? |
| 09:40 |
_pedda_ |
what do you mean by does not work ? |
| 09:42 |
lous |
wait i will paste you the full code |
| 09:43 |
lous |
http://paste.phlogi.net/-b051251b17/ |
| 09:44 |
lous |
this code shows up a box with the latest news of a category |
| 09:44 |
lous |
one for the german page and for the english page (L = 1) |
| 09:44 |
lous |
but i just want that it shows up on pid 383, by now it works for the german page but not for the english site |
| 09:45 |
_pedda_ |
PIDupinRootline is wrong |
| 09:46 |
_pedda_ |
tsfe:uid = 383 |
| 09:46 |
lous |
with [ ? |
| 09:46 |
_pedda_ |
sure with [] |
| 09:46 |
_pedda_ |
otherwise it's no condition |
| 09:47 |
lous |
if use that |
| 09:47 |
lous |
it dont show up anymore on id 383 |
| 09:48 |
lous |
but i want that it shows up :) |
| 09:49 |
lous |
PIDupinRootline works fine, but the only prob is the latest news box for the english site |
| 09:49 |
_pedda_ |
but it's wrong |
| 09:49 |
_pedda_ |
it will show up on id beyond 383 as well |
| 09:49 |
lous |
maybe you mean PIDinRootline |
| 09:52 |
_pedda_ |
TSFE:[globalVar = TSFE:id = 46] |
| 09:52 |
_pedda_ |
[globalVar = TSFE:id = 46] |
| 09:52 |
_pedda_ |
is the proper condition to show something up only on one unique uid |
| 09:53 |
_pedda_ |
an the second condition should be |
| 09:53 |
_pedda_ |
[globalVar = GP:L = 1] || [globalVar = TSFE:id = 383] |
| 09:54 |
lous |
ok wait i will try it |
| 09:54 |
_pedda_ |
as shown here: |
| 09:54 |
_pedda_ |
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/4/1/ |
| 09:57 |
lous |
wont work :D |
| 09:59 |
_pedda_ |
erm |
| 09:59 |
_pedda_ |
replace || with && |
| 10:04 |
lous |
nice it works :) |
| 10:04 |
lous |
thanks a lot |
| 10:14 |
_pedda_ |
np |
| 10:33 |
Nekdy |
any ideas how to make tt_news display default language news if there are no localized news? |
| 10:38 |
Bluespuke |
morning |
| 10:42 |
lous |
is it possible to include a html file into a library? Like lib.XXXX = TEXT ?? |
| 10:45 |
lous |
i know that there is a command for php. = PHP_SCRIPT |
| 10:46 |
pmk65 |
lous: -> http://typo3.org/extensions/repository/view/tgr_statichtml/current/ |
| 10:46 |
pmk65 |
or http://typo3.org/extensions/repository/view/disc_codeinclude/current/ |
| 10:47 |
pmk65 |
maybe you need to paste in the html. (I haven't tried any of the 2 ext) |
| 10:48 |
pmk65 |
or you could write a small userfunc, so you could include the file using typoscript. |
| 10:48 |
lous |
with those ext. i think i just can add html in page content |
| 10:49 |
lous |
but i need it as, hmm dont know how to explain :) i just wanna include a html file at "lib.xxx" |
| 10:54 |
pmk65 |
lous: write a userfunc |
| 11:23 |
razer_ |
is it possible to check if a site has a translation? |
| 11:23 |
razer_ |
with typoscript? |
| 11:29 |
HardPhuck |
hey boys |
| 11:29 |
HardPhuck |
i have a form CE on my website |
| 11:29 |
HardPhuck |
the client asked me to add a file attachment field |
| 11:30 |
HardPhuck |
so when i add it to the form, it gets displayed, but attachments are not send |
| 11:30 |
HardPhuck |
what could be the problem |
| 11:30 |
HardPhuck |
the text is sent though |
| 11:33 |
ZioCorto |
hi all |
| 11:37 |
qim |
hi |
| 11:40 |
qim |
is there a way to create a menu item w/ title & subtitle where the subtitle is not part of the a href |
| 11:44 |
chas3r |
hi, is anyone familiar with tt_news single view image limit? |
| 11:44 |
chas3r |
i can't include more than 4 images |
| 11:47 |
chas3r |
well, i can include them, but only 4 are showing |
| 11:49 |
HardPhuck |
check the static typoscript that comes with the extension |
| 11:49 |
lous |
how can i add a static html file into a "lib"? |
| 11:59 |
HardPhuck |
lous what "lib" |
| 12:00 |
lous |
what ive mapped with tv |
| 12:00 |
maholtz|WORK |
morning... ;) |
| 12:00 |
lous |
hey :D |
| 12:01 |
TaucherMK |
lous: I don't get what you want to do, just include the content of an HTML file as content in the frontend through TV? |
| 12:03 |
TaucherMK |
or do you mean the TS lib.anything which you added through TV as TypoScript Object Paths? |
| 12:03 |
HardPhuck |
strange, install tool has maxformattachemntsize |
| 12:04 |
HardPhuck |
but even if i allow bigger attachments they don't get send |
| 12:04 |
lous |
ya taucher :) |
| 12:04 |
TaucherMK |
lous: The second one? |
| 12:04 |
lous |
yes |
| 12:04 |
lous |
example with text |
| 12:04 |
lous |
lib.taucher = TEXT |
| 12:04 |
lous |
lib.taucher.wrap = hello |
| 12:04 |
TaucherMK |
HardPhuck: What about PHP limitations in php.ini? |
| 12:04 |
lous |
is there a way to include a static html file ? |
| 12:05 |
HardPhuck |
i tried 1kb small attachment and it still doesnt get sent |
| 12:05 |
TaucherMK |
lous: So just use the TEMPLATE cObject |
| 12:05 |
HardPhuck |
the text is, but the file isn't |
| 12:06 |
TaucherMK |
lous: http://typo3.org/documentation/document-library/references/doc_core_tsref/4.2.0/view/ one of the cObjects will fit your needs |
| 12:06 |
TaucherMK |
HardPhuck: Sounds strange |
| 12:07 |
HardPhuck |
http://www.zidarstvo-petrovcic.si/kontakt/ |
| 12:07 |
HardPhuck |
this is the form |
| 12:07 |
HardPhuck |
added as a CE |
| 12:07 |
lilalinux |
any idea, how I disable the automatic creation of <span lang=""> in RTE? |
| 12:08 |
TaucherMK |
HardPhuck: Perhaps an error in the extension used for it? Try to upload an image for a content object, like T/W |
| 12:08 |
HardPhuck |
lilalinux, i usually check the CSS styled content setup.txt for that |
| 12:09 |
HardPhuck |
TaucherMK: no extension this is the default form |
| 12:09 |
HardPhuck |
and uploading of other files works okay |
| 12:10 |
TaucherMK |
never used the default form for files :-/ |
| 12:10 |
TaucherMK |
nice picture at the top ;-) |
| 12:10 |
HardPhuck |
thanx |
| 12:10 |
HardPhuck |
bought it at istockphoto |
| 12:22 |
razer_ |
is it possible to create a user that can create and change other users? |
| 12:22 |
razer_ |
or a admin with resticted access levels? |
| 12:23 |
HardPhuck |
strange, php allows 8MB for each uploaded file |
| 12:23 |
pmk65 |
razer_: maybe this ext? -> http://typo3.org/extensions/repository/view/so_projectgroups/current/ |
| 12:24 |
pmk65 |
HardPhuck: http://wiki.typo3.org/index.php/How_to_upload_big_files |
| 12:24 |
razer_ |
pmk65: not quiet what i'm looking for |
| 12:24 |
razer_ |
but thx anyway |
| 12:25 |
HardPhuck |
pmk65: i'm searching for a solution, because my mailform attachments are not sent |
| 12:26 |
HardPhuck |
the text is sent, but the attached file isn't |
| 12:26 |
HardPhuck |
but the strange thing is that is gets uploaded to the server when i click send |
| 12:35 |
HardPhuck |
i could install an extension but i hate doing that if all the functionality is already in |
| 12:39 |
pmk65 |
HardPhuck: Is it a custom ext? |
| 12:39 |
HardPhuck |
nope, the default mailform |
| 12:39 |
HardPhuck |
okay it works now |
| 12:39 |
pmk65 |
And it works with smaller files? |
| 12:39 |
HardPhuck |
finally |
| 12:40 |
HardPhuck |
field name MUST be attachment1 |
| 12:40 |
HardPhuck |
otherwise it does not work |
| 12:40 |
HardPhuck |
strange, but okay :) |
| 12:42 |
razer_ |
does anyone know if it is possible to restrict the template module to a certain admin? |
| 12:42 |
HardPhuck |
i doubt |
| 12:44 |
razer_ |
oh man |
| 12:44 |
razer_ |
t3 usermanagement sucks |
| 12:45 |
razer_ |
either a user can do anything or about nothing |
| 12:51 |
HardPhuck |
lol |
| 12:51 |
HardPhuck |
t3 has the most flexible user management there is |
| 12:51 |
HardPhuck |
there are some limitations, yes, but with some improvisation, everything can be done |
| 12:53 |
maholtz|WORK |
@razer_ or anything between all or nothing... |
| 12:54 |
razer_ |
oh and how can i add a user with all rights except the template? |
| 12:56 |
maholtz|WORK |
what mean "all rights"? should he be able to install extensions? makes no sense |
| 12:56 |
m0oman |
HardPhuck: i have to disagree. >.< |
| 13:00 |
pmk65 |
If you give a user access to things like installing ext, or edit user records, then the user has the possibilities to gain full admin access in seconds. |
| 13:01 |
pmk65 |
With EM access, you just install Quixplorer or one of the Shell ext, and then you can do pretty much everything on the server. |
| 13:02 |
pmk65 |
That's why normal users doesn't have access to those. |
| 13:02 |
razer_ |
aw hell i just want a user with rights to change and add other users |
| 13:02 |
razer_ |
except for admins of course |
| 13:02 |
maholtz|WORK |
use sys_actions for that |
| 13:02 |
razer_ |
i guess im just du dumb for t3 user management |
| 13:03 |
pmk65 |
If you really want a special type of users to be able to edit userrecords, then you should make your own ext, so you can control what info they are allowed to access. |
| 13:03 |
pmk65 |
Or use sys_actions as maholtz|WORK suggested. |
| 13:29 |
m0oman |
razer_: i needed quite some documentation myself to actually understand the typo3 permissions managment. |
| 13:30 |
razer_ |
yea im working my way through this right now |
| 13:30 |
razer_ |
first time i really work with this stuff |
| 13:30 |
razer_ |
ill take some time i guess |
| 13:30 |
m0oman |
it doesn't feel more comfortable though even after years. ;) |
| 13:31 |
HardPhuck |
you can always ask here |
| 13:31 |
maholtz|WORK |
and please write it down there: http://wiki.typo3.org/Backend_user_group_permission_system |
| 13:31 |
lilalinux |
maholtz|WORK: are snippets working again? |
| 13:31 |
maholtz|WORK |
or better there: http://wiki.typo3.org/User_Management |
| 13:32 |
maholtz|WORK |
@lilalinux: looks like:) |
| 13:32 |
m0oman |
is there actually an extension nowadays that lets you consolidate backend and frontend users? |
| 13:32 |
maholtz|WORK |
didnt recogniced, but i send steffen a mail about it... perhaps i wasnt polite enough.. ;( |
| 13:34 |
maholtz|WORK |
@m0oman: there is something like "simulatebe" |
| 13:34 |
maholtz|WORK |
but then they really have backend permissions |
| 13:34 |
m0oman |
you should've offered him http://www.flickr.com/photos/honigferd/sets/72157613397749392/ ! |
| 13:35 |
m0oman |
yeah, i know, but it's far from elegant. all i'd wanted would have been a way to just assign a user to a group and then he'll be able to log into the BE and have a set of permissions. |
| 13:41 |
lilalinux |
maholtz|WORK: where the "add" button? |
| 13:41 |
maholtz|WORK |
in menu - "new snippets" |
| 13:42 |
lilalinux |
got it |
| 13:42 |
lilalinux |
wasn't logged in |
| 13:42 |
maholtz|WORK |
:) |
| 13:42 |
lilalinux |
snippets is preferred to a userpage I guess? |
| 13:43 |
lilalinux |
Otherwise I would document how I built http://www.georg-martin.de/ on a userpage |
| 13:46 |
Phlogi |
I need those conditions on the GP vars to set the meta tags, however on a detail page also the catId is set... but then the meta tag is still filled with the category , how can I change that? When I change the order of both condition its just the other way round |
| 13:46 |
Phlogi |
http://www.phlogi.net/fresh/t3/tspastebin/showPost/-e97da12e27/ |
| 13:46 |
maholtz|WORK |
@lilalinux: imho put in snippets if you did something special |
| 13:47 |
maholtz|WORK |
otherwise there are some pages in the wiki where some people described how to start. perhaps you can enhance that pages? |
| 13:47 |
maholtz|WORK |
feel free to edit pages - its an wiki, if you are logged in, they can send you a mail |
| 13:48 |
maholtz|WORK |
@Phlogi: does tx_visualizexml_pi1[detailId] works? afaik arrays has to be defined tx_visualizexml_pi1|detailId |
| 13:48 |
pmk65 |
Phlogi: Your last condition does not have any evaluation of the GP var. |
| 13:48 |
Phlogi |
pmk65: yes that was just a try |
| 13:49 |
Phlogi |
maholtz|WORK: oh good point :) thanks Ill try that |
| 13:49 |
maholtz|WORK |
@Phlogi: typoscript is not safe against sql injections |
| 13:49 |
Phlogi |
maholtz|WORK: oh really... what a crap :D |
| 13:49 |
maholtz|WORK |
so add |
| 13:49 |
maholtz|WORK |
source.intval = 1 |
| 13:49 |
maholtz|WORK |
to secure GET/POST input |
| 13:51 |
pmk65 |
Phlogi: The problem with standard conditions is that you can only test for EQUAL, but not for NOT EQUAL. |
| 13:51 |
pmk65 |
The trick is to write a small userfunc to do custom conditions. Then you can test for both. |
| 13:51 |
Phlogi |
but it should work like this right? http://paste.phlogi.net/-3a121fbcd2/ |
| 13:52 |
Phlogi |
when there is a detail id there is also a cat id |
| 13:52 |
Phlogi |
but when only cat id it should pick up the cat desc? |
| 13:54 |
pmk65 |
Phlogi: Userfunc based condition example. -> http://paste.phlogi.net/-ec462a0d37/ |
| 13:54 |
Phlogi |
but now on the detail page it still just shows the cat description? |
| 13:55 |
Phlogi |
maybe it does not overwrite it on the second condition, when the first already was true? |
| 13:55 |
Phlogi |
pmk65: thanks, I already have done one |
| 13:55 |
maholtz|WORK |
@Phlogi: in that case you yould use override |
| 13:55 |
maholtz|WORK |
source.data = ... catID (dont forget intval |
| 13:55 |
Phlogi |
maholtz|WORK: how do I use it? .override has stdWrap? |
| 13:55 |
maholtz|WORK |
source.override.data = detailId |
| 13:56 |
maholtz|WORK |
but if you want to do totally different, do as pmk65 said |
| 13:56 |
Phlogi |
maholtz|WORK: hmm this would just change the condition ... hmm ok could help thats rigght |
| 13:57 |
Phlogi |
but this should be correct? |
| 13:57 |
Phlogi |
[globalString = GP:tx_visualizexml_pi1|detailId = *] |
| 13:57 |
maholtz|WORK |
not sure about "*" |
| 13:58 |
Bluespuke |
i have a problem with a COA: http://paste.phlogi.net/coa_problem/ |
| 13:58 |
Phlogi |
override does not help |
| 13:58 |
Bluespuke |
it doesn't show anything in the wrap... |
| 13:58 |
Bluespuke |
but the wrap is corretc |
| 13:58 |
maholtz|WORK |
@Phlogi: you are right, i forgot tables |
| 13:58 |
maholtz|WORK |
you could do tables = ...cat,...items |
| 13:59 |
maholtz|WORK |
and then make an wrap with tablename in source... but thats get a littlebit difficult |
| 14:00 |
Phlogi |
hmm thats ugly too yes :D |
| 14:00 |
maholtz|WORK |
@Bluespuke: file < temp.... otherwise you put in the string |
| 14:01 |
Bluespuke |
ok, ty |
| 14:01 |
Bluespuke |
this allready make a 1x45 px gif |
| 14:04 |
Bluespuke |
ok, my image is good, any ideas why there is no content in the output? (CSC is included, other columns are working fine...) |
| 14:10 |
Phlogi |
pmk65: where do I put the php code for the userfunction again? |
| 14:12 |
maholtz|WORK |
@Phlogi: i would not think it is ugly... |
| 14:18 |
Phlogi |
maholtz|WORK: hmm it didn't get the whole idea of your solution... you would read both tables all the time? |
| 14:19 |
maholtz|WORK |
nope, RECORDS has an syntax like .source = tt_content:123 |
| 14:19 |
maholtz|WORK |
so you can use .source.wrap = tt_content:| |
| 14:19 |
maholtz|WORK |
.source.data .... |
| 14:20 |
maholtz|WORK |
check if wrap gets executed before override, if not use .source.stdWrap.wrap = |
| 14:20 |
maholtz|WORK |
than you do not need any condition |
| 14:21 |
maholtz|WORK |
and you have to add .conf... for both tables then |
| 14:21 |
Phlogi |
I still don't get the idea sorry |
| 14:22 |
Phlogi |
ah you mean just settings both tables in one RECORDS |
| 14:27 |
pmk65 |
Phlogi: put it somewhere in fileadmin/ |
| 14:28 |
Bluespuke |
another question: i'm using 4 images as content element and i would like to dispose them on the fully width of the parent element... |
| 14:28 |
Bluespuke |
is there an option or do i have to adjust the space constant? |
| 14:28 |
Bluespuke |
(all images will be of the same size so i could do it) |
| 14:32 |
pmk65 |
Bluespuke: if you on your image CE, set the columns dropdown to "1", then all images should appear on the same line. |
| 14:34 |
pmk65 |
Phlogi: -> http://paste.phlogi.net/-0f8807ec35/ |
| 14:36 |
techgurufloyd |
I have two pages that I'm struggling with, the root level (shortcut to first subpage) and the first subpage, which is my home page. How can I convince RealURL to encode URLs without using the title of that page? I want it to look like example.com/en/ or example.com/en/index.html or example.com/ or example.com/index.html. |
| 14:36 |
techgurufloyd |
also, "RealURL Path Segment", "alias", and "Navigation Title" don't seem to have any impact on the encoded url. Any ideas why not? |
| 14:38 |
maholtz|WORK |
@pmk65: will you put that snippet into snippets.typo3.org? if you do not want to do it, is it ok, if i do so? |
| 14:40 |
pmk65 |
maholtz|WORK: sure. It might need a bit cleaning up, but feel free to post it.. |
| 14:48 |
maholtz|WORK |
@pmk65: http://support.typo3.org/snippets/c/213/ |
| 14:49 |
pmk65 |
nice. more self explained now :) |
| 14:49 |
maholtz|WORK |
thanks |
| 15:10 |
Phlogi |
maholtz|WORK: nice... |
| 15:10 |
Phlogi |
but you have much more snippets than I do now :p |
| 15:16 |
Phlogi |
thanks maholtz|WORK and pmk, later |
| 15:20 |
maholtz|WORK |
@Phlogi: hehe, but thats only, because there are some, which i cannot delete - and some others are saved under different usernames (do not know why) |
| 15:24 |
pmk65 |
It's anoying that the comment function is not available on the snippets anymore. (Only the link to show comments is still present..) |
| 15:26 |
pmk65 |
BTW: If anyone is using Quixplorer, then I fixed all the bugs listed on bugs.typo3.org (for Quixplorer), as I got fed up with the anoying bugs. If anyone wants it, it can be downloaded here: http://www.sharemation.com/typo3test/T3X_t3quixplorer_fixed-1_7_0-z-200903242126.t3x |
| 15:27 |
drindt |
is it possible to reorder the fields in the backend from fe_users? iam using addToAllTCAtypes to add my specific fields but the order with the defaults are now wrong, how can i reorder it? |
| 15:28 |
TaucherMK |
pmk65: Mail it Steffen that you would like to have this feature back ;-) http://support.typo3.org/other-views/leave-your-comment/ |
| 15:35 |
pmk65 |
TaucherMK: good idea. I'll do that.. |
| 15:47 |
Dead |
Hi I have a little work with ajax. My big question is how I protect an ajax file, go to it and can still use typo3 lib, etc? |
| 15:54 |
maholtz|WORK |
@Dead: eID mechanism is used for that |
| 15:56 |
Dead |
Okay, you do not have something good to read? |
| 15:59 |
lilalinux |
Dead: http://tinyurl.com/crwxgv |
| 16:01 |
just2b |
works here |
| 16:01 |
just2b |
ah sry ^^ |
| 16:01 |
Dead |
lilalinux Thanks for reply. But there is no need to tell that google is your friend or friend in need. But thanks. |
| 16:03 |
lilalinux |
is there a way to purge deleted records or fe_users when they are deleted? |
| 16:17 |
Dead |
lilalinux It is not a good idea because of the expansions for typo3. mm_forum etc. But if you need it, you can use extension kj_recycler. |
| 16:18 |
lilalinux |
thx |
| 16:20 |
Dead |
:) |
| 16:36 |
Phlogi |
1: Line 5051: An end brace is in excess. <- is there way to find out where that _exactly_ is? |
| 16:36 |
maholtz|WORK |
yep |
| 16:36 |
Phlogi |
maholtz|WORK: how please? |
| 16:37 |
maholtz|WORK |
go to template analyser, click on an template, look which lines are there |
| 16:37 |
maholtz|WORK |
if > 5051 take template down else template above |
| 16:37 |
Phlogi |
maholtz|WORK: hmm I have multiple templates there |
| 16:37 |
maholtz|WORK |
yep |
| 16:37 |
maholtz|WORK |
there is a checkbox "show lines" or similiar |
| 16:37 |
maholtz|WORK |
so, check it, select template and see the lines |
| 16:37 |
Phlogi |
ah I see |
| 16:38 |
Phlogi |
crop lines |
| 16:38 |
Phlogi |
hmm no, not really |
| 16:38 |
Phlogi |
maholtz|WORK: I can't see the lines in the object browser |
| 16:39 |
maholtz|WORK |
hehe - yep, use "template analyser" instead;) |
| 16:39 |
maholtz|WORK |
check "Linenumbers" |
| 16:39 |
Phlogi |
ah thanks a lot |
| 16:41 |
maholtz|WORK |
there is still the section "debugging typoscript" missing in 45 minutes typoscript.... |
| 16:44 |
lilalinux |
maholtz|WORK: definitely |
| 16:44 |
lilalinux |
but that would take far more than 45 minutes itself |
| 16:45 |
maholtz|WORK |
well, you have to speed up your reading then *g* |
| 16:46 |
lilalinux |
do you think skipping every second word might help? |
| 16:50 |
Phlogi |
damn userfunc does not work... grr |
| 16:51 |
just2b |
^^ |
| 16:51 |
Phlogi |
that looks fine does it? if (!($GP['detailId'] >= 0) && $GP['catId'] >= 0) { |
| 16:52 |
Phlogi |
it will only become true if catId is there but not if any detailId is there right? |
| 16:52 |
just2b |
depends if you get what you want |
| 16:52 |
Phlogi |
I have this in: function user_checkGPCatOnly($content,$conf) { |
| 16:52 |
Phlogi |
I return true now all the time |
| 16:52 |
Phlogi |
I do: includeLibs.loadFile = |
| 16:52 |
Phlogi |
and : [userFunc = user_checkGPCatOnly()] |
| 16:52 |
Phlogi |
but this becomes not true |
| 16:53 |
Phlogi |
never |
| 16:53 |
Phlogi |
grr |
| 16:53 |
maholtz|WORK |
paste complete code in pastebin |
| 16:53 |
akdemik |
hi guys, may i ask a short question? maybe you can help me... i have a problem with htmlarea rte... |
| 16:53 |
just2b |
akdemik dont ask to ask |
| 16:53 |
lilalinux |
akdemik: don't ask to ask |
| 16:53 |
lilalinux |
just ask |
| 16:53 |
lilalinux |
:-) |
| 16:54 |
Phlogi |
anyone has an idea? |
| 16:54 |
lilalinux |
Phlogi: [16:55] <maholtz|WORK> paste complete code in pastebin |
| 16:54 |
Phlogi |
userfunc: http://paste.phlogi.net/-89972c18a8/ |
| 16:55 |
just2b |
1st, use intval on all of your GPs |
| 16:55 |
Phlogi |
ts : http://paste.phlogi.net/-8a58a8c58d/ |
| 16:55 |
Phlogi |
just2b: not necessary here, but yes I know |
| 16:56 |
maholtz|WORK |
will be allways true: user_checkGPCatOnly |
| 16:56 |
just2b |
1st: always necessary, 2nd: then you can really check for !=0 |
| 16:56 |
akdemik |
oke, i´m using typo3 4.2.6 with newest rte 1.7.9... i included all the rte.classes from here http://www.typo3.net/forum/list/list_post//39948/ to my ts setup... if i center some text with the rte there is a wrap in the source code of the page arount the centered part <p class="align-center"> but the class align-center is not in the css... |
| 16:56 |
Phlogi |
maholtz|WORK: I said so.. its for testing as it does not work at all |
| 16:56 |
just2b |
akdemik so add it |
| 16:58 |
pmk65 |
If you need to check for "0" you should use !==0 instead of !=0 |
| 16:58 |
Phlogi |
I think includeLibs does not work |
| 16:58 |
akdemik |
is should be addet through the ts setup for the rte "RTE.classes { ... # |
| 16:58 |
akdemik |
align-center { |
| 16:58 |
akdemik |
# |
| 16:58 |
akdemik |
name = LLL:EXT:rtehtmlarea/htmlarea/locallang_tooltips.xml:justifycenter |
| 16:58 |
akdemik |
# |
| 16:58 |
akdemik |
value = text-align: center; |
| 16:58 |
akdemik |
# |
| 16:58 |
akdemik |
}... |
| 16:58 |
pmk65 |
includeLibs works fine.. |
| 16:58 |
pmk65 |
but the file you are including must be in fileadmin (or similar accessable folder) |
| 16:59 |
maholtz|WORK |
@Phlogi: you can use echo "" in your php-script to simply debug it |
| 16:59 |
Phlogi |
maholtz|WORK: the snippet needs fixes |
| 17:00 |
maholtz|WORK |
whats wrong with it? |
| 17:00 |
Phlogi |
i got an errror about missing arguments |
| 17:03 |
Phlogi |
maholtz|WORK: echo or print_r in the userfunc does not output anything |
| 17:03 |
Phlogi |
I tried to define the function in localconf now, and got an error about redeclaration, so the userfunc is parsed |
| 17:03 |
Phlogi |
at least |
| 17:03 |
Phlogi |
but thats all |
| 17:03 |
Phlogi |
Warning: Missing argument 2 for user_checkGPCatOnly() in /Users/<removed>/vhosts/xelaris.ch/httpdocs/typo3conf/localconf.php on line 98 |
| 17:04 |
Phlogi |
wtf |
| 17:05 |
maholtz|WORK |
ah, you had $content, $conf as parameters in your function remove them |
| 17:05 |
maholtz|WORK |
instead putting something into localconf |
| 17:05 |
maholtz|WORK |
you call the function without params |
| 17:05 |
maholtz|WORK |
so, make params optional or remove them from function |
| 17:05 |
Phlogi |
maholtz|WORK: that was in the snippet btw |
| 17:06 |
maholtz|WORK |
oups |
| 17:06 |
Phlogi |
it still just does not react on that userfunction |
| 17:06 |
maholtz|WORK |
try it without:) |
| 17:06 |
Phlogi |
its now in the included file again |
| 17:07 |
Phlogi |
should I put it into localconf |
| 17:07 |
Phlogi |
? |
| 17:07 |
Phlogi |
no change |
| 17:10 |
Phlogi |
i can put some some wrong code in the file it does not give any error :S |
| 17:10 |
Phlogi |
oh it does that at least, but no debug output or something |
| 17:11 |
Phlogi |
hmm so the file is parsed but not the function exectured |
| 17:13 |
Phlogi |
you can't do includeLibs, thats the problem IMHO |
| 17:13 |
Phlogi |
maholtz|WORK: you really should change the snippet |
| 17:15 |
Phlogi |
when I put the function in localconf, i ge the following php error: Function name must be a string |
| 17:15 |
Phlogi |
but only when its called from my condition |
| 17:15 |
Phlogi |
this looks totally buggy to me |
| 17:21 |
Phlogi |
anyone has a hint for me? Otherwise I give up that |
| 17:26 |
decoder_ |
hello there... short question: I'm trying to integrate a new feature into our typo3, which can be implemented with a simple php script. however, one should be able to deploy it several times on different places of the site, with different parameters... I thought an extension might be the right way here.. but there are so many ways/things in the extension document |
| 17:27 |
decoder_ |
could someone give me a hint what I am looking for? |
| 17:27 |
maholtz|WORK |
kickstarter |
| 17:27 |
decoder_ |
ive got kickstarter... |
| 17:27 |
maholtz|WORK |
@Phlogi: i am wondering... |
| 17:27 |
decoder_ |
is it a frontend plugin what I want? |
| 17:27 |
maholtz|WORK |
yep |
| 17:27 |
decoder_ |
my script simply fetches information from another website and displays it, but needs a parameter for fetching that.. |
| 17:28 |
maholtz|WORK |
@Phlogi: did you removed the params from your function? |
| 17:28 |
Phlogi |
maholtz|WORK: it really made me just angry :S |
| 17:28 |
Phlogi |
maholtz|WORK: yes I did |
| 17:28 |
ckoehler |
decoder_: frontend plugin |
| 17:28 |
ckoehler |
use the kickstarter |
| 17:28 |
Phlogi |
the function is just no called... : |
| 17:28 |
decoder_ |
ok... i need a template for that as well, right? |
| 17:28 |
ckoehler |
well |
| 17:28 |
ckoehler |
you can do what you want |
| 17:28 |
ckoehler |
echo it if you want |
| 17:28 |
Phlogi |
look whats written here: http://typo3blogger.de/condition-mit-userfunc/ |
| 17:28 |
Phlogi |
thats weird |
| 17:28 |
decoder_ |
ive created a plugin .. but it doesnt show anything |
| 17:29 |
decoder_ |
i must be doing something wrong |
| 17:29 |
ckoehler |
i assume you added it ot the page? |
| 17:29 |
decoder_ |
yep |
| 17:30 |
decoder_ |
i tried looking at other plugins but they were all totally complicated compared to what I want to do |
| 17:30 |
ckoehler |
then you should see something |
| 17:30 |
Phlogi |
maholtz|WORK: maybe i should try it with your other idea |
| 17:31 |
decoder_ |
ckoehler: so the template stuff is not essential for it to show at least something up? |
| 17:31 |
ckoehler |
nope |
| 17:31 |
Phlogi |
its really stupid, as this would be so damn eay with php, but to get it working in ts is just a damn pain |
| 17:32 |
decoder_ |
ckoehler: ok thanks.. my error must be somewhere else then... ill keep searching |
| 17:32 |
ckoehler |
decoder_: for an example, check out wec_ebible |
| 17:32 |
ckoehler |
http://svn.webempoweredchurch.org/repositories/entry/wec_ebible/trunk/wec_ebible/pi1/class.tx_wecebible_pi1.php |
| 17:32 |
Phlogi |
decoder: a template on you site however is neccessary |
| 17:32 |
ckoehler |
it's fairly simple |
| 17:32 |
decoder |
ckoehler: thanks |
| 17:34 |
Phlogi |
and why the heck this strange error when I add the userfunction to the localconf? |
| 17:38 |
maholtz|WORK |
@Phlogi: wondering, looks like documentation is wrong too? http://typo3.org/documentation/document-library/references/doc_core_tsref/4.2.0/view/1/4/ |
| 17:40 |
Phlogi |
why wrong maholtz|WORK? |
| 17:40 |
maholtz|WORK |
it does not work? |
| 17:40 |
Phlogi |
nope, I constantly get the Function name must be a string whenever I add the function to localconf |
| 17:54 |
decoder |
not even the simplest kickstarter plugin displays hello world when I add it :( |
| 17:54 |
akira_ |
hi there, anyone knows how to give rights to file admin for a regular user |
| 17:56 |
maholtz|WORK |
@Phlogi: still here? |
| 17:56 |
Phlogi |
jap |
| 17:56 |
maholtz|WORK |
i got it working... |
| 17:56 |
maholtz|WORK |
require_once('fileadmin/test.php'); |
| 17:56 |
maholtz|WORK |
put there in test.php your code, the function has to start with "user_" |
| 18:10 |
Phlogi |
maholtz|WORK: where goes require_once? |
| 18:10 |
Phlogi |
did my error occured in your case as well? |
| 18:10 |
Phlogi |
did you really test it with a userFunc= ? |
| 18:12 |
maholtz|WORK |
@Phlogi: grmpl - use include_once instead... otherwise i get errors in backend... |
| 18:12 |
maholtz|WORK |
well, thats totally strange |
| 18:12 |
maholtz|WORK |
but it works |
| 18:14 |
maholtz|WORK |
but includeLibs seems to get executed after the conditions, so you need to put your function into localconf.php (or use an include_once ..) |
| 18:14 |
maholtz|WORK |
so, you are right, its totally wired.. |
| 18:16 |
maholtz|WORK |
to debug: the whole stuff is manged in t3lib/class.t3lib_matchcondition.php |
| 18:20 |
Phlogi |
maholtz|WORK: as I said when I put the function in localconf I get that silly error |
| 18:20 |
Phlogi |
I don't think this does not happen if you use require or include |
| 18:25 |
maholtz|WORK |
i got there an error - it looks like localconf.php has been included twice |
| 18:25 |
maholtz|WORK |
using include_once() doesn not include that function twice then |
| 18:26 |
maholtz|WORK |
but, i think it would be easier, if you use typoscript with override |
| 18:26 |
maholtz|WORK |
but i have to go now, sorry:( |
| 18:28 |
_pedda_ |
cu maholtz|WORK :) |
| 18:28 |
maholtz|WORK |
cu |
| 18:39 |
decoder |
whats the proper way to add a configuration field to a frontend plugin |
| 18:39 |
decoder |
? |
| 18:39 |
decoder |
like when I add it to the site, I want to be able to specify a parameter |
| 18:39 |
decoder |
and i want to access it in the plugin |
| 18:47 |
_pedda_ |
? |
| 18:48 |
_pedda_ |
you want extend an extension right ? |
| 18:48 |
_pedda_ |
so kickstarter is the easiest way to do that |
| 18:48 |
decoder |
I have the kickstart hello world extension |
| 18:48 |
decoder |
and I have found out that you can specify configuration variables in typoscript in the template |
| 18:48 |
decoder |
I can print out this value perfectly |
| 18:49 |
decoder |
but wouldnt it be more suitable if you could specify the configuration where you add the plugin itself? |
| 18:49 |
_pedda_ |
just click around within the kickstarter.. it is quite easy to add additional fields to already installed extensions |
| 18:49 |
_pedda_ |
hmm what do you mean by specify the configuration ... ? |
| 18:50 |
decoder |
when you select which plugin you want to add to the site, is it possible to have some field that asks for the required config value? |
| 18:50 |
decoder |
like "add this plugin here, but with config param xyz, and this param is required" |
| 18:51 |
_pedda_ |
hmm you want certain fields of your extension to have set the input fields to "required" ? |
| 18:51 |
_pedda_ |
like creating new be users.. if you don't specify a password, you can't save the record |
| 18:51 |
_pedda_ |
right ? |
| 18:53 |
decoder |
the application im writing fetches information from a specific, fixed website.. but I'd like to add this plugin at several places on my site, with different website parameters |
| 18:53 |
decoder |
and I'd like to be able to tell it which website I want to be fetched for this particular plugin instance im adding |
| 18:54 |
_pedda_ |
ok so you have to prepare the extension for this parameters.. and make the extension getting the necessary parameters from ts |
| 18:54 |
_pedda_ |
or flexforms |
| 18:54 |
decoder |
so ts is the only way to specify these values? |
| 18:54 |
_pedda_ |
of what else did you thought ? |
| 18:55 |
_pedda_ |
the only way to enter data into db is either by flexforms or by ts |
| 18:55 |
decoder |
i think flexforms might be what im looking for |
| 18:55 |
decoder |
checking =) |
| 18:56 |
decoder |
thanks for now... it'll take a while until I've worked out how this works ;) |
| 19:28 |
lilalinux |
anybody here using tcdirectmail? |
| 19:53 |
foxtrotwhiskey |
How do you disable the Frontend Admin Panel? |
| 19:53 |
foxtrotwhiskey |
Is there a typoscript config for it? |
| 20:20 |
_pedda_ |
cu all |
| 20:33 |
lilalinux |
How do I make use of the fe_user.language field? |
| 20:34 |
lilalinux |
I would like to use it in tc_directmail, to decide which language the newsletter will be sent in |
| 20:35 |
lilalinux |
but even if I configure the recipients list's "Website Language" as "Default" it also chooses fe_users with fe_user.language=EN |
| 20:35 |
lilalinux |
(Default=DE) |
| 20:40 |
techgurufloyd |
In class.t3lib_tstemplate.php in the function linkData, the first @param is an array: $page. What does this array look like? Where is it defined in this $page array? |
| 20:41 |
techgurufloyd |
my last question was not clear. It should read: Where is the $page array defined, and what is included in the $page array? |
| 20:45 |
foxtrotwhiskey |
does anyone know where this could possibly come from? |
| 20:45 |
foxtrotwhiskey |
<a id="c114"></a> |
| 20:46 |
TaucherMK |
css_styled_content |
| 20:46 |
foxtrotwhiskey |
is there any way to get rid of it? |
| 20:50 |
techgurufloyd |
What is defined in $GLOBALS['TSFE']->page? |
| 20:51 |
foxtrotwhiskey |
nevermind I figured it out. I used: tt_content.stdWrap.dataWrap > |
| 20:51 |
foxtrotwhiskey |
TaucherMK: thanks |
| 20:56 |
foxtrotwhiskey |
How do you disable the Frontend Admin Panel for a certain page? |
| 20:57 |
foxtrotwhiskey |
Its a page that serves only an RSS feed, I don't want the HTML of the admin panel to be tacked on |
| 21:17 |
Golgata |
heyho... im running archlinux with the current xampp version and am trying to get typo3 running... the installation page is displayed, but it says the connection to the sql database could not be established... think the main problem is that phpMyAdmin says "MySQL said: #2002 - The server is not responding (or the local MySQL server's socket is not correctly configured) "... hope someone knows an easy solution and im just overlooking sth? |
| 21:18 |
Golgata |
root@pr0n:/home/jan > lampp status |
| 21:18 |
Golgata |
Version: XAMPP for Linux 1.7 |
| 21:18 |
Golgata |
Apache laeuft. |
| 21:18 |
Golgata |
MySQL laeuft nicht. |
| 21:18 |
Golgata |
ProFTPD laeuft. |
| 21:18 |
Golgata |
how to get mysqls detailed debug output? |
| 21:27 |
tomsdale |
Golgata: what happens if you start it from the commandline? on ubuntu I have /etc/init.d/mysql start |
| 21:28 |
Golgata |
my mysql is in /opt/lampp |
| 21:28 |
Golgata |
also apache etc is there |
| 21:28 |
Golgata |
:) |
| 21:37 |
ries |
Golgata: doesn't archlinux have it's own version of MySQL/PHP and stuff= |
| 21:37 |
ries |
and are you sue that XAMPP doesn't coem with init.d scripts? |
| 21:39 |
Golgata |
ries: phew, two good questions. it sure has an own mysql and php version, but why not install the whole stuff in /opt? |
| 21:39 |
ries |
Golgata: you can install it anywhere... but it should come with init.d script so the stuff starts up when your server starts |
| 21:40 |
ries |
the error sounds like if MySQL wasn't starts... |
| 21:40 |
Golgata |
lampp tries to... |
| 21:43 |
lilalinux |
Does typo3 have "virtual" groups? |
| 21:44 |
Golgata |
uhm, i dont get the question ^^ |
| 21:44 |
Golgata |
why "virtual"? |
| 21:44 |
lilalinux |
e.g. if a fe_user.language is 'DE' then the user automatically is in the fe_group 'German' |
| 21:45 |
lilalinux |
Golgata: I have to workaround a limitation in tc_directmail |
| 21:45 |
lilalinux |
The user selects the "Website Language" when he registers |
| 21:46 |
Golgata |
ah, virtual groups inside the system... to be honest, i dont know, im a newb ^^ |
| 21:47 |
lilalinux |
In tc_directmail I have to choose the target users via groups |
| 21:47 |
Golgata |
root@pr0n:/opt/lampp/htdocs > lampp status |
| 21:47 |
Golgata |
Version: XAMPP for Linux 1.7 |
| 21:47 |
Golgata |
Apache laeuft. |
| 21:47 |
Golgata |
MySQL laeuft nicht. |
| 21:47 |
Golgata |
ProFTPD laeuft. |
| 21:47 |
Golgata |
but i also cant start it |
| 21:48 |
lilalinux |
aha? |
| 21:49 |
Golgata |
the /opt/lampp/var/mysql/pr0n.err says it thinks there is already an other instance of mysql running... but it isnt |
| 21:49 |
Golgata |
090326 21:31:04 [Error] A server appears to already be running |
| 21:49 |
Golgata |
090326 21:31:04 [Error] The file: /opt/lampp/var/mysql/pbxt-lock, is locked |
| 21:49 |
lilalinux |
well, if you're sure, delete the lock file |
| 21:49 |
Golgata |
but i was too scary to just delete it |
| 21:49 |
Golgata |
ok ^^ ill try this |
| 21:49 |
lilalinux |
if there is no mysql instance running |
| 21:49 |
ckoehler |
even if there is |
| 21:49 |
ckoehler |
just restart and you will be fine |
| 21:50 |
Golgata |
root@pr0n:/opt/lampp/htdocs > rm ../var/mysql/pbxt-lock |
| 21:50 |
Golgata |
root@pr0n:/opt/lampp/htdocs > lampp startmysql |
| 21:50 |
Golgata |
XAMPP: Starte MySQL... |
| 21:50 |
Golgata |
root@pr0n:/opt/lampp/htdocs > lampp status |
| 21:50 |
Golgata |
Version: XAMPP for Linux 1.7 |
| 21:50 |
Golgata |
Apache laeuft. |
| 21:50 |
Golgata |
MySQL laeuft nicht. |
| 21:50 |
Golgata |
ProFTPD laeuft. |
| 21:50 |
Golgata |
it doesnt want to :( |
| 21:57 |
Golgata |
uh... my netstat -a says about a dozen connections, and then "memory access error"... |
| 22:25 |
ckoehler |
Golgata: killall mysql? |
| 22:26 |
Golgata |
netstat and lsof -i tcp:3306 both give me a segmentation fault... o_O *scary* |
| 23:53 |
arne |
hello, need a small help for the sourceopt-plugin. it seems to delete any content containing german umlauts from output. has anyone a suggestion? |