Re: [oxid-dev-general] Generating images when accessed through https

2013-07-22 Thread Sai Chandra Sekhar Madala
Hi Vaidas,

I am using community edition,4.7.3_54408. I have done the changes as
suggested  in the fix provided below, but it did not solve the problem.

Thanks & Regards,
Sai Chandra Sekhar.M

On Mon, Jul 22, 2013 at 7:34 PM, Vaidas Matulevicius <
vaidas.matulevic...@oxid-esales.com> wrote:

>  Hi Sai Chandra Sekhar,
>
> Can You tell us which shop version and edition are You using?
>
> By the way there was a bug 
> https://bugs.oxid-esales.com/view.php?id=5037related with image generation 
> and https. You can look at how we fixed it at
> github https://github.com/OXID-eSales/oxideshop_ce/commit/6b027b7.
>
> *Vaidas Matulevičius*
> Software Developer
>
> *vaidas.matulevic...@oxid-esales.com*
> Fon +49 761 36889-190
> Fax +49 761 36889-29
> *www.oxid-esales.com<http://www.oxid-esales.com?campaign=emailsignatur/oxid-esales-com>
> *
>
>
> [image: dmexco]
>
> *Köln, 18.-19.09.2013, Halle 7 Stand C 011/D 010*
> *Jetzt Termin vereinbaren
>
>
> OXID eSales AG
> *Bertoldstraße 48
> 79098 Freiburg
> Deutschland
>
> Vorstand: Roland Fesenmayr (Vorsitzender), Andrea Seeger
> Vorsitzender des Aufsichtsrats: Harald Fuchs, Sitz: Freiburg
> Amtsgericht Freiburg i. Br., HRB 701648, USt-IdNr.: DE231450866
>
> ** **
>
> *From:* dev-general-boun...@lists.oxidforge.org [mailto:
> dev-general-boun...@lists.oxidforge.org] *On Behalf Of *Sai Chandra
> Sekhar Madala
> *Sent:* Monday, July 22, 2013 11:31 AM
> *To:* dev-general@lists.oxidforge.org
> *Subject:* [oxid-dev-general] Generating images when accessed through
> https
>
> ** **
>
> Hi List,
>
> ** **
>
> I have developed a shop for a customer and the site is https certificate
> enabled. The image generation(for images in master/product/.. to
> generated/product/..) when accessed through http works fine but cannot be
> generated when accessed through https.
>
> ** **
>
> I have set all required parameters in .htaccess(attached along with this
> mail) & config.inc.php but could not find where the error occurs which
> restricts to generate images when accessed through https
>
> ** **
>
> Thanks & Regards,
>
> Sai Chandra Sekhar.M
>
> ___
> dev-general mailing list
> dev-general@lists.oxidforge.org
> http://dir.gmane.org/gmane.comp.php.oxid.general
>
<>___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

Re: [oxid-dev-general] Generating images when accessed through https

2013-07-22 Thread Sai Chandra Sekhar Madala
Hi Matthias,

There are no error messages in logs(I have checked in EXCEPTION_LOG.txt and
also in php server error logs).

Thanks & Regards,
Sai Chandra Sekhar.M


On Mon, Jul 22, 2013 at 2:41 PM, Matthias Kluth  wrote:

>  On 22.07.2013 10:31, Sai Chandra Sekhar Madala wrote:
>
> Hi List,
>
>  I have developed a shop for a customer and the site is https certificate
> enabled. The image generation(for images in master/product/.. to
> generated/product/..) when accessed through http works fine but cannot be
> generated when accessed through https.
>
>  I have set all required parameters in .htaccess(attached along with this
> mail) & config.inc.php but could not find where the error occurs which
> restricts to generate images when accessed through https
>
>  Thanks & Regards,
> Sai Chandra Sekhar.M
>
>
> ___
> dev-general mailing 
> listdev-general@lists.oxidforge.orghttp://dir.gmane.org/gmane.comp.php.oxid.general
>
>  Hi Sai,
>
> are there any error logs on that issue?
>
> Matthias
>
> ___
> dev-general mailing list
> dev-general@lists.oxidforge.org
> http://dir.gmane.org/gmane.comp.php.oxid.general
>
___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

