Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreDispay image from the Image type image from the databaseDispay image from the Image type image from the database
Previous
 
Next
New Post
9/28/2009 9:46 AM
 

Hi Gilles,

this is regarding 5 th one.

You have mentioned this is normal. Then how can I add a new page to add the store module.Because you have said to add thm in to three pages. But it is not allow to add pages this source. also it is not allow to install the module. How should I do this ? I am getting some javascript error when I am trying to run and click on add/edit page buttons on IE.

Where am I wrong ? Please can you advice me.

tnx,

 
New Post
9/30/2009 9:34 PM
 

Hi Prasad,

To create a new page (or Tab), loggin as Host or Admin and click on Add in the Control Panel at the top.

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
10/1/2009 1:33 AM
 

Hi Gilles,

I know how to add a page. But this was another issue. The reason was it has duplicated web.configs in sub folders. I do not know is that the normal way. Anyway once I delete them works properly. Now I can compile it and see the changes.

Please can you tell me this. I am not asking coding. I know you can not give it me free of charge.

1) Can't I use Thumbnail.aspx without creating a new ImageDB.aspx ? If I create a new one like that how can I link with the control.

2) In the fist reply as an answer of this post you have mentioned like this.

You have to edit the code to do this. Look inside the project DotNetNuke.Store.WebControls and edit the file ProductDetail.ascx.cs. Search for the method processToken, you will find a swiitch case intruction, add a new case like "IMAGEDB" and write the correspondng code to read data from the database field. Then replace all references to the IMAGE token by IMAGEDB in your html template files.

But now your advice is to add a new ImageDB.aspx file to replace the thumbnail.aspx. Do I need to change the thumbnail.aspx ? Please can you tell me why ?

3) Can't I change the image file name to datafield to store image data (change string to image type) and use ?

4) Do I need to write an SQL inside the code to find the exact image? Then which web.config file should I use to write my connection string.? But I have excluded the web.config file in the DotNetNuke.Store.WebControls      Project. Because It is giving an error when I include that web.config. Tell me why is this happening? Is this normal ? Where should I give my connection string ?

Thank you very much Gilles.Please help me to find this.

 
New Post
10/5/2009 8:38 AM
 

Hi Gilles,

I solve the problem and modified the module as I wanted. Now it is reading image data from the database and finished all other requirements in Store module.But I have a small issue. I am using an inline connection string.It is not reading the web config file connection string.I do not know what is the reason for this.

The main reason was not to compiling issue , I was using VS 2008. But Store.sln was in VS 2005 .There was an issue when I am convering the solution to new version. And I could see web.config files in some sub folders. I did not copy them from other folders. This may be because the converting issue.

Thanks Gills and Benoit. I used Benoit method to create another new module for DNN Web Service module and woking correctly. But same issue here. I can not use the web config connection string. I have to use an inline connection string.

Thank you very much for your support what you gave me so far.

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreDispay image from the Image type image from the databaseDispay image from the Image type image from the database


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out