Jump to content

Concrete5 Simple News Addon problem...


Cyberdave

Recommended Posts

Not sure if anyone on here has Concrete5 knowledge? I really am stumped on a site I am adding Concrete5 to. I've posted my problem on the C5 Forums, contacted the Creator of the Addon and other developers on C5 but haven't heard anything back. I have been trying to solve this problem every evening for the last two weeks. I was wondering if anyone could help?

 

Here is the problem.

 

I am adding images via the WYSIWYG Editor in the Simple News Addon. When I click on the add image button the code generated is the following:

 

<img src="/test3/index.php/download_file/view_inline/13/" alt="24-Yellow.png" width="37" height="34" />

 

With this code the images do not show up in the News List generated. Just the Alt name of the image.

 

However, when I manually remove the "/test3/" from the front of the URL in HTML view of WYSIWYG, the image shows up as it should in the News List.

 

How can I edit the PHP (which file?) so that the "/test/" bit of the URL is left out automatically when the image is added via the button?

 

The site is in a sub-folder of my site.

 

I would appreciate any help. Thanks

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.