is it possible to align wiki text to the right?
polom
hello
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
is it possible to have the pluginInclude to include the first 500 chars of a given page instead of start stop marker?
polom
hi all :-)
hi ricks99
G'morning
(for me)
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
hello all
hi coaboa
yes, you can right align wiki text using DIV plugin
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
@coaboa: can make a toolbar button to make it easier for users
you can try dynamic vars too
toolbarbotton to fill in the {DIV} tags aroun selection?
*around
y
{DIV(align=right)}text{DIV}
tiki will replace "TEXT" with the selected/highlghted text
(works the same as buttons like bold, italic, etc)
ok know that but thought there is maybe something more shorter tag comparable to "::"
;-) which a user could remeber when editing eg in OO.
IDK
morning all
coaboa: like %arstart% some text %arend% ?
hi RavenC
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.
i mean you can try %ars% right aligned text %are% if you have dynamic variables feature on
you substitute %ars% with
and %are% with
ahhh havent looked at dyn vars yet...
cool
hopefuly some regression didn't broke it yet in latest tiki ;)
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.
chibaguy: ah, maybe it wasn't backported to branch 5 yet
i'll try to debug it
No, it was done in branch 5.
ah oh, well, i have the problem still here then
whole header is missing for anon
ah, (btw, was tiki-site_header_options.tpl that was edited a few days ago)
i update by cron every hour
ok, it seems only whole header-top content is missing for anon
no sioptions div included
sure your cron is working correctly?
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
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 .)
maybe someone should review the commits that broke this ;)
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
so the logic in site header options is bad?
apparently yes
I see.
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...
cool publishing the "empty" custom code get me my logo back ;-)
not that cool but glad it helps :-p
New Forum Posts: Categories & content templates - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=36901
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 :-(
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
Morning ricks99. Never experienced that before
argh. search returns results from the specifci forum, but when iclick - perm denied :(
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/
Check your database is not down
I can access the database. I have my 4.2 on the MySQL instance
*on the same instance
did you upgrade your database?
no
:(
remove lock file and do tiki-install ?
that didnt work
lol
or sh doc/devtools/sqlupgrade.php
there is another one with php on command line too
ok
thanks for the assistance Sylvieg
New Forum Posts: Forms - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=36902
polomly
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.
hi - anyone knows why the tabs plugin (tiki 5) may be stripping js and adding an ?
I hae a trackerfilter (actually 2) inside 2 tabs and the js inside the help icon breaks due to this)
hi johnnb
*jonnyb that is
:)
hi 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 .....
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
500 on that
500?
in the shell?
jonnyb: where can I set the filter?
don't see any setting in wikiplugin_tabs.php
maybe I have to set something
sorry, just guessing - have a rummage in the code?
New Forum Posts: upload file/attachment - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=36903
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.
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?
hm, by reading the code looks like i moght have to modify the code somehow
nkoth: {$userId} doesn't work ?
nkoth: and what about a modifier ?
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\
it does not work in reverse
i see
luciash: what other fancy {{...}} or such tags work in pretty trackers?
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
nkoth: i only know about the user one, sylvie documented it on doc.tw.o though iirc
whoanyway I found a differnt way to solve my problem
New Forum Posts: Subir varios archivos a Galeria de Archivos - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=15&comments_parentId=36906
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
have a nice evening everyone
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
You can get a more complete list of commands that work with this bot at http://tikiwiki.org/TikiBot .
omstefanov: perhaps http://doc.tikiwiki.org/Dynamic+Content
otr this one http://doc.tikiwiki.org/Dynamic+Variable
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} ?
... and what about using a tracker with a field and test the field with TRACKERITEMFIELD
I'm within a tpl which I'm referencing from within TRACKERLIST ...
you can use a trackeritemfield oin another tracker .. I suppose
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
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.
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
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.
{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}
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?
in the smarty function you will for example $_SESSION['my_sort'] = the sort that you get through the param
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?