- Forum
- Archive - Archiv
-
- Archive - Archiv - Joomla 1.6
-
- http:// bei Homepage als Link entfernen
http:// bei Homepage als Link entfernen
12 years 11 months ago #2172 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.
- DirtyWorld
- Topic Author
- Visitor
-
12 years 11 months ago #2175 by Viktor Please log in to see the response. Attention: You need a valid
subscription to activate an account.
Kubik-Rubik Joomla! Extensions The following user(s) said Thank You: DirtyWorld
Please Log in to join the conversation.
Less More - Posts: 7290
- Thank you received: 775
-
-
-
-
-
12 years 11 months ago #2177 by DirtyWorld Please log in to see the response. Attention: You need a valid
subscription to activate an account.
Please Log in to join the conversation.
- DirtyWorld
- Topic Author
- Visitor
-
12 years 11 months ago - 12 years 11 months ago #2178 by Viktor Please log in to see the response. Attention: You need a valid
subscription to activate an account.
Kubik-Rubik Joomla! Extensions The following user(s) said Thank You: DirtyWorld
Please Log in to join the conversation.
Less More - Posts: 7290
- Thank you received: 775
-
-
-
-
-
12 years 11 months ago #2179 by DirtyWorld Please log in to see the response. Attention: You need a valid
subscription to activate an account.
Please Log in to join the conversation.
- DirtyWorld
- Topic Author
- Visitor
-
- Forum
-
- Archive - Archiv
-
- Archive - Archiv - Joomla 1.6
-
- http:// bei Homepage als Link entfernen
Time to create page: 0.156 seconds