Hi, I do hope this is the right forum and apology in case is not the correct one.
I spend a fair amount of time in search regarding my following simple request, but no joy.
What I would like to do is to include inside a mypage.html file the links to access the following G2 pages:
1- Link to access the Login page
2- Link to access the Lost password (Or as is called the recovery page)
3- Link to access the Registration page
Many thanks in advance for the assistance, is most appreciated.
Tony
Posts: 16503
Install Gallery, right-click on those links, click Copy Link Location (terminology from Firefox, don't know what it's called in IE)
That should be all you need. Though not 100% sure about the lost password link.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 4
Many thanks for the suggestion but if I do right click the link is not quite correct for example for the
LOGIN = <a href="main.php?g2_view=core.UserAdmin&g2_subView=core.UserLogin&g2_return=%2Fgallery%2Fmain.php">Login</a>
REGISTER = <a href="main.php?g2_view=core.UserAdmin&g2_subView=register.UserSelfRegistration&g2_return=%2Fgallery%2Fmain.php">Register</a>
Should the characters %2F included in the link, be replaced with a " or with /. or with "/?
Many thanks
Posts: 16503
That would actually be %2F and no. That's actually a / (forward slash), it's URL Encoded and correct
http://www.google.com/search?q=url+encoded
Try it, it should work just fine, though, in your examples, those links would only work if your "mypage.html" was in the same directory as Gallery. You might want to change to something like this:
<a href="http://www.example.com/gallery/main.php?g2_view=core.UserAdmin&g2_subView=core.UserLogin&g2_return=%2Fgallery%2Fmain.php">Login</a>
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 4
Many thanks for the prompt reply, the links are working OK.
The gallery is almost setup , there is one last question if there is a tweak where I can include
under the Album template the last 5 number Comments.
If think that have seen a topic regarding my question but I can't trace it.
Would be either the following code line, the proper way to implement such facility?
1- {g->theme include="URL OR PATH TO/modules/comment/templates/ShowAllComments.tpl"}
With the above case I presume it will show ALL COMMENTS (In which case is not good because I need to show only 5 comments, unless there is a pagination)
or
2- {g->theme include="URL OR PATH TO/modules/comment/templates/ShowComments.tpl"}
But I'm not sure with this option.
Any help, again is appreciate.
Tony
Posts: 16503
I don't know about the comments.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here