chealer, my wiki page categories tab is gone
list_categs not working///
actualy I think it's getCategories that is not working
moving back categlib.php to r35057 workd
I mean 37057
well it's actually just list_categs that is not good, with this descendanets thing
ok i think the problem is that 0 is not a category
tikiwiki: 03nkoth * r37063 10/trunk/lib/categories/categlib.php:
tikiwiki: [FIX] When filter identifier is 0, i.e. root category, it breaks and nothing
tikiwiki: gets returned, e.g. wiki pages show no categories list anymore. Also in general
tikiwiki: if you can't identify the filter it is going to lead to weird results.
ah, yeah, that problem again. will check
chealer: btw, separate issue, remember that orphan token for category thing? can you make getCategories more gracefully return nothing when categId is a string?
because search indexes orphan as a token for no categories (to enable searching for things that are uncategoriized), so it might happen a lot of places
or maybe check explicityy for 'orphan'
tikiwiki: 03nkoth * r37064 10/trunk/lib/ (2 files in 2 dirs): [ENH] Add ajax validation for passcode in registration
tikiwiki: 03chealer * r37065 10/trunk/ (9 files in 4 dirs): [REF] call getCategories() instead of list_categs()
Good morning tiki-folk
Where does "post-back handler" scripts go in tiki?
hi Merbster
hey Bernard
:)
Nevermind. I found tiki-tracker_http_request.php
Is there a way to have a "enter your email to subscribe our newsletter" box on tw ?
Bernard, Where exactly do you want it?
1sec
Bernard, http://doc.tiki.org/PluginTrackerlist <- there is something about sending a message to multiple users registered in a tracker.
I don't know if it sends wikimessages or emails
Merbster: i beleive that with tracker i can have a pretty tracker input displayed in a box, etc… But this is quit heavy !
and i have then to import the emails in the newsletter… ^^
Bernard, The part I am worried about is getting users from a trtacker and sending mails to them .But I would think that Tiki has mailing list functionality built in.
(I would think == I guess)
Have you searched the docs for mailing list or something like it?
TW has a newsletter built in and it works fine. If an admin or a visitor can subscribe in it through a page, i was wondering about a simple module that make it possible from within any page or from a col.
Bernard, I haven't tinkered with mailing list. So I don't know what possibilities there is.
ok i found this : http://doc.tiki.org/Newsletter+Admin#Add_emails_to_a_newsletter_from_a_list_in_a_wiki_page
but this is tpl, tracker...
Bernard, aka pretty tracker? - it's ALOT easier than you'd expect
actually the docs on pretty trackers was just recently updated with a 3 (or 4) step guide
Bernard, http://doc.tiki.org/Pretty+Tracker+HowTo <- here is some explaining about it.
short and consise
polom
Merbster: :) the point is that i don't need to create a list of user in a tracker list… I need an easy way to add from the anonymous side a way to subscribe to a newsletter without being registered.
polom chibaguy
ah ok Bernard I don't know how to achieve that.
Konishiwa Sen Sei :)
??????????
Did that work?
Hi Bernard (if it didn't)
Well admin can subscribe any email he want (not registered user). But this is in Admin Newsletter. There are a lot of website offering the possibility of subscribing an email in a small module without registering.
I think what I need for trackers is a recipe book. The howto docs are good as far as they go, but it would be great to see lots of examples. For two reasons: 1) "Oh, so that is what trackers can be used for" and 2) "Oh, so that is how I do what I want to do with trackers."
Hi Merbster
i was wondering if it can be achieved in TW using what exist
I think trackers are a feature that really set Tiki apart from other software, but the learning curve is steep.
+1
chibaguy, the link I sent is actually "an example" atleast more of an example than the latter pages :P
Merbster, what link is that?
Does anyone know where the jquery.js file is located in tiki?
chibaguy, sorry it was before you logged in, here: http://doc.tiki.org/Pretty+Tracker+HowTo
ah, ok, thanks.
well, I'm ok about the basics, that far. But that is like the shallow end of the swimming pool. As you go toward the deep end, it gets panicky fast. ;-)
…rethinking it… user don't subscribe to a newsletter… They register in a box requiring just Name (username) and Email (email+password). Newsletter will be sent to all registered. The idea is ok but is it really possible…(registration should be proceeded from within a module without loading other pages)
Now I'm seeing a problem in branch 7 of the edit/delete tab content of a tracker item displaying as HTML syntax, not parsed.
eek.
only that tabcontent, not view, comments, or attachments.
chibaguy, I don't know how to fix that, sorry.
yeah, it's strange. I just updated with subversion and cleared the cache.
I'll try on another branch 7 site.
Merbster: jquery.js is in lib/jquery/
chibaguy, Yes. I found out, but thanks anyways :)
ok. well the html code showing is only affecting one tracker. a new tracker at the same site is normal, so maybe some configuration problem.
chibaguy, question is, does it expect tiki markup or pure html?
will it maybe help wrapping the html in {HTML()} {HTML} ?
No, I mean the tiki-view_tracker_item.php page's "Edit/Delete" tab is showing the HTML of the edit form rather than the edit form itself.
... etc.
chibaguy, I experienced that when trying to define a page for the tracker where it edit/views the tracker item
It isn't user content.
ah, ok.
How is the item to be edited then?
chibaguy, I don't have the problem in tiki 7.1 when no edit/view item template is set in the tracker itself (when editing the tracker )
yes, I just removed the wiki template info and now the edit form in the tracker works again.
hm.
What is the designed method to edit a tracker item when a wiki template is used?
(I wonder.)
Well, I assume the broken tabcontent is a bug.
chibaguy, you can edit a tracker item by giving the tracker itemId parameter
chibaguy, or you could display a trackerlist and enable "show edit/view urls" (or something like it) on the individual tracker fields
chibaguy, if you do that without giving it url param. it will default to the normal edit/view pages
About your first suggestion, giving the tracker itemId parameter in the page URL?
chibaguy, on the tracker itself
you can bind it to a single item
Oh
But
there's another way
with a trackerlist (that shows all items in the tracker)
you can enable the link showing I talked about earlier
and then suppluy an url param to the plugin trackerlist {trackerlist url=someUrl}
Then the urls that the trackerlist generates will use the url of your url plugin param
in that plugin param you define "itemId=" and if you leave out the actual vaolue, tiki will magically insert it
Am I understandable chibaguy ? :P
Merbster, the master of trackers :)
no far from it
But I am getting there
chibaguy, if you are running tiki 7.1 you have bugs in the show linsk param for the trackerlist, so I hope you are using trunk :P
I think I am understanding you ok, but I am using branch 7 so don't know what the state of the bugs is.
I know that jonnyb fixed some bugs and committet them
I backported them manually to our tiki 7.1
I see.
If your trackerlist does not give you fields as links (even though you set it up to do it) you have the bug.
I don't mind the mental exercise of trying to use trackers, but wish the chance of success was higher. ;-)
it's allways a balance between being flexible and also userfriendly :P
chibaguy, how much of a coder are you?
not much, I'm afraid.
I'm ok with CSS and HTML, more or less, but with Smarty and PHP the best I can do is copy/adapt examples.
ok.
well, I'd like to learn more, but don't have enough hours in a day.
I know that problem too well
sylvieg, are you here?
polom tikiverse
hi Coaboa
I'm using for the first time the module "register" on 7.2. I have a message about open id (i don't use open id) and it broke the col layout. Anyone has experience about this module ?
Bernard, sorry no, but I would think you can disable it?
Open Id is not enable, i use Tiki only for authentification.
Bernard, is that the "Login" module? I don't see a module named register.
chibaguy: New user registration (register)… (In the meantime i found a disable plugin " subscribe to newsletter")
arf… the plugin subscribe to a newsletter require being logged… back to the bugged module. :(
Oh, Ok. I see what you mean (big broken module).
yes
do you have the message about openid ?
That looks like something that should be fixed before the next tiki 7 release.
yes.
and same as you, openid is not enabled.
ok so yes it require fix… i will post in tikidev
ok
It looks like the module content is meant for the center column, starting with its h1 heading, and a wide table.
(apart from the openID problem)
Even in the center col it broke the page. http://yiul.co.il/tiki-index.php?page=Subscribe (the col is thrown at the bottom)
The plugin "Subscribe" would have be neat… if works with anonymous. :)
Yeah, there's apparently a mismatch of html element tags. In the left column, it causes the following modules to be wide, so some tag isn't closed, I think.
Well, I would first try to get rid of its table for layout.
checking the module
ok this is a problem {if $openid_associate eq 'n'}
The module apparently just grabs the .tpl that was originally meant for the center column.
which would explain the h1 heading.
yeap
i have corrected "my version" but i can't commit that… i removed the openid check as i don't use it and get rid of the first table
How does the formatting look, then? Does it still go too wide?
no now it is good
ah, Ok. I think there is a problem with the logic that filters the table tags.
i think about commit at least this correction so only the openid thing will need
shame on me i forgot… how do you know the bp number ? svn info ?
There's a revision number reported when you make the commit. Or sometimes I look at the email report of the commit for the r number, and paste that in to the notes for the bp, if that's what you mean.
yes… but "There's a revision number reported when you make the commit" so i don't need to indicate it on the commit msg ?
no
it's automatic
svn commit -m "[FIX]module register: table tags removed to keep layout intact" templates/tiki-register.tpl is ok then, tks.
tikiwiki: 03yonixxx * r37066 10/branches/7.x/templates/tiki-register.tpl: [FIX]module register: table tags removed to keep layout intact
r22134 replaced the module's specific code with an include of tiki-register.tpl in Oct. 2009. Strange that it's just now spotted as a problem (at least the h1 should have been noticeable - I don't know if the table always overflowed the column).
I suspect this module is usually used in a wiki page and not the side column, or at least it wouldn't have formatting problems then, perhaps.
Bernard: Actually the module still extends over the center column in my branch 7 after your commit, though not as badly. The form label and input fields are too wide for the space (in fivealive).
Oh, it fits when I'm logged in, but not when anonymous.
it's made of a number of included tpls that add rows to the table, and some are wide. A liquid layout would be better but maybe for trunk.
Custom CSS can resize the heading and make the module scrollable so that it fits in the column if necessary.
funny, that module doesn't even use the normal module tpl. More evidense that it's intended for the page center, I think.
I had a problem with inclue too. try to define the full path to the modified/theme template
when using include with custom code area it allways produce a white screen except when defining the path like templates/styles/mytheme/xy.tpl
what tiki version, coaboa?
trunk, current
What do you mean by custom code area? They aren't in Look and Feel any more.
worked until (at least) r35883
In a module?
They are: Look & Feel, Customization Tab
hm, I was looking at branch 7. I thought they were the same.
i use include in custom html head (and other extra code areas) and when using include from within a tiki.tpl
Oh, I see.
There is only html head and at end of body now.
Otherwise the module zones must be used.
Or shadow divs, I imagine.
So the textbox where you can includec ustom jquery/js code under look and feel will be removed in upcoming versions?
No, those will stay as they are. Just visible content areas were changed to the module zones.
don't think so my current trunk37038 still shows that box
oh. ok.
Because I just started using that one :P
yeah, the current arrangement will stay as it is, I think.
I hope so. I find it quite useful
yep. I have to go out but will be back soon.
chibaguyaway: weird on mine 7.2 it fit ok logged or not, in the center or in a col… cache may be ?
a svn up and I have Fatal error: Uncaught exception 'SmartyException' with message 'unknown method 'set_request_overriders'' in lib/smarty/libs/sysplugins/smarty_internal_wrapper.php on line 117 SmartyException :-(
Bernard, now I see here in Firefox it fits but in Opera it extends into the center column. Apparently the textfield size is calculated differently in Opera.
polom y'all
Hi ricks99
ricks99, do you know why the rss feed items repeat many times at tiki.org?
on info? let me c
no, at the community site.
15 items and all the same one.
just wondered if you had noticed that problem.
u mean the Tiki Tweets? hm...
Looks like someone (me) messed up the query.... let's see what I can do.
No, I mean in the center column, "The Latest Tiki News" and "Documentation Updates"
ooo....
Well, some repetition in the Tiki Tweets, but not as much, and recently seems ok.
i think it is a db refesh issue. notice that *all* rss feeds are repeated
Is there a solution? Or do we set max to 1? ;-)
i'll report to dev list and see... needs to be fixed i would think
notcie that the actual rss is correct: http://doc.tiki.org/tiki-wiki_rss.php?ver=2
Yes, I tried the rss and it looked fine.
tikiwiki: 03sylvieg * r37067 10/trunk/ (templates/tiki-edit_submission.tpl tiki-edit_submission.php): [FIX]article: captcha in submission
sent chibaguy. tx for reporting
can I have theme spcecific wikiplugins? and if yes where to put?
Theme-specific? not afiak. but you can create as many custom ones as you want
y. that I know. just wondering. for maintenance.
sylvieg, ?
@coaboa: i've been wanting that same thing for a while now, too :)
.... and theme-specific icons/graphcis
;-)
coaboa, the wikiplugin could go inside a module in wikitext that has a theme parameter, maybe. A lot of overhead, though.
or html elements can be displayed or not with css.
looking for something you can collect in a "copy-to-destination" folder
tikiwiki: 03tikii18nbot * r37068 10/trunk/lang/fr/language.php: French translations done on i18n.tiki.org
not urgent though, just thinking
ricks99, you know about having style/themename/pics/icons, right?
I think you might be limited to the pixel size, though.
Don't worry ricks99 you aren't! :)
tikiverse ;-)
Really, there is so much to keep in mind with Tiki that it's natural to lose parts all the time.
is uge
*huge
@chibaguy: yup... that's why i hand out on IRC :-)
I can't figure out why tiki-tracker_http_request.php returns null to me
If I could just avoid repeating having to learn something several times I'd be pretty happy.
(I am doing a post to it from jQuery and trying to get the data)
completely new issue (somewhat tiki related): been thinking of an enhanced Smarties epub with embedded movies, downloadable YAML profiles, etc. I would retail it for ~$35(USD). But most people are accusted to paying LESS for epub editions. any thoughts from the Tiki community?
ricks99, I have a friend who did a danish site for HD Joomla tutorials. He charges way more. and that's only access to videos
HD as in High definition
Merbster: try to type tiki-tracker_http_request with the params directly in the url ... sometimes you can see error messages
sylvieg, ok! thank you for the tip! :)
sylvieg, is the minimum needed amount of params documented anywhere? Or should I just try my way?
usually I use firebug and the net tab.. to pick up the params
and than I debug the http_request
sylvieg, I have just opened the file and I am looking at GETS :P
sylvieg, what I mean is; what are the least amount of params to get something meaningful. :P
if I just give it trackerIdList I get an empty .js file.
sylvieg, I am testing my JS in a HTML file that's in the same dir as tiki. but the HTML is not used from any tiki context. Will this affect the behaviour?
probably not - the tiki.._htt... is independant
sylvieg, Ok. That's what I expected, I just wanted to be sure :) - Hope it's ok I ask so much
no problem
sylvieg, what is "filtervalue" used for?
but Iam wondering about perm check...
filtervalue is the value of a field if there is a filter
sylvieg, if I don't supply a filtervalue it won't return anything
polom all
What is the updated version of smarty_modifier_escape()?
It says it doesn't exist.
Hi RobertPlummer
good day
I don't know the answer yet. sorry
Oh, nm, I found it
if (! function_exists('smarty_modifier_escape')) {
require_once 'lib/smarty_tiki/modifier.escape.php';
}
I am going home from work now bbl
tikiwiki: 03robertplummer * r37069 10/trunk/lib/ (headerlib.php wiki/wikilib.php): [ENH] Added js file checking to caching for wiki pages, so now you can include js files in your wiki plugins
I still have some testing to do on that last one, but it should have been added a long time ago.
tikiwiki: 03sampaioprimo * r37070 10/trunk/lib/language/FileType/Php.php: change code comment
tikiwiki: 03sampaioprimo * r37071 10/trunk/ (get_strings.php get_strings2.php): old get_strings.php replaced with new version
chealer: do you know which standard we use for language codes/
?
polom
rodrigo_sampaio: I don't think I do. you mean we're not follow ISO 639-1?
chealer: I think we are
chealer: I just couldn't remember this name
yes ... there was a standard..
thanks
rodrigo_sampaio: OK. good to see the above commit BTW, even though I couldn't look at your improvements yet :-)
rodrigo_sampaio: are the current language.php files now generated by the new get_strings.php?
chealer: in a few minutes they will be (big commit coming) :)
rodrigo_sampaio: good :-)
tikiwiki: 03sampaioprimo * r37072 10/trunk/lang/ (48 files in 48 dirs): updating language files using new get_strings.php
what is the php var for pagename?
got it $objId
at least in plugin-catpath
thanks rodrigo_sampaio. is it normal/intentional that there are no more comments, like those on punctuation handling?
chealer: it is intentional. but we can add if you miss them.
chealer: specifically talking about the punctuation handling I think we should get rid of it
chealer: this is a discussion I'm planning to start soon
chealer: but first I need to know why this was created in the first place
rodrigo_sampaio: get rid of it, i.e. if we have two strings "Foo" and "Foo:", generate two strings in language.php?
rodrigo_sampaio: *I* don't miss them, but I remember learning about the punctuation handling by reading these comments. I would have been confused if I had not read these.
chealer: for me the problem with the punctuation handling is that it is not valid for all languages
chealer: for example, in Spanish the interrogation mark appears in the beginning and in the end of the sentence
chealer: with the way we handle punctuation it is impossible to properly translate a question to Spanish
It seems to me that the punctuation needs to be part of the string.
...because it varies according to language.
(If this is relevant - I didn't read the whole log.)
chibaguy: thanks, but we already have (or should have) the punctuation as part of the string.
:)
chibaguy: the question here is that we deal with strings ending in punctuation as a special case
rodrigo_sampaio: good example. I would tend to address these issues one by one. for the question mark, I don't really see much use in handling it particularly. I don't see why there would be many cases of both "Foo" and "Foo?" appearing.
hi chibaguy
hi chealer and rodrigo_sampaio
chealer: I'm concerned that there might be more cases like that in other languages that we don't know. But I think to investigate to be sure.
chealer: would be good to have an idea of how many cases of "Foo" and "Foo:" (or another punctuation) we have
rodrigo_sampaio: I agree, would be good
chealer: I will do that before starting this discussion on the devel list
rodrigo_sampaio: I also agree there must be more cases, but until Tiki is translated to these languages, it's not a problem. I think we can address the issues when they come up.
tikiwiki: 03sampaioprimo * r37073 10/trunk/lang/ (flagmapping.php langmapping.php): indentation
tikiwiki: 03sampaioprimo * r37074 10/trunk/lang/ (flagmapping.php langmapping.php nds/ nds/language.php): add Lower German language
tikiwiki: 03sampaioprimo * r37075 10/trunk/lib/ (3 files in 2 dirs): update code to export translations from the db to use new language.php
tikiwiki: 03chibaguy * r37076 10/mods/trunk/Packages/ (6 files): [FIX] Errors in paths or file names in package info files caused impossible-to-copy errors in mods admin. Thanks to Marc for testing.
tikiwiki: 03tikii18nbot * r37077 10/trunk/lang/pt-br/language.php: Brazilian Portuguese translations done on i18n.tiki.org
does one know how to display the number of contributors to a page in a template? Is there avariable for this?
As far as I know, that value is not pre-calculated, but it's fairly easy to extract from the tiki_history table
Did you guys see my commit from earlier?
tikiwiki: 03oeversetten * r37078 10/trunk/ (4 files in 2 dirs):
tikiwiki: Prepared some flags for Lower German and updated flagmapping.php accordingly.
tikiwiki: Two flags from Hanseatic times and one half German half Dutch flag.
hey chealer, you around?
hi RobertPlummer. just looked at your commit, made me realize there was already support for JS in plugins :-)
chealer: But not files
At least not for caching.
chealer: I've added all the steps, and I've looked at it actually adding the files into the caching system, but for some reason it still doesn't work.
tikiwiki: 03oeversetten * r37079 10/trunk/lang/langmapping.php:
tikiwiki: Noticed some exchange at Portuguese (English and self description exchanged)
tikiwiki: Changed self description of Frisian to Frysk, more appropriate I guess.
RobertPlummer: right. are you trying with codemirror or what?
no, vendor project.
chealer: Now it is supported, the query is sent the data to update, but for some odd reason it is like mysql isn't executing the command.
chealer: I'm baffled.
RobertPlummer: sorry, what is vendor project?
a vendor project is a project that you are using in conjunction with an existing svn project to create a new project/feature.
I guess I should have said on a private project.
Anyway, I didn't want to mod tiki-setup.php to include the proprietary files.
humk
Plugins should be fully plugable.
RobertPlummer: update_cache() is not working, or what command?
Drop it in, and it work.
update_cache doesn't seem to be updating sql. I'm investigating right now...
RobertPlummer: you're testing as anonymous, right?
both
anon and admin
anon is calling update_cache, and the correct data is being sent
With the correct files added and everything.
RobertPlummer: user accesses won't touch the cache
I cleared cache as an admin, does that have to do with wiki cache?
I didn't check.
I figured it couldn't harm anything.
RobertPlummer: no
RobertPlummer: so you see PHP going through update_cache (line 418), but the table is not updated?
chealer: No it is updating, but I had to clear it out. So it is updated in mysql.
I've cleared cache with the browser, is there another set of cache analysis that I'm missing?
I was using firefox, trying chrome...
Same results.
The data exists in mysql, but not on the wiki page.
RobertPlummer: hum, I don't follow you. what do you mean by "it is like mysql isn't executing the command"?
chealer: mysql is sent the correct cache. Cache with js,jq_ready, and files (the new part).
is it saved in mysql (just verified).
But what mysql saves and what it delivers are different.
RobertPlummer: so you mean MySQL is not executing the read query correctly :-?
When anon, if I visit page=HomePage&refresh=1, everything looks great.
chealer: Yes, at first I thought it wasen't saving correctly, but it seems that it isn't getting the data correctly.
chealer: I'm sure I can figure it out.
perhaps it is getJsFromHTML?
RobertPlummer: what HTML are you missing?
the script tags that have externals.
Yea that is what it is, the tags are being stripped from cache in getJsFromHTML
RobertPlummer: what do these read?
It is all the script without the script tags that have src
So we need a method getJsFilesFromHTML
RobertPlummer: I don't see anything that considers src
so new method then?
RobertPlummer: I meant I don't see anything in getJsFromHTML() that discriminates depending on whether or not there's an src attribute.
RobertPlummer: if your plugin is not too secret, could share the content of the missing tags?
Sure. give me a sec
nm, I know what the problem is.
getJsFromHTML looks not for the tags, but what is in them....
, guess what is inside of this tag?
nothing
We do need a different handler for files to be added.
Chealer: this is a print_r on $jsFile1 and $jsFile2 around line 393+ of wikilib.php
$jsFile1:
Array ( [0] => [1] => [2] => [3] => [4] => [1] => [2] => [3] => [4] =>