Hiya,
If you simply want a list of links then the quickest and most powerful way to achieve this is to create a weblog entry for each link. You will have your custom URL field called brandUrl which will hold the link as you have now.
In the template you would then just do this :
{exp:weblog:entries weblog="default_site"}
< a h*ef='{brandUrl}'>Whatever text I want…</a>
{/exp:weblog:entries}
Please change the link tag to look correct as the forums are stripping out code unfortunately
In the code example above where you have the Whatever text I want… you could also in each weblog entry have a custom field called linkText or something like that which would hold whatever you want the link to say. You would then just do this in your template :
{exp:weblog:entries weblog="default_site"}
< a h*ef='{brandUrl}'>{linkText}</a>
{/exp:weblog:entries}
Please change the link tag to look correct as the forums are stripping out code unfortunately
That should be it really. Can you provide a link to something that you have online so that we can see where you are having problems with this. Always helps to be working with an example.
One other thing you might want to check is in :
Admin->Weblog Administration->Weblog Management->Edit Preferences (Your Weblog Name)->Weblog Posting Preferences->Automatically turn URLs and email addresses into links?
You will want this to say No or you will get the links being created themselves and end up with very weird output on the page.
If we can get that part working for you first and then think about getting rid of the http bit afterwards which I think might cause a problem with the way that ExpressionEngine works but we can look at that later on, let’s just get links working for you first with whatever text you want.
Any of that help?
Best wishes,
Mark