href with joomla 3

Questionshref with joomla 3
David Mills asked 9 years ago

I.m useing PHPGrid with Joomla 3.x

I have a column in a grid

$col["default"] = "<a href='default2.php?ID={PhoneBookId}' target='_self'>View More</a>";

but Joomla tries to go to
http://localhost/joomla/index.php/default2.php?ID=1

How can I fipx theis?

1 Answers
Abu Ghufran answered 9 years ago

You can try giving absolute path, e.g.

$col["default"] = "<a href='/joomla/default2.php?ID={PhoneBookId}' target='_self'>View More</a>";

Your Answer

20 + 7 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?