Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Extra Info Pages and Links


Recommended Posts

Hello all,


I am currently running a 2.2 version of OSC which has a number of contributions installed. This is my first venture with OSC and I have been extreamly pleased with the whole set up including the support from these forums.


I have an issue currently which I am not quite sure how to approach and would appreciate any advice...


Having installed the "extra info pages with admin" contribution I have created a number of additional pages all of which work well. These pages are changed often and the ability to do so from "admin" is a real benefit.


On some of the pages I have internal (same page) links to navigate around the page. In order to get this to work I have included the page id in the <a> tags. which works fine....until the id changes. I thought the id was equivalent to the page type - which of course it is not!

Still not sure exactly why the id changes but note it is the main index to the db table "pages" and also that it is an auto increment field. (sorry new to Mysql as well! :-" )


As a newbie, can anyone help me out with the right way to sort this. Should/can I change the <a> tag reference to "page_type" and attempt to make that an index in the Mysql table or do i need to recode the <a> tag every time MySql increments the id?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...