[oxid-dev-general] Generating images when accessed through https

2013-07-22 Thread Sai Chandra Sekhar Madala
Hi List,

I have developed a shop for a customer and the site is https certificate
enabled. The image generation(for images in master/product/.. to
generated/product/..) when accessed through http works fine but cannot be
generated when accessed through https.

I have set all required parameters in .htaccess(attached along with this
mail) & config.inc.php but could not find where the error occurs which
restricts to generate images when accessed through https

Thanks & Regards,
Sai Chandra Sekhar.M


htaccess
Description: Binary data
___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

Re: [oxid-dev-general] Adding & accessing a column created in oxid database

2012-06-28 Thread Sai Chandra Sekhar Madala
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 <
saichandrashek...@devblaze.in> 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  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 
>>
>>> 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  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 
>>>>
>>>>> 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
>>>>> dev-general@lists.oxidforge.org
>>>>> http://dir.gmane.org/gmane.comp.php.oxid.general
>>>>>
>>>>
>>>>
>>>> ___
>>>> dev-general mailing list
>>>> dev-general@lists.oxidforge.org
>>>> http://dir.gmane.org/gmane.comp.php.oxid.general
>>>>
>>>
>>>
>>> ___
>>> dev-general mailing list
>>> dev-general@lists.oxidforge.org
>>> http://dir.gmane.org/gmane.comp.php.oxid.general
>>>
>>
>>
>> ___
>> dev-general mailing list
>> dev-general@lists.oxidforge.org
>> http://dir.gmane.org/gmane.comp.php.oxid.general
>>
>
>
___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

Re: [oxid-dev-general] Adding & accessing a column created in oxid database

2012-06-28 Thread Sai Chandra Sekhar Madala
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  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 
>
>> 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  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 
>>>
>>>> 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
>>>> dev-general@lists.oxidforge.org
>>>> http://dir.gmane.org/gmane.comp.php.oxid.general
>>>>
>>>
>>>
>>> ___
>>> dev-general mailing list
>>> dev-general@lists.oxidforge.org
>>> http://dir.gmane.org/gmane.comp.php.oxid.general
>>>
>>
>>
>> ___
>> dev-general mailing list
>> dev-general@lists.oxidforge.org
>> http://dir.gmane.org/gmane.comp.php.oxid.general
>>
>
>
> ___
> dev-general mailing list
> dev-general@lists.oxidforge.org
> http://dir.gmane.org/gmane.comp.php.oxid.general
>
___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

Re: [oxid-dev-general] Adding & accessing a column created in oxid database

2012-06-28 Thread Sai Chandra Sekhar Madala
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  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 
>
>> 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
>> dev-general@lists.oxidforge.org
>> http://dir.gmane.org/gmane.comp.php.oxid.general
>>
>
>
> ___
> dev-general mailing list
> dev-general@lists.oxidforge.org
> http://dir.gmane.org/gmane.comp.php.oxid.general
>
___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

Re: [oxid-dev-general] Adding & accessing a column created in oxid database

2012-06-28 Thread Sai Chandra Sekhar Madala
Hi Mr.Daniel,

Thank you.I have deleted all the files in tmp and also updated the DB views
in admin and I can see the values saved in the database.I forgot to mention
in my mail is that I am able to retrieve the value in category list page.

Thanks & Regards,
Sai Chandra Sekhar.M

On Thu, Jun 28, 2012 at 6:17 PM, Daniel Schlichtholz <
daniel.schlichth...@mayflower.de> wrote:

