internal page link problem

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
markS
Forum Members
Forum Members
Posts: 58
Joined: Wed Aug 20, 2008 3:04 pm

internal page link problem

Post by markS »

Hello,
       I'm having a problem with the 'internal page link' content type of cms version 1.5.1  I'm trying to create a portfolio section of a website and I have a structure like:

portfolio-|
             |-portfolio item 1
             |-portfolio item 2
             .
             .
             |-portfolio item n

The menu link is 'portfolio', but I want it to go to the first sub-page of that section.  I've setup the portfolio page with a content type of  internal page link and pointed the destination page field at one of the portfolio item pages(say,portfolio item 1) .

That all seems sane enough, the problem is that when I click on the link it just doesn't work :(
All I ever get is a blank page called 'portfolio' with the normal site menu, at no point does it ever appear to substitute the specified destination page. 

I'd appreciate any help people can offer me here.  Am I misunderstanding how the internal page link content type works?  Is this some sort of bug?

Thanks for any help you can offer.


Mark.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: internal page link problem

Post by Dr.CSS »

Works fine for me, did you setup page/menu structure first and then make the content type change...

I went to site and changed an existing page of content type content to content type internal link to forward it to the next page down and it works just fine...
markS
Forum Members
Forum Members
Posts: 58
Joined: Wed Aug 20, 2008 3:04 pm

Re: internal page link problem

Post by markS »

Thanks for your response, I think I've worked it out some more. 

I think I was asking the wrong question the first time around and I wasn't clear in my writing.  I can see that the links created by a cms_selflink tag or the menu code create the deeper link I'm after (e.g. /portfolio/portfolioitem1/).

BUT, what if I want to give out the link to my portfolio page as, say:

http://test.example.com/portfolio/

Bearing in mind that the content under that page is likely to change quite a bit and I can't guarantee that a particular page will still be there.  I want that link to also redirect to whatever I've currently got setup as the internal page link.

Is there a way to achieve this?  At the moment it just gives me the partial page that I mentioned in my earlier email.

Thanks,
           Mark.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: internal page link problem

Post by Dr.CSS »

If you do an internal link and change the page it links to, as long as you don't delete it even if you move it down in the page order, it should always go there, it uses an ID or ? to link to the page not just the name of it...
markS
Forum Members
Forum Members
Posts: 58
Joined: Wed Aug 20, 2008 3:04 pm

Re: internal page link problem

Post by markS »

Hello,

Thanks for following this up, but I don't think you've quite grasped what I'm after, this might be a feature request...

I want to give out an *external* link to the portfolio that doesn't change, e.g.

http://test.example.com/portfolio/

But that page(portfolio) is an internal page link(pointing to /portfolio/exampleN)and if you go there it doesn't redirect as I expect it to, you just get a partial page.  I don't want to give out a link such as http://test.example.com/portfolio/example23, because I might have changed things around or deleted that particular portfolio page or just want to have something different.

I can see that when the menu manager or cms_selflink is used, the link changes to be whatever I've set it to, that works perfectly.  The problem is when coming in from outside, you essentially get a broken page.  I'd like the redirection to work even externally.

Maybe there's a workaround for what I want?  A redirection via a refresh or javascript or something I can put into that page?

Thanks for any help you can offer,

Mark.
Post Reply

Return to “CMSMS Core”