Issues using FancyBox 2.1.5 after upgrading APEX 4.2 to 5.0.3 - fancybox

Please help us get FancyBox working with APEX V5.0.3
Our migration to APEX V5.0.3 was going smoothly, we kept the V4.2 production server and loaded v5.0.3 to another pre-prod glassfish server. All of our applications were working fine on the PRE-PROD box until we tested the application that uses FancyBox.
None of the FancyBox features appear to work. The images display inline but there are no errors and the images do not appear to be linked to FancyBox or anything else.
The FancyBox folder JS is stored in the same place as they were on the Prod Server. BeyondCompare verifies The files on both servers are the same (binary comparison).
\\Pre-ProdServer\e$\apex_5.0.3_en\apex\images
\\Prod_Server001\e$\apex_4_2_2\apex\images
Any suggestions from anyone?

The developer was following the advice of fac586 from the this link https://community.oracle.com/message/13815177#13815177.
Our code for using fancybox has to be updated to work in Apex V5.
1st the fancybox file had to be uploaded into a shared component.
2nd The JavaScript in the dynamic actions had to be updated
and 3rd the page template had to be updated as well.

Related

Tiny MCE v6 loading issue

I'm using the open-source version and have download the latest zip file containing all the server side code. However, when I run the page I get the following errors on the javascript console. All of the errors are from the tiny mce site. I put in the url in a separate web page and got a "can't find the page error". Doesn't anyone know why this is occurring and is there a work around.
This is the javascript console for the page
TinyMCE 6 has some changes you will need to address. There is a migration guide in the documentation that outlines what you may need to change:
https://www.tiny.cloud/docs/tinymce/6/migration-from-5x/

TinyMCE with CDN on Contao 3.x

I have a Contao 3.x website where I use CDN for the assets. The problem that gives rise to on the backend is that TinyMCE does not work anymore. I read that there is a different cdn js for loading TinyMCE with CDN, but on a Contao (or probably the same with any other CMS using TinyMCE), and especially the backend, something like that is auto configured by the system. I could try to make a core change inserting a script tag on the template, but that is not optimal at all and not what I am looking for as a solution.
Anyone knows if there is a workaround with Access Control or something? I use Amazon CDN.

SilverStripe CMS times-out when changing pages in the CMS

I have installed SilverStripe on several servers successfully in the past (but I'm not a SilverStripe expert). This time my SS install fails to work and I'm at a loss how to fix it.
The Problem
SilverStripe 2.4.6 installed correctly on the server (AFAIK).
The front-end works as expected. (Show default theme. Pages all load correctly.)
I am able to log into the CMS admin section succesfully. The CMS loads but when changing site pages in the CMS using the browser pane on the left, the CMS shows the circular loading symbol. The new page load never completes.
Using the console of Firebug in Firefox - When attempting to change pages in the CMS (by clicking on the page browser pane) the CMS tries to load two pages. The second page request 404s.
The first GET request is from the initial page loads.
The following POST+GET requests fire when clicking on the page tree to change pages.
Attempting to Find the Solution
I've tried deleting and re-installing silverstripe twice. (2.4.7 and 2.4.6) Both times the problem recurs.
A strange thing is that this server is already running two other silverstripe sites (both of which I installed without a hitch). All three websites are accessed via different domains. I tried accessing this install via another domain thinking there might be something wrong with how this third domain is configured but that didn't help either.
What should I try now? I'm stumped.
Thanks in advance.
Responses to Comments
Check your root .htaccess file. Make sure RewriteBase is set to /
Checked. Full .htaccess on PasteBin
Indeed the javascrip URL is strange. Check if there is anything unusual about what's being returned from the previous POST request. Is the site running in dev, test or live mode?
I can't see anything unusual in the POST request.
Clue Found: The site is running in DEV mode. Switching to LIVE mode and the problem disappears. Also the second GET request only shows up in DEV mode.
Example Post request with response.
Example Get request with respones.
This is a work around more than a fix but if you'd rather be coding than bug hunting it might be worth a go! (remember to log out of SS before doing this fix)
In your mysite/_config.php file change
Director::set_environment_type("dev");
to
if(!isset($_GET['isDev']))
Director::set_environment_type("dev");
else
Director::set_environment_type("live");
Then you can develop the website in dev mode normally and to use the admin in live mode and avoid the bug you just go to: http://{your_domain}/admin?isDev=0
N.B. might find a proper answer when pastebin.com isn't overloaded and I can see your responses!

Using Joomla 1.5 based site, I am experiencing a problem while making JAPopup plugin work with Template 29042 from template-help.com

JAPopup is a handy plugin for Joomla to render Youtube videos in a Modal Window so user cannot click on multiple Youtube videos at the same time. The website URL is www.multicorewareinc.com/29042 (hast not gone live yet!). If I use a standard Joomla template such as JA_Parity or rhuk_mllkyway, JAPopup plugin works fine. But instead if I use Template 29042 from template-help.com, JAPopup hangs up. I compared the index.php files of a working template (such as rhuk_milkyway) and Template 29042 and as far as I can tell, 29042 uses Javascript extensively and there appears to be an issue when it comes to launching JAPopup (which too is based on Javascript). I put print statements in all the JAPopup modules and verified that the code was getting executed in either templates. So I am at a loss as to why JAPopup won't execute. If anyone has a suggestion, I would be grateful. Once I fix this, I plan on publishing the problem and the fix on my web-site, www.sreeiyer.com.
What does Firebug say? It's obviously a jscript conflict so start narrowing down the options - does the template use jQuery or another library? Does JAPopup use a library? You can also remove the scripting from the template and start adding it back until the error comes back, then you know what needs to be rewritten.

In Magento, how can I preview a page before saving it?

I am using the Magento ver. 1.4.0.1 Community Edition. The problem I am running into is that Magento only allows me to preview pages that I have already saved. This works fine if I am creating a new page - but what if I am editing a current page? I want to be sure that the changes I make look good on the site before saving them.
Does anyone know of a way to preview a static cms page before saving the changes made? I'm open to using some sort of plugin if anyone knows of one.
Thanks
Currently there isn't one in Magento, you'll just have to save it and view it.
A lot of the work I've done in Magento has been done on a development server, once everything was set it got moved to the production server. I'm not saying you need two servers, but having at least a development instance of Magento will help when editing a live site.
for non-trivial changes, I normally create a new page with a URL that's not linked anywhere and then load that up to preview, before copying the content/settings to the real page.