[solved] Detail Page - Shop Made Simple
[solved] Detail Page - Shop Made Simple
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?
Last edited by dcleckley on Sat Mar 20, 2010 10:50 pm, edited 1 time in total.
Re: Detail Page - Shop Made Simple
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
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
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.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
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
dcleckley,
Was this a typo of yours?
Duketown
?? from the template? This {cms_module module=ShopMadeSimple ...} should be in the content part of page catalogue.Here is my code from the template:
Was this a typo of yours?
Duketown
Re: Detail Page - Shop Made Simple
I have a different set up on the site. I am placing all html and smarties in the template. Here is the entire template.?? from the template? This {cms_module module=ShopMadeSimple ...} should be in the content part of page catalogue.
Duketown
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
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
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
Thank you for your help on this Duketown. I know that time is precious, and I really appreciate it.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
I believe that you are suggesting that I place this
Code: Select all
{cms_module module='ShopMadeSimple' display='featured'}
Code: Select all
{content}
Re: Detail Page - Shop Made Simple
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:
To rectify the outstanding issue (read post from first to last), I changed the code to this:
and place my shop made simple smarty
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
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>
Code: Select all
<div id="mainguy" align="left">
<p>{content}</p>
</div>
Code: Select all
{cms_module module='ShopMadeSimple' display='featured'}
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
Would you be able to take a look at http://forum.cmsmadesimple.org/index.php/topic,47116.0.htmlDuketown 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
Re: [solved] Detail Page - Shop Made Simple
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
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