Intechnic
Users Developers
Home / Forums / In-Portal CMS / New Features & Improvement Suggestions / Link without URL / Topic Posts

In-Portal Forum

This is a place for users of In-Portal to ask questions, discuss various topics, and interact with other members of the In-Portal Community. Please report bugs through the Bugs Team (not the Forum). If you are interested in contributing or joining one of the many Teams for In-Portal, please check out the Contribute section of the website.
 

In-Portal Forum

Link without URL (8)


Posted: 07/05/2005 7:35:00 AM

Reply Quoted  


I want to add "links" as info addresses to e.g. medical centers etc...
Is there a possibility to remove the "required" from the URL field... or is there any other way to handle it, perhaps making the script to reload the in-Linkpage instead of opening a non-existent webpage?

Thanks.
Hugo

Posted: 07/05/2005 10:16:09 AM

Reply Quoted  


Hugo wrote:07/05/2005 7:35:00 AM
I want to add "links" as info addresses to e.g. medical centers etc...
Is there a possibility to remove the "required" from the URL field... or is there any other way to handle it, perhaps making the script to reload the in-Linkpage instead of opening a non-existent webpage?

Thanks.
Hugo


Hi again,

You want to make it optional/remote it in the Front End or Admin?

Thanks.

Posted: 07/05/2005 1:52:17 PM

Reply Quoted  


[quote]

Hi again,

You want to make it optional/remote it in the Front End or Admin?

Thanks.[/quote]

ADMIN is good for our needs.
Front End would open new possible uses for in-Link - so I'm interested of this solution as well

Thank you!

Hugo


Posted: 07/06/2005 9:46:59 AM

Reply Quoted  


Hugo wrote:07/05/2005 1:52:17 PM
[quote]

Hi again,

You want to make it optional/remote it in the Front End or Admin?

Thanks.[/quote]

ADMIN is good for our needs.
Front End would open new possible uses for in-Link - so I'm interested of this solution as well

Thank you!

Hugo


Hello Hugo,

Front End - Link Suggest form
You need to open themes/default/inlink/suggest_link/suggest_link_form.tpl template and remove _Require="1" from the following line:

<inp:m_form_input type="text" class="input&quot_field="url&quot_Form="l_addlink&quot_Required="1&quotstyle="width:235px;&quot/>



Front End - Link Edit form
Open themes/default/inlink/edit_link/edit_link_form.tpl template and remove _Require="1" from the following line:

<inp:m_form_input type="text" class="input&quot_field="url&quot_Form="editlink&quot_Required="1&quotstyle="width:235px;&quot/>



In the Admin I wouldn't recommend to chage the code since it will complicate the upgrade process in the future.

Thanks.

Posted: 07/07/2005 10:29:24 AM

Reply Quoted  


Hi,
No, the script still add the "http:///" so even if the admin or the member are allowed to add a link whitout writting the url the "phantom link http:///" is still there pointing to a noneexistent webpage...
Mario

Posted: 07/07/2005 10:48:59 AM

Reply Quoted  


Hugo wrote:07/07/2005 10:29:24 AM
Hi,
No, the script still add the "http:///" so even if the admin or the member are allowed to add a link whitout writting the url the "phantom link http:///" is still there pointing to a noneexistent webpage...
Mario


Hello Mario,

I believe it's something what needs to be changed in the code. I'll see how complicated it is and let you know.

Thanks.

Posted: 07/11/2005 8:04:09 AM

Reply Quoted  


Thank you.
Perhaps there is a possibility to automatically add a "no webpage" icon to links without url?
Or perhaps a choice in the admin page -when adding or validating new links- to add the "no webpage" icon without the need to manually add html code (e.g. nowebpage-image address) to the link...

Hugo

Posted: 07/11/2005 9:47:06 AM

Reply Quoted  


Hugo wrote:07/11/2005 8:04:09 AM
Thank you.
Perhaps there is a possibility to automatically add a "no webpage" icon to links without url?
Or perhaps a choice in the admin page -when adding or validating new links- to add the "no webpage" icon without the need to manually add html code (e.g. nowebpage-image address) to the link...

Hugo


Hello Hugo,

What is your site URL? I want to try your Suggest Link form.

Thanks.