We have installed EE 2 with the following add-ons:
- Matrix
- Tiny MCE
- Multiple Site
The EE installation was made in root (http://bkvatt.mysteryd.com a.k.a. “site1”) and then created sub domain (http://bkvatt3.mysteryd.com a.k.a. “site2”) pointing to a folder located inside site1’s public.
We created a lot of templates and entries inside site1 and we want to re-use those templates by calling them in site2. (all this is working fine).
The templates has callouts to entries that are in charge to populate the content.
Here is the “General Configuration” for both sites:
SITE 1
URL to root directory: http://bkvatt.mysteryd.com/
URL to control panel: http://bkvatt.mysteryd.com/bkvatt-md-sys/index.php
URL to themes: http://bkvatt.mysteryd.com/themes/
Theme folder path: http://bkvatt.mysteryd.com/themes/
SITE 2
URL to root directory: http://bkvatt.mysteryd.com/
URL to control panel: http://bkvatt.mysteryd.com/bkvatt-md-sys/index.php
URL to themes: http://bkvatt.mysteryd.com/themes/
Theme folder path: http://bkvatt.mysteryd.com/themes/
WHAT I EXPECT TO HAPPEN?
I want images to have absolute paths in site1 so when I call them on site3 they will appear. This will avoid to re-upload “shared” assets in all places.
WHAT IS HAPPENING?
I am able to access the templates and since the CSS and JS are inside a template I can add the absolute path. The problem is that I am not able to use absolute paths for the images in an entry so there are not showing.
WHERE IS THE PROBLEM?
The problem is with the TinyMCE editor. When I manually add the absolute to an image (i.e. http://bkvatt.mysteryd.com/themes/templates/example/images/test.png) it eliminates the http://bkvatt.mysteryd.com and keeps only “/themes/templates/example/images/test.png”. This behavior occurs when using the “image” and “html” button from TinyMCE toolbar.
Also even when I setup the themes paths to site1, when I call the templates in site3 is not able to find them.
Here are some example links:
Site1: http://bkvatt.mysteryd.com/ATT_No_Contract/ATT_No_Contract
Site2: http://bkvatt3.mysteryd.com/index.php/ATT_No_Contract/ATT_No_Contract
QUESTION / SUPPORT
How can I call images from site3 using the same than site1?
Moved to Community Help forum by Moderator
