Where does a user submit his/her ad to admin?

Comments

jeremy’s picture

If a user has 'create advertisements' permissions, they can create ads just like they create any other node content. Review the INSTALL and README files for more information on how to create ads, and on the various advertisement related permissions.

dsextonj’s picture

I do not allow users to create content on the website. So I can take 'create advertisement' from the Admin menu and move it to the Navigation menu, give authenticated users access to 'create advertisements', and rename it to 'create ad'. But it looks like you actually create a page, because the authenticated user sees 'Title' and 'Description' above the actual ad information. I'm not sure I want the user to see this. Is there any way to hide that and just have a page that asks for ad information only? If not what about a workaround?

jeremy’s picture

You can hide anything using CSS, however the title is a required field so hiding the title isn't really an option. You can at least hide the description field with CSS.

Otherwise I imagine you'd have to do a little custom PHP development -- ie, set a default title for each ad perhaps based on the current time, then hide that field too.

dsextonj’s picture

Ok, the css is good. I'm not so well aquainted with Drupal (but learning), why is the title important? I understand we're creating content. Is the ad an actual page? Can anyone else access it later to create their ad?

dsextonj’s picture

Hmmm... how did I miss your second paragraph? It's workable! Thanks for the info.

jeremy’s picture

Status: Active » Fixed

Ads are nodes, and all nodes require titles. That said, only users in roles that have "create advertisements" permissions will be allowed to create advertisements.

It sounds like you've got things figured out, marking as such.

dsextonj’s picture

Man, I see you've been busy today, looking at your issue forum. Sorry to be one keeping you that way today... I notice you can add the ad as a 'non-shippable product'. Where do you add the cost?

BTW thanks for the help.

dsextonj’s picture

Status: Fixed » Active
jeremy’s picture

Status: Active » Fixed

Please don't add unrelated questions to old issues -- either find a related issue, or open a new one. Otherwise things get confusing very fast.

I don't use ecommerce with the ad module at the moment, so I don't have an answer for you. Do not follow up on this in this issue, as it is totally unrelated to the original question.

d9’s picture

I have installed this module and made sure that my user has "create advertisements" permission checked. However I am not able to create an ad thru my "Create Content" screen, and I am also not able to add "create ad" to my menu. I can only ad an add by typing in the direct url. Has anyone else had this problem? (Using version 5.x-1.2)

d9’s picture

I apologize. I am using OG, and I had to allow it in the OG Content Types.

Anonymous’s picture

Status: Fixed » Closed (fixed)