***: chealer has quit IRC (Remote host closed the connection)
chealer has joined #tikiwiki
chealer has quit IRC (Remote host closed the connection)
chealer has joined #tikiwiki
freelikegnu is now known as _awaylikegnu
chealer has quit IRC (Remote host closed the connection)
changi has quit IRC (*.net *.split)
changi has joined #tikiwiki
chealer has joined #tikiwiki
chealer has quit IRC (Remote host closed the connection)
chealer has joined #tikiwiki
PolisMemRitualis is now known as coaboa
chealer has quit IRC (Remote host closed the connection)
Gergely has joined #tikiwiki coaboa: is it possible to align wiki text to the right? ***: Gergely has quit IRC (Quit: Page closed)
chibaguy has joined #tikiwiki
ChanServ sets mode: +o chibaguy chibaguy: polom coaboa: hello ***: jcoelho has joined #tikiwiki Tikiwiki|bot: Recent Bug: Tracker item: #3118 - - Special Characters Problem when upgradeing php 5.2.x to 5.3.x - http://dev.tikiwiki.org/tiki-view_tracker_item.php?trackerId=5&itemId=3118 ***: PolisMemRitualis has joined #tikiwiki
coaboa has quit IRC (Ping timeout: 246 seconds)
Caarrie has joined #tikiwiki
Caarrie|sleeping has quit IRC (Ping timeout: 260 seconds)
Caarrie has quit IRC (Read error: Connection reset by peer)
Caarrie has joined #tikiwiki
Cain` has joined #tikiwiki
Cain has quit IRC (Ping timeout: 268 seconds)
Cain` is now known as Cain PolisMemRitualis: is it possible to have the pluginInclude to include the first 500 chars of a given page instead of start stop marker? ***: goj|ghost has joined #tikiwiki
goj has quit IRC (Ping timeout: 248 seconds)
goj|ghost is now known as goj luciash: polom ***: ricks99 has joined #tikiwiki ricks99: hi all :-) luciash: hi ricks99 ricks99: G'morning
(for me) luciash: what new perm does my upgraded copy of branch5 need to allow anon to view the header ?
upgraded trunk works fine, but i have a profile applied there
grmbl, my questions r always too difficult to answer :-p ***: PolisMemRitualis is now known as coaboa coaboa: hello all luciash: hi coaboa
yes, you can right align wiki text using DIV plugin ***: MartinCleaver has joined #tikiwiki coaboa: pulling my hairs out while trying to make plugin_articles work for wiki pages as both are quite different. Need to display the first 5lines/500 chars of top 5 wikipages from agiven category within a wikipage...
Is DIV align the only solution as I search fo an option a user can apply through wiki syntax
*div align=right ricks99: @coaboa: can make a toolbar button to make it easier for users luciash: you can try dynamic vars too ***: marclaporte has joined #tikiwiki
ChanServ sets mode: +o marclaporte
marclaporte has quit IRC (Client Quit) coaboa: toolbarbotton to fill in the {DIV} tags aroun selection?
*around ricks99: y
{DIV(align=right)}text{DIV}
tiki will replace "TEXT" with the selected/highlghted text
(works the same as buttons like bold, italic, etc) coaboa: ok know that but thought there is maybe something more shorter tag comparable to "::" ***: RavenC has joined #tikiwiki coaboa: ;-) which a user could remeber when editing eg in OO. ricks99: IDK RavenC: morning all luciash: coaboa: like %arstart% some text %arend% ?
hi RavenC coaboa: luciash: more like module top_pages with display of the very first (always same amount) lines/count of chars tailored to a specific categID. We didn't start but have already more then 100 wiki articles
*of each of the eg. 5 top_pages. luciash: i mean you can try %ars% right aligned text %are% if you have dynamic variables feature on
you substitute %ars% with <div style="text-align: right"> and %are% with </div> coaboa: ahhh havent looked at dyn vars yet...
cool luciash: hopefuly some regression didn't broke it yet in latest tiki ;) chibaguy: luciash, there was some refactoring in tiki-site_header_top.tpl, to reduce duplicated code. There was a bug after that that stopped the logo from being seen by anon, but was fixed. I don't know about any other problem, but maybe it's possible. luciash: chibaguy: ah, maybe it wasn't backported to branch 5 yet
i'll try to debug it chibaguy: No, it was done in branch 5. luciash: ah oh, well, i have the problem still here then
whole header is missing for anon chibaguy: ah, (btw, was tiki-site_header_options.tpl that was edited a few days ago) luciash: i update by cron every hour
ok, it seems only whole header-top content is missing for anon
no sioptions div included Caarrie: sure your cron is working correctly? luciash: to reproduce make custom site header enabled but not published and site logo enabled... if there's some custom code but not published it will ignore the site logo too ***: RavenC has quit IRC (Quit: ~ Trillian Astra - www.trillian.im ~) luciash: just found out it is the culprit
when i disable my custom site header code it shows the logo for anon then too
Caarrie: pretty sure, yes .) Caarrie: maybe someone should review the commits that broke this ;) luciash: yea, there's pretty lot of "ifs" so it is easy to get lost in the conditions
chibaguy: when there's custom code + it is published, it works fine too chibaguy: so the logic in site header options is bad? luciash: apparently yes chibaguy: I see. ***: RavenC has joined #tikiwiki luciash: just someone didn't think about a case when the custom header code is temporarily unpublished but still admin working on it
why sitelogo is included to be taken off too i don't know... coaboa: cool publishing the "empty" custom code get me my logo back ;-) luciash: not that cool but glad it helps :-p Tikiwiki|bot: New Forum Posts: Categories & content templates - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=36901 sylvieg: I probably broke the header ...
I had a logic problem in the tpl - there was an {/if} not well places
but perhaps I introduce another one
I do no succeed to past in the wyswyg editor :-( ricks99: wtf... in 3.5, as admin i am getting permission denied when i try to view a forum...
there are *no* perms applied to the specific forum
shouldnt i (as admin) b fine?
another forum works fine
when comparing the 2 forums, i see nothing that would cause "perm denied" for admin for the one forum ***: kiilo has joined #tikiwiki RavenC: Morning ricks99. Never experienced that before ricks99: argh. search returns results from the specifci forum, but when iclick - perm denied :( RavenC: I did an SVN update about an hour ago on 5.0Beta1... I get "System Error. an error occured while performing the request". It is in the tiki layout...
http://dev.kronosdata.net/tw50/ sylvieg: Check your database is not down ***: Caarrie is now known as Caarrie|away RavenC: I can access the database. I have my 4.2 on the MySQL instance
*on the same instance sylvieg: did you upgrade your database? RavenC: no
:(
remove lock file and do tiki-install ?
that didnt work
lol sylvieg: or sh doc/devtools/sqlupgrade.php
there is another one with php on command line too RavenC: ok
thanks for the assistance Sylvieg Tikiwiki|bot: New Forum Posts: Forms - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=36902 ***: Caarrie|away is now known as Caarrie
jonnyb has joined #tikiwiki jonnyb: polomly CIA-59: tikiwiki: 03jonnybradley * r26645 10/branches/5.x/lib/setup/js_detect.php: [FIX] Use custom.js in the root of /styles if there and there isn't one in the current style or option dir. ***: nkoth has joined #tikiwiki nkoth: hi - anyone knows why the tabs plugin (tiki 5) may be stripping js and adding an <x> ?
I hae a trackerfilter (actually 2) inside 2 tabs and the js inside the help icon breaks due to this) RavenC: hi johnnb
*jonnyb that is
:) ***: kiilo1 has joined #tikiwiki jonnyb: hi RavenC ***: kiilo has quit IRC (Ping timeout: 258 seconds) RavenC: well, after installing a linux shell, etc. etc. etc. I still can't figure out how to do use the doc/devtools/sqlupgrade.sh ..... -: RavenC scratches head and wonders jonnyb: hi nkoth - sounds like over zealous sanitizing - maybe you can change the filter somewhere?
RavenC: doc/devtools/sqlupgrade.sh is very old, probably broken
try php installer/shell.php RavenC: 500 on that jonnyb: 500?
in the shell? ***: chealer has joined #tikiwiki
kiilo1 has quit IRC (Ping timeout: 276 seconds) nkoth: jonnyb: where can I set the filter?
don't see any setting in wikiplugin_tabs.php
maybe I have to set something jonnyb: sorry, just guessing - have a rummage in the code? Tikiwiki|bot: New Forum Posts: upload file/attachment - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=36903 ***: kiilo has joined #tikiwiki
kiilo has quit IRC (Quit: Leaving.) CIA-59: tikiwiki: 03lphuberdeau * r26646 10/branches/5.x/lib/prefslib.php: [FIX] Prevent attempt to split value on separator twice. Apparently, multiple paths lead there with different input. ***: chealer has quit IRC (Ping timeout: 276 seconds)
chealer has joined #tikiwiki
chibaguy has quit IRC (Read error: Connection reset by peer)
marclaporte has joined #tikiwiki
ChanServ sets mode: +o marclaporte
PolisMemRitualis has joined #tikiwiki nkoth: Anyone know if there is a way to reference the "userId" not the user field that shows either the email or the name in pretty trackers? ***: coaboa has quit IRC (Ping timeout: 264 seconds)
jcoelho has quit IRC (Ping timeout: 246 seconds)
jcoelho has joined #tikiwiki
Gergely has joined #tikiwiki nkoth: hm, by reading the code looks like i moght have to modify the code somehow luciash: nkoth: {$userId} doesn't work ?
nkoth: and what about a modifier ? nkoth: well $userId does not work, and that was what I was trying to make work
modifier is problematic because in fact the reason why it shows the username or email is becasuse of a modifier to befgin with[18:20] <nkoth> it does not work in reverse luciash: i see nkoth: luciash: what other fancy {{...}} or such tags work in pretty trackers? Tikiwiki|bot: New Forum Posts: Tracker assist - multiple selection from field and... Employee hour tracking - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=36905 luciash: nkoth: i only know about the user one, sylvie documented it on doc.tw.o though iirc nkoth: whoanyway I found a differnt way to solve my problem ***: ricks99 has quit IRC (Quit: Get more help: TikiWiki for Smarties http://twbasics.keycontent.org)
jonnyb has quit IRC (Quit: I am going outside... I may be some time...)
jcoelho has quit IRC () Tikiwiki|bot: New Forum Posts: Subir varios archivos a Galeria de Archivos - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=15&comments_parentId=36906 CIA-59: tikiwiki: 03sylvieg * r26647 10/branches/5.x/ (modules/mod-func-calendar_new.php tiki-calendar_setup.php): [FIX]calendar: calendar module must not interfer with the calendar view in session ***: Caarrie is now known as Caarrie|away
Gergely has quit IRC (Ping timeout: 248 seconds) RavenC: have a nice evening everyone ***: RavenC has quit IRC (Quit: ~ Trillian Astra - www.trillian.im ~)
Gergely has joined #tikiwiki
omstefanov has joined #tikiwiki omstefanov: can anyone tell me where/how to set a variable (in php?) which can be updated from a $smarty tpl AND then retain its value to be tested against, the next time the tpl is used?
I've tried creating a global variable in the php, but the variable comes up empty on each successive use of the tpl.
!help smarty variables Tikiwiki|bot: You can get a more complete list of commands that work with this bot at http://tikiwiki.org/TikiBot . sylvieg: omstefanov: perhaps http://doc.tikiwiki.org/Dynamic+Content
otr this one http://doc.tikiwiki.org/Dynamic+Variable ***: Gergely has quit IRC (Ping timeout: 248 seconds)
Gergely has joined #tikiwiki omstefanov: Sylvie: thanks. Am reading both. Dynamic+Variable doesn't seem to be what I need, but D+Content could be. I need to be able to text variable in template, but also change value from within template at times.
Sylvie: How can I, in php or in a smarty tpl set the value of {content id=1} ? And how can I code in php or $smarty to test value of {content id=1} ? sylvieg: ... and what about using a tracker with a field and test the field with TRACKERITEMFIELD omstefanov: I'm within a tpl which I'm referencing from within TRACKERLIST ... sylvieg: you can use a trackeritemfield oin another tracker .. I suppose Tikiwiki|bot: Recent Bug: Tracker item: #3120 - - Bug 3076 is duplicate of bug 2687 duplicate of bug 3076 duplicate of ... - http://dev.tikiwiki.org/tiki-view_tracker_item.php?trackerId=5&itemId=3120 omstefanov: In fact, what I want to do, is code within the tpl to do different output whenever the value of the sort field (sort_mode="f_nn_asc") changes. So I need to retain the value of the prev. record to text against the value of the current record. sylvieg: in tpl you can use {$tr_sort_mode}
but how do you memo in the tpl..
if you have no security problem you can set back on {php} in smarty omstefanov: I know I can use {$tr_sort_mode}, and am okay with that, but I need to COMPARE the values of current with previous record.
I tried with {php} blocks. (1) I created global variable in php (called TRACKERLIST2 while testing), then tried testing and loading variable within {php}{/php} blocks. but always gone on next record. ***: Gergely has quit IRC (Quit: Page closed) sylvieg: {php} is desactivated in tw - but I do not remember where you can put it on back
http://www.smarty.net/manual/en/variable.php.handling.php
perhaps the best is to create yopur own plugin
put in the session the value and call the plugin with a {liteal..MYplugin{/literal}{$tr_sort_mode{liteal}.{/leteral}
a smarty function wil be easier
{my sort=$tr_sort_mode} omstefanov: sorry, lost you a bit on last 3 lines. Create a plugin OR a smarty function? which?
would a smarty function be able to retain a value persistently? sylvieg: in the smarty function you will for example $_SESSION['my_sort'] = the sort that you get through the param ***: kiilo has joined #tikiwiki omstefanov: Sylvie: you couldn't by chance point me to a smarty function. I'm better at adapting code, than doing from scratch, and have never done a smarty function. Any in tw?