Nick_Q Posted March 30, 2007 Posted March 30, 2007 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? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.