Subrion CMS Support Forums  

Go Back   Subrion CMS Support Forums > Common Information > General Chat

General Chat That's the right place for your to discuss anything you want.

Reply

 

LinkBack Thread Tools Display Modes
Old 10-13-2008   #1 (permalink)
Member
 
Join Date: Jul 2008
Posts: 34
brainegg is on a distinguished road
Default Change the redirect URL after an article submission

After somebody submits an article they're redirected to the BLOG section. How do you change it to where they're redirected to a different page?
brainegg is offline   Reply With Quote
Old 10-13-2008   #2 (permalink)
Subrion Tech Support
 
Join Date: Apr 2007
Posts: 623
Sergey Hmelevsky will become famous soon enough
Default Re: Change the redirect URL after an article submission

Take a look into packages/publishing/submit_article.php, line #190
PHP Code:
$url $config->config['packageList']['publishing']; 
__________________
With private requests send a ticket on http://www.subrion.com/desk/
Sergey Hmelevsky is offline   Reply With Quote
Old 10-15-2008   #3 (permalink)
Member
 
Join Date: Jul 2008
Posts: 34
brainegg is on a distinguished road
Default Re: Change the redirect URL after an article submission

I want it to to redirect to the "Advertise Us" page or "/advertise.html". I also don't want them to be directed to the "waiting" page that appears before that. How would I do that?
brainegg is offline   Reply With Quote
Old 10-15-2008   #4 (permalink)
Subrion Tech Support
 
Join Date: Apr 2007
Posts: 623
Sergey Hmelevsky will become famous soon enough
Default Re: Change the redirect URL after an article submission

File packages/publishing/templates/js/submit_article.js
replace
Code:
location.href = root;
with
Code:
location.href = root + 'advertise.html';
After success submission it will redirect user without any messages to advertise.html page.
__________________
With private requests send a ticket on http://www.subrion.com/desk/
Sergey Hmelevsky is offline   Reply With Quote
Old 10-16-2008   #5 (permalink)
Member
 
Join Date: Jul 2008
Posts: 34
brainegg is on a distinguished road
Default Re: Change the redirect URL after an article submission

I tried that out and it doesn't seem to be working.
brainegg is offline   Reply With Quote
Old 10-17-2008   #6 (permalink)
Subrion Tech Support
 
Join Date: Apr 2007
Posts: 623
Sergey Hmelevsky will become famous soon enough
Default Re: Change the redirect URL after an article submission

Please, try to clear browser cache.
__________________
With private requests send a ticket on http://www.subrion.com/desk/
Sergey Hmelevsky is offline   Reply With Quote
Old 10-17-2008   #7 (permalink)
Member
 
Join Date: Jul 2008
Posts: 34
brainegg is on a distinguished road
Default Re: Change the redirect URL after an article submission

Oh ok. Thanks a lot!
brainegg is offline   Reply With Quote
Old 10-21-2008   #8 (permalink)
Subrion Tech Support
 
Join Date: Apr 2007
Posts: 623
Sergey Hmelevsky will become famous soon enough
Default Re: Change the redirect URL after an article submission

You are welcome.
__________________
With private requests send a ticket on http://www.subrion.com/desk/
Sergey Hmelevsky is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Affiliate ID submission line Hayk General Chat 6 08-15-2008 04:41 AM
Domain Name Change klemox General Chat 3 08-07-2008 10:15 PM
Paid submission? Riverwire Subrion Core Discussion 1 10-09-2007 09:45 PM
License change is possible? TurXaliM General Chat 15 07-26-2007 10:14 PM
small icons in category ~ How can i change or add new ones? LorenGK General Chat 5 06-03-2007 10:28 PM


All times are GMT -6. The time now is 07:38 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0