This is the Oxwall sub-reddit, for news, discussion, plugin/theme topics, and more of Oxwall. Discuss anything Oxwall-related, and share any juicy news about the Open Source CMS software. Don't know what Oxwall is? [Click here!](http://oxwall.org) (it's free!)
Hello, I am new to Drupal and am working on a new site and am using the Bootstrap theme which I am extending. I am building a homepage now with a carousel and am not sure if what I am doing is best practice.
I have created an override twig template called 'node--home_page.html.twig' and in there I have the code for a simple bootstrap carousel. I guess my questions are, what is the preferred way to do this?
Right now I have created a content type of homepage and added fields for each item of the carousel. To display the image in the carousel I have done the following:
{% set image_uri = content.field_hero_banner['#items'].entity.uri.value %}
This doesn't seem correct, but it does work. Is there another way I should be doing this? Is there a better way to build a carousel that lets the end users add and remove items in the CMS?
submitted by
cant_program to
drupal [link] [comments]
2024.04.26 12:28 bvsco Need help restructuring an existing page
Hello! We have a website built on Drupal, but no longer work with the developers that built it. We're needing some help with a page that was built use Stories (Hero Content Block - Story), try to add a story/rearrange the order of the existing stories. Is this possible or should we rebuild this page with Cards?
Thanks much!
Edit: (as you can see) I replied to each comment thanking you for replying - we'd be interested in working with someone who could help on an hourly basis. We don't often have needs, but it'd be nice to have someone who knows Drupal and could help. THANKS!
submitted by
bvsco to
drupal [link] [comments]
2024.04.26 07:18 ProcessCertain Technologies Behind Websites
| https://preview.redd.it/vk9x5r36drwc1.png?width=1920&format=png&auto=webp&s=8dc49c423961429f7e55beaec94d396c5731df9f When you visit a website, have you ever wondered what technologies power it? From simple blogs to complex e-commerce platforms, websites rely on a combination of technologies to provide a seamless user experience. Let's take a look at some of the key technologies used in website development. HTML/CSS HTML (Hypertext Markup Language) and CSS (Cascading Style Sheets) form the backbone of website development. HTML structures content, while CSS styles and layouts it. JavaScript JavaScript adds interactivity to websites, enabling dynamic effects, animations, and responsive user interfaces. Content Management Systems (CMS) CMS platforms like WordPress, Joomla, and Drupal simplify website management, allowing users to create, edit, and publish content effortlessly. Database Management Systems DBMS like MySQL, MongoDB, and PostgreSQL store and manage website data, ensuring efficient data retrieval and storage. Web Frameworks Frameworks like React, Angular, and Vue.js streamline website development, providing pre-built components and tools for faster development. Responsive Web Design RWD ensures websites adapt to various screen sizes and devices, providing an optimal user experience across platforms. Security Protocols HTTPS (Hypertext Transfer Protocol Secure) and SSL (Secure Sockets Layer) ensure secure data transmission and protect against cyber threats. Web Hosting Web hosting services like Cloud hosting, Shared hosting, and Dedicated hosting provide storage, bandwidth, and server management for websites. At Cloudi5 Technologies, the best web design and development company in Coimbatore, we leverage these technologies to create cutting-edge websites that engage users and drive business success. Our expert team stays up-to-date with the latest technologies to ensure our clients receive the best solutions. In conclusion, the technologies used in website development are constantly evolving, and understanding them is crucial for building a robust online presence. Whether you're a business owner or an individual, a well-designed website can make all the difference. submitted by ProcessCertain to cloudi5tech112016 [link] [comments] |
2024.04.25 01:26 ImprovementJolly3711 [Newbie] Looking for the easiest CMS to build a Facebook-like social network
Hey
webdev,
I'm a complete newbie to web development, but I have an idea for creating a niche social network similar to Facebook. I'm looking for the easiest way to build this without diving too deep into complex coding. I've heard that using a CMS might be a good option for beginners like me.
Here are some features I'd like to include:
User profiles and registration
Friends, followers, or connections
Posts, shares, and likes
Groups or pages for specific interests
Private messaging
I don't have much experience with web development, so I'm hoping to find a CMS that is:
Beginner-friendly with a gentle learning curve
Offers themes or templates for social networks
Has plugins or modules to add social features easily
Provides good documentation and community support
I've seen some CMSs mentioned, like WordPress, Drupal, and Joomla. Would any of these be suitable for a newbie like me trying to create a social network? Are there any specific themes, plugins, or add-ons you'd recommend to achieve this?
I'm open to any suggestions or advice you have for me. If you know of any tutorials, guides, or resources that could help me get started, I'd really appreciate it if you could share them.
Thanks in advance for your help! I'm excited to learn and bring my social network idea to life.
submitted by
ImprovementJolly3711 to
webdev [link] [comments]
2024.04.23 14:05 lozcozard Safe to remove all HTML code that Drupal is adding via core/modules/ templates?
| I have adopted a Drupal site and need to build a new design to it. But the current site has sooo much unnecessary HTML, divs in divs in divs in divs. I only need a few divs to create a simple responsive structure. So in the theme, I am improving the code for example in paragraphs I would ass my own cleaner code surrounding the content. But I notice a LOT of of html is coming from web/core/modules/block/templates/. This is not in the theme. Are these Drupal core files? Should I not change these? If not, then is it safe to just override these files into my own theme whevneer I see fit? Should I replicate ALL of these files and put my own theme to override them all? If I am to do this, is there not a blank theme I can use somewhere that does not add any markup from the CMS, just outputs the content, as this would be easier to build my own code around it then. What I really do not want in my sites is the CMS adding what it thinks is the HTML I need. I dont mind some things which are more complex and no need to have my own code (e.g. eCommerce checkout process), but just outputting custom fields, paragraphs, blocks etc to the page I dont need any HTML added that is not my own or from the content. Thanks a lot! Update: Here is an example. I removed all template files from the theme, so my theme has no means to output data now, yet here is all the code. I would like to not have all this HTML, it makes bespoke development harder. I assume its all in the core/modules and I need to copy them to my theme and override them? Has anyone done this and be left with a no HTML output? https://preview.redd.it/indfoz9348wc1.png?width=681&format=png&auto=webp&s=e67e5db8b6ec263434438998bea5efdb0ca9a0c1 The above would be as follows in my own code in which I use section/row/column layouts. It really annoys me seeing all those nested divs and just makes styling much harder: .... submitted by lozcozard to drupal [link] [comments] |
2024.04.21 19:29 lozcozard Is it Ok to remove every style my theme is not adding? contrib/modules, base them etc
I am new to Drupal, and have adopted a site. I need to rebuild it.
When I build sites bespoke, e.g. not using any theme as a basis, I do not have any additional CSS/JS on the site, I add my own if I need it. I use my own base styles for minimal CSS and so dont need Bootstrap etc. I build from bespoke designs sent to me, and there's no designs that look like bootstrap for example, and I would have my own responsive styles, so I dont need them. But this Drupal site has like 50 extra CSS that are not from the custom theme. The theme I took over had like 100 CSS files, but I removed them to "start again" but there are all these non-theme files added.
I removed the base theme ones, and bootstrap, but I am still left with loads more I am looking into removing. Like "contrib/webform/", "libraries/drupal-superfish/", "modules/views", "contrib/paragraphs".
And then the JS in the footer.
My question is... is this OK? I am not an expert in Drupal, but am good at building front end websites. I just dont like CSS/JSS on my sites that I have no idea whats doing, wasted, or something I have to override.
Can remove it all?
submitted by
lozcozard to
drupal [link] [comments]
2024.04.21 09:01 EARTHB-24 But, What Is CMS?
A CMS, or Content Management System, is a software application or platform that allows users to create, manage, and publish digital content on the web without the need for advanced technical skills or programming knowledge. A CMS typically provides a user-friendly interface and a set of tools and features that enable users to create and edit content, organize and categorize content, and control the layout and presentation of their website or online platform.
Key features of a CMS may include:
1. Content Creation and Editing: Users can create, edit, and format content such as text, images, videos, and documents directly within the CMS interface. 2. Content Organization: Users can organize and categorize content into different sections, pages, and categories to improve navigation and accessibility for visitors. 3. User Management: CMSs often include user management features that allow administrators to create and manage user accounts, assign roles and permissions, and control access to different parts of the website. 4. Design and Layout Customization: CMSs typically offer customization options for designing and styling the website’s layout, including the ability to choose themes, templates, and color schemes. 5. Plugins and Extensions: Many CMSs support plugins or extensions that extend the functionality of the platform, allowing users to add features such as e-commerce, social media integration, SEO optimization, and more. 6. Publishing and Version Control: CMSs provide tools for publishing content to the web, including scheduling content publication for specific dates and times. They may also include version control features to track changes and revisions to content over time.
Popular examples of CMSs include WordPress, Joomla, Drupal, Shopify (for e-commerce), and Magento (for e-commerce). CMSs are widely used by individuals, businesses, organizations, and institutions to create and manage websites, blogs, online stores, intranets, and other digital platforms efficiently and effectively.
submitted by
EARTHB-24 to
digitalmarketingbyBV [link] [comments]
2024.04.19 02:02 InspectorJohn Help with Drupal 7 webform calculation
Dear all, Perhaps there's one of you who might be able to help. im having trouble with a simple webform calculation, the script only updates the sumfield when I click in the discount field, is this the right method?:
submitted by
InspectorJohn to
drupal [link] [comments]
2024.04.17 13:58 danielrosehill A good self-hostable CMS (or DMS) for sharing datasets with the world?
Hi guys,
Thought I would poll the sub to see if anybody has come across any projects or scripts that I've missed.
I'm looking into setting up a website for sharing datasets and data visualisations with the world (at large). Open access data and all that perhaps with some bells and whistles like visualisations based on live datasets. Not that it matters (except perhaps for licensing) but a non-profit initiative. Think something like Kaggle minus the social network side of it.
I've been looking through all the obvious choices and having a hard time finding something that's reasonably user-friendly. There's CKAN and DKAN (a Drupal add-on). Also the Invenio framework by CERN. And a few others that can be found with keyword searches. To generalise only a little, they're all big and rather complicated engines really intended for government use.
I'm looking for something a lot more straighforward. On the backend, I'd like to create blogs describing what's in the datasets and then have perhaps some nice styling to present them on the frontend. The "datasets" might be CSVs of a few hundred rows. Nothing too crazy.
One confusing thing I've found is that there *are* a lot of self-hosted data publishing tools intended for internal use (things like Amudsen). As far as I know, these aren't intended for the use-case I'm envisioning (which again, is sharing open-source data for anyone interested to download and take a look at).
I'm sure I could get something like this with Wordpress and a few plugins but I feel like there has to be something a bit more honed in out there.
(Hosting: VPS but ... open to using pretty much anything)
Any recommendations much appreciated!
submitted by
danielrosehill to
selfhosted [link] [comments]
2024.04.16 21:10 danielrosehill What's the best way to manage a remote staging and production environment through Portainer?
Alright so one more "how do I set this up?" question (I don't do this stuff for work / am not a developer so ... sorry if these questions seem a bit rudimentary).
Let's say that I wanted to build a Drupal website on a VPS (for argument's sake, Digital Ocean).
I can:
- Provision a staging server
- Provision a production server
And then:
- Install Portainer on my localhost / a LAN server
- Install Portainer agent on my two servers and add those as environments
So far, so good (as in ... I've figured these steps out which is a farther than I expected!.
I go ahead and build my nice Drupal site in staging and all is looking good.
When I'm ready to "push" to production (in the pipeline sense), should I:
-> Clone the Container
-> Move the container
I assume there's some built in functionality for exactly this (or that my workflow needs a bit of tweaking). But I think I'm on the verge of getting it.
Any help appreciated!
submitted by
danielrosehill to
portainer [link] [comments]
2024.04.12 15:27 effortDee Showing maps with multiple routes/points of interest in a view from a node field and paragraphs from the same node
How is this possible?
Running drupal 10 and I have a ROUTE content type which has a route (line on a map) using Geofield.
I also want to add multiple points of interest such as shops, toilets, water, accomodation and I have paragraphs for each of these POI.
So the Shop POI paragraph has a map with multiple shops on a single map, same with toilets paragraph and so on.
This is all on one node and when I view that node i can see multiple maps showing all the different points of interest and the route (on about 4-5 maps).
Now how do I make a single map in drupal views to show all of these route/poi combined so you can see the POI along the route?
I have never used paragraphs with maps before or on views so don't know where to start and after 2 hours i'm still lost thanks.
submitted by
effortDee to
drupal [link] [comments]
2024.04.09 21:42 Standard_Bullfrog691 Issue Updating Drupal from 9.5.11 to 10.2.5: Missing quiz_question Entity Type
Hello All,
Forgive me, as this is my first forum post and I am still learning about Drupal/frontend dev work. I've been lurking for a little while and haven't really found a solution for my issue on here or the drupal forum. For starters, I am trying to update my org's drupal website from 9.5.11 to 10.2.5. As a little bit of a breakdown, here is what I have done so far:
- I started with a composer update and manually removed several deprecated modules (e.g., drupal/quiz, drupal/colorbox, drupal/tinymce) as they seemed no longer needed or were incompatible with Drupal 10. Following this cleanup, I successfully updated to Drupal 10.2.5.
- Afterwards, I performed a drush cache rebuild, then a drush updatedb, which is outlined below:
Module Update ID Type Description
layoutbuilder timestamp_form post-update Update timestamp formatter atter settings for Layout Builder fields. olivero add_olivero_pr post-update Sets the default imary_color base_primary_color value of Olivero's theme settings. path_alias drop_path_alia post-update Remove the s_status_index path_aliasstatus index. system add_descriptio post-update Update description for form n_to_entity_fo modes. rm_mode system add_descriptio post-update Update description for view n_to_entity_vi modes. ew_mode system enable_passwor post-update Enable the password d_compatibilit compatibility module. y system linkset_settin post-update Add new menu linkset gs endpoint setting. system mailer_dsn_set post-update Add new default mail tings transport dsn. system mailer_structu post-update Add new default mail red_dsn_settin transport dsn. gs system remove_asset_e post-update Remove redundant asset state ntries and config. system remove_asset_q post-update Remove redundant asset query uery_string string state. system set_blank_log post-update Updates url_to_null system.theme.global:logo.url config if it's still at the default. system timestamp_form post-update Update timestamp formatter atter settings for entity view displays. text allowed_format post-update Add allowed_formats setting s to existing text fields. update set_blank_fetc post-update Updates h_url_to_null update.settings:fetch.url config if it's still at the default. views add_missing_la post-update Add labels to views which bels don't have one. views boolean_custom post-update Update Views config schema _titles to make boolean custom titles translatable. views fix_revision_i post-update Fix '-revision_id' d_part replacement token syntax. views oembed_eager_l post-update Add eager load option to all oad oembed type field configurations. views remove_default post-update Remove _argument_skip default_argument_skip_url _url setting. views remove_skip_ca post-update Remove the skip_cache che_setting settings. views responsive_ima post-update Add lazy load options to all ge_lazy_load responsive image type field configurations. views taxonomy_filte post-update Removes User context from r_user_context views with taxonomy filters. views timestamp_form post-update Update timestamp formatter atter settings for views.
Do you wish to run the specified pending updates? (yes/no) [yes]:
yes
[notice] Update started: layout_builder_post_update_timestamp_formatter [error] The "quiz_question" entity type does not exist. [error] Update failed: layout_builder_post_update_timestamp_formatter
To circumvent this, I created a custom module intending to declare a minimal quiz_question entity type, hoping to bypass the update error. Unfortunately, the update still fails, indicating that the entity type does not exist, as per the error encountered through Drush. The custom modules are as follows:
MODULE:
use Drupal\Core\Entity\EntityType; /** * Implements hook_entity_type_build(). */ function quiz_question_fix_entity_type_build(array &$entity_types) { if (!isset($entity_types['quiz_question'])) { $entity_types['quiz_question'] = EntityType::create([ 'id' => 'quiz_question', 'label' => t('Quiz Question'), ]); } }
YML:
name: 'Quiz Question Fix' type: module description: 'Provides a temporary fix for the missing quiz_question entity type.' core_version_requirement: ^8 ^9 ^10 package: Custom
Despite these efforts, running drush updb continues to yield an error related to the quiz_question entity type not being found.
Unable to decode output into JSON: Syntax error use Drupal\Core\Entity\EntityType; /** * Implements hook_entity_type_build(). */ function quiz_question_fix_entity_type_build(array &$entity_types) { if (!isset($entity_types['quiz_question'])) { $entity_types['quiz_question'] = EntityType::create([ 'id' => 'quiz_question', 'label' => t('Quiz Question'), ]); } } { "0": { "layout_builder": { "timestamp_formatter": { "#abort": { "success": false, "query": "Drupal\\Component\\Plugin\\Exception\\PluginNotFoundException: The "quiz_question" ; entity type does not exist. in Drupal\\Core\\Entity\\EntityTypeManager->getDefinition() (line 139 of /home/composedrupal/web/core/lib/Drupal/Core/Entity/EntityTypeManager.php)." } } }, "#abort": [ "layout_builder_post_update_timestamp_formatter" ] }, "drush_batch_process_finished": true }
Has anyone else had an issue like this before? It seems like everything I do leads to a dead end. If any of you have any ideas of a different approach, or an alternate strategy, that would help immensely. I've been banging my head against a wall for a week or two now, trying to piece everything together.
Also, apologies in advance if this is the wrong sub, or if this is a duplicate post that I wasn't able to find.
Thanks!
submitted by
Standard_Bullfrog691 to
drupal [link] [comments]
2024.04.05 08:52 rossopy MochaHost Review: An In-Depth Look at Budget Hosting with Surprises
Are you scouring the web for an affordable hosting solution? MochaHost might have caught your eye with its enticing prices and promises of top-notch features. But does this veteran hosting provider hold up under closer examination? In this in-depth MochaHost review, we'll dissect its services, customer support, performance, and more to help you decide if it's the right fit for your needs.
What is MochaHost?
MochaHost is a web hosting company that has been in business for almost two decades. They focus squarely on the budget-friendly end of the market, catering to individuals, bloggers, and small businesses seeking inexpensive hosting options. MochaHost's range of services includes:
- Shared Hosting: Their most popular offering, providing a cost-effective way to host multiple websites on a single server.
- VPS Hosting: Virtual private servers offer greater control and resource allocation for demanding websites.
- Reseller Hosting: Plans designed for those looking to start their own web hosting business.
- Dedicated Servers: The ultimate in power and flexibility, for large-scale websites needing full customization.
- Domain Name Registration: Purchase domain names directly through MochaHost.
Visit MochaHost Key Features of MochaHost
MochaHost packs its plans with attractive features to lure price-conscious customers:
- Unlimited Goodies: Many plans offer unlimited disk space, bandwidth, and email accounts.
- Free SSL Certificates: Essential for website security and SEO.
- Website Builder: Build your website using their user-friendly tools.
- One-click App Installs: Easily install popular software like WordPress, Joomla, Drupal, etc.
- 99.9% Uptime Guarantee: A promise of website reliability.
- 180-day Money-Back Guarantee: A generous refund policy for most plans.
Pros and Cons of MochaHost
Let's break down the advantages and disadvantages to get a balanced picture:
Pros
- Super Affordable: MochaHost's prices are among the lowest in the industry.
- Feature-Rich Packages: You get a lot for your money, especially on higher-tier plans.
- Long Money-Back Guarantee: Try their services for six months with less risk.
- Free Domain (select plans): Some hosting plans include a free domain name for the first year.
Cons
- Mixed Customer Support: Reviews vary greatly, with some praising and others criticizing their support team.
- Performance Fluctuations: Speed and reliability can be inconsistent at times.
- Upselling: They may push add-ons or upgrades more aggressively than some prefer.
- Dated Website Design: Their website aesthetic could use a modern refresh.
MochaHost Pricing
MochaHost's pricing tiers are geared towards affordability:
Shared Hosting
- Soho: Starts at a very low price per month.
- Business: Jumps up slightly in price for more features.
- Premium: The highest-tier shared plan with the most resources and perks.
VPS Hosting
- Provides a range of virtual server plans with varying levels of RAM, storage, and CPU power.
Is MochaHost Right for You?
MochaHost is best suited for:
- Cost-conscious Beginners: If your primary focus is on a low price tag, MochaHost is worth considering.
- Small Websites: Ideal for personal blogs or small business sites with moderate traffic.
- Resellers on a Budget: Reseller plans offer basic features for starting your own hosting business.
MochaHost is probably
not the best choice for:
- High-Traffic Websites: Demanding websites need more reliable and consistent performance.
- Mission-Critical Applications: If your site absolutely needs top-tier uptime and speed, look elsewhere.
- Those Expecting Premium Support: Support quality can be a mixed bag.
Performance and Reliability MochaHost promises impressive uptime, but does reality match their claims? In our testing and user feedback, we found that:
- Decent Uptime: Their 99.9% uptime guarantee seems largely accurate for most users.
- Loading Speeds Can be Inconsistent: Page load times can fluctuate depending on server load and your location.
- Suitable for Moderate Traffic: Smaller sites usually won't experience major problems.
In Conclusion MochaHost is a mixed bag. They offer remarkable value for the price, but trade-offs exist in support consistency and performance. Make an informed decision based on your website's requirements and your tolerance for potential shortcomings.
Visit MochaHost submitted by
rossopy to
Webhostinger [link] [comments]
2024.04.02 14:40 Stunning_Divide4298 Force population of translation strings
Whenever t() is used in Drupal, a string is added to the locale table to make it ready for translation through ui translation. But it's pending code to encounter that t() call on the website. Is there a way to force the population of all strings used in all t() calls for my module? I do not want to generate a translation template, I want to actually add those strings to the database.
I tried using potx module to export a template then import the generated pot file, but strings with no translation in pot files are not imported.
submitted by
Stunning_Divide4298 to
drupal [link] [comments]
2024.04.02 07:47 AcceptableMail2684 Welcome to Eloiacs Web Development service in Nagercoil
At Eloiacs, we are dedicated to bringing your online vision to life. As a premier web development service in Nagercoil, we specialize in crafting custom websites tailored to meet your unique business needs. With our expertise, creativity, and commitment to excellence, we ensure that your online presence stands out in today's competitive digital landscape.
Our Services - Custom Website Development: We understand that every business is different. That's why we offer custom website development services to create a digital platform that reflects your brand identity and resonates with your target audience. From sleek and modern designs to user-friendly interfaces, we build websites that leave a lasting impression.
- E-commerce Solutions: Looking to expand your business online? Our e-commerce solutions are designed to help you succeed in the world of online retail. Whether you're launching a new store or upgrading an existing one, we provide comprehensive e-commerce development services that streamline the shopping experience for your customers and drive sales.
- Responsive Design: In today's mobile-first world, having a responsive website is essential. Our team specializes in creating responsive designs that adapt seamlessly to different screen sizes and devices. Whether your visitors are browsing on a desktop, tablet, or smartphone, they'll enjoy a consistent and user-friendly experience.
- Content Management Systems (CMS): Take control of your website with our content management systems. We work with popular platforms like WordPress, Joomla, and Drupal to develop robust CMS solutions that empower you to update content, add new pages, and manage your online presence with ease.
- Search Engine Optimization (SEO): A beautiful website is only effective if people can find it. That's why we offer search engine optimization services to help your website rank higher in search engine results pages (SERPs). From keyword research to on-page optimization, we employ proven SEO strategies to increase your online visibility and drive organic traffic to your site.
Why Choose Eloiacs? - Expertise: With years of experience in the industry, our team brings a wealth of knowledge and expertise to every project we undertake. We stay up-to-date with the latest trends and technologies to deliver cutting-edge solutions that exceed your expectations.
- Customer-Centric Approach: Your satisfaction is our top priority. We take the time to understand your goals, preferences, and challenges to develop tailored solutions that address your specific needs. We keep you informed and involved throughout the entire development process, ensuring that the end result aligns perfectly with your vision.
- Quality Assurance: We are committed to delivering high-quality work that stands the test of time. Our rigorous quality assurance processes ensure that every website we build is meticulously tested for functionality, performance, and security, providing you with a reliable and dependable online platform.
- Affordable Pricing: We believe that top-notch web development services should be accessible to businesses of all sizes. That's why we offer competitive pricing packages that deliver exceptional value without breaking the bank. We work with you to find a solution that fits your budget without compromising on quality.
Get Started Today Ready to take your online presence to the next level? Contact
Eloiacs Web Development in Nagercoil today to discuss your project requirements and receive a free quote. Let us help you turn your digital dreams into reality!
submitted by
AcceptableMail2684 to
u/AcceptableMail2684 [link] [comments]
2024.04.01 16:15 Cryptomuscom This is not an April Fool’s joke! We are launching the Coding Competition!
| The code is our everything. We are talking not only about our developers, but also about users who integrate Cryptomus, use plugins and create other innovative solutions for service. We are always interested in discovering new programming possibilities, so we decided to hold the first competition among developers! ⭐ What can you show off in? - Plugins. We've collected CMS that we would like to add to our service and suggest you to create plugins for each of them:
- Drupal
- Sitecore
- Elementor
- ECShop
- Zen Cart
Write the code, send it to us and get a chance to win money and implement your development! - Integration. If you have already worked with our API or have an idea how to use it creatively in your service - tell us!
🎁 We will reward the best work in the API nomination, as well as the best code for each plugin, with a prize of 500 USDT! Learn more and submit your application on the website! submitted by Cryptomuscom to u/Cryptomuscom [link] [comments] |
2024.03.30 20:05 Yosu_Cadilla Nginx vhosts vs Dockerized NginX, what is most cost-effective in 2024?
I am quite seasoned (old), so I remember, 17 years ago, when OpenVZ was all the rage, at the time, software containers were considered to be slightly heavieless-dense than Apache vhosts, but not by much... (at least compared with VMs).
Is this still the case nowadays with NginX and current versions of Docker?
Background / use-case: I am considering creating a free hosting service for a Symfony app, hence I would eventually have to service 1,000s of copies of the same APP (like free WP hosting or free Drupal hosting).
I am wondering the differences in density (so cost-effectiveness) of vhosts vs Docker in 2024, meaning how many copies of the very same Symfony App would I be able to run with straight vhosts vs on multiple dockerized NginX copies. And how much simpler or complex would it be to manage.
Specifics: I've been using LXC/LXD and Docker containers for several years now, I use HA proxy to redirect traffic and terminate SSL connections, and Apache2 with FPM.
It works flawlessly and my issues, which usually consist of Apache or FPM going down because of lack of resources or some PHP error, are always limited to just one domain and never impact the rest of sites on the same host. Security is also great because of the additional isolation. I can fine-tune resources (RAM, CPU threads, Disk amount, disk bandwidth, network bandwidth, etc.) separately for Apache and MariaDB as well as for every individual copy of the app.
However, I am running many copies of Apache2, Many copies of MariaDB, etc... The extra resources needed are a no-brainer when you are getting paid for hosting, but when considering a free service, it is not so clear anymore, especially if you expect 1,000s or 10,000's of potential users, costs can add up easily...
On the hardware side, I use Hetzner dedicated servers, so my hardware costs are not super high.
But I am also worried about the management side of things. My current containerized setup is mostly automated, so would be the vhosts version if I take that route, so the main concern would be the quality of service (issues on one vhost impacting the rest of the domains on the same host) and how difficult would it be to fix things... "when things go wrong".
So, in your opinion, what should I be using in 2024 and beyond, vhosts or containers?
Should I concentrate on optimizing a dockerized NginX or deploy a new vhosts version of my current setup?
submitted by
Yosu_Cadilla to
nginx [link] [comments]
2024.03.30 19:58 Yosu_Cadilla Apache vhosts vs Dockerized Apache, what is most cost-effective in 2024?
I am quite seasoned (old), so I remember, 17 years ago, when OpenVZ was all the rage, at the time, software containers were considered to be slightly heavieless-dense than Apache vhosts, but not by much... (at least compared with VMs).
Is this still the case nowadays with current versions of Docker?
Background / use-case: I am considering creating a free hosting service for a Symfony app, hence I would eventually have to service 1,000s of copies of the same APP (like free WP hosting or free Drupal hosting).
I am wondering the differences in density (so cost-effectiveness) of vhosts vs Docker in 2024, meaning how many copies of the very same Symfony App would I be able to run with straight vhosts vs on multiple dockerized Apache2 copies. And how much simpler or complex would ite to manage. Specifics: I've been using LXC/LXD and Docker containers for several years now, I use HA proxy to redirect traffic and terminate SSL connections, and Apache2 with FPM. It works flawlessly and my issues, which usually consist of Apache or FPM going down because of lack of resources or some PHP error, are always limited to just one domain and never impact the rest of sites on the same host. Security is also great because of the additional isolation. I can fine-tune resources (RAM, CPU threads, Disk amount, disk bandwidth, network bandwidth, etc.) separately for Apache and MariaDB as well as for every individual copy of the app. However, I am running many copies of Apache, Many copies of MariaDB, etc... The extra resources needed are a no-brainer when you are getting paid for hosting, but when considering a free service, it is not so clear anymore, especially if you expect 1,000s or 10,000's of potential users, costs can add up easily... On the hardware side, I use Hetzner dedicated servers, so my hardware costs are not super high. But I am also worried about the management side of things. My current containerized setup is mostly automated, so would be the vhosts version if I take that route, so the main concern would be the quality of service (issues on one vhost impacting the rest of the domains on the same host) and how difficult would it be to fix things... "when things go wrong". So, in your opinion, what should I be using in 2024 and beyond, vhosts or containers? Should I concentrate on optimizing a dockerized Apache or deploy a new vhosts version of my current setup?
submitted by
Yosu_Cadilla to
docker [link] [comments]
2024.03.30 19:58 Yosu_Cadilla Apache vhosts vs Docker, what is most cost-effective in 2024?
I am quite seasoned (old), so I remember, 17 years ago, when OpenVZ was all the rage, at the time, software containers were considered to be slightly heavieless-dense than Apache vhosts, but not by much... (at least compared with VMs).
Is this still the case nowadays with current versions of Docker?
Background / use-case: I am considering creating a free hosting service for a Symfony app, hence I would eventually have to service 1,000s of copies of the same APP (like free WP hosting or free Drupal hosting).
I am wondering the differences in density (so cost-effectiveness) of vhosts vs Docker in 2024, meaning how many copies of the very same Symfony App would I be able to run with straight vhosts vs on multiple dockerized Apache2 copies. And how much simpler or complex would ite to manage. Specifics: I've been using LXC/LXD and Docker containers for several years now, I use HA proxy to redirect traffic and terminate SSL connections, and Apache2 with FPM. It works flawlessly and my issues, which usually consist of Apache or FPM going down because of lack of resources or some PHP error, are always limited to just one domain and never impact the rest of sites on the same host. Security is also great because of the additional isolation. I can fine-tune resources (RAM, CPU threads, Disk amount, disk bandwidth, network bandwidth, etc.) separately for Apache and MariaDB as well as for every individual copy of the app. However, I am running many copies of Apache, Many copies of MariaDB, etc... The extra resources needed are a no-brainer when you are getting paid for hosting, but when considering a free service, it is not so clear anymore, especially if you expect 1,000s or 10,000's of potential users, costs can add up easily... On the hardware side, I use Hetzner dedicated servers, so my hardware costs are not super high. But I am also worried about the management side of things. My current containerized setup is mostly automated, so would be the vhosts version if I take that route, so the main concern would be the quality of service (issues on one vhost impacting the rest of the domains on the same host) and how difficult would it be to fix things... "when things go wrong".
So, in your opinion, what should I be using in 2024 and beyond, vhosts or containers? Should I concentrate on optimizing a dockerized Apache or deploy a new vhosts version of my current setup?
submitted by
Yosu_Cadilla to
apache [link] [comments]
2024.03.30 01:36 Financial_Pitch_8593 How will I manage and update content across multiple landing pages?
I often come across challenges related to managing and updating content across multiple landing pages. Keeping your content fresh and relevant is crucial for engaging users and maintaining a strong online presence. Here are some insights on how to efficiently handle content updates across your landing pages:
- Content Management System (CMS): Utilizing a robust CMS is essential for managing content across multiple landing pages. Systems like WordPress, Drupal, or HubSpot allow you to centralize your content creation and updates, making it easier to maintain consistency and quality across all your pages.
- Content Calendar: Developing a content calendar can help you organize and schedule updates for each landing page. By planning ahead and setting clear timelines for content refreshes, you can ensure that your pages stay relevant without causing disruption to the user experience.
- Version Control: Implementing version control mechanisms can help you track changes and updates made to your landing pages. This ensures that you have a record of modifications and can easily revert to previous versions if needed, minimizing the risk of errors or inconsistencies.
- A/B Testing: Consider using A/B testing to experiment with different content variations and determine what resonates best with your audience. This data-driven approach can help you make informed decisions about content updates and improvements based on user engagement metrics.
- Automated Tools: Explore automation tools that can streamline the process of updating content across multiple landing pages. Tools like content management plugins, scheduling software, and task automation platforms can help you efficiently implement changes while minimizing manual effort.
When updating content, it's essential to prioritize user experience and ensure that changes are implemented seamlessly. Communicate any updates or changes to users transparently and consider testing changes in a staging environment before deploying them live to minimize potential disruptions.
How to Craft, Personalize, and Streamline a Compelling Landing Page with Leadpages:
- Head over to Leadpages
- Sign up at no cost
- Design and Customize Your Page; Link It to Your Offer
- Establish Your Automation Rules and Add Interactive Elements to Your Page (optionally include animations)
- Save Your Progress and Publish Your High-Converting Landing Page
submitted by
Financial_Pitch_8593 to
copywritingsecrets [link] [comments]
2024.03.29 10:44 MickT7 PHPMailer is Required for SMTP to function.
Today there will be a little story about what to do with a not very fun situation of an outdated site.
We had an old site for Drupal 8.8 that had to be moved to another hosting, which was not very well friends with Google by mail. In order for the letters to come from the site it was necessary to send them through the domain mail and SMTP.
The problem was that the site was done for a long time, other developers, in times when the quality was not very good, and the composer was older. Due to the fact that the core 8.8 version had to use the SMTP Module 8x-1.1 and the composer on the new host simply refused to work with old versions of files and libraries.
At the same time, attempts to make a copy of the site and on the normal vps server all were not successful and caused only new piles of mistakes.
The first found a working site with an installed SMTP, and copied a phpmailer folder from vendor folder to the same on our new host.
Then we need edit file composer.lock and approximately after 7191 we add this code
{ "name": "phpmailephpmailer", "version": "v6.4.0", "source": { "type": "git", "url": "https://github.com/PHPMailePHPMailer.git", "reference": "050d430203105c27c30efd1dce7aa421ad882d01" }, "dist": { "type": "zip", "url": "https://api.github.com/repos/PHPMailePHPMailezipball/050d430203105c27c30efd1dce7aa421ad882d01", "reference": "050d430203105c27c30efd1dce7aa421ad882d01", "shasum": "" }, "require": { "ext-ctype": "*", "ext-filter": "*", "ext-hash": "*", "php": ">=5.5.0" }, "require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", "doctrine/annotations": "^1.2", "phpcompatibility/php-compatibility": "^9.3.5", "roave/security-advisories": "dev-latest", "squizlabs/php_codesniffer": "^3.5.6", "yoast/phpunit-polyfills": "^0.2.0" }, "suggest": { "ext-mbstring": "Needed to send email in multibyte encoding charset or decode encoded addresses", "hayageek/oauth2-yahoo": "Needed for Yahoo XOAUTH2 authentication", "league/oauth2-google": "Needed for Google XOAUTH2 authentication", "pslog": "For optional PSR-3 debug logging", "stevenmaguire/oauth2-microsoft": "Needed for Microsoft XOAUTH2 authentication", "symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)" }, "type": "library", "autoload": { "psr-4": { "PHPMailer\\PHPMailer\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "LGPL-2.1-only" ], "authors": [ { "name": "Marcus Bointon", "email": "phpmailer@synchromedia.co.uk" }, { "name": "Jim Jagielski", "email": "jimjag@gmail.com" }, { "name": "Andy Prevost", "email": "codeworxtech@users.sourceforge.net" }, { "name": "Brent R. Matzelle" } ], "description": "PHPMailer is a full-featured email creation and transfer class for PHP", "support": { "issues": "https://github.com/PHPMailePHPMaileissues", "source": "https://github.com/PHPMailePHPMailetree/v6.4.0" }, "funding": [ { "url": "https://github.com/Synchro", "type": "github" } ], "time": "2021-03-31T20:06:42+00:00" },
After that edit vendocomposeautoload_psr4.php and add the term in the penultimate period
'PHPMailer\\PHPMailer\\' => array($vendorDir . '/phpmailephpmailesrc'),
before
);
After that in file vendocomposeautoload_static.php go to public static $prefixLengthsPsr4 = array ( and search block line
'P' => array (
and add in end of this block
'PHPMailer\\PHPMailer\\' => 20,
After, in public static $prefixDirsPsr4 = array ( add code before );
'PHPMailer\\PHPMailer\\' => array ( 0 => __DIR__ . '/..' . '/phpmailephpmailesrc', ),
As a result, we clean the cache, and go to the Page of Setting the Module, where the error about the absence of the library should disappear.
submitted by
MickT7 to
dartharth [link] [comments]
2024.03.29 10:28 MickT7 Custom validation message of input on Drupal 9
A new day - new Drupal tasks.
We have a site on Drupal 9 version, where we need to add a data pattern for input type fields to enter only numbers in a certain pattern.
Adding the template itself to the webform input field is not such a difficult task, but when it comes to the error message, it turns out that it is not possible to change its text through the webform. For this, we will use the jquery code.
So, for a regular static form, we create a scriptname.js file with approximately this content
(function ($, Drupal) { Drupal.behaviors.addInputAttributes = { attach: function (context, settings) { var input = document.getElementById('id_of_our_input'); input.oninvalid = function(event) { event.target.setCustomValidity('Please enter the number in the format XXX-XX-XXXXX'); } } }; })(jQuery, Drupal);
But, if we need to change the error text of the field, which is in the popup, we need to modify our script a bit, because without it our script will not work, when it is loaded, it will not see the field with our ID and will simply give an error. So we make script.js
(function ($, Drupal) { Drupal.behaviors.addInputAttributes = { attach: function (context, settings) { $('button.info-button', context).once('addInputAttributes').on('click', function() { setTimeout(function() { var product_telinput = document.getElementById('id_of_our_input'); if (product_telinput) { product_telinput.oninvalid = function(event) { event.target.setCustomValidity('Please enter the number in the format XXX-XX-XXXXX'); }; } }, 500); }); } }; })(jQuery, Drupal);
Here we first prescribe that everything that happens only after clicking on the buttons with the required class. We also add a timer, depending on the user's connection, the field with the required ID may not load as quickly as we would like, therefore, after pressing the button, a 500ms countdown starts, after which only our field is accessed.
submitted by
MickT7 to
dartharth [link] [comments]
http://activeproperty.pl/