Skip to content

Commit

Permalink
xBootstrap5 theme
Browse files Browse the repository at this point in the history
  • Loading branch information
mambax7 committed Jan 20, 2025
1 parent d34a4cf commit f919f7d
Show file tree
Hide file tree
Showing 387 changed files with 96,564 additions and 0 deletions.
12 changes: 12 additions & 0 deletions htdocs/themes/xbootstrap5/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# no backup files, editor temp
*~
\#*
*.bak
.idea/

build/
vendor/
composer.lock
*.neon
*.cache
phpunit.xml
11 changes: 11 additions & 0 deletions htdocs/themes/xbootstrap5/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<Files ~ "\.(html|tpl)$">
<IfModule mod_authz_core.c>
# Apache 2.4
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order allow,deny
Deny from all
</IfModule>
</Files>
22 changes: 22 additions & 0 deletions htdocs/themes/xbootstrap5/.scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# language: php
build:
environment:
php: 8.0.11
nodes:
tests: true
analysis:
dependencies:
after:
# The following installs the most recent XOOPS CMS version, you might want
# to install a specific release tag or branch instead.
- git clone --depth=1 https://github.com/XOOPS/XoopsCore25
- git clone --depth=1 https://github.com/mambax7/tag
project_setup:
override: true
tests:
override:
- php-scrutinizer-run --enable-security-analysis
filter:
dependency_paths:
- XoopsCore25/*
- tag/*
31 changes: 31 additions & 0 deletions htdocs/themes/xbootstrap5/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
![alt XOOPS CMS](https://xoops.org/images/logoXoopsPhp8.png)

## xBootstrap5
==========

xBootstrap5 is a theme for XOOPS (www.xoops.org) developed with Bootstrap5, and based on the original [xBootstrap](https://github.com/angelorocha/xbootstrap) theme developed by @angelorocha


###Shareaholic support
Previously, social sharing links through Shareaholic were automatically enabled.
These are now optional and disabled by default. To enable Shareaholic support
follow these steps:

- Visit https://shareaholic.com to create an account and register your site
- Take note of the Site Id code Shareaholic assigns to your site
- Open the template file tpl/shareaholic-script.tpl in your editor
- Replace the *n/a* in this line `<{assign var='siteId' value='n/a'}>` with the *Site Id* Shareaholic assigned to you, and save the file

You can customize how Shareaholic interacts with your site in the Site Tools
Dashboard on shareaholic.com. You may want to create an Inline App Location
on that page to customize the Share Buttons. These buttons will be shown in
templates such as modules/publisher/publisher_item.tpl with this line:
`<div class='shareaholic-canvas' data-app='share_buttons' data-app-id=''></div>`

###Headhesive menus
In the file `tpl/nav-menu.tpl` there is an option at the top of the file in
the line `<{assign var='stickyHeader' value='yes'}>`. This option keeps the
menu bar stuck to the top of the display. If you would prefer to let the menu
disapper as you scroll down the page, change the setting to `value='no'` and
save the file.

Loading

0 comments on commit f919f7d

Please sign in to comment.