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

images from homepage editor not appearing on site

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-16-2009, 07:23 PM
 
ccicorp ccicorp is offline
 

Member
  
Join Date: Sep 2009
Posts: 11
 

Default images from homepage editor not appearing on site

The images on the homepage editor appear fine in the editor window and perfectly in preview. But do not appear on the homepage site. Cleared cache and regenerated images to no avail. Some Text appears but nothing else.

http://choicefilets.com/xcart

help is much appreciated!!!!
__________________
v4.2.1
Reply With Quote
  #2  
Old 10-18-2009, 11:31 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: images from homepage editor not appearing on site

Your path to the images incorrect. You are using ../images/ - it should be images/ because XCart is running at your top level directory, not a sub directory.

I am not sure what you mean by "home page editor" - but it probably works when you are in the administration because you are running in the admin sub directory - so the path to the images is different then the customer front end of the shop.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #3  
Old 10-18-2009, 12:23 PM
 
ccicorp ccicorp is offline
 

Member
  
Join Date: Sep 2009
Posts: 11
 

Default Re: images from homepage editor not appearing on site

Much thanks. The images now appear on the web homepage. Under admin is what is called a "homepage editor". It could be the programmer who i hired to set this up placed this editor there for me to control the homepage content. Although the images now appear on the website, they do not appear on the editor or in preview. I will inform the programmer and I guess he will have to adjust the paths.

Much thanks again!!!

Perhaps you could suggest another solution to a problem with editors. I loaded fckeditor which works super for static pages. the only issue is that when I click preview, the images come up for a split second and then disappears. The preview popup page stays but remains empty and the task bar keeps processing.
__________________
v4.2.1
Reply With Quote
  #4  
Old 10-18-2009, 12:49 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: images from homepage editor not appearing on site

Yes - that is a custom mod - you will have to talk to your developer about it.

I can't advise on the fck editor installation - perhaps someone else can comment or you can start a new thread with your specific question.

For static pages - you might consider always placing your images in skin1/images, then check "Parse Smarty tags in the content of embedded page" and reference the images with <img src= {$ImagesDir}/

That will always provide the correct path, and work for both http and https.

But - this would be done outside the WYSIWYG, so it requires a little more understanding of uploading the image files directly and editing html code - so it depends on your comfort level.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote

The following user thanks gb2world for this useful post:
ccicorp (10-18-2009)
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 09:18 PM.

   

 
X-Cart forums © 2001-2020