Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Where to find the relative link Rate Topic   - - - - -

 
  • Martin
  • Senior Member
  • Members
  • Join Date: 26-Mar 08
  • 151 posts

Posted 25 May 2012 - 09:20 PM #1

Ever since the first version of CS cart I have been struggling with this. I am using CS-cart 2 and I have just created a new link in the Design > Top menu and a new page in Content > Pages but I need to find the relative link for the page so I can add the url to the menu item.

Where can I find this relative link?

Regards,

Martin
CS cart 2.1.2 professional

 
  • brandonvd
  • is Super Awesome
  • Members
  • Join Date: 19-Dec 06
  • 2633 posts

Posted 25 May 2012 - 10:38 PM #2

I just view my page and then copy/paste the URL over.

So if your page is at http://www.your-doma.../your-page.html just copy over the your-page.html part.

Is that what you mean?

Thanks,

Brandon

 
  • Martin
  • Senior Member
  • Members
  • Join Date: 26-Mar 08
  • 151 posts

Posted 26 May 2012 - 12:09 AM #3

No not exactly. When I do that I get into trouble. I need something like index.php?dispatch=pages.view&page_id=10 but I don't know where to find the ID number of the new page. I have tried a few differenet numbers and they either show an already existing page or a 404.
CS cart 2.1.2 professional

 
  • solesurvivor
  • Senior Member
  • Members
  • Join Date: 05-Aug 11
  • 745 posts

Posted 26 May 2012 - 02:15 AM #4

Just look in the URL when editing the page in the admin you will see the id

 
  • brandonvd
  • is Super Awesome
  • Members
  • Join Date: 19-Dec 06
  • 2633 posts

Posted 26 May 2012 - 03:42 AM #5

Hmm, maybe you don't have SEO enabled or something.

In the admin, you should see something like:

admin.php?dispatch=pages.update&page_id=6&come_from=

The 6 is the number you want.

So, you'd want something like:

index.php?dispatch=pages.view&page_id=6

I hope that helps,

Brandon

 
  • Martin
  • Senior Member
  • Members
  • Join Date: 26-Mar 08
  • 151 posts

Posted 29 May 2012 - 11:38 AM #6

The solution given by solesurvivor did the trick. Man I have been struggling with this for years and feel a bit stupid seeing as how easy the solution is :-( .

Thanks to all who helped with this now I can move on a start tweeking further :grin: !!!
CS cart 2.1.2 professional