I'm a little bit stuck in my attempts to change the format of my journal articles in my biblatex biography.
What i have so far:
Smith, A. and Smith, J. (2006). Article title. Journal title 29.2, pp. 1-43.
What is the goal:
Smith, A. and Smith, J. (2006). Article title. Journal title, 29(2): 1-43.
and (if there is no issue defined):
Smith, A. and Smith, J. (2006). Article title. Journal title, 29: 1-43.
Here is my MWE:
\documentclass{article}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[backend=biber,style=authoryear,maxcitenames=2,maxbibnames=50,firstinits=true,uniquelist=false,uniquename=init,isbn=false,doi=false,useprefix=true]{biblatex}
\DeclareNameAlias{sortname}{last-first}
\DeclareFieldFormat[article]{title}{#1}
\DeclareFieldFormat[article]{journaltitle}{#1}
\DeclareFieldFormat[book]{title}{#1}
\renewbibmacro{in:}{%
\ifentrytype{article}{}{\printtext{\bibstring{in}\intitlepunct}}}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Article{initials,
author = {Doe, J. P. and Jones, J.},
title = {An article coauthored by John-Paul Doe},
journal = {Journal title},
volume = {29},
pages = {825--833},
year = {2008}}
@Article{smitha,
author = {Smith, Anne and Smith, Joe},
title = {Article title},
journal = {Journal title},
volume = {29},
number = {2},
pages = {1--43},
year = {2006}}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\cite{initials,smitha}
\printbibliography
\end{document}
Any idea? Thanks in advance.

\DeclareFieldFormat{pages}{#1}or\DeclareFieldFormat{pages}{\ifentrytype{article}{#1}{\mkpageprefix[bookpagination]{#1}}}seems much more elegant. You might also want to make the change of\bibpagespuncttype-dependant. – moewe Apr 12 '15 at 12:10@articlesdifferently, I think). Since the OP seems to have embraced\ifentrytype{article}already in their MWE and the question mentioned only@articles I found it natural to change only those. – moewe Apr 12 '15 at 12:24\DeclareFieldFormattype-dependant is of course much better than the crude attempt I suggested above. But now you delete the punctuation before the pages field entirely for non-@articles, maybe you wanted something likerenewcommand{\bibpagespunct}{\ifentrytype{article}{\addcolon\space}{\addcomma\space}}– moewe Apr 12 '15 at 12:31xpatchpackage for that. See my updated answer. – Bernard Apr 12 '15 at 17:29volume+number+eidbibmacro with the following:\renewbibmacro*{volume+number+eid}{ \printfield{volume} \addcomma\space \iffieldundef{number}{} {\printtext{no\addnbthinspace\printfield{number}}} \setunit{\addcomma\space} \printfield{eid}}– Bernard Apr 10 '16 at 11:59