I am building a website with drupal 7 in which I have two user roles i.e. a member and an expert. I want to display slideshow of expert type of users with their image, name and few lines describing them in every instance of slideshow. All 3 fields which I require are stored in mysql database as the users entered these details at the time of signup. I used view_slideshow module but I am unable to configure it my way. Unable to create new content type.
Can it be possible to display slideshow in the way I want?
I am using "busy" theme if its required.
Using the views slideshow module you should be able to create a view where instead of displaying content you display users. On the create view page there is a spot where it says 'show: content ' as a drop down. Change this to users and then when you have the views slideshows module change the display format on the same page to slideshow.
Related
I'm looking to edit Drupal's admin pages.
Some of the things I'm trying to achieve:
Remove is the the filter setting on the Content page/node/view. In other words, if I go to to the Content page and I filter by a certain type of node, then I leave that page, then come back, the filter setting is saved, I'd like it to reset each time I visit the Content page.
I would like to modify some of links associated with these pages, as an example on that Same Content page, the titles of the pages are linked to their 'front-end' views, I'd rather have them link to their 'edit' screens.
While I have been successful in modifying the front-end theme of Drupal, by editing the actual php files. I can't find the the same php files for the Admin theme. In our case we are using Seven (7.21). I've read something about views, and thought maybe the entire Admin theme is built as views, aka there no php files involved like the front-end theme has, but under the Views section I did not find any either. I'm still pretty new at this and coming from the Wordpress world, this is a Drupal is a lot different.
The logic for that section of the admin area is at (from the public root):
/modules/node
Specifically "node.admin.inc"
That being said, I don't recommend editing core scripts, as they will be overwritten when you update the core.
You could explore making your own module to supplement that page, or your own view or explore some pre-made modules, such as "Admin Views"
Find de view displayed and go to its configuration :
1 - Edit configuration view like suggested here : https://drupal.stackexchange.com/questions/44440/how-to-remember-exposed-filter-choices
2 - Rewrite output views to rewrite link : field https://www.drupal.org/node/1578524
Another option is to create and use your own dashboard/views to achive like you want http://definitivedrupal.org/suggestions/creating-custom-administrator-view-content
also you can see contrib module : https://www.drupal.org/project/admin_views
You don't have to use that default content overview page at all. Make your own instead:
Make a page view (you have to install views module if you already did not: https://www.drupal.org/project/views) and use table layout. Make sure that page paths starts with "admin" so it will use admin theme. Also pay attention about permissions, so only specific set of users (admins) can use it.
For that view you can freely select what columns you what to show. You can also allow ordering by any column and action if you click on some field.
Use exposed filters to add filtering form, again add any filters you need. You can even set the form to use AJAX, to do auto-submit when some filter field is changed, include reset button and more. Also for every exposed filed you can select (at fields settings) should it remember it's value or not.
At end, edit admin menu and add your new page to it so it will look and act as default one but will offer much more functionality. You can even totally remove default one from the admin menu.
Views module is very powerful, not only for front-end but also for back-end content handling.
When a custom form is created in Wagtail, I can see that it stores in the DB. What I'm not clear on is how to make it so that the admin UI contains the results in some manner. (A new link which lets you download a CSV would be fine, but I don't see how to do that)
How do I allow admin users the ability to see the results of the custom forms? Is this library the only way?
Once you create your first form page (i.e. a page of any page type that subclasses AbstractForm), a 'Forms' item will automatically appear in the left menu of the Wagtail admin. This provides a listing of all the form pages that exist on the site, allowing you to access the results of each one and download them as a CSV.
I've inherited a Drupal site. I need to extract the post data only post title and url of it, out of the site to be able to import it into a different system, but I've never used Drupal and the site is live so I need to tread carefully in order to extract the data without affecting the site.
I try use this Export But canot understan use it, Sow How can i do that. and if any code to export data without modules or views tell me
So, How can export all post from my site that created after 1/1/2014
This is quite easy with drupal views.
Download and enable views, views excel import. -
http://drupal.org/project/views,
https://www.drupal.org/project/views_export_xls
Create an new views page (structure - views), set filter criteria for the type of content you like and date created criteria, set format to display fields. Add both title and link as fields (remove
wrappers if any).
Once you've completed 1,2 add new display to same view called Feed,
following from the module doc:
Add a new "Feed" display to your view.
Change its style to "XLS file"
Configure the options (such as name, quote, etc.).
Give it a path in the Feed settings such as "path/to/xls".
Optionally, you can choose to attach this to another of your displays by updating the "Attach to:" option in feed settings.
Once you've finished, navigate to the path.
I'm recreating a website in drupal7 from a basic html page. This basic current html page has these two sidebars with specify ads squares for their website that they have made. This website is really old so all of their ad squares are created in images. So there is bassicly just an img tag in one ofthese squares. In these pictures there is also an link to donation pages and other functions etc. It's done with an easy a tag. Anyway...
I want to create these ads squares in the sidebars for their new drupal site but I have no idea of how to do it. I've looked into CKEdtior and CKFinder but I dont find functions for it. I want to recreate these pictures into real divs that has css styling.
Do you guys have any idea of how to create these ads square to the new drupal site? :)
Modueles?
Thanks
You could add the ad as a block. Blocks can be displayed in certain regions of your theme, on all or on certain pages of your site.
See Working with blocks (content in regions).
EDIT:
If your users shall be able to create new ads, you could do the following:
create a content type "Ad"
add all the fields you need, set the permissions
with the Views module, you can create a new block display, which contains the relevant fields of your "Ad" content type
What else you have to do depends on when/how/which ads shall be displayed.
Hey guys. so I'm not quite sure how to tackle my next big problem in this project.
I want to create an admin interface which allows my client to create a dynamic menu page for the food and drinks. Basically, I want him to be able to enter a short paragraph for the top of the page, and then 2-6 widgets that he can drag and drop onto the page. This menu will then render under owlhouse.com.au/food. I figure it'll be something to do with associations, but I have no idea how to construct a function which attaches dynamic data to the page on the fly.. and keep it in the layout the client wants (2 columns, diff modules for beer, wine, etc.)
HOW ON EARTH DO I GO ABOUT THIS?
thankyou,
~Harley
Dynamic Data
Build a "CRUD" interface that the client can log into. (Think blog entries). Store the content in the database (of course). Then provide a drag & drop interface that allows the client to order them, assign them to pages, or whatever is needed to meet the requirement. When the client clicks update, you simply add/remove IDs to the content for the given page. When the page loads (like a blog page) it loads the content for the given IDs.
Widgets
The same would apply for widgets. I would build an element that provides the basic layout for the widget. Then build it the same way as the content. The client will have CRUD functionality with drag & drop interface to show which widgets are displayed.
Send me a PM if you need to hire someone. ;)