> Hi,
>
> did you delete the *.sql files in the public/tmp folder?
> Adding the field and creating the views is not enough for Oxid because
> sql-Statements are cached as temp files. So you need to also remove them
> to force Oxid to regenerate them.
>
>
> Best regards,
> --
> Daniel Schlichtholz Mayflower GmbH
> Gneisenaustraße 10/11   Tel.: +49 931 359 65 1125
> 97074 Würzburg  Fax : +49 931 359 65 28
> daniel.schlichth...@mayflower.dehttp://www.mayflower.de
>
> Mayflower GmbH, Standort Würzburg
> Firmensitz: Mannhardtstrasse 6, 80538 München
> Registergericht: Amtsgericht München, HRB 142039
> Geschäftsführer: Gregor Streng, Björn Schotte,
> Albrecht Günther, Johann-Peter Hartmann
>
>
> Am 28.06.2012 13:15, schrieb Sai Chandra Sekhar Madala:
> > 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
> > dev-general@lists.oxidforge.org
> > http://dir.gmane.org/gmane.comp.php.oxid.general
> >
> ___
> dev-general mailing list
> dev-general@lists.oxidforge.org
> http://dir.gmane.org/gmane.comp.php.oxid.general
>
___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

[oxid-dev-general] Adding & accessing a column created in oxid database

2012-06-28 Thread Sai Chandra Sekhar Madala
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
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

[oxid-dev-general] Adding multiple variants to cart at once

2012-06-26 Thread Sai Chandra Sekhar Madala
Hi All,

I have a requirement where we have to display all the active variants,their
stock value in product detail page and the user can add bulk quantities of
variants of his choice at once to cart.
I have checked and found that in productmain.tpl we have


but,I cannot find the tobasket function in details.php.Please suggest me
the ways of how to accomplish this requirement.

Thanks & Regards,
Sai Chandra Sekhar.M,
DevBlaze Inc.
___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

Re: [oxid-dev-general] Recent Viewed Products

2012-06-20 Thread Sai Chandra Sekhar Madala
Hi Kai,

