New Forum Posts: Pasting text - keeping formating - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=37342
tikiwiki: 03jonnybradley * r27471 10/branches/5.x/lib/articles/artlib.php: [FIX] Make jailroot when categId is supplied consistent with the rest of Tiki (e.g. if categId is not in your jail it shows nothing)
polom
hi all :)
I need to create wiki page from a form that user will submit, form will have page name and other information that will become page headings once page is created, any suggestions on best way to do it?
hi chibaguy and ricks99 (from university)
genexbs: I don't know for sure, but did you check if there is a tracker field which can do that for you?
not tracker
I mean, did you check the documenation through http://doc.tikiwiki.org/Trackers ?
i m working on website related to projects, user will have to "register project" using form
that form will create a wiki page
"form" in tiki are handled through the tracker feature
project name will become page name
but I don't know if it's already coded, that from a tracker you can created new wiki pages
ok let me check that then
thanks
oh well, for sure you will be able to do that through "data channels" (magic words appear again). but that's a very advanced feature
if you are brave enough (and experienced-enough tiki power user), you can see some description through http://doc.tikiwiki.org/Worspaces
this is the future of Tiki, but just a few power users are able to (=Have learned already to) use it
and I'm not one of them. I hope I will, but not yet. And that page was written recently, even if the code is there since almost a year, afaik
or in theory you can use the profile plugin, with a simple profile for your new project, etc. There is a profile (work in progress, afaik) about profile management... it should be linked from the doc.tw.o/Workspace page, afair
hth
and profile management is easier than data channels. I'ts an advanced feature, also, but more people are able to use it (I'm starting to use it with success)
s/I'ts/It's (rusty English, or rusty fingers.... I wonder what's worse)
hi xavi
@07genexb01 i *think* trackers can do this
not 100% sure, thoguh
i *think* pretty trackers has a way to create a page
xavi, you were talking about the Artisteer theme program?
genexbs: http://doc.tikiwiki.org/Page+selector or datachannels as xavi said
hi chibaguy , nope, not me
oh, ok. I can't remember where I was reading that, or who said it.
Anyway, it's a windows and mac program for making themes for wordpress, joomla, drupal and some others, or HTML templates.
A commercial program.
Maybe it was Pascal Saint-Jean.
chibaguy: yes it was pascal on the devel
ah, ok.
:-)
New Forum Posts: Module will only show contents to Registered users despite settings - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=37345
polom
xavi: do you remember that "page" type field ? ;)
hi luciash
hi ricks99
hi luciash :-) yes, that's why I first pointed that user to read the tracker documentation
genexbs: yes, tracker field type page can do that (i am 100% sure)
but I was not sure
ok thanks for the help, I m trying this
mmm, I'm facing some problems with pretty trackers. How can I escape the names of {$f_1} and similar so that a plugin call doesn't have conflict with it?
I'm need this with PluginR,... but this syntax in the tracker template: {R()}{$f_6}:{$f_7}{R}
is sending that {$f_6} to the R program in the server, and R doesn't understand it...
http://dev.tikiwiki.org/PluginR#wiki-plugin_r.php
how can avoid this problem in PluginR?
xavi: hmm, a tough one
xavi: how come it doesn't send as value of the tracker field instead ?
good question. I don't know enough php to understand all the internals of pluginR...
does PluginR parse data content or not ?
but the wiki page shows the error from the R console
parse data content: not, and that's another thing that would be very useful
i don't see the error on http://dev.tikiwiki.org/PluginR#wiki-plugin_r.php
yes, it's from R...
hold on, I'll make my test environment a bit more public
(it's from work at university, and I might get a new contract to produce easier interfaces in html to manage R scripts.... that's why PluginR might make things very useful for such type of work)
luciash: http://cochise.bib.ub.es/tiki5svn/tiki-index.php?page=template
the message in red:
Error: unexpected '$' in "{$"
comes from R in the server
xavi: ok, but it is only happening when you look at the template directly, right ?
nope.... see this:
it's understandable
oh
http://cochise.bib.ub.es/tiki5svn/tiki-index.php?page=company%20directory
ah, hold on... more perms for anons to view it....
yep :)
that's it, reload the last page
company directoy, etc.
btw, that profile for that pretty tracker demo is missing a perm to use the "template" page as wiki tracker template
I'll add that before I forget....
mmm, can a user add local perms on objects through a profile?
xavi: i see
xavi: a user ?
never mind, I found it
http://profiles.tikiwiki.org/Permission+Management
I meant I didn't know how to do that, in case it was possible (I was doubting it), but it is possible
xavi: i don't understand why it doesn't parse {$f_6} inside the plugin data to the field value before parsing the plugin itself
can you try with {$user} instead ?
ok, thanks for the tip. there I go
or {{user}}
:-( blank page
I'll enable error messages
the template is this: http://cochise.bib.ub.es/tiki5svn/tiki-index.php?page=template
can you enable view source for anon ?
yes
tnx
granted on the template page
mmmm, however, it has to be enabled somewhere, isn't it.... for variables like {{user}} to be shown...
xavi: yes, enable it on Admin > Editing & Plugins
xavi: btw, http://profiles.tikiwiki.org/tiki-index.php?page=menu has now duplicated link (it is already in the top menu)
xavi: ah, i meant you put the user test inside the R plugin code
ok, there I go...
http://cochise.bib.ub.es/tiki5svn/tiki-index.php?page=Company+Directory is visible to anons also
xavi: you want to figure it out yourself or give me admin account there if you like
item removed from wiki menu (thanks, I didn't notice that it was there)
yes, no problem (thanks)
once enabled that setting (argument variables), I notice that CODE plugin is not capable of showing R syntax inside. It's parsed even inside a CODE plugin call
xavi: with the menu the same happened to me :-p
:-)
I wonder why CODE is not able to show the R syntax
user luci or luciash ?
luci
i meant instead of
{R()}{$f_6}:{$f_7}{R}
{R()}{$user}{R}
yes, yes, I know....
okidokie
luci AT tw.o
ok, easy, thanks
ok, there you are
sending pass through email
I can't use pidgin from uni, just webchat for irc, and I can't send pm from here, it seems
tikiwiki: 03sylvieg * r27472 10/trunk/lib/profilelib/profilelib.php: [ENH]datachannel: to be able to use {{user}} and other in the yaml
fine , i am in
you can enable minichat module there ;)
:-)
xavi: out of ideas, it seems too complicated to me, it seems to parse differently than the rest of the plugins
the content
ok, thanks luciash for the feedback and your time
since I need this for work, I'll keep trying and I'll ask someone else when I get stuck
time to go back home & luch
cheers
by allowing HTML in WIKI pages - does it weaken the site security and people can do something bad to the site ? or is it safe to use ?
potentially, yes. i suggest using the HTML plugin instead. it allows you to approve any HTML coding before it is "live"
ricks99: okie thanks
ricks99: means we should not enable WXYIG editor and instead use HTML plugin?
can still use plugins with wysiwyg editor
Bilal: it doesn't explicitly weaken site security but can allow malicious users insert hidden tags and collect other user's private data via methods such as "iframe injection" etc.
wb xavi
hi :-)
sylvieg, I need your help & expertise . I need to know how to extend PluginR to avoid sending variables from a tracker wiki page template when it's in the template stage. So that R plugin sends values from pretty tracker to R at the server, and not sending the variables to the R in the server....
example: see test 4 here: http://cochise.bib.ub.es/tiki5svn/r_test
when this is in a template: {R()}{{f_6}}:{{f_7}}{R} it's sent to the R program in the server
sorry , this: {R()}{$f_6}:{$f_7}{R}
and R doesn't know what is $_f6, etc.
do you use a tempalte or a wiki page?
Instead, I need to send just the output from the pretty tracker varible to the PluginR call
try to use a template and the syntax to put a plugin in a tpl
template.... hold on, I'll show you the real example in the template....
template as tpl or tempalte a wiki?
otherwise I do not know how to do
http://cochise.bib.ub.es/tiki5svn/tiki-index.php?page=Company+Directory
template is a wiki page: http://cochise.bib.ub.es/tiki5svn/tiki-index.php?page=template
sorry, let me clean a bit the template...
cleaned
and this is the only item in the tracker: http://cochise.bib.ub.es/tiki5svn/tiki-view_tracker_item.php?itemId=7&trackerId=1&show=view&reloff=0&cant=1&status=o&trackerId=1
try a .tpl and use of the smarty block wikiplugin
aha.... thanks for the tip...
(otherswise it will take me hours to go inseide smarty to know when each part is executed...)
a .tpl, you mean in a file in the server
?
yes
ok, I'll test
tikiwiki: 03sylvieg * r27473 10/trunk/ (2 files in 2 dirs): [NEW]memberpayment: param to limit the membership payment only top the current user
sylvieg: do you mean this syntax: {R()}{literal}{$f_6}:{$f_7}{/literal}{R}
?
hey guys how do I solve this
because it sais: No field indicated
s/sais/says
ADONewConnection: Unable to load database driver
Invalid db object passed to TikiDB constructor
sudo: tiki version? step?
4.2
and step or url?
connecting to mysql db
you probably need to use the smarty {wikiplugin}
... when do you need the page working?
sylvieg: ok, I'll test
I have soem job to finish now
I can have a look later today
at what stage do I use the plugin sylvieg>
ok, thanks, or tomorrow, if you prefer. I need to know whether it's possible to user pretty trackers with pluginR by friday or so....
duo, it was for me
sudo , it was for me
ok
sudo, what were you doing? installing or what? please provide more details
installing
sudo - I was speaking to xavi not you
xavi when setting up the DB connection
does your server meet the http://doc.tikiwiki.org/Requirements ?
which requirements are these?
read the page
"please"
xavi I have mysql running
sorry, sudo, no idea: I've never seen that error before. it compalins about a db driver. Ensure that you have AdoDB and/or PDO properly installed and working in your server. Ask your sys admin if needed.
I am trying it on my local host
which OS?
ubuntu 10
sylvieg, I can't make it work with tpl on disk, (using this syntax, in case it matters): {literal}{wikiplugin}{R()}{$f_6}:{$f_7}{R}{/wikiplugin}{/literal}
@sylvieg: so I skip it for a while. Thanks ofr having a look later today or tomorrow.
@sylvieg: I'm interested in using this through wiki pages as templates,
@sudo: then, you are definitively missing some base packages
there used to be a doc. page for installing on ubuntu.... (I wrote it, years ago)
did you search through doc.tw.o?
you can search for "ubuntu", or just look around the http://doc.tikiwiki.org/Installation pages...
you might be needing some dependencies for the mysql-server, mysql-client or mysql-php packages, etc.
xavi: does wikiplugin smarty block really exist ? i heard onyl about "wiki" block ...
and i think the literal block should be inside the R plugin data, not outside
s/onyl/only
luciash: not much idea myself. Just tried a bit ...
anyway, i think your goal is to use wiki as template
yes
anyway, I have to study http://dev.tikiwiki.org/tiki-index.php?page=Hello+World
oups, there are weird characters in the hello world page!
$pref_name can be ‘theme’, ‘allowMsgs’…
:-p
must be devs playing with the fire (UTF-8)
hello
hi kerry
bottom line: it's very difficult, then, to say hello world in tikish lang ;-)
im having an issue and i wanted to know if anyone knew how to fix
we'l try, kerry
we'll
hi, btw
im new to mytiki but was give the responsibility of setting it up for people.. somehow i managed to delete the editor category and now when anyone except admins log in, it says permission denied on the homepage
everything else works.. but they cant see the homepage!
url?
(if public)
of course, this is a perms problem
kerry: so the question is ?
if might be category permissions.... or just missing global or local permissions
i was looking on how to fix
oh its not.. its for the library
ive been trying to add and take away permissions to get it to work
kerry: you mean "Editor" *category* or "Editors" *group* ?
the group of editors
and i cant figure out which permission allows people to see the homepage
just re-create the Editors group
then you need to assign the people to that group
include Registered to that group and assign any extra permissions to that group then
tiki_p_view permission is that - inclusion of Regsitered should do the trick anyway
argh, this doc. page is horrible for new users: http://doc.tikiwiki.org/Permissions
oh i know ive tried to read it a dozen times
its literally been a month that ive been trying
sorry kerry, that paeg is awful...
kerry: i just told you what to do (basically)
keery, in the meantime, besides luci's explanation, and before the official doc. page is improved, you can read this: http://twbasics.keycontent.org/How+Permissions+Work
ricks99 ?
thank you. im trying to click on the tiki_p_view and i don't see that one.. there's tiki_p_admin and Can view action log (tiki_p_view_actionlog)
but no plain view
(tiki_p_view_templates)?
how about that one
nope
tiki_p_view , as reported in the official doc. page
hmm ill keep looking
kerry, tiki version?
for curiosity
it should be the same perm in all
4.1
but just to guide you through the interface, if needed
did you try to list all perms for all features, and then search for that perm through the browser?
and, are you using old interface to manage perms, or new one?
new one is explained in http://doc.tikiwiki.org/Tiki4
"explained": "briefly presented"
thanks im logging it out and in to see if i got it
darn it
i did tiki view and i added the registered
and i still cant see it
kerry, suggestion: play with it with two browser programs, one for admin, and one for a registered user
ooh good idea
tikiwiki: 03sylvieg * r27474 10/branches/5.x/lib/tikilib.php: [BP/r 27355][FIX]parsing: leave alone and do not add
the is_html data - the defautl feature_wiki_paragraph_formatting and feature_wiki_paragraph_formatting_add_br should work now for both wysiwyg and tiki
thanks sylvieg for improving (fixing) it! :-)
I am little worry about the side effect people should probably review the setting...
side effect? they'll loose some br you mean?
just add a note in ((doc:Upgrade)) and/or ((doc:Tiki4))
and/or release notes
I think I will rollback... :-( not sure
tikiwiki: 03sylvieg * r27475 10/branches/5.x/lib/tikilib.php: [FIX] rollback - sorry has side effect
when you're assigning permissions, does it matter what default group you're in?
yes, default group doesn't matter, afaik
default group is for showing homepage, etc. afaik
darnit.. this group has like every permission except admin and they still cant see the home page
kerry, do you have category permissions for that homepage?
that was the tiki_view right
kerry: nope. the question is simple. Let's split in simpler:
(1) do you use categories?
yes
(2) do you have your homepage categorized?
sorry i swear im not an idiot
i dont know how to find that
edit page, and look for the tab where catgories are set/displayed
actually i just went into admin categories and there weren't any
ok
so, you click in pems of tha tpage, and you see....
ok, kerry, see this: http://demo.tikiwiki.org/4x/tiki-index.php
login as admin
pass in private message. Do you see it?
and then , check this: http://demo.tikiwiki.org/4x/tiki-objectpermissions.php?objectId=HomePage&objectName=HomePage&objectType=wiki+page&permType=wiki
you should have it similar to the previous page
hth
umm no? where's oh wait
got it
very creative ;)
anyway, remember to upgrade your site to 4.2
or whatever latest release is for the branch you are using at any time
ok lemme try
i cant get to that area in mine though
you cannot. where can you get?
do you see a button called "permissions" at the bottom of the page?
s/page/homepage
sorry i didnt se that you typed i was trying to google it
but no.. i dont have a permissions button
wiki page: Special Close If an object is not in the special section, then only the default perms are on Object Group Permission Reason Company Directory Registered tiki_p_view Special HomePage Anonymous tiki_p_view Special
oh that didnt come out right
whats the special part
HomePage Anonymous tiki_p_view Special
thats what it says
Trying to add permission to a wiki page? This may help: http://twbasics.keycontent.org/Adding+Permissions+to+Pages
ricks ive been trying for a month.. i have permissions set up, EXCEPT the homepage
only admins can see it
Is it in a category?
no.. but when i click on object permissions its in a category called special
remove it from the category
how?
1. Edit the page
2. In the edit window, click the CATEGORY tab
3. Un-select any/all categories
4. Save the page
there's no edit page button
oh!
is it the html thing
This is a *wiki* page, right? not HTML?
OK, your home page is an HTML page?
its a combination of a bunch of stuff
like recent posts
and a welcome post
right, but is it a *wiki* page?
when you are logged in as the Admin, you should have buttons at top/bottom
i believe so
1 of them should say "EDIT"
well im not logged in as admin.. but i have admin permissions
is that different?
yes
(maybe)
depends on which admin permissions you have
ok so im on my homepage and clicked edit
but its not... liek a big edit for the whole page.. just for the text part
ok. on the edit page, do you see a CATEGORY tab?
nope, just tools and properties
do u use categories on the site?
is the category feature enabled?
when i click on object permissions there are categories and yes its enabled.. but i dont think anyone ever set up our own
"object permissions"? you mean clicking the PERMISSION button on a wiki page?
no.. when you click on groups.. then manage permissions.. then object permissions.. thats the place where it says that the homepage is in the "special" category
oups, got distracted for a while. back
rick has been kindly trying to help my uselessness
great, ricks99 is helping you kerry
i went to the object permissions thing you showed me.. and there isnt a one for homepage
but homepage is in one called special
kerry, can you write the url of your page, please (remove the domain, if you wish)
so that we may know what type of homepage is
http://hslwiki.hsclib.sunysb.edu
you can have the log in.. i dont care
theres nothing in it
http://hslwiki.hsclib.sunysb.edu/tiki-index.php
Yes, I meant that. so that it's a wiki page
then, do you have a full admin acount there¿
?
i think so
the account "admin"
i didnt set it up
yeah
no
can you log in with this account, please?
im just in the group admin
it may not be the same
you need to have the tiki_p_admin
regardless of the name of the group you are at
where can i see that
nope. Please, can you log in as "admin"?
that will be easier
im calling the guy with the password
and this way, if you have any problem again, you can log in as (full) admin to see what happened, and fix it if needed
until you master tiki permissions. then you can use whatever username provided that it's in a group with the permissions you need, etc.
ugh. he set it up and was like.. figure this out and gave me my own username
btw, you need to request to have GD installed in the server
ask your sys admin about it
whats gd
and in the mean time, can you set your homepage as another page?
ugh he isnt picking up.. sure..how do you do that?
it's a package in the server to produce graphics
ok, kerry, can you go to tiki-admingroups.php yourself wity your username?
oh hey!
kerry?
ok he called
and im in as admin
go to your wiki homepage, and click on the "permissions" or "perms" button
at the bottom of the page
for later: until you don't have
GD installed
ok
remove teh "Anti-Bot verification code" setting
otherwise, no user will be able to register
ok
so im @ the perms thing
ok, I think I got an idea of what can be wrong, looking at (what I can see from) your site
New Forum Posts: File Gallery not displaying sub folders/gallery - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=37347
hold on....
OH EM GEE
xavi u fixed it
i would give u the biggest kiss ever right now if i could
did I?
YES
oh thank goodness
ugh
telepathy work or what?
you are a genius
:D
lol
anyway, I was going to say (I hope I don't break it now :-) ): check here: tiki-admin.php?page=wiki
and ensure that you have set some Wiki page as homepage
and check here: tiki-admin.php?page=general#content3 that you have Wiki set as homepage
in the drop down
where do i do that
foloow the relative url's I gave you a moment ago, kerry
and remove the permission to edit pages from anonymous, that seems to be granted as global perm
even if the page doesn't open for editting (endless loop)
ooh ok
I would recommend that you ask your sysadmin to review that server.
and keery, I would recommend you to have a local copy of your site with your own testing environment, so that you can split server problems in your univ. server, from tiki config problems.
lol good idea
ok, enough for me for now. I need to disconnect for a while, and do some other stuff. Good luck, kerry
thank you thank you!
New Forum Posts: only admin can see an image on a wiki page - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=37348
luciash: in case you know how to fix. there is a display problem in tw.o with the search bar on the black top bar below the header. the drop down to select where to search for is unclickable....
it shouldn't be shown, or it should be shown somewhere else to allow users to drop down the list
tikiwiki: 03xavidp * r27476 10/branches/5.x/installer/tiki-installer.php: [FIX]Last reference to old log updated to new logo
changi: already seen that, tnx :)
luciash: do you remember a ciommit you did - sorry october 2006
http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki/trunk/lib/tikilib.php?r1=6903&r2=6904
I have problem with it ... I have some
are no more added because the inTOC =-1 s/needs because if I do !xxx%%%yyy - I generate a br mmm, usability bug, I presume: tiki_p_edit_categories in 4.2, it's described as "Can edit items in categories", but I presume it should be described as "Can edit categorization of items" sylvieg and luciash ? any hint? for me it is the same - not an English speaker my students noticed that: they have "Can add objects in the category (tiki_p_add_object)" and "Can remove objects from the category (tiki_p_remove_object)" so that they can create new pages and categorize them but when they make a mistkae, they can't edit the categorization of that page I confirmed it right now the checkboxes of category selection are greyed out ok, don't worry, I'll find out if I'm right or not... trial and error <5 min, and I'll know brrr, there is some bug somewhere.... my students can't change the category of a page.... (Tiki 4.2)... I'll dive in the code... (I hope I don't sink in this jquery thing) tikiwiki: 03sylvieg * r27477 10/branches/5.x/lib/tikilib.php: [FIX]parsing: After a FANCYTABLE with a cell containing
are no more generated because the inTOC is decremented as tehrhe is a remove_object) || isset($cat_object_exists) && ! $cat_object_exists; what does it mean in "human" words? the user can change the category if $can (?) and if it has the permission to remove objects (my users have that perm), OR the object is categorized and the category exists???? ^ sylvieg ? canchange is set to true if you can modify the category of the object and the category can be removed - or object has no categories this makes no sense for me svn blame ce commit was done lph 8/2009 [MOD] Add support for dynamic group names from profiles and multiple fixes and I did on sept 2009 notice: please verif tikiwiki: 03changi67 * r27478 10/branches/5.x/lang/fr/language.php: [FIX] spelling mistake oh well, sylvieg, I presume that there is sometrhing wrong with it.... since users with the perm to add, edit and remove, can NOT modify categorization of pages before commit 20616 - it makes more sense - you can change a categ if you can modify the categs of an object and you can remove remove objects from this categories can you ping lph (as Quality Team) to check it, or so? or what is the suggested procedure? no real procedure I can provide a testing ground for him if needed, where he can reproduce it cvs list + copy lph and me mmm, are all dev supposed to me subscribed to the cvs list? s/to me/to be all the dev are supposed - but lph is a known exception but how many emails do you get per day on that list? I fear that extra email load on my email box... = number of commits + 1% additional xavi: not a lot xavi: depends if we are in a release process :) xavi: or a QT validation period (like now) ok, ok....I?ll subscribe subscription request sent and email sent from that email I hope it's queued until someone approves my subscription request anyway, sylvieg and lph in cc xavi: welcome on board :) well, not yet (I hope my request is lost somewhere in the internet and thus, I avoid getting more email load :-) ) argh... I can't change from wysiwyg editor to text editor any more... (in the same Tiki 4.2 with my students...) you can switch back.... perhaps missing settings but many pages already with wysiwyg content... I fear things getting worse (Murphy's law) I'll do a quick change did you enable htmlpurifier yes, it's been enabled since the early days... I wonder what have happened without it... :-/ what might have happenned Hi, I'm desperate. Can someone please look at http://imagebin.ca/view/UonHuq.html and http://smradius.org/tiki-index.php. I just upgrade and now the site looks bad. Theme is the standard tikineat.css. Suggestions on what went wrong are appreciated. rockroach: tikineat.css is no more standard read the documentation pages for whatever version you are using http://doc.tikiwiki.org/Tiki3 - http://doc.tikiwiki.org/Tiki4 or http://doc.tikiwiki.org/Tiki5 and of course, http://doc.tikiwiki.org/Upgrade xavi: I compared the my backup to the the new tiki tarball and it's still there. sylvieg: no luck, I fuly disabled wysiwyg editor, but pages (that were created with wysiwyg editor) are edited in palin text, fine, but with all html tags in it :-/ rockroach: which version are you using? old and new? need to swith the page to allow html xavi: Upgraded to 3.5. rockroach: did you cleared your browser cache? (just checking) and see whatevernotes you can find in http://doc.tikiwiki.org/Tiki3 , http://doc.tikiwiki.org/Upgrade and http://themes.tikiwiki.org about changes in default themes when upgrading to tiki3 hth sylvieg: the page is showing all right. It's at edition time, they see all the html tags So I can't disale wysiwyg editor, I guess. I wish I could convert it to wiki syntax.... but the button stopped working the only thing between yesteerday and today is language.php updated (as the one in proposals/4.x/lang/ca/language.php ), but new strings are fine, afaik, and eveything displays ok, afaik I doubt there is a problem in my catalan translation... quick test: I'll test with english interface and clearing caches, etc just in case xavi: I read the Upgrade doc's before upgrading and followed it diligently. A quick look through Tiki3 themes section hasn't enlightened me. btw,m this is one of the (400) pages being edited by students with wysiwyg and lots of html grabage inside): http://sima.pangea.org/tiki-index.php?page=Composici%C3%B3+de+l'aire rockroach: "quick look" seem it's not enough. follow my tips, please. Or first, change them to thenews.css, to see if the display is alright (and clear tiki caches, and your browser caches) s/change them/change theme xavi: I have tried to repeatedly refresh my browser and tried different things over the last 2 hours. Still no improvement. "refresh" is not "clear browser cache". Do you understand the difrerence? xavi: I forgot about the cache's, will try that now and new theme too. xavi: Yes I do. rockroach: another tip: ensure that you upgrade on a new folder in your disk, and not just ocpying new files over the old ones at least, while you don't master the theme files (you might have interference of old tpl's, at leat, in the new installation) xavi: Upgrade doc's said copy over, so I did. When that didn't work I backup and tried new install. That looked even worse. Something is seriously weird here, but I haven't been able to figure out what. xavi: Present site is return to that backup. "copy over": bad instructions.... I can tell you. Someone refactored documentation, and forgot that case when old tpl files are in place, and new themes don't expect them (old) in place from older installaation of the same theme rockroach: did you test with thenews.css? xavi: Busy clearing cache. Will try new theme shortly. argh, bloddy language change, it's an issue with my last language changes! xavi: thenews.css puts everything where it's supposed to be, so that's working. what I presumed so that, easy fix for you: go to your ./templates/ and remove everything (keep the ones in your backup) and put there just the new ones from the 3.5 installation mmmm, and just in case, do the same with your ./styles/ folder (delete everything inside, and copy from the 3.5 installation package) thjen you should have your tikine*.css theme working hth xavi: Will do. and if that works, please improve the docs about Upgrade is there any suggested way of migrating images from image galleries to file galleries? Didn't find anything on the web or in doc/devtools or so. wiki documentation has this risk: someones oversimplifies documentation, forgeting those cases that were described before amette: welcome to the vaporware world! :-) *Didn't find xavi: ah, I feared so - thanks ;) if you find anything, please tell me! :-) ok, I will :) Well, at last, when image galleries get [KIL]-ed, there must be developed some script or such... ;) => I hope image galleries don't get killed soon, at least, not before vaporware vanishes and real code bug-free shows up do you think file galleries are not yet good enough? I would like to move over and am just playing around and testing out. sylvieg, again your expertise: my change was related to some single quote (apostrophe in Catalan, as in French), but the translation and php syntax of that file is correct: http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki/branches/4.x/lang/ca/language.php?r1=25955&r2=27426 I think it is basically a very smart move :) amette: yes, in theory, yes. But in the last 6 months I had to use image galleries in two sites for production (using 4.x) because of issues with file gals sylvieg: line 4132: // "Switch Editor (wiki or WYSIWYG)" => "Switch Editor (wiki or WYSIWYG)", "Switch Editor (wiki or WYSIWYG)" => "Canvia d'Editor (wiki o WYSIWYG)", so, I presume some single quote somewhere in tiki 4.x code (at least), I'll check around... xavi: ah, damn, that's a pity! But thanks for the info, I keep testing around! :) I got it, I think! line 1464 in toolbarslib.php (proposals/4x): $this->setLabel( tra('Switch Editor (wiki or WYSIWYG)') ) so I guess I can change it for "": $this->setLabel( tra("Switch Editor (wiki or WYSIWYG)") ) xavi: Deleting templates/* had unintended side effect. Custom Paypal module went bye-bye. It was in templates/modules/. Thank goodness for backups. :-) "custom" code, has to be re-added, of course that's why backups are for but this way, you only add what you need, and not the old tpl files which are breaking your display xavi: You where right about tikineat.css. It isn't in new tarball. No idea how I saw it there earlier. tikinewt.css maybe? slight difference in name , but different them it should be described in the doc pages at themes.tw.o but also, it *should* in doc.tw.o/upgrade* pages xavi: Will look. Thank you very much for your help, it is most appreciated. I was about ready to pull my hair out. :-P :-) I know that feeling you are welcome and please, consider helping the community by improving the docs upon your experience xavi: I will. The doc's as they stand will bite some users in the butt. I need to get sleep now and will see what I can do tomorrow. thanks heaps, rockroach :-) g'night Pleasure, xavi. Goodnight. :-) mm, I can't fix the problem with switching wysiwyg editor to normal if langue is catalan re I've changed all single quotes in tra('') calls, for tra("") calls, but no way, ... can i help somehow ? I presume that there is some problem here: return $this->getSelfLink('switchEditor(\'wysiwyg\', $jq(this).parents(\'form\')[0]);', htmlentities($this->label, ENT_QUOTES, 'UTF-8'), 'qt-switcheditor'); ^line 1475 in toolbarslib.php (in proposals/4x) yes, luciash, right in time, if you have a quick tip for me does it depend on catalan language ? english or other lang works ? in the mean while, I'll revert changes to the catalan file in my production site yes, english works see lines above: I presume it's a single quote in my translation , but the code for toolbars to switch lang, seems not ready for single quotes in labels i don't get it, switch lang or switch wysiwyg ? i don't see in the line 1475 any tra() yes, 1464 has tra() where's the file toolbarslib.php ? in lib/... ? and 1475 might be using it yes, in /lib/toolbars i see it is stupid to tra() the path imho 1465 but it's probably not relevant ok, I quit it,. walk dog time. I can't fix it ok, c u later i will try if it works with czech is Dreamhost good for Tiki ? seems they offer a lot of extra stuff for those $8.95 bucks oh qwell, reverting these changes, the switch editor button works again: http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki/branches/4.x/lang/ca/language.php?r1=25955&r2=27426 so I reverted in my production site, but I don't in proposals... some more care is needed to allow single quotes in labels xavi: it works for me yes, it works unless there are some single quotes in your transaltion for some labels xavi: i don't know what were wrong for you but i have switched to Catalan and the wiki/wysiwyg switching works in my localhost branch4proposed yes :-) because language changs go (and went) to 4x :-) that's why but you told me to try proposed, nope ? get ./lang/ca/language.php from 4x and put it in your proposals... oh well, I?m testing in proposals.... since the fix, if any, will go to proposals... that's the tricky part with fixes related to languages.... → 23:33 < xavi> ^line 1475 in toolbarslib.php (in proposals/4x) :-p so it works in proposals 4x because the translation is different there ? what is different there ? maybe you just need escape it in your translation (the apostrophe) tikiwiki: 03xavidp * r27479 10/branches/proposals/4.x/lib/toolbars/toolbarslib.php: tikiwiki: [FIX]Allow single quotes in labels. However, it's still not fully fixed for tikiwiki: languages with single quotes (Catalan, FRench, ...), when some single quotes are tikiwiki: added to strings that need to be translated to those languages for button labels tikiwiki: (see r27426 in lang/ca/language.php file from 4x in subversion) never mind, too late for me for more trials. beyond my skills you did that in trunk first ? argh.... you are right... my fault... i think that's the rule :) yes, yes... (tired) np in "trunk".. you mean in 5x, isn't it? nope, in trunk actually so, are they in backporting mode from trunk to 5.x? nope, but you have to do it in trunk always, then the proposed branches if any 5x proposed branch will come later I mean /branches/5.x/ well, i am not sure now if we can touch 5.x much before release and if there will be many merges yet to trunk so i propose trunk ok, I commmit to trunk then (I don't want to break anything as delicate as such in 5x before release) or is the problem in 5.x too ? (because of the language) never mind, I don't know (didn't have time to test) i see :) trunk, and bed xavi: I do not understand what is the problem I will -1 this commit' sylvieg: the problem is if the translation of the icon label is "Foo's Bar" it probably breaks the javascript to switch the wysiwyg/wiki mode get a tiki with svn 4x. set interface to Catalan. edit a wiki page with wysiwyug, and attempt to switch editor to wiki: you can't but the fix is somewhere else clicking in the button does nothing. thanks luciash for the explanation sylvieg: maybe it needs different function than the current htmlentities() used there ok, so please, -1 that commit If I knew how to revert, I would do no no it is something lese (too late, probably) so I don't commit that to trunk I do -1 and nyloth team wil reverse ok, thanks, and sorry for extra work I thought that this change frmo ' to " was needed anyway but it seems not I fixed about 50 templates but did not have to finish ... xavi: have a good and refreshing night :) yes, I need such night :-) I think it is this LOL when using for instance alt='{tr}vvv{/tr}' it does not work it must be alt="{tr}xxx{tr}" sylvieg: why it doesn't work ? you mean the JS ? bad dode ? s/dode/code tikiwiki: 03sept_7 * r27480 10/trunk/lib/payment/behavior/execute_datachannel.php: [FIX] Fix svn:keywords "Id" my son looking for a screen capture - what are you using shutter +1 for shutter maybe the problem is here instead?: line 196 in lib/smarty_tiki/block_textarea.php: return '".tra('You are about to leave this page. Changes since your last save will be lost. Are you sure you want to exit this page?')."'; that's another line that I changed in that edit of language.php, and the translation includes single quotes xavi: that's wrong, isn't it ? no idea sylvieg: would be cool :) the quotes of return do not make sense to me why not just: return tra('You are about to leave this page. Changes since your last save will be lost. Are you sure you want to exit this page?'); so is Dreamhost good option for Tiki ? http://www.dreamhost.com/hosting.html I think it is in marc list - you know when he said you need serious hosting in devel list yes I did a fake example - as I do not remember {xxx param='{tr}yyy{/tr}'} can not work must be replaced with {xxx param="{tr}yyy{/tr}"} ah, u mean in smarty yes i am not sre it is the same problem xavi talked about, it was in toolbarlib.php s/sre/sure because tr result can always have ' i see but in theory in language.php any translated content should have apostrophes escaped with \' not sure it works and translators are not ready to antislash stuff or the result of them generated via the tr smarty block nd tra() function s/nd/and err s/block/prefilter/ or whatever it is :-) yep, it should be job of the tr/tra result to escape I found one comit 26334 : [FIX]smarty: all the params that contains {tr} must be enclosed with double quotes in case the translation contains a single quote but as you say, it is not sure what would be the result in every circumstances because returning ' in every case might not work probably I did that because it was the only way I found out to fix the problem and I do not want the translator to be overwhelming but I wnat the tpl writer to be overwhelming :D yep, must be in best practices oops missed up with screen capture and how do you say that ... capture of screen to do a video not a jpg.. gtk-recordMyDesktop or xvidcap thx luciash and further edition with kdenlive :) and kdenlive can use recordmydesktop also PiTiVi is my favorite now, xavi ;) ah, nice :-) xavi: weren't you on your way to bed ? ;) yes, I am :-) Catalan guy - never sleeps :-) when his wife is not at home ;) or she is watching tv :-) many greetings :) I will xavi did you see the woody allen movy about this artist and the 2 american gilrs nope you did? http://www.imdb.com/title/tt0497465/ not he best link - but it is very nice a lot of Barcolona feeling and amrican culture ah, nice :-) do they ever sleep in the film? you should look at this we will watch it sleep with each other - or sleep in a time frame ;-) sleep in a time frame :-) since you said that Catalan people never sleep :-P ok, finally , subscribed to tw-cvs list and eough is enough for today. g'night good night nite xavi I'll keep the irc open, in case anybody gets enlightened aobut the single quote issue... or even better, the PluginR & pretty tracklers issue :-) so tomorrow I'll read it :-) New Forum Posts: SERIOUS ISSUE: Upgrade gives "Unknown column 'version_minor' in 'field list'" error - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=37355