By fmkicon on
I am trying to figure out how to creat a link to "section" within my site with drupal. Ideally I want the same setup this site has to where the tabs at the top direct you to different paths. But I cannot seem to figure out how to do that within drupal. So when I creat a new tab for game reviews it points to http://tellallofyourfriends.com/games. But I cannot seem to figure out how to create that path within drupal. Forgive my grammar and spelling because its 1:30 and I'm on a quad shot of starbucks americana espresso so I'm all kinds of jittery. Please help, I really need assistance on this.
Comments
some help maybe?!
some help maybe?!
Patience is a virtue
Please remember; You post this in the weekend prior to christmas ("everyone's cooking and baking").
I'm not entirely sure what the problem is you are having. Suppose you create a taxonomy term 'Games' which has the URL taxonomy/term/1. You can then make this URL look nicer by enabling the module path and creating a URL alias games for taxonomy/term/1.
To get this in the primary links region, go to administer » menu (admin/menu) and add the path with a nice title to the primary links menu. Make sure your theme is set to display primary links.
--
The Manual | Troubleshooting FAQ | Tips for posting | How to report a security issue.
Thank you! I will try this
Thank you! I will try this right now. I really appreciate your help.
I'm not sure what this
I'm not sure what this taxonomy thing is for. I found it and downloaded it but hesitated to install it because in the readme it had some stuff I didnt fully understand.
I'll try to explain this better sorry if it doesnt make sense. What I'd like to do is have primary links link to a different path but I can not seem to find the feature within drupal to create paths. Thats the best I can explain it.
Taxonomy did not need to be
Taxonomy did not need to be downloaded. it is a part of core.
to control primary menus, visit Administer -> menus
you can point any menu item to link to any node (link) you want.
The first time a new primary link is created, the "primary links" link disappears and provides you with the admin suggested primary links.
it may be beneficial to explain "with examples of exactly what you are trying to accomplish, a mock up screencapture is a good way to communicate your desires as well.
http://tellallofyourfriends.c
http://tellallofyourfriends.com/Images/screen.jpg
In that screenshot you can see number 1 is the menu I created. Number two is the path I put in. I was hoping when I created primary link it would automatically create that path, but it just goes to page not found. I would like to create different paths within drupal then link to them with primary links. But I cannot seem to find the fucntion to do that.
A menu cannot automatically
A menu cannot automatically generate a path, unless you are using the pathauto.module. paths can be created using the path.module which is part of core.
I am still unsure of what you mean when you say "I would like to create different paths witin drupal, the link them with primary links"
menu items need to be linked to "somewhere" be it a path in drupal or to a specific node in drupal.
ok......
Right so how do I create a path like "http://tellallofyourfriends.com/360" in drupal and have it create the page. Right now it says page cannot be dislayed. Because the path does not exist, and from my unsderstanding the only reason its still displaying in drupal with a 404 is because of the .htaaccess file, wich if I remove it will just do a standard IE 404.
drupal will not
The error you are getting has nothing to do with your .htaccess file.
drupal will not automatically create a page for you. the node (page) must be created by you. This is why you are getting a 404 error. There is nothing to link to @ http://www.yoursite.com/360
I believe you are expecting http://www.yoursite.com/360 to work as a primary link the way http://www.yoursite.com/forum works when creating a primary link. the reason there is what seems like automatic creation of a new page with the default drupal forum.module is because drupal is written with it in mind. the taxonomy for the forum.module is already set up to accept it this path when the forum module is enabled. If the forum module is never enabled, then the taxonomy isnt set up. Thus you would recieve a 404 error when trying to goto http://www.yoursite.com/forum
please inspect and test the path.module which is part of core. Also inspect and test taxonomy.module part of core.
It may not hurt to install two sites one with the forum module enabled and one with out. inspect the taxonomy to see how the changes are effecting drupal. This should give you a greater overview of how drupal works with regards to paths, and how to link to paths using primary links and menu items.
site setup
I think I understand what your saying (forgive me if I dont) but I am using PHPBB for forums. Because I want to be able to have more in depth forums than what drupal has to offer. I would very much like to be able to have drupal installed on the entire site, so when a user clicks on a primary link it leads them to yoursite.com/360 and it is still in drupal. So that my staff can go to create content and post the article under the 360 section. Right now everything just posts to the main page and I tried the taxonmy and vocabulary function and it still posted it on the main site. I'm am sorry if this is confusing, but please bere with me I am new.
I think I am confusing
I think I am confusing people and I'm sorry. I know apologizing for being new is a lazy mans ecxuse for stupidity. But let me see if I can clairify. On http://drupal.org, at the top when I click on handbooks it takes me to http://drupal.org/handbooks. That is what I want the abilty to do. Have my primary links lead to another part of the site. Then when posting new content whether it be a page or story I want the option to be able to post it upder the perferred section. So when I am posting a review for an XBOX360 game I can have the option for posting it under the XBOX 360 section where it would belging instead of blasting it all on the main page. I dont know what I'm doing wrong but I cannot seem to figure it out.
To Create a path like
To create a path like /handbooks/ you would have to enable the path.module which is part of core.
Then you will have an administer -> url aliases menu option
This area is where you would create url aliases.
however, you will still need to create content to point the url alias to.
an example lets create an about us page and link it to the primary links area
an about us node is created by you (This can be any content type). This creates a new node and node ID number /node/3 (for example)
then you use the url alias to rewrite node/3/ to be = to /about_us/ and then create a primary link to /about_us/
More information found below this post to specific documents found in the handbook that tutor you with regards to paths and taxonomy.
I'd written that before your elaboration in above post. Both posts hold relevancy. Though you can now ignore the questions I asked of you with regards to "define main site". I'll leave the explainations as is, as they may also help you get your mind around drupal.
what do you mean ? by main
what do you mean ? by main site ?
if you don't want something posted to the "front page" you must uncheck publish to front page in the publishing options menu below the content text area, prior to submission of the new node. If you don't want anything posting to the front page until you deem it worthy. goto admin -> settings -> content types and visit each content type and remove the publish to front page setting. This will set it to not be displayed on front page by default.
to understand more about the path.module and drupal paths see http://drupal.org/node/31644 and http://drupal.org/handbook/modules/path
see also http://drupal.org/node/45992
how to use the taxonomy module http://drupal.org/handbook/modules/taxonomy http://drupal.org/node/299
Yes but how to I setup new
Yes but how to I setup new page/nodes to where I can choose for content to be posted in the 360 section. I am sorry if I am confusing.
a user upon posting the new
a user upon posting the new node, would choose for the content to be added to a specific category. The pathauto.module from the contrib downloads area adds a few features to the path.module as well. If you "ONLY" want content posted to /360/ you may have to take a look at other modules to only allow content added to that specific category.
Please read the documentation i pointed you to, and please test (play) with the modules on a test site.
I do not have a test site
I do not have a test site available. I have one domain to which drupal is already installed. I will attempt to read through this material more but I am having trouble understanding some of it.
a test site can be installed
a test site can be installed on your computer using a XAMMP or WAMP which creates a server environent on your home PC. this will allow you to test and develop away from your public server. You could also choose to install Drupal into a seperate folder on your public server. (I don't reccomend this method, unless you have the ability to set up subdomains on your host. like demo.yoursitename.com where a demo installation can be worked on without interferring with your live/production site)
Drupal does have a learning curve. The more you play around (and screw up for that matter) the more you will learn. The power of drupal isnt always blatantly obviously to the newcomer.
It is late (2am) where i reside. I am about to retire for the evening. I will check this topic tomorrow to see if you have made any advancements in your quest. If not I will try to create some sort of step by step recipe for you to follow.
In the meantime it may benefit you check out the Drupal terminology handbook page http://drupal.org/node/21951, so that when you discuss drupal and situations you are running into you are using the terminology most of us are used to. Which will help clarify your wishes and or confusion.
I really appreciate all your
I really appreciate all your help. Thank you for all of the information you have given me. Its only 1AM here so I think I am going to pound away at this for a few more hours. I think the terminology and layout of it all are still affecting me. Once again thank you.
Nothing. Still cant seem to
Nothing. Still cant seem to figure it out.
after reading Heines comment
after reading Heines comment again He did a great job of giving you a step by step
The only thing I can add here, would be that if you've already added any taxonomy terms, then your taxonomy/term/# could vary.
If you need a:
step#1 click here, do this
step#2 click there, do that
I'll have to work that up later, unless someone else pops into the topic. I'll work on something during lunch and try to have it posted by dinner.
Thank you I am short for
Thank you I am short for time now but I will try this once I get to work.
So that I can tailor this
So that I can tailor this step by step for you , do you or do you not have clean urls enabled ?
yes they are enabled
yes they are enabled
HOORAY
Wow so thank you all SO much for putting up with me! I just got it figured out. I was missing something SO simple. After I tried it for the ten thousanth time and it worked I felt like tearing everything down because I felt too dumb to own a domain. =P Thank you again for all that helped and put up with me I'm sorry it took me so long haha