Jacques, Mike and Wai,

Please create a JIRA so that this issue is not forgotten. If you feel that
you can assist in improving the situation (whether removing the
functionality, improving it and/or creating the help page) please provide
your patch as well.

Regards,

Pierre

2012/6/10 Jacques Le Roux <[email protected]>

> All is in the sentence
>
>  if it was understood better.
>>
>
> I guess we could do some retro-engineering. At the moment I have to time
> to put in that.
>
> No needs to say, all good wills are welcome...
>
> Jacques
>
>
> From: "Mike" <[email protected]>
>
>  I just looked in 11.04, and it says:
>>
>> Content Path Prefix:  Define the Prefix of the content placement file .
>> Start up by a / and finish without /
>> Template Path Prefix:  Define the skeleton of the content placement file .
>> Start up by a / and finish without /
>>
>> This MAY be useful to someone, if it was understood better.  Maybe add it
>> to Catalog Help?
>>
>> On Sun, Jun 10, 2012 at 10:29 AM, Jacques Le Roux <
>> [email protected]> wrote:
>>
>>  BTW, if ever I do anything about that it will be noted in Attic page in
>>> wiki, still with the slim-down priority in mind.
>>>
>>> Jacques
>>>
>>> From: "Jacques Le Roux" <[email protected]>
>>>
>>>  I thought that if nobody uses it removing from UI will not be a big
>>> deal.
>>>
>>>> Else if someone uses it, then s/he will react and, if we
>>>> are lucky, explains why it's there and what for it's used. From Wai
>>>> description it's useless, and I must say I also never used it.
>>>>
>>>> I must admit it was a leasy assumed reaction
>>>>
>>>> Jacques
>>>>
>>>> From: "David E Jones" <[email protected]>
>>>>
>>>>  It seems funny to propose removing a feature which you don't
>>>>> understand,
>>>>> or even deprecating it without a replacement.
>>>>>
>>>>> -David
>>>>>
>>>>>
>>>>> On Jun 10, 2012, at 2:36, Jacques Le Roux <
>>>>> [email protected]>
>>>>> wrote:
>>>>>
>>>>>  I did not check but from the date you gave it's an old feature from
>>>>> the
>>>>>
>>>>>> pre ASF era
>>>>>> This has maybe been introduced with the Content component and never
>>>>>> finished.
>>>>>>
>>>>>> Then we could get rid of it, at least from the UI indeed
>>>>>>
>>>>>> Opinions?
>>>>>>
>>>>>> Jacques
>>>>>>
>>>>>> From: "Wai" <[email protected]>
>>>>>>
>>>>>>  Does anyone know how a catalog's "Template Path Prefix" field is used
>>>>>>> from
>>>>>>> http://demo-trunk.ofbiz.**apac**he.org/catalog/control/**<http://apache.org/catalog/control/**>
>>>>>>> EditProdCatalog?prodCatalogId=****DemoCatalog<http://demo-**
>>>>>>> trunk.ofbiz.apache.org/**catalog/control/**
>>>>>>> EditProdCatalog?prodCatalogId=**DemoCatalog<http://demo-trunk.ofbiz.apache.org/catalog/control/EditProdCatalog?prodCatalogId=DemoCatalog>
>>>>>>> >
>>>>>>> It seems that the code blindly prepends the "Template Path Prefix"
>>>>>>> value to
>>>>>>> the category's "Detail Screen" field.
>>>>>>>
>>>>>>> Hence, if a catalog's "Template Path Prefix" is "zzz" and a
>>>>>>> category's
>>>>>>> "Detail Screen" is "somedetailscreen", the resulting screen that
>>>>>>> ofbiz
>>>>>>> looks
>>>>>>> for is "/zzzsomedetailscreen".  Which ofbiz would not be able to
>>>>>>> locate
>>>>>>> based on the format of the screen location.
>>>>>>>
>>>>>>> If a catalog's "Template Path Prefix" is "zzz" and a category's
>>>>>>> "Detail
>>>>>>> Screen" is
>>>>>>> "component://ecommerce/widget/****CatalogScreens.xml#****
>>>>>>> somedetailscreen",
>>>>>>> the
>>>>>>> resulting screen that ofbiz looks for is
>>>>>>> "/zzzcomponent://ecommerce/****widget/CatalogScreens.xml#**
>>>>>>> somedetailscreen".
>>>>>>> Which ofbiz would not be able to located due to the improper format.
>>>>>>>
>>>>>>> Since this code never worked since 2006 when it was first placed into
>>>>>>> the
>>>>>>> svn repository.  I don't think anyone has made use of it since.
>>>>>>>
>>>>>>> I propose to remove the catalog's "Template Path Prefix" field from
>>>>>>> the
>>>>>>> catalog's user interface to reduce the confusion.
>>>>>>>
>>>>>>> Could someone in the community give some insight to this field.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Wai
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>> http://ofbiz.135035.n4.nabble.****com/Proposal-to-remove-**
>>>>>>> catalog-s-Template-Path-****Prefix-field-from-user-**
>>>>>>> interface-tp4633296.html<http:**//ofbiz.135035.n4.nabble.com/**
>>>>>>> Proposal-to-remove-catalog-s-**Template-Path-Prefix-field-**
>>>>>>> from-user-interface-tp4633296.**html<http://ofbiz.135035.n4.nabble.com/Proposal-to-remove-catalog-s-Template-Path-Prefix-field-from-user-interface-tp4633296.html>
>>>>>>> >
>>>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>>>>
>>>>>>>
>>>>>>
>>

Reply via email to