TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 73
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 62
  • Total: 62

Is it possible to modify variables?

Started by Yorel, February 16, 2014, 09:22:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yorel

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:


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

IchBin

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 &nbsp; is.

Yorel

Thanks for the reply. I just fixed it  ;)

This website is proudly hosted on Crocweb Cloud Website Hosting.