Skip to content

yanker/utilities-politics-gpdr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Politics GPDR

Sample politics GPDR for yours projects

Description

This project is a example of politics GPDR. This files has default text about this politics GPDR. This sample use bootstrap for base template.

Getting Started

Dependencies

  • Download repository only

Installing

  • Download repository

  • Edit assets/plugins/politics/config for indicate data for your company

  • Add in htaccess url-friends for access politics

    <IfModule mod_rewrite.c>
    
    # Activar RewriteEngine
      RewriteEngine on
    
    # Políticas de Privacidad & Cookies
      RewriteRule ^politicas/(.+)/?$ index.php?typePolitics=$1 [NC,L]
    
``` * Insert this code in page where you need politics (you can do function but it´s not necessary) ``` if (empty($nameFilePolitic)) { ?> <h1 class="text-body-emphasis">GPDR Politics Template</h1> <p class="fs-5 col-md-8">This project is a example of politics GPDR. This files has default text about this politics GPDR. This sample use bootstrap for base template.</p> <?php } else { ?> <p class="fs-5 col-md-8"> <?php // Print Politics include('assets/plugins/politics/' . $nameFilePolitic . '.php'); ?> </p> <?php } ?>

## Version History

* 1.0
  * Initial Release (23/05/2023)

## References

nspiration, code snippets, etc.

* [bootstrap](https://getbootstrap.com/)

About

Sample politics GPDR for yours projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages