Disappearing modules + other minor issue jReviews
- alejo
- Topic Author
- Offline
- New Member
- Thank you received: 0
jReviews :: Directory / Ratings / Reviews
www.reviewsforjoomla.com
Please Log in or Create an account to join the conversation.
- alejo
- Topic Author
- Offline
- New Member
- Thank you received: 0
A couple of questions:
1) How can I check if SEF Advance is installed and enabled for jReviews? With OpenSEF you do a check for _OPENSEF, is there a constant defined in SEF Advance that I can check? I need this for my xajax functionality because I have to manually include the SEF file if it is enabled to redirect to a sef url because the xajax bot is run before the sef one.
2) I can't seem to get the new caching to work. The cache files are created but the number of queries remain the same (using the Joomla debug). I assume the cache is checked before running the create function, correct? What could be the problem? I am running this on a local server.
Thanks,
jReviews :: Directory / Ratings / Reviews
www.reviewsforjoomla.com
Please Log in or Create an account to join the conversation.
- alejo
- Topic Author
- Offline
- New Member
- Thank you received: 0
1) How can I check if SEF Advance is installed and enabled for jReviews? With OpenSEF you do a check for _OPENSEF, is there a constant defined in SEF Advance that I can check? I need this for my xajax functionality because I have to manually include the SEF file if it is enabled to redirect to a sef url because the xajax bot is run before the sef one.
Never mind about this. Your SEF works fine, it's only with open sef that I need to include a sef class file to convert the urls using xajax. Weird.
I still can't get the cache to work though.
jReviews :: Directory / Ratings / Reviews
www.reviewsforjoomla.com
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
1) How can I check if SEF Advance is installed and enabled for jReviews? With OpenSEF you do a check for _OPENSEF, is there a constant defined in SEF Advance that I can check? I need this for my xajax functionality because I have to manually include the SEF file if it is enabled to redirect to a sef url because the xajax bot is run before the sef one.
Originally sef_ext.php files were made for SEF Advance only because I invented the extension file standard. It was later adopted by other SEF components.
So if there are no defines it should work with SEF Advance. If it doesn't mail the component author.
2) I can't seem to get the new caching to work. The cache files are created but the number of queries remain the same (using the Joomla debug). I assume the cache is checked before running the create function, correct? What could be the problem? I am running this on a local server.
First time it would be the same number of queries until the URLs are cached. If you reload the page you will notice how the number of executed queries decrease.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- alejo
- Topic Author
- Offline
- New Member
- Thank you received: 0
First time it would be the same number of queries until the URLs are cached. If you reload the page you will notice how the number of executed queries decrease.
That's what I did. I am actually looking at the queries performed in the sef_ext.php file, and even after reloading the queries are there and the total number of queries remains the same.
jReviews :: Directory / Ratings / Reviews
www.reviewsforjoomla.com
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
However, everywhere a content URL is displayed or executed the cached copy of URL will be used instead of calculated one. First activate the debug in main Joomla configurations which will display total executed queries by loaded page.
If you turn off SEF Advance cache and load a page (with content links or menu) and then turn on the cache and reload the same page twice you will notice the difference in number of executed queries.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.