Hi

I am building a website for a university having different campuses. Each campus has website of their own too.

We are having two content types on the university website, one is campus and second is program. Campus is used for listing the campuses under university. Programs is used to provide information to the user which programs are available under that university.

On each program page, a list of campus is shown to the user where that program is available.

On the backend, we have referenced the node programs in the campus content type. While creating/updating a campus a list of programs is selected for that campus. We have achieved till this and it is working perfect.

However, now we would like to add link of that program page for each campus. i.e. I want users to see a link "See more" on the programs page for each campus which offers that program. This "See more" link attached with each campus on program page will take user to the program page on the website of particular campus where this "See more" was attached. External link for "See more" should be editable on backend.

I am trying from few days to see how this can be implemented. Please suggest.

Thanks

Comments

krisDOTco’s picture

Hey,

I think you've got two options here. The first one would be to create a node that only has a specific job of redirecting to the external campus site in question. I was thinking of added benefits of this, and one may be that you could track it as an outbound link (for SEO purposes). Node referencing only works on nodes within the current site you're working to, so that's your only option here. Set a content type that specifically deals with redirecting to external nodes, and assign that as the selectable options for the node reference.

The other option is to change it from a node reference to a 'link' field.

http://drupal.org/project/link

This allows you to add the link and have it formatted properly in the content.

Kris

shenagarg’s picture

Status: Active » Fixed

Thanks Kris. I preferred the Solution with Link module. :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.