Sam___: you should go and edit your default groups and look for option «Default category assigned to uncategorized objects edited by a user with this default group:»
I solved that problem in a different way... I forced the user to choose a category, and made it possible for him to choose.
My question is now different, if you don't mind. I'm asking about session timeout
That enables it only for 2 hours (as if I choose the option for use to choose whether he wants to be remembered, the checkbox that asks the users says only 2 hours)
How can I modify the 2 hours thing?
Oh, I see. I usually use the search function to find option, and as I'm searching for "remember" to get the remember me option, the option of duration didn't show up. Now I found it and problem solved. Thanks a lot! :)
Yes, but after you found the option with the search, it's usually a good idea to click on the link to the page where the option is, so you can see the surrounding (and usually related) ones :)
no problem
Ah dammit... I set the <head> in my tiki, and now it doesn't work anymore...
Could someone please tell me how to internally remove what I inserted in <head>?
I mean without accessing the page
I tried finding the file, in which the information is stored, but I couldn't
03chibaguy r53634 10trunk/ 10(30 files in 25 dirs)
[REF][NEW] File changes to implement fivealive-lite theme redesign by luci. Two layout template directories are added (maybe just temporarily to work out the methods). "Moving headers" actually adds no new content-containing template file; its layout_view.tpl just smarty-includes an existing layout_view.tpl but it gets a distinct body class and L&F layout selector for CSS use and
tikiwikito enable an easy layout switch. "h_tb_m_f_containers_3-6-3" adds another container div to raise the topbar out one level out of div.middle, to facilitate the stickiness of the divs' positions if necessary.
When setting permissions via the groups menu (click icon permission for a group), this sets global permissions, regardless which group to chose. Is this intended behaviour?
Does anyone know how the objectid in db table users_objectpermissions is calculated (the sort of hash) and why it is not a simple integer referenceing tiki_object_ids?
03walper r53635 10trunk/lib/core/ 10(7 files in 4 dirs)
[DOC] Started to comment parts of the code involved in the permission system since this is quite complex. Some minor refractoring.
03chibaguy r53637 10trunk/themes/base_files/less/tiki-miscellaneous_global.less * [FIX] Updated Less file to sync with image path fix in commit r53636 by walper.
03chibaguy r53638 10trunk/themes/base_files/ 10less/tiki-miscellaneous_global.less 10css/tiki_base.css
[ENH] Increase icon font size slightly for better usability (consensus at Jan 23 webinar).
Hi :-) i would like to add a padding to the popup windows in trackeritems thats shopws tis sort info about the item on hover
*has wriiten confusing* - i mean the popup that displays on hover in trackeritems
at first i thought to start in trackers, but yes it should also be changed when using the plugin in a page
just a padding of 2px or so
right now it looks - mhh - "compressed"
Welcome to the official Tiki Wiki CMS Groupware channel. Please ask your question directly. Don't ask to ask. Someone will reply if and when they know the answer. Welcome again and please stay a while. Thank you!
Welcome to the official Tiki Wiki CMS Groupware channel. Please ask your question directly. Don't ask to ask. Someone will reply if and when they know the answer. Welcome again and please stay a while. Thank you!
if it wuld be populated than it would show the fields in a table, but without any paddying.
my comment in the bugreport shows the "ugly" patch i use locally to get this poupfields configured
Sure, Sam___.
wolfganga, the empty popup is a Bootstrap div.popup-content and has 9px and 14px padding. Seems like that's ok. So when it gets populated with a table it seems not enough padding?
An example at http://getbootstrap.com/javascript/#popovers
This is teh created data for the popup: data-content="<div class="panel panel-default"><table class="table-bordered item"> <tr><th>Kurzbeschreibung</th><td>mm</td></tr> <tr><th>Nummer</th><td><span class='formunit'>T</span>1008</td></tr> <tr><th>Kategorie</th><td>Testcat</td></tr></table></div>"
03chibaguy r53639 10trunk/lib/wiki-plugins/wikiplugin_convene.php
[FIX] Better "undecided" background color for Convene plugin (using Bootstrap "label" classes, which include a gray color).
Ah, I see: http://zukakakina.com/trunk/Convene+test I just pasted your code into that page since I was working there already.
Yeah, self-correcting keyboards- a good idea. ;-)
I added a div.panel-body around the table. I think this is the best method, to use another Bootstrap class rather than adding per-instance padding.
I have done nothing but copy the helloworld plugin from here: http://dev.tiki.org/Hello%20World#To_create_a_new_plugin . When I do so, and search for "plugin" in admin preferences, the website loses its theme (apparently some problem with syntax). Now when I remove the file "wikiplugin_helloworld.php", everything goes back to normal. Is this a bug?
wolfganga, the popup at http://xavi-9794-5455.show.tikiwiki.org/tiki-view_tracker.php?trackerId=1 has the correct construction, and should have enough padding already.
It's different from the code you pasted here.
If you have a case of a popup with less padding, it must be different construction than the one at show.tikiwiki.org.
I have done nothing but copy the helloworld plugin from here: http://dev.tiki.org/Hello%20World#To_create_a_new_plugin . When I do so, and search for "plugin" in admin preferences, the website loses its theme (apparently some problem with syntax). Now when I remove the file "wikiplugin_helloworld.php", everything goes back to normal. Is this a bug?
Mhh - this is from the above sample: data-content="<div class="panel panel-default"><table class="table-bordered item"></table></div>"
It looks pretty much like my prevous sample.
I used chrome -> inspect -> edit html
for an item in http://xavi-9794-5455.show.tikiwiki.org/tiki-view_tracker.php?trackerId=1 btw. i use trunk updated some hours ago
You mean when you hover over the item link, like "Another buggy feature X"? I get 'div class="popover-content">
<div class="panel panel-default">
<table class="table-bordered item"/>'
Ah, ok, the same.
lindonb: As far as I understood, all I had to do is create the file and put the code in it with two functions that I copied from there. Is there anything else at all?
lindonb can you please help me with the reason why I'm trying to do a plugin, because this plugin thing may not be necessary
I just need your attention for a minute, if you don't mind
OK. All I'm trying to do is actiavate mathjax with a specific set of preference. I tried doing this by adding some code in the <head> part of HTML, but something is wrong there.
So all I want to add there is the following code:
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_SVG"></script> <script type="text/x-mathjax-config">MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$']]}});</script>
This is tested on other websites, like this one www.afach.de . You can see it in the header of the page
But when I enter it in tiki, the whole website stops working!!!!!!!!!!!!!
Please test the code yourself, lindonb, and check it in my other website www.afach.de
This is completely not understandable!
Not really. But it's simple code that has to go to the header, and it's not all javascript
The first part is javascript. The second part is a specific code for mathjax
yes, that’s good thing…
fyi, that input box interprets your code as smarty syntax
and {literal} is a smarty tag that keeps the content from being interpreted
wolfganga: btw, i asked jonnyb about your bug report on popup fields but he said it was working fine for him
which is a shame because he could fix it
i have the same issue you have
what is the “ugly” fix you have for it
The "ugly" fix is described in teh comment to the bug report: https://dev.tiki.org/item5505?#contenttabs_view_tracker_item-2 basically i enable the textinput field again to alow to insert the field ids
But i think thi is not intended
I *could* commit it, but i dare that this would never ever get fixed properly then.
if jonnyb would give the test instance a try, he would see right away that it fails
he said that show insance is out of date and it works fine on his local trunk
but i have the same issue on an up-to-date trunk
agree you should commit that fix - would just leave for your site and see if we can’t get someone to look at it
I am usally fimiliar with ajax stuff - but : in tiki - so many classes and files are involved (on top with smarty templates) that debugging becomes a real pain.
and there are very ew to none commenst inside the code, this makes it even harder
yes :-) althought i start to become more fimilar with trackers and their code - fixed already some bugs
and when talking about this - perms are difficult as well.
i debugged perms for about 16+ hours over two days - the stack trace involves about 20+ invocations....
if LPH has writen the perms stuff i know would you meean (factories, interfaces, accessors, magic getters....)
But: i would be great if this excellent code would be documented
i started to document my findings inside teh classes (commited today) - you can see them in varoius perms accessor classes
yes, light on documentation because it’s all self-explanatory to LPH :)
yes, saw your commits - a very good thing to add comments where we can - thank you!
Example from /lib/core/perms/check/Alternate.php:
/* * Check permission as given by the constructor for a specific list of groups * This function requires that $this->setResolver($resolver) has been set before. Otherwise it will always return false. * @param Perms_Resolver $resolver - not used * @param array $context - not used * @param string $name - not used * @param array $groups - list of groups to check permission against * @return boolean $hasPermission- tr
i have one more bit of refactoring to merge back into trunk for tiki14_themes branch but we're not going to delay branching until all the icons are done
the change i made to iconsets mean you don't need to add anything to the iconset definition to use the default icons in the set
hello jonnyb - can you reproduce the bug "Tracker: Popup list details (Item tooltip) can no longer be configured - fields do not show up" reported here: https://dev.tiki.org/item5505?
I have setup 3 instances (1 windows 2 x linux) all using trunk - and they all showup this issue.
Could it be theme related?
As mentioned, the problem occurs when you deselect fields from the popup - they do not show up again thus not being selectable again.
Does your local box still use the text input field?
jonnyb - i do not want to bother you, but it seems some more people have the problem that tracker popus on hover do no longer work. Did you have a look to the temporary fix i proposed in the comments to that issue?
03jonnybradley r53641 10(27 files in 16 dirs)
[MRG] tiki14_themes: Part two, iconset files renames to yourstyle.php or youroption.php, plus all built-in icons now available in templates for the default font awsome and glyphicons sets.
Full merge details here again: https://themes.tiki.org/Concept+and+Design
only if you want to make a special tiki "alias" for an icon, if you just want to use the font awesome ones they all should be available directly
here's the list http://fortawesome.github.io/Font-Awesome/cheatsheet/
wolfganga: so i'm having a look at https://dev.tiki.org/item5505 - downloading the show instance database, i think there's something wrong in the data...
how do you mean "using the filenamager"?
it is empty bc the listbox shows only entries of that field
so if you deselect an field in the listbox
the listbox does no longer show that field on the next invocation
from my understanding - the ajax call must query the fields, and then the fields as listed in the field poupfields - and the set those fields as "selected" in the listbox
btw. debugging the ajax stuff with the smarty templates is a nightmare for me - how do you do this?
@lindon - yes you did ;-)
@jonnyb - may i ask you for another annoying bug that might be easily to fix (for you)?
when you rename that page to not using a namespace - it works
so if the namespace sep. like :_: is used, then the ajax driven comment box does not show up
Hey - i even filled a bug for that: https://dev.tiki.org/item5532? * wolfgang hates filing bugs but understands that this is necessary*
i think those objects just need to return a simple input if unified is off
wolfganga: sorry, i've never really messed with namespace thing but i always thought that seperator was wrong - colons aren't allowed in urls paths
jonnyb: but people will still get confused if unified search is on but they need to rebuild (or build for the first time) the index
probably need some warning text
no patch needed
but to jonny’s point, there should be an alternative if unified index isn’t on
but even with index on there can be issues if the index hasn’t been rebuilt
another thing weher you guys might can help: when uploading via filemanager, is this correct that i get a whithe screen but nothing else (after pressing "upload")?
yes its in the file store - and when i reload the page (using a diff. tab so no POST) i can download that file
i use Progressbar during upload: Ajax/flash based
really this is sometimes fustrating - the things do not work and we are in version 14
xdebug is always in standby ... ^^
btw. to popup on hover in the file gallerie has a nice format. would be great if those for the trackeritems could be similar
03jonnybradley r53642 10trunk/lib/ 10smarty_tiki/function.object_selector.php 10smarty_tiki/function.object_selector_multi.php
[FIX] object_selector: Add feature_search pref test for object_selector and object_selector_multi and return a simple text input if possible.
Will still fail if the index isn't up to date that would be much harder to test for...
Should address http://dev.tiki.org/wish5505 thanks wolfganga and lindonb
jonnyb: do you know why the db table users_objectpermissions uses a sort of hash as the objectId? example: Anonymous|tiki_p_search|category|c661488faee77fd64c9a89d64188d57b
i do not see a ref. of c661488faee77fd64c9a89d64188d57b anywher else in the database
i thought that, too. i.e tiki_categorized_objects, tiki_category_objects
i spent 2 days on debugging permissiosn and stumbled across this. but i have not seen any usage of that id/hash
Updated the 2 issues in the bug tracker.
jonnyb: changing the namepsace seperator to someting else not using colons seem to work. i know use '--' instead of ':_:' which is the default. Strange engough though, files attachment have worked...
wolfganga: good to hear, but i wonder what should be done about it - i did point out that created invalid urls when it was discussed a few years ago...
i get your point. just saying the it somehow at least works with file attachments (whicht from html/js point of view are certainly similar to to the non working comment code) and that it *might* be an option to change the *defazlt* namespace sep. to something that works.
i mean in 3 hours as of today we faced 3 issues that require either some specific feature, specific settings or do not work at all (like the flash uploader). This easyly sums up quick....
*Mabye* i have no personal experience - you use enable seo together with the required htaccess / rewrite settings. BUT: Lot of links might refer to some tiki-xyz.php pages anyway.
Isn't there an automated way to do this? This is a horrible weakness that people know the platform used in the website! It takes someone an hour of work on my wordpress page to know that I use wordpress!!!
03jonnybradley r53643 10trunk/ 10(5 files in 5 dirs)
[KIL] fgal_upload_progressbar: Remove feature as it has never worked - currently creates WSoD on file upload (and if you want a nice file upload progress bar use elFinder ;)
We are using shopware as a shp system. (www.shopware.de). the code is public.
So anyone can get access to it - and they will now we are using shopware. does this make our shop unsecure. NO. Bc the code is secure. And if there is an exploit, it needs to be fixed. ^^
I agree, it's just about making it harder to crack... pretty much like why you add salt to your encrypted keys :)
So there's no supported way to do this...
ok, done for now, more soon
Sam___: i tihnk you might be able to use the sefurl feature to do what you want for "normal" public facing pages and you could customise the patterns in route.php to change things
bye
according to my logs, the script kiddies don't care what software you run. They run whatever script they find against any Ip they can think of
I see windows exploits against my linux servers all the time :)
I was reading the backlog. I did not see my opinion came too late :)
How can I create an option inside a section? I looked in the book tiki for smarties and it's not so clear. I mean I have put the section name in the option and the latter has a higher position number... and yet it doesn't fall under the section item...
I'm talking about menus, hope that was clear.
Anyone, please?
How can I create an option inside a section as a menu? I looked in the book tiki for smarties and it's not so clear. I mean I have put the section name in the option and the latter has a higher position number... and yet it doesn't fall under the section item...
Anyone, please?
lindonb: I don't see anything special there. I'm starting to wonder whether I can, at all, have expandable menus in the main horizontal menu on the top!!
Because what I'm trying to do is make something expandable out of that... like expand more options on mousover
Is that possible?
Let's hope I learn fast enough that my boss doesn't kill me and say "you gotta be doing physics not webdesign"... I'm really starting to worry... Thanks for trying to help though.
03lindonb r53646 10trunk/templates/modules/mod-last_visitors.tpl
[FIX] module: Last visitors module was showing current time for last login for users who never logged in - show "Never logged in" instead
applied bootstrap or css?
main menu - 42 or a custom one?
the 42 is not customisable! you would have to clone it and then customise the cloned version, wich then would be 43+ but not 42
In fact 43... so now I have a weird incident while trying to use the available menu... I cloned 42, and edited the copy (44), and 42 got modified as well...
It's a mess... I'm so confused... there's definitely a bug, and the menu 42 doesn't reset and gives a PHP error
or you talk about the usual menu used as main navigation menu in the top bar, ... so a fully custom menu .. sure 43 is the second menu in Tiki, and the first one an admin creates after a fresh installation
when I try to reset 42 I get this error: PHP (5.6.4-1~dotdeb.1) ERROR (E_WARNING): File: lib/cache/cachelib.php Line: 375 Type: readdir() expects parameter 1 to be resource, boolean given
nope
yesterday I deteled /temp/cache though
I recreated cache now, but menu 42 does not reset still
How about I give you admin credentials and you come see for yourself, fabricius
fabricius?
fabricius: are you testing this yourself?
And now I see a real bug: PHP (5.6.4-1~dotdeb.1) ERROR (E_WARNING): File: lib/menubuilder/menulib.php Line: 736 Type: usort() expects parameter 2 to be a valid callback, function 'compare_menu_options' not found or invalid function name