English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

Copy sites that update but with different logos
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Copy sites that update but with different logos
#13062
Copy sites that update but with different logos 7 Years, 5 Months ago Karma: 0
Hello,
I have this problem: I must create sites equal to the master site. Copy sites need to be updated at the same time as the master site m the copy site logos are all different for each copy site. .. can anyone help me?

Thank you
SilvioTrisorio
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#13065
Re: Copy sites that update but with different logos 7 Years, 5 Months ago Karma: 54
If you need to have exactly the same content of the master excepted the logo of the website, a very simple solution is to replace the logo by a keyword that will be resolved when the website will be displayed.

Of course this depend the way that the logo is display.
Some Joomla template, may setup the logo via a CSS and in this case, it is more difficult to create variant depending on the website.
Some are using a module to display the logo. In this case, you may perhaps change the custom HTML module content to replace the hardcoded logo by a keyword.
Some are directly managed inside the Joomla template code that may have to be adjusted.

Once you have the keyword then the idea is to replace the keyword with the real logo path. This can be done for example with the free Search/Replace plugin that you can find on our free download section.
www.jms2win.com/en/component/docman/doc_...rch--replace-utility
With the Search/Replace plugin, you can have different S/R file depending on the website ID or domain and therefore create different path to the logo.

With the Search/Replace plugin, you can have a same website content except some parts that are identified by keywords and resolved when displaying the website.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#13066
Re: Copy sites that update but with different logos 7 Years, 5 Months ago Karma: 0
Hello,
Forgive me what does it mean to replace the logo with a keyword? How do you do it?

Thanks so much
SilvioTrisorio
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#13080
Re: Copy sites that update but with different logos 7 Years, 5 Months ago Karma: 54
For example, when you use a Custom HTML module with inside a tag like <img src="path.jpg" /> then you can replace that with a tag (ie. <img src="[__MY_LOGO__]" /> ) that you will resolve later with the Search/Replace by providing
[__MY_LOGO__]=PathForSite1
In a file that would contain all the S/R tag that must be replaced depending on the website.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
Last Edit: 2017/07/01 11:26 By edwin2win.
The administrator has disabled public write access.
 
#13081
Re: Copy sites that update but with different logos 7 Years, 5 Months ago Karma: 0
I see,
But the logo in the templates is not a form but a template configuration itself
SilvioTrisorio
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#13084
Re: Copy sites that update but with different logos 7 Years, 5 Months ago Karma: 54
When this is a template configuration, all depends where the template store the info.
Some template store the info in a file on the disk and in this case, if the template directory is shared then the configuration is shared across the sites.

If the template configuration is saved in the DB then in this case, if you perform a copy of the website, its content will not be share as you want but you will be able to have a specific template configuration.

The alternative method that I see is to share the DB as before to have the sharing of everything and create a specific "template" subdirectory OR if you can provide the path to the logo, provide a path on a directory that would be specific for each sites.

For example: if the path to the logo is
/images_specific/logo.jpg
Then you can create a /images_specific directory for each sites and modify the "logo.jpg" in each site.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla