0

Is it possible (with Drupal 7) to style the new node page?

I can add content by going to node/add/article, but I want this to be on its own URL and styled like my site's theme.

Is this the correct way to go about this? Or is it better to create a new module with validation to submit data back to the database?

4
  • You can Change the url by setting alias and style it like any other page with css Commented Nov 3, 2015 at 12:42
  • Welcome to Drupal Answers! This question is too broad. The answer to Is it possible with Drupal 7 to style the new node page? is yes, but I don't think that is going to help you much. Did you try doing it? What problems do you have in doing it? Did you check you didn't set Drupal to use the administration theme also when editing a node? The last two questions are subjective.
    – apaderno
    Commented Nov 3, 2015 at 12:49
  • Hi, sorry for being too broad, so I want to have my users add content to content types but have the page and the form styled like my custom theme, so it doesn't look like your using Drupal, but I want to have the flexibility of adding new fields in without the need to edit a template file and create new form validation. I want to know if there if I can create a new template such as page--node--edit.tpl.php and call a php function that renders the form around my Frontend page style. Commented Nov 3, 2015 at 12:53
  • I would want to hide some features such as allowing the user to set the url path and menu options and comment settings, these are features that users shouldn't be able to have, I imagine that this might be controlled from the permission page? Commented Nov 3, 2015 at 12:56

2 Answers 2

0

You can style your node edit or add form by adding page--node--edit.tpl.php

or check here and here for more Suggestions.

2
  • @argiepiano maybe because it worked? :O
    – No Sssweat
    Commented Nov 3, 2015 at 20:51
  • Sorry, it does work! I stand corrected. I'll delete my previous comment.
    – argiepiano
    Commented Nov 4, 2015 at 2:13
0

Go to appearance/theme settings, here you have your theme on, but most probably also an admin theme, in the bottom of the page, your admin theme is selected. Here you will also find a checkbox, make sure this is not selected. This makes new node page use the admin-theme.

1
  • Yes, this probably answers to I want this to be on its own url and styled like my sites theme.
    – apaderno
    Commented Nov 3, 2015 at 12:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.