| 00:02 |
joerg |
hi.... |
| 00:02 |
joerg |
I am trying to make a text menu in typoscript.... |
| 00:02 |
joerg |
can I somehow tell typo3 to always show 2 levels? |
| 00:02 |
joerg |
what it currently does: shows one level and the 2nd level only if the item is active. |
| 01:56 |
pgampe |
joerg: expAll = 1 |
| 01:57 |
pgampe |
NO.expAll = 1 |
| 09:43 |
pulponair |
hello |
| 10:21 |
Denyerek |
hey pulp |
| 10:22 |
Denyerek |
Can anyone tell me if it would be possible to insert some custom markup into a RTE of a text element, say <!--SPLITME-->, and when the user saves the text element changes, typo will actually split the element into two CE's ? |
| 10:22 |
Denyerek |
I know you can't do this by default, but do the required hooks exist to make this happen as an extension. |
| 10:29 |
teppi|work |
Denyerek, I think the apropriate hook would be processDatamap_afterDatabaseOperations .. you could check $status=='new' and $table=='tt_content' there |
| 10:30 |
Denyerek |
Hmm. |
| 10:30 |
Denyerek |
Then if it's identified correctly, set about retrieving the content, duplicating the CE and storing one half of the content to one, and the other half to the other... |
| 10:31 |
Denyerek |
Given that I have absolutely zero clue how to go about writing that in, it'll have to wait until my development server is back online again. |
| 10:37 |
teppi|work |
Denyerek, sounds ok for me .. but it might be tricky to handle the formattings of the RTE especially if you split-string is inside one ore multiple formattings .. |
| 10:37 |
teppi|work |
*you, your |
| 10:43 |
Denyerek |
Hmm, yes. |
| 10:44 |
Denyerek |
I was thinking, you see, about when an editor wants to insert a content element between a large block of text. |
| 10:44 |
Denyerek |
right now, it's somewhat of a delicate process |
| 10:44 |
Denyerek |
open CE, cut, save, create new CE, paste, save etc. |
| 10:45 |
Denyerek |
Be really nice if you could create just one CE, and insert SPLIT markers in it as you type (Perhaps even using a custom RTE button) |
| 10:45 |
Denyerek |
Then when you save, BLAM BLAM BLAM, X enumerated CE's |
| 10:54 |
Denyerek |
I really need to figure out how to write extensions. |
| 10:55 |
Denyerek |
So many ideas, and absolutely no ability to implement them. |
| 10:55 |
tPl0ch |
Fatal error: Can't use method return value in write context in /var/www/vserver/vescon.com/www/typo3conf/ext/rk_adwords2powermail/pi1/class.tx_rkadwords2powermail_pi1.php on line 50 |
| 10:55 |
tPl0ch |
what does this error mean? |
| 10:56 |
Denyerek |
I'm gonna *guess* you've tried to write to a function ? |
| 10:56 |
Denyerek |
eg someOperation() = $var; |
| 10:56 |
Denyerek |
? |
| 10:57 |
tPl0ch |
Denyerek, no, I think not. |
| 10:58 |
tPl0ch |
http://pastebin.com/xjk0zBLQ |
| 10:58 |
tPl0ch |
and the ts was page = PAGE, page.5 < tx_rkadwords2powermail_pi1 |
| 11:00 |
tPl0ch |
If I recall correctly, the main method should run but do nothing but write the referer info to the session if there is none |
| 11:01 |
tPl0ch |
but I get the error |
| 11:05 |
Denyerek |
which line in the pastecode is the offending line ? |
| 11:06 |
tPl0ch |
if (empty($GLOBALS['TSFE']->fe_user->getKey('ses','refererInfo'))) |
| 11:07 |
Denyerek |
Does $GLOBALS['TSFE']->fe_user->getKey('ses','refererInfo') work on its own ? |
| 11:07 |
Denyerek |
wait |
| 11:07 |
Denyerek |
can you even send two params to getKey ? |
| 11:08 |
Denyerek |
Ahh yes it's 2 for get and 3 for set |
| 11:11 |
teppi|work |
tPl0ch, empty can't handle return values .. |
| 11:11 |
mosez |
hi |
| 11:11 |
teppi|work |
try to split it in two lines |
| 11:11 |
mosez |
are there known bugs depending on templavoila with fce on typo3 4.4? |
| 11:11 |
teppi|work |
$test = $GLOBALS['TSFE']->fe_user->getKey('ses','refererInfo'); |
| 11:11 |
teppi|work |
if(empty($test)) .. something like that |
| 11:12 |
tPl0ch |
teppi|work, I program php for 4 years now and I didn'T know that |
| 11:12 |
teppi|work |
didn't know that .. too .. but google gave me the answer ;-) |
| 11:19 |
tPl0ch |
teppi|work, how would I add the return value of the insertAdwordString() method to all mailforms as hidden fields? |
| 11:23 |
tPl0ch |
I found this http://wiki.typo3.org/index.php/Talk:De:ts45min#Link_zu_einem_Mailformular_mit_R.C3.BCcksprung_zur_urspr.C3.BCnglichen_Seite |
| 11:26 |
teppi|work |
tPl0ch, isn't this the solution? |
| 11:26 |
teppi|work |
adding another field in tt_content.mailform.20.dataArray |
| 11:26 |
teppi|work |
? |
| 11:26 |
teppi|work |
and maybe filling this field with an userfunction |
| 11:27 |
tPl0ch |
teppi|work, yeah, but I am not sure how to pass the data to the field. would it be 10.value < plugin.tx_rkadwords2powermail_pi1->insertAdwordString()? |
| 11:28 |
teppi|work |
mom |
| 11:32 |
teppi|work |
hm userfunction seems to be not so easy there :-/ |
| 11:33 |
tPl0ch |
:/ |
| 11:34 |
tPl0ch |
meaning for me? |
| 11:39 |
teppi|work |
yep |
| 11:40 |
tPl0ch |
teppi|work, http://typo3.org/documentation/document-library/extension-manuals/mailform_userfunc/0.0.3/view/ <- could that be sth? |
| 11:40 |
teppi|work |
tPl0ch, i'm not that familiar with typoscript and mailform rendering is a big miracle for me .. maybe ask maholtz|WORK if he has an idea :-/ |
| 11:41 |
tPl0ch |
teppi|work, gnarr, ah well, thanks anyway :) |
| 11:58 |
maholtz|WORK |
tPl0ch: find an stdWrap in dataArray - then you could use .cObject < plugin.... |
| 12:01 |
tPl0ch |
maholtz|WORK, could you give ma a little TS example that shows what you mean. Unfortunately I cannot grasp the concept you described here |
| 12:02 |
maholtz|WORK |
http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.3.2/view/1/7/#id2524361 |
| 12:02 |
maholtz|WORK |
there is a property dataArray |
| 12:02 |
maholtz|WORK |
"This is an alternative way to define the form-fields" |
| 12:02 |
maholtz|WORK |
".dataArray is added to the input in .data if any." |
| 12:03 |
breastfed |
Hello - i just installed 4.4.0 on my Mamp Server, but T3 does not set up any Database Table. I checked Connection with the Install Tool. Any Ideas? |
| 12:03 |
maholtz|WORK |
@tPl0ch: "'label' and 'value' has stdWrap properties. " |
| 12:03 |
maholtz|WORK |
so try .dataArray.10.label = testing - .dataArray.10.value.cObject < plugin.tx_... |
| 12:04 |
maholtz|WORK |
@breastfed: you used the 1-2-3-Tool? |
| 12:05 |
breastfed |
no, how do i get there? I used the Tool under "/install/index.php |
| 12:06 |
breastfed |
maholtz|WORK: would you tell me? |
| 12:06 |
maholtz|WORK |
@breastfed: i think it is the 1-2-3 tool |
| 12:07 |
maholtz|WORK |
in the first step you have to enter your database connection, right? |
| 12:07 |
breastfed |
how can i get the 1-2-3 tool - i have the Install Tool running |
| 12:07 |
breastfed |
the Database is set up ye |
| 12:07 |
breastfed |
s |
| 12:08 |
maholtz|WORK |
what happens if you call TYPO3 without /install/index.php? |
| 12:08 |
maholtz|WORK |
and what did you install? |
| 12:08 |
maholtz|WORK |
introduction package? |
| 12:09 |
breastfed |
source + dummy |
| 12:10 |
breastfed |
"install/index.php" ends in the Install Tool - look completley different than the 1-2-3 TOol |
| 12:10 |
PiMB |
hey guys, a small SQL question. |
| 12:11 |
PiMB |
why isn't it possible to do: select ( SUM ( field ) + 10 ) as points FROM.... |
| 12:11 |
maholtz|WORK |
@breastfed: ok, ignore the 1-2-3 tool then, go trough: Basic configuration, then database analyser, image processing and have an look in all configuration |
| 12:12 |
Denyerek |
PiMB: I'm gonna guess it's got something to do with SUM() being an aggregate function, and + 10 being arithmetic, and the two not happening at the same point in the process |
| 12:12 |
PiMB |
ah |
| 12:12 |
PiMB |
other question then |
| 12:12 |
PiMB |
is there some way to do what I want it to do :) |
| 12:13 |
breastfed |
maholtz|WORK: i am there now |
| 12:15 |
maholtz|WORK |
@breastfed: just read and go trough |
| 12:15 |
breastfed |
but, the DB Tables are not installed |
| 12:15 |
Denyerek |
PiMB, you could try SELECT SUM(thing) AS a, a+10 AS b ? |
| 12:15 |
Denyerek |
I'm honestly not very sure. |
| 12:15 |
maholtz|WORK |
@PiMB: does SUM(field) + SUM(10) work? |
| 12:16 |
PiMB |
Denyerek, my bad :( |
| 12:16 |
PiMB |
it is possible |
| 12:16 |
PiMB |
but I forgot to delete a , from the query.. |
| 12:16 |
PiMB |
which gave me the error, not the statement |
| 12:16 |
PiMB |
thanks anyway :) |
| 12:17 |
tPl0ch |
maholtz|WORK, when I added the plugin to the .cObject, how would I get the value the userFunc method? |
| 12:17 |
tPl0ch |
*of |
| 12:17 |
maholtz|WORK |
@breastfed: ? |
| 12:18 |
breastfed |
maholtz|WORK: i set up my DB Connection etc. But why isnt the Installation setting up any Tables? |
| 12:18 |
maholtz|WORK |
@tPl0ch: i hope so, the value should be filled with the return of your plugin, if you have only a userfunc, use value.preUserFunc = |
| 12:19 |
maholtz|WORK |
(dont forget to use includeLibs then) |
| 12:19 |
maholtz|WORK |
example: http://wiki.typo3.org/index.php/TSref/stdWrap#postUserFunc |
| 12:19 |
maholtz|WORK |
@breastfed: did you go all the steps i told you? |
| 12:19 |
maholtz|WORK |
then the tables should have been created |
| 12:20 |
breastfed |
yes and i am now in all configuration :) |
| 12:20 |
maholtz|WORK |
if not give us the error messages you got |
| 12:20 |
maholtz|WORK |
ah, soory |
| 12:20 |
maholtz|WORK |
i think it is not as clear as i had in mind that you have to use "'COMPARE" in "Database Analyser" |
| 12:21 |
atmos4 |
what's the general experience with typo3 4.4.0 - safe to upgrade (from 4.3.x) or should I wait for 4.4.1? |
| 12:21 |
Denyerek |
I've not had any issues |
| 12:22 |
Denyerek |
But my installs are usually pretty small |
| 12:22 |
atmos4 |
any pitfalls in upgrading like incompatible extensions? |
| 12:22 |
breastfed |
maholtz|WORK when i compare it tells me that the Database Tables do not exist |
| 12:23 |
tPl0ch |
maholtz|WORK, well, the plugin has no return value itself. The main method just writes to session. To get the value, I need to call another method in the plaugin |
| 12:23 |
Denyerek |
Well I didn't hit any issues atmos4, but ymmv etc :) |
| 12:23 |
maholtz|WORK |
@breastfed: sure:) but you should be able to create them now with that tool |
| 12:23 |
atmos4 |
yea, I'll give it a try, when I have some time to check if all patches I needed for 4.3.x have been integrated |
| 12:23 |
atmos4 |
there were some bugs with workspaces in 4.3.x |
| 12:23 |
maholtz|WORK |
@tPl0ch: so you only need that your userfunc will be executed if an mailform gets renderd? |
| 12:24 |
atmos4 |
translations vanishing on publish to live that is |
| 12:24 |
maholtz|WORK |
then it should be pretty easy: tt_content.mailform.30 = TEXT tt_content.mailform.30.userFunc = .... |
| 12:25 |
tPl0ch |
maholtz|WORK, but it needs to be a hidden field |
| 12:25 |
tPl0ch |
so I just use the dataArray with value.preUserFunc |
| 12:25 |
tPl0ch |
? |
| 12:25 |
maholtz|WORK |
? but you said there is no return, so you have no value for your hidden field? |
| 12:25 |
maholtz|WORK |
@tPl0ch: well, i assume that should work |
| 12:27 |
tPl0ch |
maholtz|WORK, well, the main method hs no return value, since it only reads referer info and writes to the session if none is already there. But another method in the plugin (not main) returns the value. Is that a userFunc then or is that a method in a plugin |
| 12:36 |
breastfed |
maholtz|WORK: sorry for buggin you, but there is no Link or something to Create them |
| 12:38 |
tPl0ch |
When using a method from a plugin to get data, which is not used elsewhere, is that a userFunc then? |
| 12:38 |
breastfed |
maholtz|WORK: got it running! |
| 12:38 |
breastfed |
:d |
| 12:38 |
breastfed |
thanks |
| 12:41 |
ironm |
hi atmos4 :) .. sometimes I had to change some extension's code (typo3 4.4.0 / php 5.3.2) due to php 5-3 issues |
| 12:42 |
atmos4 |
ah ok, so 4.4.0 requires php 5.3 ? |
| 12:42 |
ironm |
atmos4: I guess it doesn't ... |
| 12:42 |
atmos4 |
my production server is still running 5.2.11 |
| 12:42 |
atmos4 |
ok |
| 12:43 |
ironm |
atmos4: I run 5.3.2-1 (squeeze) |
| 12:44 |
atmos4 |
production server is running opensuse for historic reasons, so it's a pain to upgrade, I generally prefer debian which makes distribution upgrades painless |
| 12:46 |
atmos4 |
besides it's running a patches-to-hell qmail which shouldn't be touched =) |
| 12:46 |
atmos4 |
patched |
| 12:51 |
breastfed |
a dummy package is like a demo website right? |
| 12:53 |
atmos4 |
only witout the website ;-) |
| 12:53 |
atmos4 |
the dummy package contains the minimal files for a website if you use a shred typo3 installation |
| 12:53 |
atmos4 |
shared |
| 12:59 |
breastfed |
are there demos available |
| 13:02 |
maholtz|WORK |
@breastfed: sorry, was afk. what was the stopper? |
| 13:03 |
maholtz|WORK |
@tPl0ch: userFunc means only that the class and its method will be executed. |
| 13:21 |
tPl0ch |
maholtz|WORK, meaning that I need to include the plugin class with includeLibs? |
| 13:22 |
pgampe |
breastfed: use the introduction package for a demo |
| 13:23 |
pgampe |
breastfed: a TYPO3 website consists of dummy+source; the dummy are the files unique for each installation, while the source can be shared by many sites (symlinked) |
| 13:40 |
maholtz|WORK |
@tPl0ch: yep |
| 14:08 |
breastfed |
is the way building templates etc. in 4.4.0 different than 4.3.x ? |
| 14:12 |
tPl0ch |
maholtz|WORK, http://www.phlogi.net/f/t3/tsp/sp/referer_mailform |
| 14:12 |
tPl0ch |
somehow the value stays empty |
| 14:14 |
tPl0ch |
I can see the hidden field being added to the forms, but always with empty values |
| 14:14 |
ironm |
breastfed: no ... |
| 14:19 |
maholtz|WORK |
@tPl0ch: includeLibs.referer_lib instead of seite... |
| 14:19 |
ironm |
is it possible to use "tt_news search" also for already archived articles? - I am getting search results only from "non-archived" items |
| 14:20 |
Denyerec |
ironm - is the crawler crawling both active and archived |
| 14:20 |
Denyerec |
? |
| 14:20 |
Denyerec |
There's probably a flag somewhere to specify which folders to look in |
| 14:20 |
maholtz|WORK |
@tPl0ch: check if your extension gets executed (f.e. t3lib_div::debug('something')) |
| 14:21 |
ironm |
Denyerec: good question... how can I control it? .. I don't mean the indexed search BUT the internal search function of tt_news |
| 14:21 |
Denyerec |
Yeah |
| 14:21 |
Denyerec |
Honestly, I have no idea |
| 14:21 |
Denyerec |
Just throwing up suggestions :) |
| 14:21 |
maholtz|WORK |
@tPl0ch: and use preUserFunc - userFunc is not stdWrap! |
| 14:24 |
ironm |
Denyerec: thanks :) .. all news (also archived) are in same places (as before archiving) |
| 14:25 |
atmos4 |
hmm, strange, my production server strips the Content-Length header set by an extension |
| 14:25 |
atmos4 |
on the dev server it's there |
| 14:26 |
atmos4 |
probably sth. to do with gzip encoding |
| 14:35 |
atmos4 |
hmm, now that's strange: if I use a short text file for download, the Content-Length header is there. if I use a larger file it's missing ... |
| 14:36 |
tPl0ch |
maholtz|WORK, http://www.phlogi.net/f/t3/tsp/sp/-c76340bd72 . The plugin runs, and the values are written to the session. But still the value stays empty |
| 14:37 |
maholtz|WORK |
hm... check if 100.value.wrap = some|thing works |
| 14:37 |
maholtz|WORK |
same with 100.value.stdWrap.wrap = . |
| 14:37 |
maholtz|WORK |
of just test if your function retuns something |
| 14:38 |
maholtz|WORK |
seite.4 = TEXT |
| 14:38 |
maholtz|WORK |
seite.4.preUserFunc = tx_rk.. |
| 14:39 |
ironm |
Denyerek: can you make a tt_news search in your news_archive? |
| 14:40 |
Denyerec |
That's a bit personal ironm ;) |
| 14:40 |
Denyerec |
I have no idea. |
| 14:40 |
Denyerec |
I've only used tt_news twice |
| 14:40 |
Denyerec |
and both times the customer was unconcerned about search. |
| 14:40 |
ironm |
I see .. thank you very much Denyerec ;) |
| 14:40 |
maholtz|WORK |
@ironm: does your plugin render archived news? |
| 14:41 |
ironm |
maholtz|WORK: I have an archive and can list the news from there .. and read them .. but I don't have how to search in the archive |
| 14:42 |
ironm |
maholtz|WORK: is there a special setting needed? .. typo3 4.4.0 / tt_news 3.0.1 |
| 14:42 |
maholtz|WORK |
afaik not |
| 14:42 |
maholtz|WORK |
if you have an news archiv, indexed search should index it |
| 14:42 |
ironm |
what do you mean if my plugin render archived news? ..... haw can I check it ? |
| 14:43 |
maholtz|WORK |
have an look for an archived news |
| 14:43 |
maholtz|WORK |
on your webpage |
| 14:43 |
ironm |
maholtz|WORK: indexed search is another issue ... I mean the tt_news internal search |
| 14:45 |
maholtz|WORK |
ah, sorry, perhaps play around with the archiv settings - imho there was a typoscript setting where do you can define, when a news get into the archive |
| 14:45 |
ironm |
thank you very much maholtz|WORK |
| 14:46 |
ironm |
I will check the setting again maholtz|WORK |
| 14:46 |
maholtz|WORK |
hth, goog luck :) |
| 14:47 |
maholtz|WORK |
daytimetoarchive = 0 <- sth like that imho |
| 14:47 |
ironm |
merci maholtz|WORK :)) |
| 14:50 |
ironm |
maholtz|WORK: |
| 14:50 |
ironm |
datetime days to Archive |
| 14:50 |
ironm |
[plugin.tt_news.datetimeDaysToArchive] |
| 14:50 |
ironm |
If this is set, news are automatically considered as "archived", when the date from field "datetime" plus the given number of days is in the past. If "datetimeDaysToArchive" is "0" only the field "archivedate" is relevant for the archive. |
| 14:50 |
tPl0ch |
maholtz|WORK, could it be that userFunction classes always have to start with user_ |
| 14:51 |
maholtz|WORK |
ah, sounds good. or only the method? |
| 14:51 |
maholtz|WORK |
but thats different with USER, right? |
| 14:51 |
maholtz|WORK |
so use cObject = USER then |
| 14:51 |
maholtz|WORK |
sorry |
| 14:52 |
tPl0ch |
maholtz|WORK, I am pretty confused now. |
| 14:56 |
dbugger |
hey guys. Im trying to fix a newsletter system that s not working, i hoep you guys could give me a hand. The thing is i have this template (http://www.phlogi.net/f/t3/tsp/sp/-7f4e29d162) but it s not sending the "schule" attribute to the tt_address table. Why is that?? |
| 15:00 |
maholtz|WORK |
@tPl0ch: no need to be confused:) just do it one step after another. is it possible that your session has been written by your plugin? seite.4 ? |
| 15:00 |
maholtz|WORK |
have a loot in the TSref, check stdWrap preuserfunc and check USER Object |
| 15:02 |
tPl0ch |
maholtz|WORK, well |
| 15:02 |
tPl0ch |
I just copied the method into a user class |
| 15:02 |
tPl0ch |
and used preUserFunc |
| 15:02 |
dbugger |
could also be that my error is made by the config of the sysForlder? (http://www.phlogi.net/f/t3/tsp/sp/-8dd253eb4a) |
| 15:03 |
tPl0ch |
and now it works like a charm |
| 15:03 |
maholtz|WORK |
@tPl0ch: great:) so you are not confused anymore? |
| 15:04 |
tPl0ch |
maholtz|WORK, no, I am happy |
| 15:05 |
maholtz|WORK |
perfect, sorry, the user_ prefix didnt come to my mind |
| 15:11 |
aterriblechaos |
good afternoon #typo3 |
| 15:22 |
ironm |
maholtz|WORK: It looks like I have found the setting - ONLY if I change the value of "archive" to "0" (list all news) .. see http://paste.phlogi.net/archive the internal search of tt_news is able to find pattern in archived news |
| 15:23 |
maholtz|WORK |
great :) |
| 15:24 |
ironm |
maholtz|WORK: a bit strange for me ... but it works as designed ;) |
| 15:32 |
ironm |
is it possible to exclude names of links from indexing? (indexed search) .. like Menulinks etc |
| 15:32 |
ironm |
at least for the local site |
| 15:32 |
PiMB |
you can use html comments to let indexed_search now what part you want indexed and what not. |
| 15:33 |
PiMB |
<!--TYPO3SEARCH_begin--> ###CONTENT### <!--TYPO3SEARCH_end--> |
| 15:33 |
ironm |
PiMB: thanks .. great! ... |
| 15:43 |
ironm |
PiMB: should it work also for the indexed_search extension or only for the native typo3 search? |
| 15:43 |
PiMB |
indexed_search is somewhat the native TYPO3 search afaik |
| 15:44 |
ironm |
PiMB: I have indexed it new . but still getting all pages with search pattern in menus .. maybe I should clean somehow the indexed_cache or whatever .. I have cleared all caches I could |
| 15:45 |
PiMB |
you can clear the indexed search via info menuitem |
| 15:49 |
ironm |
PiMB: thanks a lot :) .. there are a lot of entries .. is it possible to delete all of them at once? |
| 15:58 |
dbugger |
hey guys. you know how to make that the plugin directmail_subscription add the information to tt_address? |
| 15:59 |
PiMB |
ironm, I believe you can delete them all with the use of the red delete button in the top and selecting that you want multiple pages to be displayed |
| 15:59 |
PiMB |
otherwise you could always truncate the tables in the DB that start with index_* |
| 16:00 |
ironm |
PiMB: I will check the first possibility ;) |
| 16:01 |
PiMB |
great |
| 16:01 |
PiMB |
good luck :) |
| 16:01 |
ironm |
yes .. it worked :) --- thanks again PiMB |
| 16:01 |
PiMB |
np mate |
| 16:02 |
PiMB |
(btw, it's possible to have multiple of those begin and end tags on 1 page) |
| 16:02 |
PiMB |
so you can be really specific with what to index. |
| 16:05 |
ironm |
PiMB: really nice .. I have deleted all indexed pages and will index them again and check results .. first only with one part |
| 16:27 |
tPl0ch |
http://www.phlogi.net/f/t3/tsp/sp/-2a313003d0 <- how would I disable caching for that |
| 16:31 |
tPl0ch |
or better, is it possible to disable cache for all mailform content elements |
| 16:31 |
tPl0ch |
? |
| 16:35 |
ironm |
tPl0ch: I am not sure if "no_cache = 1" can work only localy for the powermail plugin |
| 16:36 |
ironm |
tPl0ch: I decided to use direct_mail as a newsletter .. does power_mail have some advantages? |
| 16:37 |
ironm |
it looks like it is a good idea to exclude pages with search results from indexing |
| 16:42 |
tPl0ch |
ironm: well, that's not powermail, but the normal mailform element from typo3 |
| 16:42 |
tPl0ch |
the extension was originally for powermail, but I made a little rewrite |
| 16:50 |
tPl0ch |
tt_content.mailform.20.no_cache = 1 doesn't work unfortunately |
| 16:50 |
tPl0ch |
think it's the pages that those mailforms are in need cache disabled |
| 16:59 |
ironm |
tPl0ch: I guess you can disable the cache for such mailform pages |
| 17:00 |
mosez |
damn, the wiki is broken :( http://wiki.typo3.org/index.php/TemplaVoila/FCE |
| 17:04 |
mosez |
hum, section of elements sucks on typo3 |
| 17:04 |
mosez |
:( |
| 17:04 |
mosez |
s/typo3/templavoila/ |
| 17:07 |
Owner |
Can somebody help me how to setup the templavoila_cw ext.? I just install it, now I check the new page element -> Wizard, but under the Flexible content is blank, nothing here. |
| 17:09 |
tPl0ch |
mosez, sections in Templavoila have some bugs |
| 17:11 |
ironm |
PiMB: is it possible to exclude some pages (like search result pages) from indexed_search in another more simple way than using another html-template with emtpy "<!--TYPO3SEARCH_begin--> <!--TYPO3SEARCH_end-->" tag? .. due to the page_id or some other tags? |
| 17:26 |
ironm |
indexed_search - is it possible to exclude some pages (like search result pages) from indexed_search in another more simple way than using another html-template with emtpy "<!--TYPO3SEARCH_begin--> <!--TYPO3SEARCH_end-->" tag? .. due to the page_id or some other tags? |
| 17:29 |
mosez |
tpl0ch: i see |
| 17:29 |
tPl0ch |
mosez, what do you want to know? |
| 17:31 |
Owner |
Hey guys?? |
| 17:31 |
Owner |
How can I install some FC package elements? Please help |
| 17:32 |
Owner |
I am strating with TV |
| 17:33 |
Owner |
ironm, mosez, tpl0ch, How can I install some default FC elements in a TV?\ |
| 17:33 |
aterriblechaos |
somebody has experience with locallang-XML translation tool (extension key llxmltranslate). i want to create a translator account that is able to add translations to extensions. It works, but my translator is only able to change the default translation (german, i dont know where typo3 gets this value), as admin user i can select all languages |
| 17:33 |
aterriblechaos |
Owner: i would follow futuristic template building and start learning to create your own fce's |
| 17:34 |
Owner |
aterriblechaos, ok, but is there some default package for simple installation |
| 17:34 |
Owner |
? |
| 17:35 |
aterriblechaos |
Owner: i dont know, maybe the wec starter package contains also some fce's |
| 17:35 |
Owner |
aterriblechaos for your language, are you using the xml file for locallang< |
| 17:36 |
aterriblechaos |
Owner: yes, i am using xml files and getLL / LLL in typoscript |
| 17:36 |
Owner |
aterriblechaos maybe I dont understand what account you have to create? Do you mean how to create new language translation? |
| 17:38 |
aterriblechaos |
Owner: for plugin development i use locallang.xml files ... i want to have a comfortable backend so that the translators can work on these files |
| 17:38 |
ironm |
Owner: I don't use Templavoila anymore .. |
| 17:39 |
Owner |
aterriblechaos, so try to look on some default sys extensions how they works |
| 17:40 |
Owner |
ironm, I am also not, but my client want to have it now, do you now some default packages of FCE? |
| 17:40 |
aterriblechaos |
Owner: i think you got me wrong. i have working translations, but i dont want to edit them by myself, i want to create a translator account that adds the translated labels to these files |
| 17:40 |
aterriblechaos |
Owner: you dont need fce's to have a working website with templavoila |
| 17:41 |
ironm |
Owner: I don't know exactly what do you mean with FCE packages? |
| 17:42 |
Owner |
aterriblechaos,ironm, now if I go to new element, in the bottom page I have a header Flexible Content, but nothing below, is it empty |
| 17:43 |
ironm |
Owner: have you mapped all items ? |
| 17:43 |
Owner |
aterriblechaos, so you have to file open XML, check for user account type(if you need) and edit it manualy, create some program for editing, If I understand well |
| 17:45 |
aterriblechaos |
Owner: i think i just used the wrong extension... now i htried "extension language editor" .. should work with that one |
| 17:46 |
Owner |
ironm, now now, I though some ext, can do it by my self, but now I mean this is not so hard to map it. But the problem is, I am not understanding as well how it works the Data structure and Template object how it is included, do you now some short documentation about this meaning? |
| 17:48 |
Owner |
aterriblechaos I just know the xmlII... ext is very nice but just for xml language files... but beware for the language you sad, it should be just for .php extensions, no for xml |
| 17:50 |
ironm |
Owner: http://typo3.org/documentation/document-library/tutorials/doc_tut_ftb1/current/ |
| 17:50 |
Owner |
aterriblechaos langauge ext, "extension language editor" it should be for editing just a php |
| 17:51 |
ironm |
Owner: I used this doc 2.5 years ago ... it worked for me |
| 17:51 |
Owner |
ironm ok i go to read that. thanks |
| 17:52 |
ironm |
Owner: I don't know any good typo3 book for TV ... |
| 17:52 |
ironm |
Owner: all books I know I would NOT recommend (for the TV topic) |
| 17:52 |
Owner |
ironm ok, I was lazzy to read it, but I go to do it now:) |
| 17:53 |
ironm |
Owner: I can't remember .. it is to long go .. and I can't install TV know .. have to finish some other work |
| 17:54 |
ironm |
Owner: I am afraid there is NO OTHER CHOICE ;) .. than reading the doc |
| 17:54 |
Owner |
ironm ok, if you want, you can exmplain me whats the different between DS and TO |
| 17:56 |
aterriblechaos |
Owner: i got it working, "extension language editor" works for xml files too but i had to modify it to allow non admin user to use it |
| 17:59 |
Owner |
aterriblechaos, ah, so you to check the php code to check for some admin contitions |
| 18:09 |
shwaiil |
hi ppl |
| 18:09 |
shwaiil |
Q: I've got a project in ends that was done trough typo3. Unfortunately the client lost the admin user/pw. Is there way to modify the login credentials ? Thanks for looking |
| 18:12 |
shwaiil |
update be_users set password=md5('your_new_password') where username = 'admin'; |
| 18:12 |
shwaiil |
found this |
| 18:12 |
shwaiil |
hum interesting that, the DB the user gave me, doesnt look thats its from a CMS |
| 18:13 |
shwaiil |
can someone printscrn a DB of typo3, so I can explain this to him ? |
| 18:13 |
shwaiil |
thanks a lot |
| 18:13 |
shwaiil |
currently googline in google images |
| 18:13 |
aterriblechaos |
shwaiil: look for tt_content and pages tables, if they are there the probability that it is a typo3 db is big |
| 18:14 |
shwaiil |
aterriblechaos, thanks for looking |
| 18:14 |
shwaiil |
nop, confirmed, this is not a typo3 DB |
| 18:15 |
shwaiil |
the user, not only lost his password, as he even can't give me the proper DB server |
| 18:15 |
shwaiil |
:P |
| 18:15 |
aterriblechaos |
shwaiil: you can use domain.com/typo3/install/ to reset the passwort, but you need to enable the install tool and know the password of that one |
| 18:17 |
shwaiil |
aterriblechaos, thanks a lot for your tips. I'll come here later, I'll have to send this to the user :P |
| 18:31 |
shwaiil |
wow, this guys have the default installation password , scary |
| 18:37 |
shwaiil |
aterriblechaos, to reset the password that you told me a few moments ago |
| 18:37 |
shwaiil |
will only reset the password... ? |
| 18:37 |
shwaiil |
the content will not be lost |
| 18:37 |
shwaiil |
right ? |
| 18:43 |
aterriblechaos |
yes, it will only reset the admin password |
| 18:43 |
shwaiil |
aterriblechaos, its not working |
| 18:44 |
shwaiil |
I've MD5() a diferent one |
| 18:44 |
shwaiil |
"12345" |
| 18:44 |
shwaiil |
and tryed the default |
| 18:44 |
shwaiil |
and this gives me the hash |
| 18:44 |
shwaiil |
and shows the input box again :T |
| 18:45 |
shwaiil |
trying trough typo3/install/index.php |
| 18:47 |
shwaiil |
I can see that, both hashes are the same..but...nothing happen |
| 18:48 |
shwaiil |
localconf.php |
| 18:48 |
aterriblechaos |
using update be_users set password=md5('your_new_password') where username = 'admin'; should work .. tried it on my installation and it works |
| 18:49 |
aterriblechaos |
but also accessing the install tool should work .. |
| 18:49 |
shwaiil |
ok |
| 18:49 |
shwaiil |
just to remember I've got no access to DB =) |
| 18:49 |
shwaiil |
found that the same var was dropped in the bottom of file =) |
| 18:51 |
shwaiil |
I'm in |
| 18:51 |
shwaiil |
I've got a password inputbox |
| 18:51 |
shwaiil |
to double check |
| 18:52 |
shwaiil |
but this looks like install password :P |
| 18:53 |
shwaiil |
but at least found data about the db =) |
| 18:55 |
aterriblechaos |
at least something ;) |
| 19:08 |
shwaiil |
this seems intuitive |
| 19:08 |
shwaiil |
but... the edit option is not working :T |
| 19:09 |
shwaiil |
i'll test it @ Ie, ff didnt worked |
| 19:10 |
shwaiil |
worke |
| 19:10 |
shwaiil |
worked |
| 19:10 |
shwaiil |
=) |
| 19:43 |
Owner |
Can someone help me with TV? I set the mapped element the Element preset as Typoscript Object Path and object path I set for my custom temp.footer, the object I have defined in a Temaplte record wich is included in a root page Template in Include basis template:. I still cant view this element. It is simple HTML, with some blabla value... what should be wrong? Help me please. |
| 19:47 |
Owner |
ries hello |
| 19:48 |
titii |
ries Hello friend |
| 19:48 |
ries |
hey titii |
| 19:49 |
titii |
ries are you using TV? |
| 19:49 |
ries |
yes I do |
| 19:49 |
atmos4 |
hey, can someone point me to a simple extension using eID and typo3 db access? |
| 19:49 |
atmos4 |
I found a small tutorial for eid, but it's very scarce |
| 19:49 |
ries |
atmos4: it's very simple |
| 19:50 |
atmos4 |
do I use the normal typo3 db api after conencting? |
| 19:50 |
atmos4 |
after connecting with tslib_eidtools::connectDB(); that is |
| 19:51 |
ries |
atmos4: yes |
| 19:51 |
titii |
ries can you help me with a simple question? I have defined me element as Typoscript Object Path - temp.footer, I have defined this object in me template record wich is included a page root, but it doesnt work. I am boored. I am starting with TV |
| 19:51 |
ries |
let me ask you this, what are you trying to do ? |
| 19:51 |
atmos4 |
ries: you mean titii or me? |
| 19:51 |
ries |
atmos4: that was to you :) |
| 19:52 |
atmos4 |
ok, I have coded a filesharing extension, where you upload files and it generates a unique url to share by email |
| 19:52 |
titii |
ries? |
| 19:52 |
atmos4 |
and I wann have the download handler created as eid script |
| 19:53 |
atmos4 |
currently it is handled by the normal plugin on the same page, but I don't need to init whole typo3 and waste meory for large downloads |
| 19:53 |
ries |
titii: Did you map temp.footer already to TV? |
| 19:53 |
titii |
ries I think no. How to do that? |
| 19:53 |
ries |
atmos4: as long as you don't need access to typosctipy and TCA, then you can do it... |
| 19:53 |
atmos4 |
and all I need to do is do a simple update to the db when download is finished |
| 19:53 |
ries |
titii: map it as a typoscript object path |
| 19:54 |
titii |
ries, I told, it is mapped as a typoscript object |
| 19:54 |
atmos4 |
ries: access to ts works, although I don't really need it |
| 19:54 |
ries |
atmos4: this is how my download eID looks like : http://pastebin.org/390457 |
| 19:54 |
titii |
reis, already |
| 19:54 |
atmos4 |
It's done by dd_googlesitemap at least |
| 19:54 |
ries |
This is a line I add in ext_localconf.php $GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['rvt_importax'] = 'EXT:rvt_importax/class.tx_rvt_importax_eID.php'; |
| 19:55 |
ries |
titii: you can try it with some simple TS |
| 19:55 |
ries |
temp.footer=TEXT |
| 19:55 |
ries |
temp.footer.value=Here is my footer |
| 19:55 |
atmos4 |
ries: thx, that should get me started |
| 19:55 |
ries |
atmos4: you know how to call it, right? |
| 19:55 |
atmos4 |
yea index.php?eID=alias |
| 19:56 |
titii |
ries, and where I have to put the temp.footer? Anywhere in the template record? I can put it where is my PAGE with user TV ok? |
| 19:57 |
ries |
titii: yup! |
| 20:00 |
titii |
ries, i dosnt not work:( |
| 20:01 |
ries |
to be sure, you did put it in your typoscript template, right? |
| 20:02 |
titii |
ries try to look at this in a line of field_footermenu http://pastebin.org/390495 |
| 20:03 |
titii |
ries,this xml is ok? |
| 20:03 |
ries |
I cannot tell, there is no DTD :D |
| 20:03 |
ries |
I hardly try to change teh XML, so I cannot confirm 100%... but it looks fine |
| 20:04 |
ries |
you do have two times temp.footer in that XML... I don't think it's an issue but still |
| 20:04 |
ries |
I ususally would call it tv.footer or tv.leftmenu |
| 20:04 |
ries |
so I know they are used in a TV template |
| 20:04 |
ries |
as a hint.... |
| 20:05 |
titii |
ries, ok I rename field footer as a tv.footer ok? |
| 20:06 |
ries |
it shouldn't be a issue, but then when I read a typoscript template 4 years later, I know what it's about |
| 20:07 |
titii |
ries, ok I have it as tv.footer.... now I will declare tv.footer as a TEXT in templace record under the PAGE type, ok? |
| 20:08 |
titii |
ries, it should work like that? |
| 20:09 |
ries |
it should work like that yes |
| 20:11 |
titii |
ries, omg it works!!! it was wrong cause i used temp. instead of tv. ? |
| 20:12 |
ries |
This is because this top level object is deleted after the TypoScript code has run through, which means that it is then empty and not available for frontend output. |
| 20:13 |
ries |
so yes, temp get's deleted after Typoascript code has ran through... don't ask my way though :s |
| 20:14 |
titii |
ries, because without TV i have defined all my snippets with prefix temp. and its worked fine. Hmmm |
| 20:15 |
titii |
ries, all the way, thank you very much friend |
| 20:15 |
ries |
np.... |
| 20:15 |
ries |
Ijusted tv since the beginning, so I wound it good practise and clear for me to identify my objects |
| 20:17 |
titii |
ok, maybe my fault for choosing the prefix temp. before :) |
| 20:26 |
ironm |
re Serpiente |
| 20:26 |
Serpiente |
re ironm |
| 20:28 |
titii |
ries, If I wnat an element with Typoscript Object with Page content element together, how can I set it? |
| 20:28 |
ries |
titii: usahge of temp is not well documented I think... |
| 20:28 |
ries |
what do you mean by 'together' ? |
| 20:29 |
titii |
some thing like COA, 10=style...getRight, 20=TEXT ... |
| 20:30 |
titii |
ries |
| 20:30 |
ries |
titii: you can do something like that, but then you would use records |
| 20:31 |
ries |
to get some record off a page... |
| 20:31 |
ries |
why would you liek to do it that way?? Thee are some good reasons.... Just wondering what you are up to ;) |
| 20:34 |
titii |
ries, I dont understand, give some example please |
| 20:35 |
ries |
titii: why would you do 'getRight because that's classic template building |
| 20:36 |
ries |
so, my question is... what are you trying to accomplish? |
| 20:36 |
ries |
If you just want to have a plase to add content elements, then you can do this with TV aswel (and why better then with classic template building) |
| 20:37 |
titii |
ries no, the getRight was just an example. Instead of getRight I use the RECORD |
| 20:37 |
ries |
then you are good, right? |
| 20:37 |
titii |
ries, I think so, now it is ok? |
| 20:38 |
ries |
well... as long as you have a place now with TV to add content on a page , then yes ;) |
| 20:38 |
ries |
I di think you miss one crusial point when I see temp.col1_content |
| 20:38 |
ries |
Ahh never mind, |
| 20:39 |
ries |
you have something there |
| 20:39 |
ries |
under field_col3_content_floatbox |
| 20:40 |
ironm |
anyone using tt_news 3.0.1 (typo3 4.4.0) with native tt_news search? - ONLY if I change the value of "archive" to "0" (list all news) .. see http://paste.phlogi.net/archive the native (internal) search of tt_news is able to find pattern in archived news |
| 20:41 |
ironm |
BUT .. I am getting all news (also archived ones) listed ... is there another solution to search within archived news articles? |
| 20:42 |
titii |
ries, yes, but I create another one Page content element, with joining with some TEXT element... and I think thats enough for now, because your english is very good than my and sometimes I am not sure if I understand... so thats all for now, and thaks again ... bye ries |
| 21:08 |
atmos4 |
hmm, how can I reference a database field in an update query whn using exec:UPDATEquery? |
| 21:08 |
atmos4 |
I'm trying to do counter=counter+1 |
| 21:08 |
atmos4 |
I guess typo3 automatically adds quotes, so that doesn't work |
| 21:09 |
atmos4 |
I'd like to avoid doing a select to fetch the current counter valuee |
| 21:10 |
ironm |
no idea atmos4 *_* |
| 21:11 |
atmos4 |
hmm probably have to use sth lowlevel like $GLOBALS['TYPO3_DB']->sql() |
| 21:11 |
ironm |
atmos4: I have found a kind of workaround ... |
| 21:11 |
ironm |
anyone using tt_news 3.0.1 (typo3 4.4.0) with native tt_news search? - ONLY if I change the value of "archive" to "0" (list all news) .. see http://paste.phlogi.net/archive the native (internal) search of tt_news is able to find pattern in archived news |
| 21:12 |
atmos4 |
ironm: you mean for the query problem? |
| 21:13 |
ironm |
no atmos4 .. the native search tt_news issue (s. above) |
| 21:14 |
ironm |
BUT .. I am getting all news (also archived ones) listed ... is there another solution to search within archived news articles? |
| 21:14 |
ironm |
have you finished your extension atmos4 ? |
| 21:16 |
atmos4 |
no, spent quite some time today hunting a stupid bug and problems with output buffering |
| 21:17 |
atmos4 |
both led to same problem so hard to track |
| 21:17 |
atmos4 |
I had in one place sth like 'a string: ', $val+1 |
| 21:18 |
atmos4 |
'a string: '. $val+1 |
| 21:18 |
atmos4 |
it was missing brackets |
| 21:18 |
atmos4 |
should be 'a string: '. ($val+1) |
| 21:18 |
atmos4 |
because . has higher priority than + |
| 21:20 |
atmos4 |
hte other one was to figure out the correct way to disable php output buffering, so it doesn't eat up memory for chunked file transfer |
| 21:20 |
ironm |
good to know |
| 21:20 |
atmos4 |
lot's of stuff writtten in the comments on php online manual was actually wrong |
| 21:21 |
ironm |
it looks like there is NO other choice than php *_* ... at least not for typo3 ... |
| 21:21 |
atmos4 |
wouldn't make sense |
| 21:56 |
atmos4 |
hmm, eID is worth using |
| 21:56 |
atmos4 |
dropped memory usage of download handler script from 25.5 MB to 5.75 MB |
| 21:56 |
atmos4 |
eID vs. handling in ext pi1 |
| 21:58 |
atmos4 |
and request time down from 270 to 90 ms |
| 22:04 |
atmos4 |
hmm my chunked download code seems to be working fine, downloading 50 MB file through php uses same 5.75 MB memory |
| 22:26 |
ironm |
it sounds not bad atmos4 ;) |
| 23:20 |
ries |
atmos4: you must have a lot of downloads/sec to worry about that :) |
| 23:20 |
atmos4 |
no, but if you have large dowloads I don't wanna cloq up memory |
| 23:21 |
atmos4 |
if the php process runs for 30 min or so I want it to use as little memory as possible |
| 23:21 |
atmos4 |
if it vanished fater few seconds I wouldn't worry |
| 23:22 |
atmos4 |
not everyone has 32 MBit connection so large download only takes few seconds =) |
| 23:23 |
ironm |
atmos4: is it a new extension what you create now ? |
| 23:23 |
atmos4 |
anyways, I think I wrote really nice implementation now |
| 23:23 |
atmos4 |
ironm: still rewriting zf_filespender |
| 23:23 |
atmos4 |
alsthough nothing left of original ext |
| 23:23 |
atmos4 |
only database compatibility |
| 23:24 |
ironm |
are you going to put it in TER atmos4 ? |
| 23:24 |
atmos4 |
yes |
| 23:25 |
ironm |
I could test it with typo3 4.4.0 / php 5.3.2-1 (safe_mode) |
| 23:25 |
atmos4 |
if you like I can send you a t3x |
| 23:26 |
atmos4 |
it's not 100% ready, eg. still need to add constans and help for available ts setup |
| 23:26 |
ironm |
why not ... |
| 23:26 |
atmos4 |
but it should work with minimal or no ts setup |
| 23:26 |
ironm |
I can wait a day or two .. i |
| 23:27 |
atmos4 |
ok |
| 23:27 |
ironm |
and test it before you put it on TER |
| 23:27 |
atmos4 |
I've also added support for rate limiting downloads |
| 23:27 |
atmos4 |
although it's a bit crude implementation |
| 23:28 |
ironm |
mostly I missing a clear reference setting in most expensions .. wich some comments |
| 23:28 |
atmos4 |
because I do a sleep(19 between sending data, wehn rate limiting, ad it will result in jumping download speed |
| 23:28 |
atmos4 |
sleep(1) |
| 23:28 |
atmos4 |
because you have data->no data->data->no data |
| 23:29 |
ironm |
I see ... but it shouldn't be a problem |
| 23:29 |
atmos4 |
ironm: yea, if you have constans with help its easier, so you don't have to dig for available setup |
| 23:29 |
atmos4 |
yea, it's cosmetic problem |
| 23:30 |
ironm |
it makes me always mad and crazy to dig for some details and new features/settings |
| 23:30 |
atmos4 |
one could use usleep to work around that, but IMHO not worth the trouble |
| 23:30 |
atmos4 |
even some download hosters use such limiting |
| 23:31 |
atmos4 |
you can see it if download speed varies between fast and no data |
| 23:31 |
ironm |
it makes sence .. to limit some downloads |
| 23:32 |
atmos4 |
with some more code it would even be possible to track active downloads and limit overall bandwidth |
| 23:32 |
ironm |
would be quite nice ... such feature |
| 23:32 |
atmos4 |
but for my case there will seldom be more than one concurrent |
| 23:32 |
atmos4 |
maybe I'll add it in later version |
| 23:33 |
ironm |
exactly |
| 23:33 |
atmos4 |
it would need an additional table for tracking and code to cleanup on timeouts etc. |
| 23:35 |
ironm |
how do you configure your ext? (flex?) or just setup / constants |
| 23:36 |
atmos4 |
setup/constants |
| 23:36 |
ironm |
less work (clicks) for me ;) |
| 23:36 |
ironm |
now I have to leave .. see you tomorrow atmos4 :) |
| 23:36 |
atmos4 |
cu |
| 23:37 |
ironm |
it looks like you have needed a bit longer ;) atmos4 |
| 23:37 |
atmos4 |
yea and I've learned quite a bit php internals |
| 23:38 |
atmos4 |
all the buffering stuff |
| 23:38 |
ironm |
yes .. php 5.3 I hope ;) |
| 23:38 |
atmos4 |
well ext is compatible with php4, so not really =) |
| 23:39 |
ironm |
*_* ... I can't test it with php4 |
| 23:39 |
ironm |
anyway .. gn8 |
| 23:39 |
atmos4 |
tried not to use code that depends on newer php versions |
| 23:39 |
atmos4 |
n8 ironm |
| 23:40 |
ironm |
we can continue tomorrow :) |
| 23:41 |
atmos4 |
reminds me to update dependency on php 4.2.0 |
| 23:56 |
atmos4 |
btw. is there a tool to convert locallang,php to locallang.xml? |