Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [author]

The tag has no usage guidance.

1
vote
1answer
18 views

Pagination: Next/Previous related to author

I'm having trouble limiting next/previous links in one channel to articles by the author. next/previous links are working correctly on the regular blog but when included on the DJ blog I get unknown ...
1
vote
1answer
118 views

How to compare currentUser with entry.author?

How can I compare the results of currentUser and entry.author on an entry page? I've tried the following, but none of these get a positive result: {% if currentUser == 'entry.author.id' %} Or {% ...
1
vote
1answer
52 views

Get a related entries author in a plugin

Very new to plugin stuff and taking baby steps so forgive me if this is obvious. I have a simple notification service set up to send an email to the author of an entry (front end submitted) when it ...
5
votes
2answers
329 views

Get the author of current entry version?

How would I go about to get the author from the current version / revision of the entry I'm on? Im trying to get "last updated by" in frontend, but authorId on the entry seems to be the original ...
1
vote
1answer
83 views

How can I access the raw profile photo for any given user?

I am using the profile photo on users' posts (author image) and I would like to provide a link to download a larger image. I am currently able to get the "full" size of the cropped image like this: &...
1
vote
1answer
236 views

Can you batch-change all authors in the CP?

Context: When we insert content for clients on full-service projects, sometimes we leave the original author. This author is usually from my shop and has admin-level permissions. When we turn the site ...
2
votes
2answers
545 views

Best way to create an entry (bio) view for a User

I think Douglas has kind of answered this here, but just to ask as a separate question: Given I have made use of Craft's User section to hold data about a company's team members, how do I now make an ...
3
votes
1answer
190 views

Filter entries in CP by Author

How can you filter entries in the CP by Author? I assumed entering something like author:tdavis (where tdavis is my username) would do it, but no results returned. I also tried substituting id for ...
1
vote
1answer
150 views

Author saved as NULL when updating entries from a plugin

I'm using a custom plugin with a service and controller to save relational fields to entries. I'm able to do this just fine, but when it saves an entry, it sets the author as NULL in the database and ...
1
vote
1answer
214 views

Get entries filtered by author's category

I got a list of entries news (channel type). They are created by users (or author). These users have a category region assigned to them. My point is to list the news entries that have the same ...
1
vote
2answers
140 views

Add entry author meta field in entries listing table in CP?

In CP Craft Admin in the entries table view I d like to display some authors meta info. How could I do that in my plugin? I know public function modifyEntryTableAttributes(&$attributes, $source) ...
1
vote
2answers
609 views

Display entries by current entry author?

I have a blog section on my site and would like a "More posts by this author" list. How would I go about this, the logic is clear but the syntax to write for it is not forthcoming.
2
votes
1answer
76 views

Author per locale

For each locale I have a different author which I want to display on the front-end. But at this point author does not seem to per locale? Is the only way to achieve this by adding a users field?
2
votes
2answers
190 views

Get the Top Authors based on entry counts?

I want to be able to display Top Authors based on their entry counts. Has anyone ever tried doing this?
2
votes
1answer
243 views

How can i check an entry author's user group?

I'm trying to check if a user is part of a user group but not having any success! I tried this: {% if entry.author.groups == 'authors' %} But even though the user is definitely in a user group with ...
2
votes
1answer
142 views

Find an authorId based on first and/or last name

Is there a way I can reverse use the User Model to return an authorId based on the first/last name (John Doe)? Basically, I'm converting the first/last to a readable URI segment (using email ...
0
votes
1answer
248 views

Getting relation through entry field by author

I currently have a structure called 'Divisions' that includes 'Team' pages as children. On the 'Team', there is an entries field 'Head Coach', which is an entry created on a 'Coaches' channel. The ...
4
votes
2answers
545 views

Can an entry have multiple authors?

I'm trying to create a multi user blog, where multiple authors can edit the same entry. Is this possible with Craft CMS? Is there a way to assign multiple authors to an entry? I only managed to assign ...
1
vote
1answer
320 views

Including author in search for entries

I've got a site-wide search box (based on the example in the documentation). It's doing a good job of searching through the entries, but is there a way that I can include a search through a user group ...
2
votes
1answer
322 views

List Entries by Author

We would like to show a page which lists all Authors, and their respective entries, eg. Dan Griffey Entry 1 Entry 2 Joe Blogs Entry 1 Entry 2 Have tried a few options but alas none working, so ...
3
votes
2answers
530 views

Retrieve Author Email based on Entry Id

I have created a front-end form to facilitate editorial review of user submitted content. I have created a controller action to receive the post. My question, how do I locate the email address of ...
2
votes
1answer
413 views

Author list limited to first 100 when assigning to entry?

We have more than 100 authors in a user group, but when selecting an author for an entry, only the first 100 are listed in the (a-z) dropdown. Whats the best way to display them all (or up the ...
9
votes
1answer
1k views

How do I list entries from a single author?

I'm returning the username as the second segment /blog/username and then setting the username var to craft.request.segment(2). I'm looking to list a group of entries by that author (username). I've ...