I'd like to get the user profile with a view (works, no problem). But I also would like to get an 'edit' link next to every user profile field for direkt editing.
Is there any solution?
Create view with settings:
Show: users
Display format : unformatted list of fields
Then on view editing page:
add field (press the button)
select "User: Edit link"
uncheck "Create a label "
define "Edit user" to option "Text to display"
Related
this is a case for Magnolia CMS
Press "Edit Asset" within assets area
Press Add Tag button
Press "Select new" button
From opened dialog select more than one Category
Press "Choose" button
As a result only one Category will be choosen.
Is there any way to save a set of the selected Tags from assets dialog?
Sure, you can just add a field for category into asset dialog.
See https://documentation.magnolia-cms.com/display/DOCS/Dialog+definition for details about the dialog and how to add fields to it.
The one you are looking for in particular is to be found under Configuration under path /modules/dam-app/apps/assets/subApps/detail/editor/form/tabs/asset/fields
HTH,
Jan
I have a view where i need to use the node posted as a field. It will show all the nodes which have been posted in descending order. How can i do that? I have only been successful with node update . But i want node post date as the field
To make a view that will show a list of all nodes in descending order by the node's post date:
Assuming you are using a plain node such as "story":
Create a new view, name it whatever you like
In the "Fields" box click the "+" to add all the fields ("Node: Title", "Node: Body", "Node: Post date") Add any other fields you would like to see displayed.
For each field choose the settings you want to use and click "Update"
In the "sort criteria" box (upper right of view UI) also click the "+", add "Node: Post date", choose "Descending" then click "Update"
Save the changes to your view
This will give you a very basic list of all your nodes ordered by newest to oldest. You could also do this for specific content types if needed by adding a "Node: type" filter.
how do i make that in the creating screen of content type i will be have option to add single/multiply values? so if use have field: type your friend name:
he can choose to type one friend and there is option add more and then another field will open to him so he can add more friends names?
Navigate to:
Administer->Content Management->Content Types
Click Manage Fields on the type you want to change
Next click the configure link beside the field you want to have an "Add More" for
Finally under Global Settings change the "Number of values:" setting to unlimited.
Now when you add a content item of that type there will be a "Add More" or "Add Another Item" link provided.
How to make dropdownlist as Readonly Field in Infopath 2010.
EDIT: made solution 1 solution 2 and add a new solution and made that solution 1
Solution 1
Select the control
The "Control Properties" tab should light up and you should see "Manage Rules"
Click the New button on Manage Rules and select Formatting
Solution 2
You can use conditional formatting to disable any control (including drop down lists). To set your control to always be disabled do the following:
Right click on your control and select Conditional Formatting...
Click Add...
In the leftmost dropdown select The expression
type true() in the text field (this tells InfoPath to always apply this formatting)
Check the Disable this control checkbox.
Click OK and OK.
Note: You will need to do this for each of your drop down lists.
Hope this helps.
PK
Its is very Simple to HIDE or make a field Read Only
All the other Fields can be made READ ONLY just by Right Clicking on
the Required Field and u FIND a DISPLAY tab in the pop-up " Check
the "READ ONLY" and UNCHECK Remaining options !!
For DATE and DROP DOWN Fields
Click on the FIELD --> Go to Manage Rules ---> Add RULE --> condition --> select "the expression" and type true() in the next box !! click OK
Later, Check on the " Disable the Control "
I'm wondering how I can display the recently created nodes by a user on their profile page. I've created a new page for a user at /user/%user and I want to be able to display the latest nodes created by that user.
ok, the answer involves creating a drupal view, so you will need the views module and although simple, the answer is lengthy. please bear with me through this... :) (i am actually doing this on a test site as i write the instructions, to make sure i dont miss anything...)
i assume that you know how to download and install the views module. make sure you also enable the views-ui module.
go to site building->views->add.
put "recent_posts_by_user" for view name, "recent posts by user" for description and "node" for view type. hit next.
under the "default" view type, on the "fields" block, hit the "+" sign.
under "groups" select node, then check the "node type", "node title" and "node updated date" fields. hit the "add" button below the list.
under basic settings block (on the left), click on the "10" for "items for display" and change to "5" or however many items you want per page, and hit "update"
under "use pager", click on "no" and "full pager" or "mini pager" and hit "update" again.
under style, hit "unformatted" and change it to "table" set all fields to sortable, then choose the "updated date" as "default sort", then on "default sort order", select "descending". hit update.
hit "save" to save your progress thus far.
default view is done. YAY! lets add the block
now on the drop-down that says "page", select "block" and hit "add display".
hit "arguments" (block title on the center of the screen)
hit "override" and "update"
hit the "+" sign to the right of "arguments"
on the "groups" drop down, select "user" and select "user id". hit "add"
under "Action to take if argument is not present", select the last option "provide default argument", select "user id from url" and check "Also look for a node and use the node author"
under "validator", select "user" and "Allow both numeric UIDs and string usernames"
under "Action to take if argument does not validate" select "hide view/page not found (404)"
hit "update" then "save"
view is created now lets make sure it shows up on the right pages.
go to site building->blocks, search for the "recent posts by user" block and hit "configure"
scroll all the way to the bottom and select "Show on only the listed pages." and put in "users/*" under the "pages" text area
hit "save block"
now find the "recent posts by user" block again and set it to "content bottom" region (or any other region your theme has available).
hit "save blocks"
DONE! Not rocket-science, but lengthy process... drupal 6 views is so much better than drupal 5! :)
now go visit a user page http://site/users/username and see the table show up there!
hit me up if you still have questions about views.
enjoy
Put in a Views Argument that uses the User ID from the URL argument. It will be arg(1). That should filter content that was authored by the profile you are looking at. That can work for a block or content pane.
I just prefer you to go to Views -> Sort Criteria and add the Node:Updated Date and mark it as descending as it shows the granularity over the time.
Moreover, you can also get the most recent node not only to the table style but to all.