The images that I’m uploading doesn´t show up and I can´t make any changes in the Admin > General Settings

7 posts by 2 authors in: Forums > CMS Builder
Last Post: April 23, 2013   (RSS)

By carlos.pinedo - April 13, 2013 - edited: April 13, 2013

Hi, mi name is Carlos.

I recently bought the cms builder, I install the software and I´ve been creating sections, I have a problem with the upload fields: I’m uploading images and they dosent show up.  

In this link http://www.fecofutsalon.com/amfcms.php you can see the info uploaded trough the wysiwyg field.  But ,the image http://www.fecofutsalon.com/cmsAdmin/uploads/head-cont.jpg   doesn´t  show up. I think is an error in the "Admin > General Settings" but i can´t make any changes there. 

If you see the source of the link  http://www.fecofutsalon.com/amfcms.php you´ll see that the image src it´s wrong, like this:  <img src="//uploads/head-cont.jpg" width="985" height="350" alt="" />  the cmsAdmin is missing form the img src.

I need help with this, thanks in advance

Carlos Pinedo

By Dave - April 13, 2013

Hi Carlos,

Welcome to the forum and thanks for trying CMS Builder! :)

Try changing these settings under: Admin > General:

Upload Directory:       uploads/
Upload Folder URL:  /cmsAdmin/uploads/

Click Save and then reload your viewer page and check if the url is correct.

Hope that helps!  Let me know if that works for you.  Thanks.

Dave Edis - Senior Developer
interactivetools.com

By Dave - April 15, 2013

Hi Carlos, 

Why the code comments interfere with the picture display?

Looks like you found a bug.  I've made the following changes for the next release:

  • Open /lib/menus/_codeGenerator/generator_functions.php
  • Search for: Copy the tags
  • Add the code in red below:

          <!-- Uploads: Copy the tags from below that you want to use, and erase the ones you don't need. -->

I think this went unnoticed for so long because most people just erase that line, but we definitely want the default code to work, so thank you for reporting that issue.

Can you let me know if that fixes it for you or anything else you might need?  Thanks.

Dave Edis - Senior Developer
interactivetools.com

Hi Dave,

Thanks for the update. I´ll erase the comments lines until the update comes. I have another question: in the general settings, i checked the option " Expert mode - don't show instructions or extra html in Code Generator output " but the instructions keep appearing. Is this a bug? 

Carlos Pinedo

By Dave - April 22, 2013

Hi Carlos,

Export mode should hide the HTML header, footer, and the "____ Viewer - Instructions:" div with bullet point instructions.  There's a few comment tags with instructions that are still visible.  The idea is just to hide the big chunks of code for advanced users who are just copying and pasting the PHP code and don't need to see a HTML header or instructions box.

If it's not removing the above items let me know and I can look into more, or if you'd like it to remove additional content let me know (or anyone else feel free to comment).

Thanks!

Dave Edis - Senior Developer
interactivetools.com

By carlos.pinedo - April 23, 2013 - edited: April 23, 2013

Hi Dave,

Yes, is removing the items that is supposed to.

Thanks for everything!