How to change Opencart 3.x default theme to support Bootstrap 5? - opencart

How to change Opencart 3.x default theme to support Bootstrap 5? There are 800+ line of codes in Checkout page. I need to develop this theme in Bootstrap 5. Or suggest any free theme to support Bootstrap 5.
Thanks in Advance

To change default theme to support BS5 - there is only one solution - to do it by rewrition the whole theme. It can takes from 2 to 5 wording days, depends on lyour skills level and knolage of BS3, 4, and 5.
Here you can read about migrations
https://getbootstrap.com/docs/4.0/migration/
https://getbootstrap.com/docs/5.0/migration/
Also there is a demo site I made, OpenCard 3 default theme but using BS5, and meny other modern libraries.
https://fs3.focus.style/

Related

How to use Bootstrap 4 and Bootstrap 2 on the same page

I have a Django application which is written in Bootstrap 4. On one page I am using a control which is written in Bootstrap 2, So if I use Bootstrap 2 on that page then controls works but other controls gets broke. If I use Bootstrap 4 then other control works except for the one which is written in Bootstrap 2 as Bootstrap 4 is not backward compatible. Basically, I am trying to use Bootstrap Tags Input written in bootstrap v2.3.2. Is there any way to tackle this issue, any guidance would be highly appreciated.
I tried this as suggested by webdevbooster and it worked.

How to cutomize 404 page in X-Cart?

I've been searching for quite sometime and scratching my head trying to figure out how to customize xcart's default 404 page. I need the 404 page to go on with my site's custom theme and layout(like menu, recently viewed products section, footer etc) and not with the default theme. Is there any way by which I can do it? It would be of great help if someone could suggest some good solutions.
The xcart version that I'm using is x-cart 4.7.5(Platinum)
First of all, there are two types of X-Cart - X-Cart 4 and X-Cart 5. Their codebase is very different. I advise mentioning your X-Cart version.
Anyways:
In X-Cart 4 https://help.x-cart.com/index.php?title=X-Cart:404_Error_Page
In X-Cart 5 - two ways: direct editing of 404 page template as explained at http://devs.x-cart.com/en/webinars_and_video_tutorials/editing_templates_on_the_example_of_adding_market_price_to_products_list_in_x-%D1%81art_5_tutorial_by_mike_white.html or using so-called "Webmaster mode" http://devs.x-cart.com/en/webinars_and_video_tutorials/using_webmaster_mode_in_x-cart_5.html

How to remove the link from the logo in Oracle Apex 5.1 Universal Theme

I'm working on a project in Oracle Apex 5.1 with Universal Theme. We need the logo (actually, an image), but want to remove the hyperlink from it.
I tried custom css by setting the class t-Header-logo (and t-Header-logo-link, too) to "pointer-event:none" (in Theme Toller), but it does not work. Can anyone help?
Thanks: Peter
You can use below jquery code for removing link from logo
Put this code on page zero. It will work you whole application across.
$(".t-Header-logo a").removeAttr("href")

What is the alternative for sc:EditFrame in Sitecore MVC

The project I'm working on is a new Sitecore 8 site build using MVC and with a demand for page-editor support. The simple fields are being addressed with the FieldRenderer.render() method, but there are also some droplink and multilist fields that need to be available in page editor.
In webforms you could use the sc:editframe control for that, but how can I get the same functionality while using Sitecore MVC?
Just an FYI in Sitecore 8.2 there is support for edit frames:
#using Sitecore.Mvc.Extensions
Then
#using(Html.EditFrame(...)) {...}
If not already, I highly recommend using GlassMapper to map your Sitecoce object to strongly typed objects in your code.
With Glass, you can then use the BeginEditFrame concept to replace the sc:EditFrame functionality of WebForms.
To take it a step further, look to implement edit frame buttons (this link is not Sitecore 8 specific, but the method to implement edit frame buttons is the same) in the core database to allow a very-friendly Experience Editor experience.

how to add additional field in joomla 3 and 2.5?

How can i add additional field in the Joomla 3 and 2.5 article administrator page
like this:
http://www.kavdesign.net/blog/coding/how-to-add-additional-field-in-the-joomla-article-administrator-page/
Where is the location of the following items in joomla 2.5 and 3
Files needed to edit:
jos_content table in joomla database
root/components/com_content/views/article/tmpl/default.php
root/components/com_content/views/article/tmpl/form.php
root/administrator/components/com_content/models/article.xml
root/administrator/components/admin.content.html.php
root/administrator/components/config.xml
root/libraries/joomla/database/table/content.php
This official joomla tutorial has all the information you need: Adding custom fields to the article component.
It also have an installation file to start with (section "Extension Files").
Good Luck!