Re: [Tiki-devel] Problem with module "nocategory" parameter (branch 8)
Torsten Fabricius <
torsten@...>
2012-02-11 08:09:59 GMT
+1
Am 11.02.2012 09:06, schrieb Gary Cunningham-Lee:
> My hope is that custom modules can have the same parameter interface as
> the standard modules, so admins can just input values in fields rather
> than enter a strange character string in a textarea.
>
> It's true that the standard modules have come a long way and generally
> it's probably better to use them instead of custom modules. I've
> sometimes used the menupage module as an alternative, putting code,
> content, etc. in a wiki page instead of having custom module data, but
> this can introduce problems in some cases, and I don't know which way
> has less processing overhead.
>
> Anyway, as long as custom modules are a Tiki feature, their display
> parameters, etc. should work the same as with standard modules. I wish I
> had the skills to fix/implement it myself :-/ .
>
> -- Gary
>
>
> On 11/02/2012 16:52, Torsten Fabricius wrote:
>> Hi Gary, Luci, Geoff and all,
>>
>> the category/nocategory module parameter exists since Tiki 7.2.
>>
>> I do not know, if this parameter worked for several categories with
>> custom modules at all, because with Tiki 7.x modules have been so
>> massively improved.
>> ... so many usecases, for wich today you simply do not need a custom
>> module any more and the parameter had to be get known.
>>
>> Anyway, if it was no regression, it at least should work, because it was
>> just logical and consistent and necessary if it did.
>>
>> Cheers
>> Torsten
>>
>> Am 11.02.2012 06:19, schrieb Gary Cunningham-Lee:
>>> Hi luci,
>>>
>>> That also doesn't seem to have any effect, as a custom module parameter
>>> in branch 8, so is a regression if it worked before.
>>>
>>> -- Gary
>>>
>>>
>>> On 11/02/2012 12:49, luciash wrote:
>>>> should not it be&nocategory[]=4,5 ?
>>>>
>>>> Dne 10.2.2012 12:25, Torsten Fabricius napsal(a):
>>>>> Hi Gary,
>>>>>
>>>>> I checked in a Tiki pre-9 trunk:
>>>>>
>>>>> nobox=y&nocategory=4
>>>>> => _not visible in 4_
>>>>> -> that is correct
>>>>>
>>>>> nobox=y&nocategory=4&nocategory=5
>>>>> => only _not visible in 5_, but visible in all others _included 4_
>>>>> (should be not visible in 5 and 4)
>>>>> -> that is incorrect
>>>>>
>>>>> nobox=y&nocategory=4;5
>>>>> => no effect - visible everywhere and aswell in 4 and 5
>>>>> -> that is incorrect
>>>>>
>>>>> nobox=y&nocategory=4,5
>>>>> => no effect - visible everywhere and aswell in 4 and 5
>>>>> -> that is incorrect
>>>>>
>>>>> It seems to be an unknown bug affecting only custom modules.
>>>>>
>>>>> Which coder might be prepared to have a look at this?
>>>>>
>>>>> Cheers
>>>>> Torsten
>>>>>
>>>>> Am 10.02.2012 11:56, schrieb Gary Cunningham-Lee:
>>>>>> This site is branch 8 but not recently updated. I'll check on a current
>>>>>> branch 8.
>>>>>>
>>>>>> On 10/02/2012 19:53, Torsten Fabricius wrote:
>>>>>>> Which Tiki version do you use? 7, 8, pre-9 trunk?
>>>>>>>
>>>>>>> T.
>>>>>>>
>>>>>>> Am 10.02.2012 11:33, schrieb Gary Cunningham-Lee:
>>>>>>>> I also tried "nopage" and get the same results - trying to list more
>>>>>>>> than one separated by a semi-colon causes a failure for all, using
>>>>>>>> multiple "nopage=" statements works for the last one only.
>>>>>>>>
>>>>>>>> On 10/02/2012 17:31, Torsten Fabricius wrote:
>>>>>>>>> Hello Gary,
>>>>>>>>>
>>>>>>>>> you can always use the category Ids, what I do prefer absolutely -
>>>>>>>>> imagine you rename a category.
>>>>>>>>>
>>>>>>>>> Afaik in a custom module the semicolon is not really (or not always)
>>>>>>>>> working.
>>>>>>>>>
>>>>>>>>> Try it this way please:
>>>>>>>>>
>>>>>>>>> nocategory=Alpha&nocategory=Beta
>>>>>>>>>
>>>>>>>>> pls report if it worked
>>>>>>>>> Cheers
>>>>>>>>> Torsten
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Am 10.02.2012 06:35, schrieb Gary Cunningham-Lee:
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I want to assign a user (custom) module to not be visible in two
>>>>>>>>>> categories. If I use the syntax "nocategory=Alpha;Beta" as per the
>>>>>>>>>> admin-modules page hint, then the module displays in both Alpha
>>>>>>>>>> and Beta
>>>>>>>>>> category pages. If I delete one of the category names, then the
>>>>>>>>>> nocategory works. Is this a known problem? Is there other syntax
>>>>>>>>>> that
>>>>>>>>>> works to prevent module display in more than one category?
>>>>>>>>>>
>>>>>>>>>> -- Gary
>>>>>>>>>>
>>>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>>>
>>>>>>>>>> Virtualization& Cloud Management Using Capacity Planning
>>>>>>>>>> Cloud computing makes use of virtualization - but cloud computing
>>>>>>>>>> also focuses on allowing computing to be delivered as a service.
>>>>>>>>>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>>>>>>>>>> _______________________________________________
>>>>>>>>>> TikiWiki-devel mailing list
>>>>>>>>>> TikiWiki-devel@...
>>>>>>>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>>
>>>>>>>> Virtualization& Cloud Management Using Capacity Planning
>>>>>>>> Cloud computing makes use of virtualization - but cloud computing
>>>>>>>> also focuses on allowing computing to be delivered as a service.
>>>>>>>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>>>>>>>> _______________________________________________
>>>>>>>> TikiWiki-devel mailing list
>>>>>>>> TikiWiki-devel@...
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>>
>>>>>> Virtualization& Cloud Management Using Capacity Planning
>>>>>> Cloud computing makes use of virtualization - but cloud computing
>>>>>> also focuses on allowing computing to be delivered as a service.
>>>>>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>>>>>> _______________________________________________
>>>>>> TikiWiki-devel mailing list
>>>>>> TikiWiki-devel@...
>>>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>>>>>
>>>>> --
>>>>> Torsten Fabricius
>>>>> fon: +49 178 8 272 383
>>>>> mail:torsten@...
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>>
>>>>> Virtualization& Cloud Management Using Capacity Planning
>>>>> Cloud computing makes use of virtualization - but cloud computing
>>>>> also focuses on allowing computing to be delivered as a service.
>>>>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> TikiWiki-devel mailing list
>>>>> TikiWiki-devel@...
>>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>>> ------------------------------------------------------------------------------
>>>> Virtualization& Cloud Management Using Capacity Planning
>>>> Cloud computing makes use of virtualization - but cloud computing
>>>> also focuses on allowing computing to be delivered as a service.
>>>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>>>>
>>>>
>>>> _______________________________________________
>>>> TikiWiki-devel mailing list
>>>> TikiWiki-devel@...
>>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>> ------------------------------------------------------------------------------
>>> Virtualization& Cloud Management Using Capacity Planning
>>> Cloud computing makes use of virtualization - but cloud computing
>>> also focuses on allowing computing to be delivered as a service.
>>> http://www.accelacomm.com/jaw/sfnl/114/51521223/
>>> _______________________________________________
>>> TikiWiki-devel mailing list
>>> TikiWiki-devel@...
>>> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>>>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> TikiWiki-devel mailing list
> TikiWiki-devel@...
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
>
--
--
Torsten Fabricius
fon: +49 178 8 272 383
mail: torsten@...
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/