Jump to content

jbrennan

New Members
  • Posts

    3
  • Joined

  • Last visited

jbrennan's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Tim, With Joomla you can access your components default view by going to "/index.php?option=com_mycomponent" You can access a different view by going to "/index.php?option=com_mycomponent&view=display_results"
  2. This should get you the URL structure you are looking for. RewriteEngine On RewriteCond %{REQUEST_URI} ^/user\.php RewriteCond %{QUERY_STRING} username=([a-zA-Z0-9]*) RewriteRule ^(.*)$ http://www.test.com/%1? [L Based on that statement, I am going to guess you are using Joomla. If so, Joomla inserts the row id in the URL string for it's SEF urls. It then retrieves and uses that to return the appropriate content for the page. Changing only this id in the url will return a different row from the database, even without changing the rest of the URL. You will likely have to change a sql query to use the "username" column rather than the "U_id" column to lookup the users information for the page. If you not using Joomla, what platform are you using.
  3. I believe what you are looking for is "item_name". The documentation is here
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.