oxviewconfig=>smx_oxviewconfig/smx_oxviewconfig also did not solve my
issue.:(

Thanks & Regards,
Sai Chandra Sekhar.M

On Thu, Jun 21, 2012 at 2:58 AM, Kai Gazmaga wrote:

> ** You need to write thr class only with small letters in modules
> registration ...
> --
> Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail
> gesendet.
>
>
>
> Sai Chandra Sekhar Madala  schrieb:
>
>> Hi,
>>
>> @Frank.I regret that I mentioned it works fine in start page in my
>> earlier mail.Actually it does not work in start page when I extend start.It
>> works only in detail page.I am a newbie to oxid so can you please tell me a
>> little in detail how to load the block 'sidebar_boxproducts' in template(It
>> is already present in my template).
>>
>> @Tobias.Thank you for the oxviewconfig way of implementation.I have tried
>> to implement this way too.When I register the module and extend as
>> oxViewConfig=>smx_oxviewconfig/smx_oxviewconfig and try to see the shop
>> I get the error "Function 'smxLastSeen' does not exist or is not
>> accessible!(oxViewConfig)" .Please suggest me where am I going wrong.
>>
>> Thanks & Regards,
>> Sai Chandra Sekhar.M
>> Devblaze Inc.
>>
>>
>> On Wed, Jun 20, 2012 at 6:36 PM, Frank Zunderer <
>> frank.zunde...@zunderer.de> wrote:
>>
>>> Hi Sai Chandra,
>>>
>>> ** **
>>>
>>> when it is displayed in startpage then it is generally working, and
>>> alist is enabled by default, so maybe the block 'sidebar_boxproducts' is
>>> not loaded in your template for alist. As Tobias pointed out, it is
>>> possible to overload oxviewconfig to have a function available in every*
>>> ***
>>>
>>> template, yet I think I prefer to control from module where it is
>>> displayed, and not from template.
>>>
>>> ** **
>>>
>>> @Tobias:
>>>
>>> Problem I see with your code is that the null value is added to the
>>> array aHistoryArticles, and one real article is removed in return.
>>>
>>> ** **
>>>
>>> Regards,
>>>
>>> Frank Zunderer
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> *Von:* dev-general-boun...@lists.oxidforge.org [mailto:
>>> dev-general-boun...@lists.oxidforge.org] *Im Auftrag von *Sai Chandra
>>> Sekhar Madala
>>>
>>> *Gesendet:* Mittwoch, 20. Juni 2012 09:31
>>> *An:* dev-general@lists.oxidforge.org
>>> *Betreff:* Re: [oxid-dev-general] Recent Viewed Products
>>>
>>> ** **
>>>
>>> Hi Mr.Marco & Mr.Frank,
>>>
>>>
>>> @Thanks Mr.Marco.
>>>
>>> @Frank .Thank you for the module.As you pointed out it is built in,but
>>> only for detail page.I have used your module and it works fine in detail
>>> page as well as start page but not through out the shop.I have extended the
>>> aList & start classes also I tried to extend oxView & oxUBase, but they do
>>> not seem to work.Please suggest me the class to extend so that it works
>>> through out the shop.
>>>
>>> Thanks & Regards,
>>> Sai Chandra Sekhar.M
>>>
>>> On Tue, Jun 19, 2012 at 10:49 PM, Frank Zunderer <
>>> frank.zunde...@zunderer.de> wrote:
>>>
>>> ** **
>>>
>>> ___
>>> dev-general mailing list
>>> dev-general@lists.oxidforge.org
>>> http://dir.gmane.org/gmane.comp.php.oxid.general
>>>
>>
>>
> ___
> dev-general mailing list
> dev-general@lists.oxidforge.org
> http://dir.gmane.org/gmane.comp.php.oxid.general
>
___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

Re: [oxid-dev-general] Recent Viewed Products

2012-06-20 Thread Sai Chandra Sekhar Madala
Hi,

@Frank.I regret that I mentioned it works fine in start page in my earlier
mail.Actually it does not work in start page when I extend start.It works
only in detail page.I am a newbie to oxid so can you please tell me a
little in detail how to load the block 'sidebar_boxproducts' in template(It
is already present in my template).

@Tobias.Thank you for the oxviewconfig way of implementation.I have tried
to implement this way too.When I register the module and extend as
oxViewConfig=>smx_oxviewconfig/smx_oxviewconfig and try to see the shop I
get the error "Function 'smxLastSeen' does not exist or is not
accessible!(oxViewConfig)" .Please suggest me where am I going wrong.

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


On Wed, Jun 20, 2012 at 6:36 PM, Frank Zunderer
wrote:

> Hi Sai Chandra,
>
> ** **
>
> when it is displayed in startpage then it is generally working, and alist
> is enabled by default, so maybe the block 'sidebar_boxproducts' is not
> loaded in your template for alist. As Tobias pointed out, it is possible to
> overload oxviewconfig to have a function available in every
>
> template, yet I think I prefer to control from module where it is
> displayed, and not from template.
>
> ** **
>
> @Tobias:
>
> Problem I see with your code is that the null value is added to the array
> aHistoryArticles, and one real article is removed in return.
>
> ** **
>
> Regards,
>
> Frank Zunderer
>
> ** **
>
> ** **
>
> *Von:* dev-general-boun...@lists.oxidforge.org [mailto:
> dev-general-boun...@lists.oxidforge.org] *Im Auftrag von *Sai Chandra
> Sekhar Madala
>
> *Gesendet:* Mittwoch, 20. Juni 2012 09:31
> *An:* dev-general@lists.oxidforge.org
> *Betreff:* Re: [oxid-dev-general] Recent Viewed Products
>
> ** **
>
> Hi Mr.Marco & Mr.Frank,
>
>
> @Thanks Mr.Marco.
>
> @Frank .Thank you for the module.As you pointed out it is built in,but
> only for detail page.I have used your module and it works fine in detail
> page as well as start page but not through out the shop.I have extended the
> aList & start classes also I tried to extend oxView & oxUBase, but they do
> not seem to work.Please suggest me the class to extend so that it works
> through out the shop.
>
> Thanks & Regards,
> Sai Chandra Sekhar.M
>
> On Tue, Jun 19, 2012 at 10:49 PM, Frank Zunderer <
> frank.zunde...@zunderer.de> wrote:
>
> ** **
>
> ___
> dev-general mailing list
> dev-general@lists.oxidforge.org
> http://dir.gmane.org/gmane.comp.php.oxid.general
>
___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

Re: [oxid-dev-general] Recent Viewed Products

2012-06-20 Thread Sai Chandra Sekhar Madala
Hi Mr.Marco & Mr.Frank,

@Thanks Mr.Marco.

@Frank .Thank you for the module.As you pointed out it is built in,but only
for detail page.I have used your module and it works fine in detail page as
well as start page but not through out the shop.I have extended the aList &
start classes also I tried to extend oxView & oxUBase, but they do not seem
to work.Please suggest me the class to extend so that it works through out
the shop.

Thanks & Regards,
Sai Chandra Sekhar.M

On Tue, Jun 19, 2012 at 10:49 PM, Frank Zunderer  wrote:

> Hi,
>
> ** **
>
> Last seen products is already built in, but only for detail view. Here is
> a module that activates last seen in azure throughout the shop, just add
> the views where you want to show it in metadata.php:
>
> http://forum.oxid-esales.com/showthread.php?t=708&page=5
>
> ** **
>
> Regards,
>
> Frank
>
> ** **
>
> ** **
>
> *Von:* dev-general-boun...@lists.oxidforge.org [mailto:
> dev-general-boun...@lists.oxidforge.org] *Im Auftrag von *Sai Chandra
> Sekhar Madala
> *Gesendet:* Dienstag, 19. Juni 2012 16:52
> *An:* dev-general@lists.oxidforge.org
> *Betreff:* [oxid-dev-general] Recent Viewed Products
>
> ** **
>
> Dear All,
>
> I have a requirement where I have to show the recent viewed products.I
> have tried to implement this through a module.
>
> First I have stored the ox-id's of the viewed products inside a session
> variable and retrieved them and created an object and loaded the product
> using load function.
>
> 1) This is the code in details.php for storing session variable.
>
>  
>
> if(isset($_SESSION['views']))
>
> $_SESSION['views']=$_SESSION['views'].",".$oProduct->oxarticles__oxid->value;
> else
> $_SESSION['views']=$oProduct->oxarticles__oxid->value;
>
>
> 2) Then I have used the below code in Module
>
> public function getrecentviewproduct(){
> $i=0;
> if($procoxid = oxSession::getVar('views')){
> $sOxid =  explode("," , $procoxid);
> foreach($sOxid as $procid){
> $oArt = oxNew('oxarticle');
> $oArt->load($procid);
> $oArtList[$i] = $oArt;
> $i++;
> }
> return $oArtList;
> }
> return null;
> }
>
>
> This module when registered with start class works fine in start page,but
> our requirement is that it should work through out the shop.
>
> Please suggest which class has to be extended so that the above will work
> through out the shop.
>
>
> Thanks & Regards,
> Sai Chandra Sekhar.M,
> Devblaze Inc.
>
>
> 
>
> ___
> dev-general mailing list
> dev-general@lists.oxidforge.org
> http://dir.gmane.org/gmane.comp.php.oxid.general
>
___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general

