X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to Create Two Embedded / Static Page Sections (https://forum.x-cart.com/showthread.php?t=40405)

crazyoval 06-10-2008 08:32 AM

How to Create Two Embedded / Static Page Sections
 
Hi guys, hope you are all well.

Am wondering if anyone knows how to add a second embedded / static page list? I want to use two distinct sections, one for help topics and one other for markets (i.e. a page for each of the niches I market to so I can create keyword rich landing pages that sit just below the top page).

Any ideas guys?

Is there a mod somewhere for this?

Many thanks

Guy

connemara 06-26-2008 11:30 AM

Re: How to Create Two Embedded / Static Page Sections
 
Yes, there is a mod for this- static pages categories by telefirma.
It works great with CDSEO as well. Have it operating here:
http://www.nonuttin.com/shop/ see allergy FAQs and Support sections. Every time you create a new static page, you assign it to the category you want it to go into.

Connie

Yurij 06-27-2008 12:43 AM

Re: How to Create Two Embedded / Static Page Sections
 
Quote:

Originally Posted by crazyoval
Hi guys, hope you are all well.

Am wondering if anyone knows how to add a second embedded / static page list? I want to use two distinct sections, one for help topics and one other for markets (i.e. a page for each of the niches I market to so I can create keyword rich landing pages that sit just below the top page).

Any ideas guys?

Is there a mod somewhere for this?

Many thanks

Guy



For the first page of the block used with the value of field "orderby" less than 300, for the second - more.



PHP Code:

{capture name=menu}
    {
section name=pg loop=$pages_menu}
        {if 
$pages_menu[pg].orderby lt 300}
            <
a href="pages.php?pageid={$pages_menu[pg].pageid}class="VertMenuItems">{$pages_menu[pg].title}</a><br />
        {/if}
    {/
section}
{/
capture}
{include 
file="menu.tpl"  menu_title="First Block" menu_content=$smarty.capture.menu 



PHP Code:

{capture name=menu}
    {
section name=pg loop=$pages_menu}
        {if 
$pages_menu[pg].orderby gt 299}
            <
a href="pages.php?pageid={$pages_menu[pg].pageid}class="VertMenuItems">{$pages_menu[pg].title}</a><br />
        {/if}
    {/
section}
{/
capture}
{ include 
file="menu.tpl"  menu_title="Second Block" menu_content=$smarty.capture.menu 


crazyoval 06-27-2008 11:14 AM

Re: How to Create Two Embedded / Static Page Sections
 
Hi Connie, I cant find a site for telefirma, can you give me a link please? I see your site, its exactly what I am looking for, thank you very much for showing me :O)

crazyoval 06-27-2008 11:21 AM

Re: How to Create Two Embedded / Static Page Sections
 
Found them Connie, you are a star thank you.

Thank you also Yurij, and I took a look at your skins / templates, they look great! I paricularly liked the black one. WIsh I knew about that 6 months ago!! :O)

WIll keep them in mind anyway.

ALl the best.

connemara 06-27-2008 04:06 PM

Re: How to Create Two Embedded / Static Page Sections
 
great! glad to help :-)
connie

Holub 06-30-2008 12:32 AM

Re: How to Create Two Embedded / Static Page Sections
 
Quote:

Originally Posted by crazyoval
I took a look at your skins / templates, they look great! I paricularly liked the black one. WIsh I knew about that 6 months ago!! :O)


Today expires of 15% discount offer for our templates.

crazyoval 07-06-2008 10:41 PM

Re: How to Create Two Embedded / Static Page Sections
 
UPDATE:

Unfortunately I have discovered too late that TelaFirma are not currently in business. The guy who runs it has not been heard for a while, for whatever reason. Giving the guy a break I would hope his life is ok and that he can come back to normality at some stage. If I find out that TelaFirma is open for business again I will add to this posting but felt it unwise to leave this posting without this current warning to others who may purchase something online and subsequently find that there is no follow up to their purchase.

connemara 07-07-2008 07:39 AM

Re: How to Create Two Embedded / Static Page Sections
 
Oh what a shame! I hadn't checked but would one of the other developers, like Jon at WebsiteCM or Carrie carry this mod? You might just try and check. I had originally done a manually coded second menu myself but wasn't completely satisfied; perhaps this is where Yuri's example would be helpful to you.
Good luck
Connie

JWait 07-07-2008 12:04 PM

Re: How to Create Two Embedded / Static Page Sections
 
It would seem that you could clone the "help" section, maybe name it help2 or whatever you want and put your additional static pages there. I'm working on something similar but don't need any of the "help" topics, just the static pages. I'll let you know how it works out.


All times are GMT -8. The time now is 01:37 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.