Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Scem on
hi. I set up drupal on apache in my pc. but all links are with "?q="... How can i remove this? I want http://localhost/user instead of http://localhost/?q=user/
Comments
Clean URLs
See the handbook.
Your server/apache need mod_rewrite.
ok then. thanx for your
ok then. thanx for your answer.. now i have anotha problem.. I want to add "Login | Register" part to the right top of the page (like www.snowboard-mag.com).. What can i do for this?
Templates are Different
Edit your template. They all work a little different, so have fun.
its only about the template?
its only about the template? or do i have to do something difficult ?
Perspective
Just the template. On the snowboard site they most likely just edited their template. Which is just plain old HTML with some special tags that you can ignore. Either that or they went fancy and made the secondary links appear up top-right.
how can i do this? can u
how can i do this? can u help more ??
html
go in to the templates folder in the folder that you installed drupal.
then find the directory for the template you are useing.
edit the template file that is within that directory.
if you know HTML it should be pretty straightforward.
With bluemarine
With bluemarine
Administer / themes
Click configure next to bluemarine
Click the Global settings tab
In primary or secondary links put this in.
This will work with or without clean url's.
-sp
---------
Test site...always start with a test site.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
ok. it really works. but I
ok. it really works. but I want it to be disappear when you logged in..
Somethin like this;
"Login | Register" before you Login
"Signed as Username | Logout" after Login
If you are using primary and
If you are using primary and secondary links I do not think this is posible. It is probably doable with a custom block in phpTemplate, but I don't know how to do that.
-sp
---------
Test site...always start with a test site.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Depending on your template
Depending on your template you should be able to easily add a link in the Primary or Seconday menu box. Themes\YourTheme.
-sp
---------
Test site...always start with a test site.
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide