Loading...
 
Skip to main content

Category: Wiki Plugin (extends basic syntax)

Wiki Plugin (extends basic syntax)
Show subcategories objects

Name Type
Filtering a Multivalue does not work with MySQL search
Search (index) need sometimes to "Explode" a itemList field values as an array of string so each value can be filtered

For an exemple, in a tracker you have an itemList fields using this date field with such values:
* tracker_field_date: 2021-03-24, 2021-01-14, 2020-10-22

To filter per date (we need item that contain "2021-03-24" only) we can should be able to use multivalue.

{CODE(caption="filter set in a smarty template, work the same elsewhere")}
{filter field="tracker_field_date" multivalue="{/literal}{$row.tracker_field_holidayDay}{literal}"}
{CODE}

''Note: if you use content you may filter "2021-03-24 and 2021-01-14 because they both contain "2021"''

This is working fine if you use elasticSearch but doesn’t when you use Mysql.
tracker item
Search issue when using CustomSearch with MySQL Full Text Search as the Index
When using MySQL Full text Search as the index. CustomSeach plugin doesn't seem to find all items as compared to a PHP Lucene index

See show instance

Show username: admin
Show password: 12345
tracker item
section edit in non-editable menupage (from module) possible when page in central column is editable
{syntax type="tiki" editor="plain"}
section edit icons in non-editable menupage (from module) are shown when page in central column is editable.
(Ajax enabled, in case it matters)

The links in section edit icons open the central column page for editting, not the menupage one, but anyway, confusion is added to users... (plus icons non-WYSIWYCA on the menu page)

It should be easily reproducible on dev.tw.o.

Using Tiki 4.1.
tracker item
Semantic link plugin
Semantic link relationships seem until now only browsable by admins.
Since there is - besides the admin view - no other way to get the semantic relations listed, no one else can get advantage of semantic links and will make no efforts in setting semantic relations.
Concidering the importance of semantics in wikis a plugin seems highly necessary to get the feature of semantic links in tiki started.

__Request:__
Likewise to the Plugin ((Backlinks)) all pages that link to a specific page in a specific semantic relationship.

__So far:__
The semantic_links module is supposed to enable views on semantic relationships.
And indeed, when selecting a semantic type and push the button "show usage", the result shown is exactly what I need.
However this view is only possible for admins.
But since that view for admins is already existing, I would estimate the efforts to implement a plugin as low.

__Plugin idea:__
Relating to the example shown in the documentation of ((SemanticAdmin)) dogs and cats are subsets of animals.
We want the page "animals" to list all subsets by a plugin likewise to