[oxid-dev-general] Recent Viewed Products

2012-06-19 Thread Sai Chandra Sekhar Madala
Dear All,

I have a requirement where I have to show the recent viewed products.I have
tried to implement this through a module.

First I have stored the ox-id's of the viewed products inside a session
variable and retrieved them and created an object and loaded the product
using load function.

1) This is the code in details.php for storing session variable.


> if(isset($_SESSION['views']))
>
> $_SESSION['views']=$_SESSION['views'].",".$oProduct->oxarticles__oxid->value;
> else
> $_SESSION['views']=$oProduct->oxarticles__oxid->value;
>

2) Then I have used the below code in Module

public function getrecentviewproduct(){
> $i=0;
> if($procoxid = oxSession::getVar('views')){
> $sOxid =  explode("," , $procoxid);
> foreach($sOxid as $procid){
> $oArt = oxNew('oxarticle');
> $oArt->load($procid);
> $oArtList[$i] = $oArt;
> $i++;
> }
> return $oArtList;
> }
> return null;
> }
>

This module when registered with start class works fine in start page,but
our requirement is that it should work through out the shop.

Please suggest which class has to be extended so that the above will work
through out the shop.


Thanks & Regards,
Sai Chandra Sekhar.M,
Devblaze Inc.
___
dev-general mailing list
dev-general@lists.oxidforge.org
http://dir.gmane.org/gmane.comp.php.oxid.general