in my News summarytemplate I have this (regex_replace) line:
Code: Select all
{capture assign='category_page'}{$entry->category|replace:' ':'-'|lower}{/capture}
{$entry->titlelink|regex_replace:'/returnid=[0-9]*/':"returnid=$category_page"}
It seems that as of version 1.11.6 this does not work any more. I.o.w.
Code: Select all
http://www.alphenphoto.nl/index.php?mact=News,cntnt01,detail,0&cntnt01articleid=73&cntnt01returnid=sports
Code: Select all
http://www.alphenphoto.nl/index.php?mact=News,cntnt01,detail,0&cntnt01articleid=73&cntnt01returnid=58
does lead us to the 'sports'-page.
How can we get this functionality back? Maybe a different regex_replace? Your pointing me in the right direction is highly appreciated.
Regards,
Ron Hoenson
Below our system information (Cms Version: 1.11.5 because 1.11.6/7 doesn't work for us right now):
----------------------------------------------
Cms Version: 1.11.5
Installed Modules:
CMSMailer: 5.2.1
FileManager: 1.4.3
MenuManager: 1.8.5
ModuleManager: 1.5.5
News: 2.12.12
Printing: 1.1.2
Search: 1.7.8
ThemeManager: 1.1.8
youtubeplayer: 1.3.1
CGExtensions: 1.34
CGSimpleSmarty: 1.6.2
Statistics: 1.1.3
Guestbook: 1.4_RC2
CMSPrinting: 1.0.4
MicroTiny: 1.2.5
CGSmartImage: 1.10.8
FormBuilder: 0.7.3
FormBrowser: 0.4.2
Config Information:
php_memory_limit:
process_whole_template:
output_compression: false
max_upload_size: 10000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale: nl_NL.utf8
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.3.3
md5_function: Aan (Waar)
gd_version: 2
tempnam_function: Aan (Waar)
magic_quotes_runtime: Uit (Onwaar)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 90
output_buffering: 4096
safe_mode: Uit (Onwaar)
file_uploads: Aan (Waar)
post_max_size: 10M
upload_max_filesize: 10M
session_save_path: Geen controle omdat 'open_basedir' actief is
session_use_cookies: Aan (Waar)
xml_function: Aan (Waar)
xmlreader_class: Aan (Waar)
Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.77
Server Db Grants: Er is een "GRAND ALL" permissie gevonden, alles lijkt in orde.
----------------------------------------------