***: mohrt2 has left
mohrt has joined #tikiwiki
mohrt has left
mohrt1 has quit IRC (Ping timeout: 264 seconds)
ln_ has quit IRC (Ping timeout: 265 seconds)
Caarrie|away is now known as Caarrie
mohrt has joined #tikiwiki
rodrigo_sampaio has quit IRC (Quit: Leaving.)
ttrimm has quit IRC (Quit: Later Folks!)
yonixxx has quit IRC (Remote host closed the connection)
DAME1 has joined #tikiwiki
idle- has joined #tikiwiki
idle-_ has quit IRC (Ping timeout: 240 seconds)
DAME1 has left
nkoth has quit IRC (Quit: nkoth)
mohrt has quit IRC (Quit: Leaving.)
goj|ghost has joined #tikiwiki
Caarrie is now known as Caarrie|sleeping
goj has quit IRC (Ping timeout: 245 seconds)
goj|ghost is now known as goj
Angry_ has joined #tikiwiki
Angry_ has quit IRC (Client Quit)
mohrt has joined #tikiwiki
mohrt has left
ttrimm has joined #tikiwiki
ttrimm has quit IRC (Quit: Later Folks!)
chealer has quit IRC (Changing host)
chealer has joined #tikiwiki
fabricius has quit IRC (Quit: bye)
Wilkins has joined #tikiwiki
redflo has joined #tikiwiki
daemontiki has joined #tikiwiki
daemontiki has quit IRC (Client Quit)
chealer has quit IRC (Read error: Connection reset by peer)
chealer has joined #tikiwiki
Tiki|bot has quit IRC (Ping timeout: 272 seconds)
redflo has left
marclaporte has joined #tikiwiki
ChanServ sets mode: +o marclaporte
redflo has joined #tikiwiki
rodrigo_sampaio has joined #tikiwiki marclaporte: polo, -: marclaporte smells 6.1 ***: Tiki|bot has joined #tikiwiki
Tiki|bot has quit IRC (Ping timeout: 252 seconds)
Tiki|bot has joined #tikiwiki
goj has quit IRC (Ping timeout: 245 seconds)
goj has joined #tikiwiki
Caarrie|sleeping is now known as Caarrie|away
jonnyb has joined #tikiwiki
redflo has left
GillesMM has joined #tikiwiki
mohrt has joined #tikiwiki
xavi has joined #tikiwiki
Jyhem has quit IRC (*.net *.split)
Jyhem has joined #tikiwiki xavi: polom
anyone here using tiki-index_raw.php ?
or knowing what other people use it for?
I see that it has the links to edit the page, etc. , however, I don't see the need to show the bottom bar, since you cannot edit the page in an equivalent "raw" mode, etc. jonnyb: hi xavi xavi: I was wondering if we could just remove the links to edit, source, perms, etc. from that tiki-index_raw.php
hi jonnyb jonnyb: Marc and i were looking at this too a couple of days ago - also tiki-index_p.php and a few others...
need tidying up (after 6.1) xavi: I'm preparing a talk for another conference (next week) on the usage of Tiki trackers and PluginR jonnyb: i also had a good chat with Carsten about R and it's use in linguistics (he's impressed with your work!) xavi: and for that work (behind the talk), we are looking for a way to export a file with parameters (collected by tiki trackers), but shown with R syntax (using a pretty tracker page, etc.)
I was showing the results in a link to a tiki-index_raw.php page, but those links are kind of disturbing... and I see no sense for them to be there
carsteen? R usage in lnguistics? (I didn't know about that, even if I know that R is used for *any* science) jonnyb: indeed xavi: and to be honest, what I've done is nothing to be impressed of (imho): it was just an idea of use of this "low hanging fruit" (connection between Tiki and R, taking the power of each one for the things each ones does very well) jonnyb: something to do with http://poiesipedia.com i think xavi: did coaboa attend the london tikifest? ***: rodrigo_sampaio has quit IRC (Quit: Leaving.) jonnyb: is coaboa Carsten? (i get lost with all these funny names ;) )
try tiki-index_p.php?page=HomePage instead xavi: coaboa = Carsten, yes
yes, I know, I'm also using tiki-index_p.php, but this shows other stuff/style jonnyb: ah, ok - hmmm xavi: I was just looking for a way to "export" a file made from a pretty tracker (combining text and tracker values) - a file with parameters for an R script ***: ricks99 has joined #tikiwiki jonnyb: how about via a profile? you can use the content of a page in things xavi: and that's why I was looking at the quick approach of using tiki-index_raw.php, and allow the user to save the page as simple ascii file (like .txt, but .r, in fact)
or I wonder if there any any other way (or "low hanging fruit" trick) which can allow to produce a "download file" button, based on the content from a pretty tracker page
I wish there was a way to do that without using profiles. it's supposed to be just an easy way for a user to download the contents of a pretty tracker as a file in local disk
bbl (heating late lunch)
s/"export" a file/export a page to a file jonnyb: (thought you'd gone?) xavi: just turned on the microwave
and back jonnyb: i'll have a think about downloads... xavi: ok ***: marclaporte has quit IRC (Quit: See you later! http://marclaporte.com) ricks99: hi all :-) jonnyb: hi ricks99 xavi: hi ricks99 ricks99: hi jonnyb & xavi
@jonnyb: can you include some items (just a short lis, really) from tikifest london on http://tiki.org/upcoming+news
i'd like to get it out later today, if possible jonnyb: ok, i'll try ricks99: tx! ***: luito51 has joined #tikiwiki xavi: jonnyb: potntial quick fix for me: I see that you added the optional "full" param for tiki-index_raw.php, to make it less raw
what about only showing the tiki-page_bar.tpl in the "full" version of the raw page?
I mean, in smarty, how to you say here:
{if (!$prefs.page_bar_position or $prefs.page_bar_position eq 'bottom' or $prefs.page_bar_position eq 'both') and $machine_translate_to_lang == ''}
that also checks for the "url" string in the url? jonnyb: sounds sensible - but would be better to add a new parameter ***: luito51 has quit IRC (Client Quit) xavi: my goal was a quick fix... do you mean adding a new param & pref somewhere? jonnyb: like clean or something? (also to remove the contribution/author/modified lines too) xavi: yes, even better
so right now, the condition is in the php, not the tpl:
if (isset($_REQUEST['full']) && $_REQUEST['full'] != 'n') { jonnyb: added to list xavi: I can do that right now myself, ince I know the smarty syntax (not the php one)
s/ince/once jonnyb: try: {if isset($smarty.request.full) and $smarty.request.full neq 'n'}thing{/if} xavi: thnks
thanks, jonny, this works:
{if !isset($smarty.request.clean) or $smarty.request.clean neq 'y'}
So I'm committing it with this new param "clean", as you suggested (new param) ***: qoumaq has joined #tikiwiki CIA-79: tikiwiki: 03qoumaq * r30876 10/trunk/ (7 files in 5 dirs): calendar reminder added
tikiwiki: 03xavidp * r30877 10/branches/6.x/templates/tiki-show_page_raw.tpl:
tikiwiki: [ENH]Allow printing a wiki page without the information abouty authors,
tikiwiki: contributors, nor the links from the tiki-page_bar.tpl, if "clean=y" is added to
tikiwiki: the url of tiki-index_raw.php. Useful to allow saving files produced from pretty
tikiwiki: trackers (combining text and tracker item values, to produce parameter file for
tikiwiki: computations in R scripts, etc). Thanks jonnyb for tips xavi: so, next step, is: how can I force that this page (from "tiki-index_raw.php?page=foo&clean=y") is shown on a download dialogue, instead of just as an html page?
ricks99 ? ^ jonnyb: bravo xavi - just checking it... :)
you need to change the Content-Type in the header xavi: (maybe within you wide skill range, if you dont' have you head dig down under the ground now for some reason...) jonnyb: have a look in tiki-download_file.php for how it does it xavi: @ricks99 ^
ah, ok, jonnyb , I will
tks jonnyb: i would have done the clean param in the same way is the full one - i.e. you just need to add it to the url, not give it a value ***: ricks99 has quit IRC (Read error: Connection reset by peer) jonnyb: like: /tiki-index_raw.php?page=HomePage&full&clean ***: ricks99 has joined #tikiwiki
Lusserall has joined #tikiwiki jonnyb: bit confusing to have two parameters that work in the opposite way in the same file i think xavi: ok, jonnyb , you are right
I'll fix (wikify) in short jonnyb: (sorry - picky) xavi: no, thanks indeed jonnyb: same for download param i guess? CIA-79: tikiwiki: 03xavidp * r30878 10/branches/6.x/templates/tiki-show_page_raw.tpl: [MOD]Wikify the process to call the clean param. No value needed, just "clean" -: xavi slow going (still eating mandarines while typing :-) xavi: qoumaq: I wish you could backport to 6.x (LTS) the calendar reminder... (very useful feature) ***: qoumaq has quit IRC (Quit: qoumaq) xavi: jonnyb: why not extending tiki-download_file.php with a new param, like "wikiraw=foo"?
and when wikiraw is called, tiki-download_file.php would serve the file to download, from the wiki page "foo" in raw&clean format jonnyb: xavi: sounds reasonable
but less work to add a new header line in page_raw i think (a bit cleaner too) xavi: back
mmm, to add the header line in page raw for all cases? or also, only when "download"is used as an extra param?
s/or also/or -: xavi trying xavi: jonnyb, something like:
header("Content-Disposition: attachment; filename="$pdata"");
?
at the end of tiki-index_raw.php
within this if clause:?
if ( isset($_GET['download']) and !isset($_GET['display']) ) { jonnyb: 1 mo
pls xavi: ok, np jonnyb: hi ricks99 - added a very basic list to http://tiki.org/Upcoming+News&no_bl=y#TikiFest_London_Wrapup
sorry no time for more xavi: ok, np, jonnyb ricks99: tx jonnyb jonnyb: ricks99: not good english but hopefully some points you can use
xavi: i'd put the new if before the if (isset($_REQUEST['full']) and make that } else if (isset($_REQUEST['full'])...
and why introduce a new param "display"? not needed surely?
hang on, no you're right (sorry - not focussed)
not as an else, but as you said xavi: well, display uses to be the param to indicate that the content should be displayed in the browser jonnyb: but doesn't not having download do that already? xavi: well, what should happen if a user adds both params? display and download? jonnyb: you also probably want it to be: header("Content-Disposition: attachment; filename="$page""); xavi: by mistake, or similar? jonnyb: why would you add display?
it's not there so far is it?
it just does... xavi: well, you are right, display is not at page_raw, just at download_file jonnyb: i'd use
if ( isset($_REQUEST['download']) && $_REQUEST['download'] !== 'n' ) {
so it's like the other params xavi: ok
and at the end is fine?
at the end of the index_raw file, I mean jonnyb: (i tend to use "and" & "or" etc in smarty, but && and || etc in PHP)
just before the $smarty->display lines xavi: ok jonnyb: then the output from those should be downloaded instead of displayed in the browser (i think) -: xavi trying xavi: yes, it does! thanks jonnyb! jonnyb: yay! :) xavi: the file is downloading as .html
is there an easy way to force the file type? jonnyb: have you ever noticed messages missing in messu-mailbox.php
yup - um... Content-Type header i tihnk... xavi: jonnyb: nope. just messages there that I cannot see (like in t.o)
ok, I'll at the Content-Type world jonnyb: check out http://php.net/manual/en/function.header.php xavi: s/I'll at/I'll dig at jonnyb: you probably want header("Content-type: text/plain"); ***: rodrigo_sampaio has joined #tikiwiki jonnyb: what on earth is feature_custom_home? anyone know? xavi: mmm, jonnyb, this sounds me of an ooooold hardcoded php file for custom home (back in Tiki pre 1.6...)
or the custom home for groups? jonnyb: i was looking for group home when i found it
looks like a wiki page you can't edit...
another one for the KIL list i think... xavi: +1 for the KIL CIA-79: tikiwiki: 03xavidp * r30879 10/branches/6.x/tiki-index_raw.php:
tikiwiki: [ENH]Allow the user to request the raw content to be downloaded by means of
tikiwiki: including the param "&download" in the url, and also the filename foo.r if/when
tikiwiki: the the param "&filename=foo.r" is included also in the url. Useful for pretty
tikiwiki: trackers and custom buttons to allow downloading the resulting content, etc.
tikiwiki: Thanks jonnyb for tips xavi: so let's svn the production server...
svn up
mmm, ok, moving forward! nice! Now I get an issue with the charset...
even if this is something I can avoid (I've seen a workaround)
and there is a problem with parsing consecutive pre and np tags, it seems... jonnyb: there's probably another header you can send... xavi: jonnyb: yes, don't worry for the charset, I know there must be one, I'll look for that if too annoying for me jonnyb: i still can find the group home pref
can/can't
doesn't seem to be indexed in the config search
:( xavi: aptana search instead?
maybe the pref for that old feature is gone? jonnyb: yes, found it in the source ok - but seems to be another bug... ***: mohrt has quit IRC (Quit: Leaving.)
idle- has quit IRC (Remote host closed the connection)
idle- has joined #tikiwiki CIA-79: tikiwiki: 03jonnybradley * r30880 10/branches/6.x/ (3 files in 3 dirs): [ENH] group home: Add useful keywords to prefs, make limitedGoGroupHome on by default (seems more logical) and add autocomplete to group home input. xavi: chealer: for some (misterious) reason, nowadays I can see those icons from files as anonymous also
which is the expected behavior, so ... so far, so good again! :-) ***: ricks99_ has joined #tikiwiki
ricks99 has quit IRC (Ping timeout: 245 seconds) Tiki|bot: New Forum Posts: irc - http://tiki.org/tiki-view_forum_thread.php?forumId=3&comments_parentId=39646
New Forum Posts: Who pays for it all? - http://tiki.org/tiki-view_forum_thread.php?forumId=1&comments_parentId=39647 chealer: polom
xavi: good ***: Wilkins has quit IRC (Ping timeout: 240 seconds) CIA-79: tikiwiki: 03xavidp * r30881 10/branches/6.x/tiki-index_raw.php: [ENH]Add default charset as utf-8 for the contents of the downloaded file xavi: yes, chealer :-) CIA-79: tikiwiki: 03jonnybradley * r30882 10/branches/6.x/styles/jqui.css: [CSS] jqui: Nicer background for highlight class chealer: xavi: about branches
OK, I'm on Windows, pardon anything weird coming out
xavi: about http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki/branches/6.x/lib/wiki-plugins/wikiplugin_file.php?r1=30783&r2=30787
do we need the parameter description "'Choose either File from gallery or Wiki page attachment."? it seems implicit to me CIA-79: tikiwiki: 03jonnybradley * r30883 10/branches/6.x/ (12 files in 5 dirs): [ENH] Lesser magic: Search improvements - link to correct tab for found features and highlight them, show a tooltip on the search button when re-indexing is required and a few minor visual improvements. xavi: he he, maybe not, chealer. Since I made that "File from gallery" as default, instead of the former "Choose an option", I thought in making explicit somehow that there is another option in the drop down
change it if you wish (I'm ok with it either way)
as far as the common option is the default (to avoid extra clicks for the common actions - file from file gal) CIA-79: tikiwiki: 03sampaioprimo * r30884 10/branches/6.x/tiki-upload_file.php: [FIX] list file galleries that the user has perm to upload when using object permissions Tiki|bot: Info: TikiFest London Wrapup - http://info.tiki.org/article124-TikiFest-London-Wrapup chealer: xavi: in fact perhaps there shouldn't be another option in the drop down... since file galleries can be enabled or not
xavi: yes, I don't mind but I figure translators don't want to translate more xavi: I didn't try that plugin without file galleries (I wonder if it works, or if it's even shown)
I need some help with a smarty problem
smarty seems to fail to show the pretty tracker page when the (long) template has this two lines inside (from hundreds):
http://pastebin.com/UTG7A2W8
any tip what can be wrong in smarty with this R syntax?
the rest of the template is fine: http://pastebin.com/BQE15h89
but not the two lines from http://pastebin.com/UTG7A2W8
jonnyb? ^
this is beyond my skills... (not know enough smarty to identify the potential problem, and possible workaround) jonnyb: which link? xavi: "but not the two lines from http://pastebin.com/UTG7A2W8 "
s/two lines/4 lines jonnyb: ok, got it - you mean wiki syntax? (using ~pp~)
can't see anything obvious i'm afraid xavi: nope, I mean that when I add these 4 lines from http://pastebin.com/UTG7A2W8 , the pretty tracker page shows nothing below the title of the page
ok, if nothing obvious, I'll keep doing trial and error
until I find it
thanks, btw "nothing obvious" is a good answer also for my question
mmm
apache error log shows:
<b>Warning</b>: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br /> <br /> <b>Warning</b>: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
lots of those lines for the last minutes
does it say anything meaningful to you, chealer or jonnyb?
any deprecated code used in tiki since php 5.3+? jonnyb: that's caused by those two lines? xavi: it seems so... -: xavi confused xavi: or at least, it's caused at the same time when I'm using the long (450+ lines) wiki page template for a pretty tracker page display
jonnyb: nope, that error is caused by something else, not by changes in that pretty tracker page -: xavi still confused on what was really causing that error. ***: jcyrisse has joined #tikiwiki CIA-79: tikiwiki: 03sampaioprimo * r30885 10/branches/6.x/lang/pt-br/language.php: pt-br translation xavi: jonnyb, could it be that nested if clauses in an smarty template break the smarty parser? jonnyb: is this a pretty tracker tpl? (as i said it has wiki syntax in it so i'm a bit confused) xavi: it's a pretty tracker design, with the template in a wiki page
with that syntax:
~pp~ r code ~/pp~
this is the whole section where those lines are:
http://pastebin.com/B2BQVYh9
lines 23-23 & 24-25 jonnyb: ~pp~ isn't smarty syntax though xavi: see that they are inside an if clause (lines from 21 to 28)
well, ~pp~ might not be smarty syntax but it just works to have the r code not parsed and pre-formated CIA-79: tikiwiki: 03jonnybradley * r30886 10/branches/6.x/templates/tiki-edit_article.tpl: [FIX] articles: Add warning confirm box if you are saving HTML in an article without the "Allow full HTML (for this edit session)" checked (not a great design) xavi: so only when I remove *any* if clause in lines 22+23 and 24+25 , the pretty tracker page displays jonnyb: have you tried ~np~ maybe?
(because i think you're dealing with the wiki syntax parser) xavi: I did try, and it screws the display of the whole r code (removing carriage returns, etc) ***: idle- has quit IRC (Remote host closed the connection)
idle- has joined #tikiwiki
ricks99_ has quit IRC (Quit: Get more help: Tiki for Smarties http://twbasics.keycontent.org and Tiki Essentials http://twessentials.keycontent.org) xavi: ok, running out of time. I'll re-factor the if clauses so that they are not nested
last test
for today for me CIA-79: tikiwiki: 03chealer * r30887 10/trunk/lang/web.config: [FIX] JavaScript translation: 403 Forbidden on JavaScript translation files on IIS (completes r27909) xavi: bingo! avoiding nested if clauses in the wiki page template for the pretty tracker solved the issue! luciash: hi
i am using tiki-index_raw.php
xavi: ^ xavi: hi luciash luciash: xavi: i use it to load the content of a wiki page via Ajax to Colorbox xavi: ok, I hope you don't mind my changes luciash: xavi: i load only #wikitext though
xavi: i didn't notice your changes yet xavi: mmm, the file which is downloaded by index_raw has &quot; instead of double quotation marks
anyhint on how to make that file keep the " instead of &quot;? luciash: xavi: i will let you know if it breaks something xavi: ok, and I can't load a page with index_raw inside a colorbox
I dunno why
I can with tiki-index_p.php but not with tiki-index_raw.php
ok, enough for today for me luciash: xavi: maybe you or somebody already broke it again then
it was working fine with jonnyb's fix in 6.0 iirc xavi: he he, sorry if it was me (I didn't know I did touch anything sensitive... I'm afraid it was broken for me before my changes) luciash: it was broken before xavi: ok, see you all luciash: but for 6.0 it should be working again
c u xavi ***: xavi has quit IRC (Quit: Page closed) chealer: is it "normal" that you need to clear cache after enabling a plugin for it to show in toolbar plugin help& CIA-79: tikiwiki: 03chealer * r30888 10/branches/6.x/lib/wiki-plugins/wikiplugin_colorbox.php: [FIX] COLORBOX: Broken link to help ***: idle- has quit IRC (Remote host closed the connection)
idle- has joined #tikiwiki CIA-79: tikiwiki: 03jonnybradley * r30889 10/branches/6.x/templates/tiki-edit_article.tpl: [FIX] articles: Only confirm html loss on saving, not cancel or preview.
tikiwiki: 03chealer * r30890 10/trunk/lib/wiki-plugins/wikiplugin_file.php:
tikiwiki: FILE plugin: only show enabled types
tikiwiki: [FIX] Body is only used for files from file galleries ***: rodrigo_sampaio has quit IRC (Quit: Leaving.) CIA-79: tikiwiki: 03jonnybradley * r30891 10/branches/6.x/lib/jquery_tiki/tiki-jquery.js: [FIX] jslint: Removing rogue comment start error on line 803 and fix various other warnings. ***: mcca_mikebeary has joined #tikiwiki
kiilo has joined #tikiwiki kiilo: 093 ***: USlacker has joined #tikiwiki
kiilo has quit IRC (Remote host closed the connection) Tiki|bot: Recent Bug: Tracker item: #3677 - - jscalendar drawn under tracker form - http://dev.tiki.org/tiki-view_tracker_item.php?trackerId=5&itemId=3677 ***: thraxisp has joined #tikiwiki
kiilo has joined #tikiwiki CIA-79: tikiwiki: 03jonnybradley * r30892 10/branches/6.x/ (3 files in 3 dirs):
tikiwiki: [ENH] search module: Automatically go to page on enter key if a page was
tikiwiki: selected from the autocomplete, don't put all the defaults into the module admin
tikiwiki: form, change "go" to "titles" (and so make buttons a little smaller) and various
tikiwiki: other fixes. ***: jonnyb has quit IRC (Quit: I am going outside... I may be some time...)
USlacker has quit IRC (Quit: KVIrc 4.0.2 Insomnia http://www.kvirc.net/) chealer: hi thraxisp thraxisp: 'afternoon chealer: regarding #3677, which exact version do you use? thraxisp: chealer: 6.0rc1 (rev 30671 from svn) chealer: thraxisp: is minify CSS enabled?
or can we see the site? the problem is CSS property z-index thraxisp: chealer: no. The site is at www.cbbca.ca, but you need a registration to see the trackers. Self register and I'll set you up. CIA-79: tikiwiki: 03jonnybradley * r30893 10/trunk/ (31 files in 14 dirs): [MRG] Automatic merge, branches/6.x 30869 to 30892 chealer: thraxisp: I just registered as "chealer". it will need to be validated too
thraxisp: OK, I put jscalendar at z-index 6 but it's beaten by .tabcontent at z-index 200
thraxisp: if I don't fix that in the next few days please remind me thraxisp: ok chealer: (in Coelesce) ***: ttrimm has joined #tikiwiki thraxisp: Is there a way to embed one wiki page in another? I want to write a short page that is used in several other pages, but not copy and paste the text. chealer: thraxisp: the INCLUDE plugin thraxisp: thanks. I didn't see that one. ***: olinuxx is now known as graciaspassifide
graciaspassifide is now known as olinuxx
mohrt has joined #tikiwiki
rodrigo_sampaio has joined #tikiwiki
mohrt has left