FURL and Agenda
Discussion in "E107 FURL Support" started by kalamaku Nov 13, 2007.
Tue Nov 13 2007, 07:50 pm
Pleas help! I made this that way, but this doesn't work.
$patterns[41] = '/e107_plugins\/agenda\/agenda\.php/'; $replacements[41] = 'syndmused.html'; $patterns[42] = '/e107_plugins\/agenda\/agenda\.php\?viewitem.([0-9]+)\.([0-9]+)/'; $replacements[42] = 'syndmused-s.$1.$2.html';
# AGENDA ====================================== RewriteRule syndmused.html e107_plugins/agenda/agenda.php RewriteRule syndmused-s([0-9]*)-([0-9]*)\.html(.*)$ e107_plugins/agenda/agenda.php?viewitem.$2.$1
[ Edited Tue Nov 13 2007, 08:42 pm ]
Tue Nov 13 2007, 08:46 pm
Make the following changes in the php codes.. in both the files (e_module.php and sitelinks.sc)
and htaccess code seems file to me.. try it if it still doesn't work... then please provide the website site link..
$patterns[41] = '/e107_plugins\/agenda\/agenda\.php\?viewitem\.([0-9]+)\.([0-9]+)/'; $replacements[41] = 'syndmused-s$1-$2.html'; $patterns[42] = '/e107_plugins\/agenda\/agenda\.php/'; $replacements[42] = 'syndmused.html';
and htaccess code seems file to me.. try it if it still doesn't work... then please provide the website site link..
[ Edited Tue Nov 13 2007, 08:47 pm ]
Tue Nov 13 2007, 10:42 pm
This works. Thank you!
Here is the final for Agenda.
.htaccess
e-module.php
sitelinks.sc
Here is the final for Agenda.
.htaccess
# ============================================= # AGENDA ====================================== RewriteRule syndmused.html e107_plugins/agenda/agenda.php RewriteRule syndmused-s([0-9]*)-([0-9]*)\.html(.*)$ e107_plugins/agenda/agenda.php?viewitem.$1.$2
e-module.php
$patterns[41] = '/e107_plugins\/agenda\/agenda\.php\?viewitem\.([0-9]+)\.([0-9]+)/'; $replacements[41] = 'syndmused-s$1-$2.html'; $patterns[42] = '/e107_plugins\/agenda\/agenda\.php/'; $replacements[42] = 'syndmused.html';
sitelinks.sc
$patterns[41] = '/e107_plugins\/agenda\/agenda\.php\?viewitem\.([0-9]+)\.([0-9]+)/'; $replacements[41] = 'syndmused-s$1-$2.html'; $patterns[42] = '/e107_plugins\/agenda\/agenda\.php/'; $replacements[42] = 'syndmused.html';
[ Edited Wed Nov 14 2007, 12:24 am ]
Tue Nov 13 2007, 11:16 pm
But there is still problems with dropdown selections and next and previous links.
My site: http://test.ratsepp.pri.ee
My site: http://test.ratsepp.pri.ee
Wed Nov 14 2007, 12:23 am
that you need to edit manually..
login to admin area
then go to site links..
manually edit the links..
login to admin area
then go to site links..
manually edit the links..
Powered by e107 Forum System