Aller au contenu
Règlement du forum ×
IPTV et arnaques ×

comment afficher le contenu de la base de données sous joomla 2.5 dans mon site


univerk

Messages recommandés

voila je suis débutant en joomla et je cherche comment je peut afficher le contenu de ma base de données (mysql) dans mon site ainsi que faire l'ajout /modif/suppression a ce que il ya des modules spéciales ou des extensions pour j'ai chercher sur google mais j'ai pas trouver des réponses

Lien vers le commentaire
Partager sur d’autres sites

je veut afficher le contenu de la base de données qui ce trouve sur mysql sur le site en forme de tableau ou j'affiche des colonnes et des lignes sur mon site web des données dynamiques

j'espere que tu ma compris alirobben et merci

 

je repose la question de @alirobben, tu veux afficher la base de données qui a été générés par Joomla ou bien une autre base ? Joomla est un CMS (Système de gestion de contenu en Français), donc tout le contenu dynamique de ton site, les titres, articles, photos, contenu text ...etc est en base de données, c'est ces données que tu veux afficher ?

Lien vers le commentaire
Partager sur d’autres sites

  • Administrateurs

Humm je n'utilise pas trop Joomla, mais a mon avis il faudrait créer un script PHP qui récupère ces données de la base de données puis inclure ce script dans le template Joomla, pour ce qui est du script je viens d'en faire un vite fait que tu peut facilement utiliser en utilisant la lib PDO :

 

try
{
   $bdd = new PDO('mysql:host=localhost;dbname=TA_BASE_DE_DONNEES', 'UTILISATEUR', 'MOT_DE_PASSE');
}
catch(Exception $e)
{
   die('Erreur : '.$e->getMessage());
}

$req = $bdd->prepare('SELECT * FROM TA_TABLE WHERE champ = ?');
$req->execute(array($VALEUR));

while ($donnees = $req->fetch())
{
   echo "Données : {$donnees["d"]} 
";
}

Lien vers le commentaire
Partager sur d’autres sites

c'est ca que je cherche j'ai le même script que j'ai 'utiliser avant dans mon enceint site qui n'est pas cms mais je ne sais pas ou insérer le script exactement a ce que je crée un nouveau article et j'insère le script de dans ou comment ?

Lien vers le commentaire
Partager sur d’autres sites

c'est ca que je cherche j'ai le même script que j'ai 'utiliser avant dans mon enceint site qui n'est pas cms mais je ne sais pas ou insérer le script exactement a ce que je crée un nouveau article et j'insère le script de dans ou comment ?

 

utilise les extensions pour Joomla, c'est fait pour les gens comme toi.

 

fin de transmission

Lien vers le commentaire
Partager sur d’autres sites

voila après des recherches j'ai pu trouver la solutions a mon problème ,comme a dit lyes il faut insérer du code php mais pas directement dans l’éditeur des articles mais il faut installer une extension qui géré le code php moi j'ai utiliser l’extension resoucerer et ça marche ,il faut juste la télécharger et l'installer elle s’intègre après a l’éditeur de texte .

Lien vers le commentaire
Partager sur d’autres sites

  • 2 years later...

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

  • Messages

    • If you want personalized logo patches Canada services, then you should check our website, where we offer the best logo patches to represent your team, organisation, or company at the most affordable rates and with high quality fabric. Also if you are worried about the delivery time then dont worry because we deliver your order within a minimum delivery time. Visit now.
    • The journey of Disposable Paper Cups from convenient commodity to sustainable solution has been more complex than many anticipated. What began as a simple switch from plastic to paper has revealed layers of challenges in materials science, consumer behavior, and waste management. These intersecting factors determine whether paper cups live up to their environmental promise or become another well-intentioned but flawed alternative.   Material durability presents an interesting paradox for Disposable Paper Cups. While consumers expect cups to hold hot liquids without leaking or becoming soggy, the additives that provide this functionality often hinder compostability. Traditional polyethylene linings can take decades to break down, while newer plant-based alternatives may require specific composting conditions that aren't widely available. This leaves manufacturers walking a tightrope between performance and sustainability.   Consumer education plays a critical but often overlooked role. Many people assume all paper-based products are equally eco-friendly, leading to careless disposal habits. Clearer labeling and public awareness campaigns could help bridge this knowledge gap, ensuring cups are disposed of in ways that maximize their environmental benefits.   The industry's most innovative players are rising to these challenges. Some are developing cups with embedded indicators that change color when exposed to composting conditions, providing visual confirmation of proper disposal. Others are pioneering take-back programs that create closed-loop systems for cup recovery and repurposing.   Soton stands at the forefront of this transformation. By viewing Disposable Paper Cups as part of a larger ecosystem rather than standalone products, they've developed solutions that address performance, disposal, and reuse in integrated ways. Their approach demonstrates how thoughtful design can turn single-use items into sustainable system components.click www.sotonstraws.com to reading more information.   
    • Bathroom renovations, while rewarding, can be complex endeavors. Every component choice impacts the project timeline, cost, and overall success. Selecting a well-designed Shower Drain Cover China: https://www.hasen-home.com/product/accessories/grate-cover/ engineered solutions can significantly simplify the installation phase and contribute to a smoother renovation journey overall. Ease of installation is no longer a luxury; it's a critical factor valued by contractors and DIY enthusiasts alike. Compatibility is the foundation of a smooth installation. A quality drain cover system will be designed to integrate seamlessly with commonly used drain bodies and shower base types (tile, acrylic, stone resin). Clear instructions and standardized connection points reduce the potential for errors during the crucial waterproofing and tiling stages. Features like adjustable height mechanisms or versatile flange designs accommodate variations in floor buildup, preventing frustrating delays. Innovations in design directly target installer efficiency. Pre-assembled components, tool-less locking mechanisms, and user-friendly alignment aids save valuable time on the job site. Reducing the complexity of fitting the drain cover allows contractors to focus on precision tiling and waterproofing – the most critical aspects of a leak-free shower. Reliable performance starts with a correct and hassle-free installation. For homeowners undertaking renovations, a straightforward installation process minimizes disruption and potential extra costs from hiring specialized labor to fix complications. Products designed with the installer in mind ultimately benefit the end-user through a faster project completion and a reliably functioning shower from day one. The demand for renovation-friendly fixtures is steadily growing. The goal of any renovation is a beautiful, functional, and durable result. Choosing components that simplify the build process directly contributes to achieving that goal efficiently and cost-effectively. Prioritizing ease of installation ensures a positive experience for everyone involved, from the contractor to the homeowner enjoying their new space. Simplify your supply chain and ensure hassle-free installations for your customers by partnering with Hasen. We specialize in manufacturing shower drain covers specifically engineered for straightforward compatibility and efficient installation. Our designs incorporate installer-friendly features, clear guidelines, and reliable performance, reducing on-site time and complexity. Choose Hasen for drain solutions that make renovations smoother and more successful. Contact us to discover how our design expertise can benefit your projects and your clients.
    • un CTO c'est de la science fiction....en algerie la finance se resume a deposer du cash et retirer du cash. tu as pu faire tout ca car tu vis en occident...mais c'est un investissement qui est tres bon...
    • Perso j'ai ouvert un CTO et j'ai acheté du SP500, je suis à +100€ sur 700€ investis Jamais rien compris au délire de finance islamique dans un monde économique où le taux d'intérêt fait tout 
×
×
  • Créer...