Members: 16,996
Threads: 38,831
Posts: 159,349
Online: 30

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Development > Component Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09.02.2005, 15:15   #1 (permalink)
Baby Mamber
 
Join Date: Feb 2005
Posts: 2
MaTraX is on a distinguished road
RedCross How to get the site name in the comp. installation process

Hi
I have question just like in the thread title.
This is part of my .xml installation file:
PHP Code:
 <queries>
                        <
query>CREATE TABLE IF NOT EXISTS `#__mycomponent` (
  `
idint(11NOT NULL auto_increment,
  `
namevarchar(100NOT NULL default '',
  `
option1text,
  `
option2varchar(50NOT NULL default '',
  `
option3varchar(50NOT NULL default '',
  `
option4varchar(8NOT NULL default '',
  `
option5varchar(8NOT NULL default '',
  `
option6varchar(8NOT NULL default '',
  `
option7varchar(8NOT NULL default '',
  
PRIMARY KEY  (`id`)
TYPE=MyISAM AUTO_INCREMENT=;
                        </
query>
                        <
query>INSERT INTO `#__mycomponent` (`id`, `name`, `option1`, `option2`, `option3`, `option4`, `option5`, `option6`, `option7`) VALUES ('''Sitename''Sitename''500''100%''#000000''#ffffff''#000000''#ffffff')</query>
                        </
queries
My problem is that in the place of Sitename I would like the component to insert the real site name taken from the mambo database. Is it possible and if yes - please tell me how to do it.

Thank you in advance
MaTraX is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Step by step installation of mambo for beginners krab Mambo 4.5.1 Installation and Upgrades 30 05.09.2006 10:03
TUTORIAL: How to INTEGRATE Mambo modules into non-MOS static php pages in your site marcnyc Mambo 4.5 'How Do I' Questions 10 28.02.2006 03:23
Installation problem gg1965 Mambo 4.5.1 Installation and Upgrades 2 30.11.2004 07:48
Newsfeed will not display on client site divamissx Mambo 4.5 'How Do I' Questions 1 18.09.2004 03:16
Installation failure of components on remote site and .htaccess problems nascent Mambo 4.5 'How Do I' Questions 1 10.09.2004 05:19


All times are GMT +2. The time now is 21:18.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.