Favorites not working?

15 posts by 3 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: July 28, 2010   (RSS)

By Djulia - July 28, 2010

Hi Jason,

You received my example of urls?

Thanks,

Djulia

Re: [Djulia] Favorites not working?

By Jason - July 28, 2010

Hi,

I believe the problem with the pages in question is that they are .html files. This means that they do not have the php code that connects them to CMS Builder and therefore don't have access to the plugin files. To access the plugins, the page needs to have a line of php code that looks similar to this:
<?php require_once("cmsAdmin/lib/viewer_functions.php"); ?>

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By Djulia - July 28, 2010

Hi Jason

Not, they are not
[font "Times New Roman"]html files, I use a rewriting rule :
RewriteRule ^type_([a-z0-9-]+)_([0-9]+)\.html$ myfile.php?type=$1&page=$2 [L]

… and require is present in the header of the page.

Another idea ?

Thanks, Djulia

Re: [Djulia] Favorites not working?

By Jason - July 28, 2010

Hi,

Unfortunately the plugin is not going to support a rewritten file as it's using jQuery to contact the server and is looking to a .php file.

The best advice would be to not us the rewrite rule. If you would like us to look into this further, please contact our consulting team through this form:
www.interactivetools.com/hire-us/

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/