Page 1 of 1

[solved] Detail Page - Shop Made Simple

Posted: Sun Mar 14, 2010 12:14 am
by dcleckley
I am running CMSMS 1.6.6.  I am running Shop Made Simple vs 0.2.6.  The shop works fine, but I am unable to discover how to have the shop dynamically show its content in a detail page.  With most modules, you can designate the detail page where you would like the content to show.  Is this possible in this module?  

Re: Detail Page - Shop Made Simple

Posted: Sun Mar 14, 2010 7:21 pm
by Duketown
dcleckley,

Don't the links on the product from the list (when you've build one with the category mentioned as parameter) work?
Selecting a product should bring/open the details page of the selected product.

Duketown

Re: Detail Page - Shop Made Simple

Posted: Mon Mar 15, 2010 4:31 am
by dcleckley
Duketown wrote: dcleckley,

Don't the links on the product from the list (when you've build one with the category mentioned as parameter) work?
Selecting a product should bring/open the details page of the selected product.

Duketown
No.  I must have a {content} smarty in the page to display the content.  This is true when I am displaying a category list, or featured items, detail product, etc. 

Here is an example of a featured items page that I am building.  I have a content smarty above the list so that the detail product page for the item will display.  Click on the first item shown.  http://www.isaacbaker.com/index.php?page=catalogue

Here is my code from the template:

Code: Select all

<div id="mainguy" align="left"><p>{content}</p>

{cms_module module='ShopMadeSimple' display='featured'}
       
</div>

Re: Detail Page - Shop Made Simple

Posted: Mon Mar 15, 2010 6:09 pm
by Duketown
dcleckley,
Here is my code from the template:
?? from the template? This {cms_module module=ShopMadeSimple ...} should be in the content part of page catalogue.

Was this a typo of yours?

Duketown

Re: Detail Page - Shop Made Simple

Posted: Wed Mar 17, 2010 3:18 pm
by dcleckley
?? from the template? This {cms_module module=ShopMadeSimple ...} should be in the content part of page catalogue.
Duketown
I have a different set up on the site.  I am placing all html and smarties in the template.  Here is the entire template.

Code: Select all

{process_pagedata}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<title>{sitename} - {title}</title>
{metadata}
{stylesheet}

<__script__ type="text/javascript" src="js/jquery/jquery.js"></__script>
<__script__ type="text/javascript" src="js/jquery/jquery.dropdown.js"></__script>
<__script__ src="uploads/Scripts/AC_RunActiveContent.js" type="text/javascript"></__script>

</head>
</__body>

<div id="wrapper">
<div id="color"></div>
  <div id="menu">
	{menu}
  </div>

<div id="social"></div>

 
<div id="contactcontain">
{search searchtext="Search..." submit="Go>"}<hr>
<p>{global_content name='categories'}</p><hr>

<p align='center'>{global_content name='addthisbar'}</p>
    
     <div id="mainguy" align="left"><p>{content}</p>

{cms_module module='ShopMadeSimple' display='featured'}
  
     </div>

</div>
   

</div>

   
<__body>
</__html>

Re: Detail Page - Shop Made Simple

Posted: Wed Mar 17, 2010 6:21 pm
by Duketown
dcleckley,

Sorry, I've no idea how to tackle what you are aiming at. I have the idea that you miss out a number of parameter that are available during normal CMSMS usage of the module(s). As a result of that not all functions will work.

Anyone who can agree on this?

Duketown

Re: Detail Page - Shop Made Simple

Posted: Thu Mar 18, 2010 4:47 am
by dcleckley
Duketown wrote: dcleckley,

Sorry, I've no idea how to tackle what you are aiming at. I have the idea that you miss out a number of parameter that are available during normal CMSMS usage of the module(s). As a result of that not all functions will work.

Anyone who can agree on this?

Duketown
Thank you for your help on this Duketown.  I know that time is precious, and I really appreciate it. 

I believe that you are suggesting that I place this

Code: Select all

{cms_module module='ShopMadeSimple' display='featured'}
in the content section of the 'Page' and place

Code: Select all

{content}
in the Template correct?

Re: Detail Page - Shop Made Simple

Posted: Sat Mar 20, 2010 10:50 pm
by dcleckley
This issue is solved, and I believe it will solve a few other logs out there related to Shop Made Simple.

I was placing the shop made simple smarty in the template with a {content} tag.  This was the wrong approach.  Please take a look at the previous code:

Code: Select all

<div id="mainguy" align="left">
   <p>{content}</p>
         {cms_module module='ShopMadeSimple' display='featured'}
</div>
To rectify the outstanding issue (read post from first to last), I changed the code to this:

Code: Select all

<div id="mainguy" align="left">
   <p>{content}</p>
</div>
and place my shop made simple smarty

Code: Select all

{cms_module module='ShopMadeSimple' display='featured'}
in the content portion of the page, instead of the template.  The output now displays thru the {content} tag in the template.

This post may resolve other posts such as:

http://forum.cmsmadesimple.org/index.php/topic,40905.msg198290.html#msg198290
http://forum.cmsmadesimple.org/index.php/topic,40258.msg198288.html#msg198288

If you'd like to view my set up, look at this page:

http://www.isaacbaker.com/index.php?page=catalogue

Re: Detail Page - Shop Made Simple

Posted: Tue Sep 07, 2010 1:19 pm
by dcleckley
Duketown wrote: dcleckley,

Sorry, I've no idea how to tackle what you are aiming at. I have the idea that you miss out a number of parameter that are available during normal CMSMS usage of the module(s). As a result of that not all functions will work.

Anyone who can agree on this?

Duketown
Would you be able to take a look at http://forum.cmsmadesimple.org/index.php/topic,47116.0.html

Re: [solved] Detail Page - Shop Made Simple

Posted: Tue Sep 07, 2010 1:22 pm
by RonnyK
Would you stop cross-posting?

There is no need in picking up every forum-post and reply to the same one...

Only one is enough, and it will keep the discussion centralized.

Ronny