AlterBrains • Make conent dynamic
Page 1 of 1

Make conent dynamic

Posted: July 3rd, 2013, 11:14 am
by Deef
Just bought Mightysites. Was thinking this is a very good component. And it's working like I want to have it.

Now I wish to use on 5 sites the same conent just with some different keywords.

For example I have the site
$domain="apple.com"; // i wish i had this domain :)
$keyword="apple";
$sort="fruit";

$domain="cucumber.com";
$keyword="cucumber";
$sort="vegetable";

The content;
On <?=domain; ?> you can find everything about <?=$keyword; ?> that's a very healthy <?=? $sort; ?>

This way I make one site... and copy them 5x with the same content and they're different. I wish to use php for this.

But what's the best setup to do this ?

Do i make a some extra tables in mysql manualy ? And use php to get this vars? Or is there a cleaner and better way to do this?

thanks,

deef

Re: Make conent dynamic

Posted: July 3rd, 2013, 12:54 pm
by Admin
I guess you need to use any replacement component which can replace tags in articles.
Replacements will be different in each site, so you will get different variants of text.

You can check extensions from here:
http://extensions.joomla.org/extensions/edition/replace