| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
New Release: xCMS - Blogs, Information, News, Articles and more! | ||||
|
|
Thread Tools |
#11
|
|||||||||
|
|||||||||
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 |
|||||||||
#12
|
|||||||||
|
|||||||||
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.
|
|||||||||
#13
|
|||||||||
|
|||||||||
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 |
|||||||||
#14
|
|||||||||
|
|||||||||
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:
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:
BEFORE add: Code:
3) Open menu_customer_info.tpl and find: Code:
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:
BEFORE add: Code:
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 *} |
|||||||||
#15
|
|||||||||
|
|||||||||
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 |
|||||||||
#16
|
|||||||||
|
|||||||||
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 |
|||||||||
#17
|
|||||||||
|
|||||||||
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 |
|||||||||
#18
|
|||||||||
|
|||||||||
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. |
|||||||||
#19
|
|||||||||
|
|||||||||
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 |
|||||||||
#20
|
|||||||
|
|||||||
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 |
|||||||
|
|||
X-Cart forums © 2001-2020
|