{SEMANTICLINKS (semantictype=subset, page=animals, info=hits|user, noheader=1}
{SEMANTICLINKS}

The result would be:
- dogs
- cats


__Insufficient workarounds:__
Until now the above shown results have to be specified manually as invert relations.
For automatic listing, existing plugins ((PluginShowpages)) / ((PluginListpages)) / ((PluginSearchtitles)) do not work.
So the only workaround without the requested plugin I could image would be to tag the pages "dogs" and "cats" with the a tag "subset-animal" and than use freetags plugin for a listing dogs and cats in the animal wikipage - likewise to the status tags in this tiki. However, that sounds like a bad abuse of tags, since we already got that information saved in our semantic links relationship - we just need to get it readable.

__Related pages:__
Relating to forum discussion with marclaporte:
[http://tiki.org/tiki-view_forum_thread.php?topics_offset=20&topics_sort_mode=lastPost_desc&forumId=4&comments_parentId=38751]
tracker item
Several fields (itemLinks and Category) are not displayed in the plugin tracker on tiki.org
At https://tiki.org/Add-Consultant the value for 3 fields that were added recently (index rebuilt several time since) are not display and the user can’t choose anything.

{img fileId="1280" thumb="box"}
tracker item
Several flash plugin issues in TW 3.0
I am having problems using the flash plugin in TW3, that a TW2.4 site test that I have does not have.

1 - First of all the flash module code has to be re-written for it to work at all.
from:
{CODE()}{FLASH(movie="http://www.youtube.com/watch?v=JeqdtbYz_M4")}{FLASH}{CODE}
to:
{CODE()}{FLASH(movie="http://www.youtube.com/watch/v/JeqdtbYz_M4")}{FLASH}{CODE}
Can the edit window button be modified to insert the correct code?

2 - 'Flash player not available' appears in slides of wiki pages although wiki pages themselves work fine.

3 - In calendar, list view shows flash movie but the preview doesnt - gives the error message 'Flash player not available'. Any tips or directions to solve these problems??
tracker item
CODE Plugin have a horizontal scroll
If I use CODE plugin look like as attached images, the right side horizontal scroll should be disappeared, I think. Because of it does not have any hotizontal scroll until Tiki 12.0.

This horizontal scroll appears in Tiki 12.1 alpha and beta even if the page content is too short.

{img fileId="751" thumb="y" rel="box[g]"}

Thanks,
Joon.
tracker item
show instance for webinar plugin {LIST} training
This is not a wish or a bug. We just need the show instance for training.
tracker item
showpages attempts to wiki parse metadata (page description)
To differentiate pages which use the redirect plugin from true orphan pages we long ago adopted a convention of adding ~np~{Redirect}~/np~ to the page description of such pages. This makes hunting true orphans much easier for us.

Show Pages attempts to wiki parse the page description resulting in

Test2-Page1 - Page 1
Test2-Page2 - Page 2 REDIRECT plugin: No page specified!
REDIRECT plugin: No url specified!
REDIRECT plugin: No perspective specified!

Neither TOC nor LISTPAGES fail in this way.

This __''may''__ be a regression issue somewhere between v6.7 and 15.5



tracker item
ShowPages broken for e-mail userids on TW15 and TW17.2svn
{syntax type="tiki" editor="plain"}
The output from plugin {SHOWPAGES} is broken if the page was last modified by a user with an e-mail form of userid.

For a userId of the form "userxxxx" of a well formed wiki link to the page listed, with a mouse over which reads "Last modified by userxxxx"

For a user of the form "test@example.com", the user's email address forms the wikilink followed by in plain text " class="wiki">Test_Page_Name The mouse over is also broken and reads "Last modified by <a class="

I had hoped that we'd be able to use ShowPages as an alternate to the issue we've encountered with ListPages issue https://dev.tiki.org/item6562 , but with both mechanisms broken our migration away from TW6.7 is stuck at the present, since all our user accounts are e-mail based.

Also seen to be broken on demo.tiki.org reporting Tiki version 17.2svn
tracker item
Signature plugin is jumpy
{flash type="url" movie="display296" width="772" height="721"}
tracker item
Signature tooltip covered up by right column
See [https://dev.tiki.org/display294|https://dev.tiki.org/display294|box;width=1058px;height=694px;type=iframe]
tracker item
Since 14.x: smarty_modifier_escape() fatal error
Since 14.x displayList=y broken in Plugin TrackerFilter, and therefore, featured Collab Community profile broken

Tested with trunk r52418

To reproduce:
# apply Collaborative_Community_12x profile.
# Go to the registered users homepage. You'll see an almost WSOD with just the table header (of the trackerplugin) at the top.
# Edit the TrackerFilter plugin params to set displayList=n and everything will display correctly (but no list of items pre-displayed)

Error message in the show.t.o instance where has been reproduced:
http://xavi-9794-5447.show.tikiwiki.org/tiki-index.php?page=Community+Members+HomePage

^ Fatal error: Call to undefined function smarty_modifier_escape() in /var/www/xavi-9794-5447/lib/core/Tiki/Render/Editable.php on line 55
^
tracker item
Site timezone is not respected when using Plugin Convene (time stored as 2 hours before my selection)
Site timezone is not respected when using Plugin Convene

E.g.: site default is UTC-2. You choose your time in the convene plugin, as UTC (even if you have no indication of the timezone, it seems), for instance, and the stored time is shown 2 hours before the time you selected in your choice.

Reproduced using Tiki 13.x here:
https://tiki.org/Admins+Team+Meetings

However, I can't reproduce it in an associated show instance in trunk. Maybe it has something to do with the timezone set in php settings, and not just the setting in Tiki?
I kept the tiki set as "Admin home > General > Date and time > Displayed Time zone: Use site default".


tracker item
SLIDER plugin does not work when placed in a module zone (such as PAGETOP) via MENUPAGE
If you place the SLIDER plugin in a module zone (such as PAGE TOP), it breaks the Tiki page layout. The images in the slider do not load correctly, the slider vendor JS and CSS do not load.

I have tried:
# Creating a custom module with SLIDER and placing it a module zone.
# Creating a page with the SLIDER, then using a MENUPAGE module to add the page to a module zone.

Neither works.

Users should be able to place a SLIDER (or really, use __any__ Tiki plugin) in a module zone.
tracker item
smarty_tiki/block.wikiplugin.php is called twice upon a {wikiplugin _name="blah" ...}..{/wikiplugin} in a tpl
{syntax type="tiki" editor="plain"}
6.1:
{wikiplugin _name="blah" ...}..{/wikiplugin} is called twice from smarty! After each } you get a call.
data is what is between the } and {

Read more here: [http://irc.tiki.org/irclogger_log/tikiwiki?date=2011-01-17,Mon&sel=257#l253]
tracker item
Display of collapsible sections ("+"/"-" headers) in FADE zones broken
Collapsible sections are those created by starting a title with "+" or "-". Some of these sections cannot be expanded or collapsed due to a conflict with other collapsible sections shown at the same time but parsed in different contexts.

When such a conflict happens, the div elements of the conflicting sections have identical id attributes (which means the HTML is invalid). Browsers deal with such conflicts by considering that the real element with the duplicate id is the first one. Consequently, when that happens, trying to open/close any of the conflicting sections will open/close the first conflicting section.

It would be difficult to explain exactly when this occurs or not, but this is very simple to reproduce. Suffice to call the FADE plugin twice and to have at least 1 collapsible section in each call's body. Trying to open or close the first section of the second call to FADE will fail.


!! Cause
The identifiers of the section are generated in parse_data_process_maketoc(). The $nb_hdrs variable holds a count of collapsible sections which attempts to avoid such conflicts, but as this is a local variable, when parse_data_process_maketoc() is called several times, conflicts can occur between different contexts. As FADE calls parse_data() to parse its body, a page's immediate content and its content inside a FADE zone are parsed in different contexts.

This affects trunk as of r69061.

!! Example
This is demonstrated on [http://chealer-232-7031.show.tikiwiki.org/tiki-index.php?page=HomePage|this show.tikiwiki.org page].
tracker item
Some field editing in pluginList (inline) are not saved properly
At Tiki15 on the wishlist pluginList I can edit the field "Resolution Status" and my editing is saved. I can edit the field "Volunteered" but it is not saved (no matter how many time I wait).
tracker item
Some filters on date range are not working anymore
This:
{CODE()}
{filter range="creation_date" from="first day of previous month midnight" to="first day of midnight"}
{CODE}

Is not working anymore on fresh upgraded Tiki22.
It was working fine (a month++ ago) as explained in the doc: http://doc.tiki.org/PluginList-filter-control-block#Date_ranges
tracker item
Sort by multiple fields using Sort Control Block
Hi,
Is there a way of sorting content by means of "sort" control block sorting by more than one value? for example I'd like to execute a first sorting based on column A value; than, for each column A value, I'd like the content to be further sorted by column B value (hope it'clear).

Currently I use something like

{CODE(theme="default")}
{LIST()}
{filter field="tracker_id" content="..."}
{sort mode="tracker_field_..._asc"}
...
{LIST}
{CODE}

I think it could be used something like
{CODE(theme="default")}
{sort mode="tracker_field_sortingField1_asc"}
{sort mode="tracker_field_sortingField2_desc}
{CODE}

Or alternatively
{CODE(theme="default")}
{sort mode="???" modes="tracker_field_sortingField1_asc, tracker_field_sortingField2_desc, ..."}
{CODE}
in a similar way w.r.t the already existing syntax
{CODE(theme="default")}
{sort mode="randommode" modes="title_asc,tracker_field_example_asc,tracker_field_ticketNumber_nasc, modification_date_nasc"}
{CODE}

Thank you for your attenction
tracker item
Sort by several fields in plugin list
Currently, we can only sort by one field. But it might be useful in many cases to sort by several, in a certain order. It's quite a usual thing to do with MySQL, for example with a -+ORDER BY user_id, created_at+- so it would sort first by user IDs, and then for each user ID it would sort by created_at.

The syntax could be as simple as: -+~np~{sort mode="tracker_fied_user_id_asc, tracker_field_created_at_desc"}~/np~+-
tracker item
Sort control block used in the plugin List should (was) accommodate with empty values
{syntax type="tiki" editor="plain"}
On a Tiki27 I have a plugin list with this sort control block to display trackeritems;

-+{sort mode="tracker_field_apiSortingCriteria_asc"}+-
Not all my items have a value for this field.

A few week or month ago it wasn't a problem and nothing were shown in the search-index logs.

After updating this project with the last Git branch 27.x i have a warning for each item without a value in the field.

{CODE()}
2025-07-26T07:40:12+00:00 INFO (6): addDocument wiki page PageName {"memoryUsage":"53.0 MiB","memoryAvail":"73.5 MiB"} 2025-07-26T07:40:20+00:00 ERR (3): NOTICE: Undefined array key "incat" {"code":1024,"file":"/Users/blabla/Documents/blabla/www/htdocs/domain_tiki27/temp/templates_c/en_basic^c992f36a1145d5fb2232 2025-07-26T07:40:20+00:00 ERR
{CODE}

The code should be handling case when a field has no value.
tracker item
Sorting Alpha not working at Tiki.org page
At https://doc.tiki.org/PluginToc#Only_second_level_and_sorted_from_A_to_Z it show:

__D__ocumentation Lifecycle
__F__eature Page Template
__d__elete
__e__rrors
help
in progress
merge
...

It should be ordered from A to Z
(OR some importance is given to CAPS vs notCAPS ?)

~~#F00:__EDIT__~~ : I created an instance to reproduce and I couldn’t so it may be something with Tiki.org
http://bsfez-11581-6285.show.tikiwiki.org
tracker item
Sorting by category tracker field should be as a tree, like ‘browse categories’ page
When sorting by category tracker field, the sort is on the category ID as text. Example:
11
110
12
13
14
141
15
The sorting should be just as it is on the ‘browse categories’ page – as a tree. The listing is alphabetical at each level, and all child items are listed before the next item at the current level.
tracker item
Trackers: field type user: Submitted by has changed behavior
Since upgrading dev.tikiwiki.org the "submitted by" is not recorded in bug reports

Can not reproduce the problem. Can you give an url ?
This url http://dev.tikiwiki.org/tiki-view_tracker_item.php is working for me
tracker item
Show PHP error messages