Post by kuzco » Fri Jan 22, 2016 8:16 pm

Hello,
I have some issues with the module HTML in OC 2.x.

I am creating a new page and will add also some links (i.e product-page, contact, etc.) on this page.
When creating a link with the editor to i.e contact I would like to use only the direct link

Code: Select all

index.php?route=information/contact
without any domain name i.e.

Code: Select all

http://www.mydomain.de/index.php?route=information/contact
Unfortunately OC will save the link in a way like:

Code: Select all

<a target="" href="http://index.php?route=information/contact">
. This will not work of course.
I have to edit the code manually in the code-view to

Code: Select all

<a target="" href="index.php?route=information/contact">
.
Is there any way to save the link without the http:// ?

Regards
kuzco

PS: This will make sure, that I an move my test-site from localhost to a "real" sever i.e. http://www.mydomain.de without editing these pages again.

Newbie

Posts

Joined
Mon Jan 18, 2016 11:10 pm

Post by IP_CAM » Sun Jan 24, 2016 2:26 am

what happen, if you enter it ike this, in SOURCE MODE, and save it, also in SOURCE MODE ?

Code: Select all

<a href="/index.php?route=information/contact">Contact Page</a>"
Ernie
openshop.li/shop/

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by kuzco » Sun Jan 24, 2016 7:32 pm

Hello,
that is exactly the way I am doing right now. Please see my first post - with code view I mean the "source view".

However, I am looking for a better way. I am not sure where summernote will add "http://".

Regards

Newbie

Posts

Joined
Mon Jan 18, 2016 11:10 pm

Post by IP_CAM » Sun Jan 24, 2016 10:53 pm

I would just try this one first.
CKEditor + KCFinder for Opencart 2.x
http://www.opencart.com/index.php?route ... n_id=25055

Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by kuzco » Sun Jan 24, 2016 11:31 pm

have tried 1st
http://www.opencart.com/index.php?route ... summernote.
This has fixed my problem.

http://www.opencart.com/index.php?route ... n_id=25055 will not work, because it does only support product page.

Newbie

Posts

Joined
Mon Jan 18, 2016 11:10 pm
Who is online

Users browsing this forum: No registered users and 5 guests