http:// bei Homepage als Link entfernen

9 years 4 months ago #2172 by DirtyWorld
http:// bei Homepage als Link entfernen was created by DirtyWorld
Hallo,
ich habe in der default_entrys.php den Absatz //Homepage etwas umgeschrieben:
			if ($entry->gbpage != "" AND $this->params->get('show_home', true)) 
			{
				if (substr($entry->gbpage,0,7)!="http://") 
				{
					$entry->gbpage="http://$entry->gbpage";
				}
				echo "<a href=\"$entry->gbpage\" title=\"".JTEXT::_('Homepage')." - $entry->gbpage\" ";
				
				if ($this->params->get('nofollow_home', true)) 
				{
					echo "rel=\"nofollow\" ";
				}
				
				echo "target=\"_blank\">".JTEXT::_("$entry->gbpage")."</a>";
			}
So das ich die URL auch als Linktext bekomme. Jetzt habe ich nur das Problem das ja ein http:// hinzugefügt wird. wie bekomme ich das bei
.JTEXT::_("$entry->gbpage")."</a>";
wieder rasu?

Viele Grüße

Please Log in to join the conversation.

9 years 4 months ago #2175 by Vitja
Please login to view the response. Attention: You need a valid subscription to activate an account.

Kubik-Rubik Joomla! Extensions

Please support my work with a review in the Joomla! Extensions Directory: extensions.joomla.org/profile/profile/details/61997
The following user(s) said Thank You: DirtyWorld

Please Log in to join the conversation.

9 years 4 months ago #2177 by DirtyWorld
Replied by DirtyWorld on topic Aw: http:// bei Homepage als Link entfernen
Please login to view the response. Attention: You need a valid subscription to activate an account.

Please Log in to join the conversation.

9 years 4 months ago - 9 years 4 months ago #2178 by Vitja
Please login to view the response. Attention: You need a valid subscription to activate an account.

Kubik-Rubik Joomla! Extensions

Please support my work with a review in the Joomla! Extensions Directory: extensions.joomla.org/profile/profile/details/61997
The following user(s) said Thank You: DirtyWorld

Please Log in to join the conversation.

9 years 4 months ago #2179 by DirtyWorld
Replied by DirtyWorld on topic Aw: http:// bei Homepage als Link entfernen
Please login to view the response. Attention: You need a valid subscription to activate an account.

Please Log in to join the conversation.

Time to create page: 0.177 seconds