Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

New Release: xCMS - Blogs, Information, News, Articles and more!

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #11  
Old 07-26-2010, 11:10 PM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default Re: New Release: xCMS - Blogs, Information, News, Articles and more!

Jon - Quick question about the public side of the xCMS system.
If you check out my site, you'll note the blocks on the right side of the screen. I want to move the Auth block (Your Account) up above the xCMS blocks and insert a couple of images (site SSL and credit cards accepted images) between that your blocks. What template do I need to play with to do this?
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #12  
Old 07-26-2010, 11:34 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: New Release: xCMS - Blogs, Information, News, Articles and more!

The xcms code is put into the menu by modifying skin1/customer/home.tpl. You can modify this file to move the positioning of the blocks.
Reply With Quote
  #13  
Old 07-27-2010, 06:49 AM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default Re: New Release: xCMS - Blogs, Information, News, Articles and more!

OK - thanks... one other question. In looking at the menu_customer.tpl file, I see how you loop through the categories but I actually would like to split the blocks.

In other words, I want to take the "Info" block and move it to the other side of the screen just above the Help block. The issue is that I am trying to balance the screen a bit - notice that the bottom border of the articles block is cut off.
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #14  
Old 07-27-2010, 07:24 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: New Release: xCMS - Blogs, Information, News, Articles and more!

You can split them up by including them in both columns, but it takes some customization:

1) Make a copy of menu_customer.tpl and call it menu_customer_info.tpl

2) Open menu_customer.tpl and find:

Code:
{section name="cats" loop=$xcmsNavigationCategories}

After Add:

{* Do not display the info category *}
{* Change X to the numeric id of your info category *}
{if $xcmsNavigationCategories[cats].categoryid ne X}

Find:

Code:
{/section}


BEFORE add:

Code:
{/if}


3) Open menu_customer_info.tpl and find:

Code:
{section name="cats" loop=$xcmsNavigationCategories}


After Add:

{* Only show the info category *}
{* Change X to the numeric id of your info category *}
{if $xcmsNavigationCategories[cats].categoryid eq X}

Find:

Code:
{/section}


BEFORE add:

Code:
{/if}


4) In your home.tpl put this code where you want the info block to appear:

{* WCM - xCMS *}
{if $active_modules.WCM_xCMS}
{include file="modules/xcms/menu_customer_info.tpl"}
{/if}
{* / WCM - xCMS *}
Reply With Quote
  #15  
Old 07-27-2010, 08:14 AM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default Re: New Release: xCMS - Blogs, Information, News, Articles and more!

OK - I tried your steps and all kinds of chaos broke out... lol

None of the blocks showed up, nor the top "banner" on our site.

Got errors as well.
Error: Smarty error: [in modules/xcms/menu_customer_info.tpl line 68]: syntax error: mismatched tag {/if}. expected {/section} (opened line 10). (Smarty_Compiler.class.php, line 233 in /home/vacsew/public_html/include/lib/smarty/Smarty.class.php on line 1093

Parse error: syntax error, unexpected T_ENDIF in /home/vacsew/public_html/var/templates_c/%%F2^F28^F28A59C7%%menu_customer_info.tpl.php on line 141
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #16  
Old 07-27-2010, 08:17 AM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default Re: New Release: xCMS - Blogs, Information, News, Articles and more!

Eh... never mind... saw where my error was... Looks great! Thanks!
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #17  
Old 07-27-2010, 08:18 AM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default Re: New Release: xCMS - Blogs, Information, News, Articles and more!

How do I drop the bottom bar (users online, etc) so the bottom of the Help menu isn't getting cut off?
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #18  
Old 07-27-2010, 08:48 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: New Release: xCMS - Blogs, Information, News, Articles and more!

Strange as theoretically the bottom bar should space itself correctly automatically.

You can try putting a <br /> after the help box.
Reply With Quote
  #19  
Old 07-27-2010, 11:27 AM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default Re: New Release: xCMS - Blogs, Information, News, Articles and more!

Good call - that fixed.... now I am happy! lol

Thanks again for the amazing support!
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #20  
Old 08-14-2010, 07:11 PM
 
hobbycentral hobbycentral is offline
 

Advanced Member
  
Join Date: Apr 2010
Posts: 37
 

Default Re: New Release: xCMS - Blogs, Information, News, Articles and more!

I've installed XCMS along with CDSEO Pro - everything seems to be working fine, except my item entry image does not show up on the news entry (all I've tried so far). The product images under related items does show up. Here is a link http://www.ihobbycentral.com/xcms_entry.php?xcmsentryid=1 Thanks,
Bill
This site X-Cart Gold 4.1.9
CDSEO Pro
XCMS
Featured Product Manager
and more
__________________
X-Cart Pro 4.3.1
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:28 PM.

   

 
X-Cart forums © 2001-2020