download link and SEF

More
13 years 8 months ago #9374 by orchid1
I found a problem with AceSef and Download link
Actualy i dont think the problem is singular to AceSef but that's the SEF component I am using
the download link uses JRoute::_()
i don't know why this is breaking it exactly but I fixed it by taking JRoute::_() out of the code
hope this helps someone
here is the code
yes it is a core edit for the download link but it doesn't hurt anything
change
Code:
<form id="form-download-'.$field->id.'" method="post" action="'.JRoute::_( 'index.php?id='. $values[0] .'&cid='.$field->item_id.'&fid='.$field->id.'&task=download' ).
to
Code:
<form id="form-download-' . $field->id . '" method="post" action="index.php?id=' . $values[0] . '&cid=' . $field->item_id . '&fid=' . $field->id . '&task=download"

“Quality is never an accident; it is always the result of high intention, sincere effort, intelligent direction and skillful execution; it represents the wise choice of many alternatives.” William A. Foster - USMC

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #9413 by micker
Replied by micker on topic download link and SEF
cool
thanks

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.279 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline