Works great! Thanks!!

Rod

On Wednesday, December 4, 2013 8:58:38 AM UTC-8, Anthony wrote:
>
> The URL() helper just generates a string, so in place of it, just put '
> http://forum.xxxxxxx.ca/MyBB'.
>
> Anthony
>
> On Wednesday, December 4, 2013 11:48:19 AM UTC-5, Rod Watkins wrote:
>>
>> But how do I create the link then? I ask because it is a link used as 
>> part of the primary menu system and it seems to only take a URL to create 
>> the link.
>>
>> Thanks again
>> Rod
>>
>>
>> On Wednesday, December 4, 2013 8:39:33 AM UTC-8, Jonathan Lundell wrote:
>>>
>>> On 4 Dec 2013, at 8:22 AM, Rod Watkins <ocfa.chie...@gmail.com> wrote:
>>>
>>> I have a simple question that I haven't been able to find an answer to.
>>>
>>> I need to know how to use the URL helper to link to an external site. 
>>> Here is the code I am using:  URL(scheme='http', host='
>>> forum.xxxxxxx.ca/MyBB'). 
>>>
>>> But this appends the default app, controller and function to the end of 
>>> the link:http://forum.xxxxxxx.ca/MyBB/unity_gm/default/index
>>>
>>> How do I suppress the addition so it links properly?
>>>
>>>
>>> There's no reason to use URL() for external links. 
>>>
>>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to