Hi Nicolas,

Apologies again :),the path is
www/out/azure/tpl/widget/header/topcategories.tpl(Line No59).

Thanks & Regards,
Sai Chandra Sekhar.M,
DevBlaze Inc.

On Thu, Jun 28, 2012 at 6:45 PM, Sai Chandra Sekhar Madala <
[email protected]> wrote:

> Hi Nicolas,
>
> Yeah ..Thank you for the correction.I just saw where I need the
> requirement.I need it for the subcategory and just as we get the title of
> subcategory in www/out/admin/category_main.tpl (Line No 59) with "
> [{$osubcat->oxcategories__oxtitle->value}] ", I want to get the value of
> the test field with " [{$osubcat->oxcategories__test->value}] ". I have
> tried this,but does not work.
>
> Thanks & Regards,
> Sai Chandra Sekhar.M,
> DevBlaze Inc.
>
>
>
> On Thu, Jun 28, 2012 at 6:35 PM, Nicolas Hodin <[email protected]> wrote:
>
>> Sai,
>>
>> I just checked in Azure template files and in topcategories.tpl, $ocont
>> is an oxcontent object, you should use $ocat instead :
>> [{$ocat->oxcategories__test->value}] .
>>
>>
>> Best regards,
>>
>> Nicolas Hodin
>> www.takeitweb.fr
>>
>> 2012/6/28 Sai Chandra Sekhar Madala <[email protected]>
>>
>>> Hi Mr.Nicolas,
>>>
>>> I am very sorry for the typographical error in my mail.Indeed I have
>>> used [{$ocont->oxcategories__test->value}] to print the value.Can you
>>> tell me why was I unable to retrieve the field though we were able to get
>>> the value in category listing page.
>>>
>>>
>>> Thanks & Regards,
>>> Sai Chandra Sekhar.M
>>>
>>> On Thu, Jun 28, 2012 at 6:24 PM, Nicolas Hodin <[email protected]> wrote:
>>>
>>>> Hello,
>>>>
>>>> You're using  [{$ocont->oxcontents__test->value}]  which gathers the
>>>> test field in oxcontents table. I think you must use
>>>> [{$ocont->oxcategories__test->value}] if you want to print the test
>>>> field of oxcategories.
>>>>
>>>> Best Regards,
>>>>
>>>> Nicolas Hodin
>>>> www.takeitweb.fr
>>>>
>>>> 2012/6/28 Sai Chandra Sekhar Madala <[email protected]>
>>>>
>>>>> Hi All,
>>>>>
>>>>> I have a requirement where I need to add an extra input for categories
>>>>> in admin.So, I have created a column in oxcategories table using sql 
>>>>> script
>>>>> in admin->service->tools
>>>>>
>>>>> "alter table oxcategories add column test varchar(128);"  and updated
>>>>> the DB views. I have also added the row in www/out/admin/category_main.tpl
>>>>> for this field.
>>>>>
>>>>> I have entered some test values in to the input field and saved the
>>>>> contents for different categories.They all get saved and database tables
>>>>> are also updated.
>>>>>
>>>>> The problem I face is that I am unable to retrieve the value of this
>>>>> field.
>>>>>
>>>>> I have used the below way to retrieve the value in
>>>>> www/out/azure/tpl/widget/header/topcategories.tpl
>>>>>
>>>>> " [{$ocont->oxcontents__test->value}] " which is pretty much similar
>>>>> to getting the title value " [{$ocont->oxcontents__oxtitle->value}] ".
>>>>>
>>>>> Please suggest me ways of how to get the value of this field.
>>>>>
>>>>> Another issue of mine is that I have tried to create a similar extra
>>>>> field in usergroups in admin.I did the same as above but cannot save the
>>>>> values entered in field untill I specify the column name as " oxdesc
>>>>> ".Please clarify why am I facing this unusual behavior in oxgroups.
>>>>>
>>>>> Thanks & Regards,
>>>>> Sai Chandra Sekhar.M
>>>>>
>>>>> _______________________________________________
>>>>> dev-general mailing list
>>>>> [email protected]
>>>>> http://dir.gmane.org/gmane.comp.php.oxid.general
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> dev-general mailing list
>>>> [email protected]
>>>> http://dir.gmane.org/gmane.comp.php.oxid.general
>>>>
>>>
>>>
>>> _______________________________________________
>>> dev-general mailing list
>>> [email protected]
>>> http://dir.gmane.org/gmane.comp.php.oxid.general
>>>
>>
>>
>> _______________________________________________
>> dev-general mailing list
>> [email protected]
>> http://dir.gmane.org/gmane.comp.php.oxid.general
>>
>
>
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to