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 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 carlos.pinedo - April 14, 2013 - edited: April 14, 2013

Hi Dave,

Thanks for replying so fast.

I changed the settings you suggested and initially didnt worked. I made another changes on  my own. 


After I paste the generated code the first time the image didn´t show up:

This is the result: http://www.fecofutsalon.com/cms.php


Then I disabled the comments in the generated code: <!-- Uploads: Copy the tags... and // end uploads comment tag -->

This is the result: http://www.fecofutsalon.com/cms-disabled-comments.php


I have 2 questions,

Why the code comments interfere with the picture display?

How can we fix this?

Carlos Pinedo

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!