TinyPortal
Development => Support => Topic started by: Yorel on February 16, 2014, 09:22:19 AM
Hi:
Yesterday I modified the appareance of our articles by erasing some variables ({article_rating}, for example).
Before variable called {article_author} I wrote "Publicado" (Published in english) in order to see "Publicado por Yorel" (Published by Yorel) in each article. The problem is I think the {article_author} has an space to the beggining. Take a look the result:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fi40.photobucket.com%2Falbums%2Fe203%2FYorel%2Ftpspace.png&hash=cab47eda4c02a7a1401ee7e2b2d287fc680e489f)
I didn't left any space between "Publicado" and "por" in the code
Publicado{article_author}</h3>So I think there is an space in the beggining of the {article_author}, is it possible to edit it to erase that space?.
Thanks
There is one space in the code before and after the word "by". You can do whatever you like with it. In Themes/default/TPsubs.template.php search for the article_author() function and you will see where the is.
Thanks for the reply. I just fixed it ;)