Re: [Tiki-devel] Workaround for Wiki Page Tracker Field with name from Mathematical Calculation field
Alessandro Martinelli <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Jonny,
It's ok, glad to hear there is a way for hiding the error box too.
Maybe this workaround could be described in the documentation, maybe
I'll do it as soon as I can :D
Alessandro
Il 17/02/2021 18:22, Jonny Bradley via TikiWiki-devel ha scritto:
> Hi Alessandro
>
> Well done on the workaround (sorry, this has been in my drafts for weeks!)
>
> Maybe you can hide the "page not found" error box on that particular page? There should be a unique id on each page's html element, like <html id="page_42"> so you might be able to do something like (untested):
>
> #page_42 .alert-danger {
> display: none;
> }
>
> ...assuming your page is number "42" :)
>
> HTH, sorry for the slow response.
>
> jonny
>
>
>> On 30 Jan 2021, at 17:44, Alessandro Martinelli <[email protected]> wrote:
>>
>> Hi,
>>
>> I've found a partial workaround for bug "Wiki page tracker field can't use results from mathematical calculation (formula using strings) due to parse order" (https://dev.tiki.org/item7184-Wiki-page-tracker-field-can-t-use-results-from-mathematical-calculation-formula-using-strings-due-to-parse-order), but maybe some of you are already aware.
>>
>> The workaround is to setup the tracker plugin with tabs in order for the item to be filled in more than one step. That way, in the first tab should contain the informations needed to create the mathematical calculation field along with the mathematical calculation field itself. By pushing 'next' in the first tab, che item is created and mathematical calculation field filled. In subsequent pages the user has the possibility to fill the wiki page content. On 'Save' the wiki page will be saved along with its content.
>>
>> The only problem is, when clicking 'Next', along with the Successful Item Creation message, a Wiki Page Not Created Error message appears too. Maybe giving the possibility not to show such an error message could be enought to make the feature usable.
>>
>> Source: http://doc.tiki.org/PluginTracker
>>
>> Bye,
>>
>> Alessandro
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> TikiWiki-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>
>
>
> _______________________________________________
> TikiWiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel