OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Redirects to different conference websites

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
What to do if you have a technical problem with OCS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

Redirects to different conference websites

Postby yolswell » Wed Aug 06, 2008 7:49 am

Hello,

I understand from another post in this forum that I can redirect the 'Conference Details' links on the conference website front page to point to one of my conference's Current Conference page (by including Request::redirect(null, 'nameofConfhere', 'index'); in /pages/conference/ConferenceHandler.inc.php).

However, I have multiple conferences running at the same time, so ideally I would like each 'Conference Details' link to point to their respective Current Conference pages. I have tried a few things in the 'nameofConfhere' but keep getting a 'Redirect Loop' error.

Any help or suggestions greatly appreciated!

Thanks,
Kate
yolswell
 
Posts: 3
Joined: Wed Aug 06, 2008 7:35 am

Re: Redirects to different conference websites

Postby jmacgreg » Wed Aug 06, 2008 8:34 am

Hi Kate,

I'm not entirely sure what you are asking for -- if you create multiple scheduled conferences, they will all have a "View Conference Details" link that will point to that specific scheduled conference. Can you provide more detail on what you are looking for, and perhaps the link you mention?

Cheers,
James
jmacgreg
 
Posts: 4181
Joined: Tue Feb 14, 2006 10:50 am

Re: Redirects to different conference websites

Postby yolswell » Wed Aug 06, 2008 8:51 am

Ok, on the website homepage I have two different conferences listed, each with their own 'View Conference' links. I would like to change the pages that these links point to.

For example, instead of the links pointing to:
http://www.mysite.com/ocs/index.php/conference1/
and
http://www.mysite.com/ocs/index.php/conference2/

I would like it to point to:
http://www.mysite.com/ocs/index.php/con ... nference1/
and
http://www.mysite.com/ocs/index.php/con ... nference2/

Does that make more sense?

Thanks,
Kate
yolswell
 
Posts: 3
Joined: Wed Aug 06, 2008 7:35 am

Re: Redirects to different conference websites

Postby yolswell » Thu Aug 07, 2008 5:41 am

Actually just solved it.

I made a small change to line 29 of templates/index/site.tpl

<p><a href="{url conference=$conference->getPath() schedConf=$conference->getPath()}" class="action">{translate key="site.conferenceView"}</a></p>



Thanks anyway!
Kate
yolswell
 
Posts: 3
Joined: Wed Aug 06, 2008 7:35 am


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests