furl and content page
Discussion in "E107 FURL Support" started by oxus Apr 24, 2008.
Thu Apr 24 2008, 11:02 am
Hy, I use furl on my site.
I find next problem when I use [newpage] shortcode on a content page:
on the original php is like this:
and nextpage is
with furl the next page is like this:
is not woking
I find next problem when I use [newpage] shortcode on a content page:
on the original php is like this:
- e107_plugins/content/content.php?content.xxx
and nextpage is
- e107_plugins/content/content.php?content.xxx.1
with furl the next page is like this:
- http://yoursite.com/contentxxx.html.1
is not woking
[ Edited Fri Apr 25 2008, 09:31 am ]
Thu Apr 24 2008, 02:02 pm
hmm... make these changes in the e_module.php and sitelinks.sc file
add the following to .htaccess file where content part is written
Please give feedback after youdone this..
//edit number 14 to this.. $patterns[14] = '/e107_plugins\/content\/content.php\?content\.([0-9]+)\.([0-9]+)/'; $replacements[14] = 'content$1-p$1.html'; //append this at the end of all pattern and replacement arrays $patterns[14] = '/e107_plugins\/content\/content.php\?content\.([0-9]+)/'; $replacements[14] = 'content$1.html';
add the following to .htaccess file where content part is written
RewriteRule content([0-9]*)-p([0-9]*)\.html(.*)$ e107_plugins/content/content.php?content.$1.$2 [L]
Please give feedback after youdone this..
Fri Apr 25 2008, 06:11 am
I having some problem to get this to work. Is it possible for you to add this changes int the files and publish the files here on the forum?
Kind regards
mankan
Kind regards
mankan
Fri Apr 25 2008, 10:15 am
@Ajay, thank you for your fast support!
I tried your code: is not working.
If I use your code the output is like this: contentxxx-pxxx.html (content232-p232.html) .
For a live example of my problem see this page( BTW: same problem in page.html):
http://subiectiv.com/page47.html
Thank you!
I tried your code: is not working.
If I use your code the output is like this: contentxxx-pxxx.html (content232-p232.html) .
For a live example of my problem see this page( BTW: same problem in page.html):
http://subiectiv.com/page47.html
Thank you!
[ Edited Fri Apr 25 2008, 10:16 am ]
Fri Apr 25 2008, 04:17 pm
output is perfect... so it should work.. can you tell me whats the error you are getting?
also do the same with page.php make the changes as you did for content.php
also do the same with page.php make the changes as you did for content.php
Tue Apr 29 2008, 04:09 pm
output is perfect... so it should work.. can you tell me whats the error you are getting?Ajay
is not working :
if I get
- http://mysite.com/contentxxx-p1.html
- http://mysite.com/contentxxx-pxxx.html
in this page , like this:
http://subiectiv.com/page47.html , your code give me a output like this http://subiectiv.com/page47-p47.html and this not work
[ Edited Wed Apr 30 2008, 04:33 am ]
Mon May 05 2008, 10:41 am
I got it to work, i also made all my plugins to work on furl Great plugin. It takes some time to configure... but still it's working. About the content page:
Ajay i found bug in your code
Changes in e_module.php and sitelinks.sc files
And .htaccess file:
Just tell me if something not working
Ajay i found bug in your code
Changes in e_module.php and sitelinks.sc files
// use this instead $patterns[14] = '/e107_plugins\/content\/content.php\?content\.([0-9]+)\.([0-9]+)/'; $replacements[14] = 'content$1-$2.html'; //append this at the end of all pattern and replacement arrays $patterns[14] = '/e107_plugins\/content\/content.php\?content\.([0-9]+)/'; $replacements[14] = 'content$1.html';
And .htaccess file:
RewriteRule content([0-9]*)-([0-9]*)\.html(.*)$ e107_plugins/content/content.php?content.$1.$2 [L]
Just tell me if something not working
[ Edited Mon May 05 2008, 10:43 am ]
Powered by e107 Forum System