Hey there,
i´m looking for a function, that shows the url of the project directly in the backend (where i edit the projects). If you don´t know what i mean, please check the mockup picture.
Thanks in advance...
ALEX
Hey there,
i´m looking for a function, that shows the url of the project directly in the backend (where i edit the projects). If you don´t know what i mean, please check the mockup picture.
Thanks in advance...
ALEX
here is the link to the picture http://qkpic.com/83c58
Doesn't really exist in the current version.
It would only exist if a project was 'Published' so you could hack something in like...
if ($rs['status'] == 1)
{
// whatever $s should be - depends on what's around it
$url = BASEURL . $rs['url'];
$s .= p( href($url, $url, "target='_new'") );
}
There you go.
Hey vaska,
thanks for your answer (i was for holiday, so i could not replay directly).
Could you please tell me where i have to insert this piece of code?
Thanks a lot for your reply...
ALEX
hey, its me again,
i tried to embed the code snippet, but it won´t work...
so does anybody know, where to place this code?
thanks in advance and if we could fix this issue i will
spend a beer or two to vaska....
Greetings ALEX ;)
@rocked: - Just taken a look into this...
You'll need to add a line of code after line 291 of '/ndxz-studio/module/exhibits/index.php': -
if ($rs['status'] == 1) { $url = BASEURL . $rs['url']; $body .= div(href($url, $url, 'target="_blank"'), 'class="txt-left"'); }
If you don't have "clean URLs" enabled, use the following instead: -
if ($rs['status'] == 1) { $url = BASEURL . "/index.php?" . $rs['url']; $body .= div(href($url, $url, 'target="_blank"'), 'class="txt-left"'); }
Hope this helps.
Peace.
Hey LesliOA....
WOW... it works.... Thanks al lot man for your efforts...
i love this forum and how people are working together....
greetings from germany...
ALEX
@rocked: - Not a problem. Remember to 'send' those beers to Vaska ;-)
great little hack, thank you.
This thread has been closed, thank you.