Vous n'êtes pas identifié(e).
13 février 2024 Sortie de Dotclear 2.29
Pages : 1
Hello.
I'm trying to make a multiblog instance in my localhost web server.
The default instalation is working fine, but my other blogs don't loads the default theme.
I have copied all the directories and inserted the public and theme path in about:config.
The following picture show my problem => http://oi62.tinypic.com/30a82l2.jpg
Please, I tried much ways to solve that, but none works. And I don't have much time to finish my College' job.
Thanks, guys.
Hors ligne
Nobody?
Hors ligne
Hello
It's difficult to say why it fails. At a first glance, I would say the path is not right. Might be only an issue with "/" or "./" or "../" or missing {{tpl:BlogThemeURL}}/
Could you please provide us the path to default theme and the directory where your blogs are located?
Thanks
I ♥ Dotclear.
Hors ligne
I'll reimplement all the system and make some screenshots to show for you.
thanks for your answer. I almost gave up using it...
Hors ligne
Dear friend,
I reimplemented the system and the problem persists.
Next, the pictures (SS).
My First Blog Theme Configuration: http://oi61.tinypic.com/apk75l.jpg
My First Blog Index: http://oi57.tinypic.com/1j2bya.jpg
Pardal's Blog Theme Configuration: http://oi58.tinypic.com/2iw7q07.jpg
Pardal's Blog Index: http://oi58.tinypic.com/1zckc2x.jpg
www Web Directory configuration: http://oi59.tinypic.com/2dbuyk5.jpg
Please, I need it's work to my college final job.
Hors ligne
Hi lucasampro
Looking at your screenshots, it's not clear what is main blog and what is multi-blog:
- "dotclear" is in "apps/dotclear"
- "blogs" theme leads to "blogs/dotclear/themes"
- "pardal" theme leads to "blogs/pardal/themes"
- "pardal" is in "app/blogs/pardal"
However, your structure in http://oi59.tinypic.com/2dbuyk5.jpg is:
Domain (folder "app"?)
- blogs, a separate folder
- dotclear, a separate folder
- pardal, a separate folder
It might be that only the paths are wrong.
We have a two articles for our German users, but looking at the pictures explains what to do. It's all about paths.
How to create multi-blogs: http://www.tbtip.de/dotclear/?post/Mult … -1/2013/05
"blogs" and "pardal" are located inside "dotclear".
How to create multi-domains: http://www.tbtip.de/dotclear/?post/Mult … -2/2013/05
"blogs" and "pardal" are located outside of "dotclear"
Solution 1: You have "blogs" and "pardal" as two separate blogs and both load the same theme
This is in my opinion the most secure solution, because you make "blogs" and "pardal" independent. If something goes wrong in "blogs", "pardal" is not affected and versus versa.
Solution 2: You start "blogs" and "pardal" as a multi-blogs, as in http://www.tbtip.de/dotclear/?post/Mult … -1/2013/05
1. Create a folder "dotclear" and install Dotclear. It will hosts the theme.
2. Open "dotclear" folder and create 2 new folders "blogs" and "pardal" like here: http://www.tbtip.de/dotclear/public/tip … nlegen.png
3. Open "blogs" and create a index.php and insert like in http://www.tbtip.de/dotclear/public/tip … ex-php.png
<?php
define('DC_BLOG_ID','blogs'); #identifies blogs
require dirname(__FILE__).'/../inc/public/prepend.php';
?>
4. Open "pardal" and create a index.php
<?php
define('DC_BLOG_ID','pardal'); #identifies pardal
require dirname(__FILE__).'/../inc/public/prepend.php';
?>
5. Upload "blogs" and "pardal" to your FTP drive
6. Go to http://www.your-domain.com/dotclear/admin and login
7. Go to System - Blogs and click on "Create a new blog" (right top corner)
Blog-ID: blogs
Blog name: My first blog
Blog URL: http://www.your-domain.com/app/dotclear/blogs
8. Repeat the same with "pardal"
9. Like in "5. Schritt" on http://www.tbtip.de/dotclear/?post/Mult … -1/2013/05
Choose "blog"
10. In PLUGINS >> about:config and adjust the paths
Look at the pictures in "5. Schritt": tbtip explains 2 ways: one when EN and FR have got their own public folder, and when EN and FR share the public folder with the main-blog.
Solution 3: You start "blogs" and "pardal" as a multi-domains, as in http://www.tbtip.de/dotclear/?post/Mult … -2/2013/05
1. In folder "app" create a "dotclear" folder and install Dotclear. It will hosts the theme.
2. In folder "app" create another 2 folders "blogs" and "pardal"
3. Open "blogs" and create a index.php with text as seen in http://www.tbtip.de/dotclear/public/tip … enblog.png
<?php
define('DC_BLOG_ID",'blogs'); #identifies blogs
require dirname(__FILE__).'/../dotclear/inc/public/prepend.php';
?>
4. Open "pardal" and create a index.php with text
<?php
define('DC_BLOG_ID",'pardal'); #identifies pardal
require dirname(__FILE__).'/../dotclear/inc/public/prepend.php';
?>
5. Upload "blogs" and "pardal" to your FTP drive.
5. Go to http://www.your-domain.com/dotclear/admin and login
6. Go to System - Blogs and click on "Create a new blog" (right top corner)
7. Like in http://www.tbtip.de/dotclear/public/tip … enblog.png
Blog-ID: blogs
Blog name: My first blog
Blog URL: http://www.your-domain.com/app/blogs
8. And also here, choose "blogs" like in http://www.tbtip.de/dotclear/?post/Mult … -1/2013/05
9. Go to Plugins - about:config and adjust the paths.
10. Repeat the same with "pardal".
Dernière modification par ben_griffith (2015-08-07 05:42:28)
I ♥ Dotclear.
Hors ligne
My friend,
I've follow the Dotclear documentation to install multiblog services. And the theme still failing.
All the other functions are alright, except this.
I copied the "theme" dir in the instalation of dotclear and pasted in the pardal dir.
The tree directories are in that configurarion:
> imestre
>> app
>>> blogs (the instalation of dotclear is here)
>>>> pardal
>>>>> themes (copy of "themes" from dotclear instalation)
Hors ligne
Hi
tbtip had his en and fr folder on third level. In your case imestre is the first level, and pardal is on the fourth level.
I just installed a test blog using your folder names and I have themes in pardal folder.
domain
>imestre
>>app
>>>blogs
>>>>pardal
>>>>>themes
>>>>themes
In index.php in folder pardal:
<?php
define('DC_BLOG_ID','pardal'); #identifies pardal
require dirname(__FILE__).'/../inc/public/prepend.php';
?>
Settings for pardal in Blogs > pardal:
http://www.domain.com/imestre/app/blogs/pardal/index.php?
QUERY_STRING
Settings in about:config for pardal
public_path public
public_url ../public
In case you want to use your own theme in pardal (the same applies for public folder)
theme will be named automatically after the theme you choose in pardal/themes
themes_path themes
themes_url ../themes
In case you want to use theme in blogs
theme berlin (!important you need to name it here)
themes_path themes
themes_url /imestre/app/blogs/themes
Dernière modification par ben_griffith (2015-08-07 06:51:18)
I ♥ Dotclear.
Hors ligne
Dear Ben,
thank you so much for your help.
Now, the theme was working.
The next step will be finish the translation for Portuguese (pt-br) and learn how to use the multiblog system.
Thanks, again.
Hors ligne
Hi Lucas
Nice to hear that it works now.
Be careful and test everything before you start your blog. Especially test the import of your blog.
I recently noticed that after 7 years intensive use and change, my blog can't be imported again. Too much has changed over the years. Something with "categories ID" doesn't work.
I ♥ Dotclear.
Hors ligne
Pages : 1
Vous n'êtes pas identifié(e).