as everyone knows, the site I'm developing sits on a shared host.
Hence no shell/root access.
Because I can't disrupt the production site with the work on the
Campsite adaption I installed Campsite on one of my domains and am
building everything right there.
Now, soon I have to move the content of this installation to the
installation on the client's domain. As this means taking down his
primary site I would like to have a fast solution, like working it in
but a few hours.
So - I can't do a backup as described in the manual for lack of root
access. Is there a different solution? E.g. would it suffice to
Dump the MySQL database including table structure
Save all templates and images
Set up the same instance of Campsite on new domain
Restore the SQL file
Access the admin panel and readjust the publication URL
Yeah, that's pretty much what you need to do. Include also "files" directory.
Best,
On Wed, Aug 5, 2009 at 11:23 AM, pippa wrote:
> Hi,
>
> as everyone knows, the site I'm developing sits on a shared host.
> Hence no shell/root access.
>
> Because I can't disrupt the production site with the work on the
> Campsite adaption I installed Campsite on one of my domains and am
> building everything right there.
>
> Now, soon I have to move the content of this installation to the
> installation on the client's domain. As this means taking down his
> primary site I would like to have a fast solution, like working it in
> but a few hours.
>
> So - I can't do a backup as described in the manual for lack of root
> access. Is there a different solution? E.g. would it suffice to
>
> Dump the MySQL database including table structure
> Save all templates and images
> Set up the same instance of Campsite on new domain
> Restore the SQL file
> Access the admin panel and readjust the publication URL
>
> ?
>
> Or what else do I need to do?
>
> Cheers,
>
> Pippa
>
>
>
Pippa, you need to set the write permisions on several folders. Also check
the owner of the folder.
set 775 for:
images and it's sub folders
templates
btw, do you have a tmp folder?
Gabi
----- Original Message -----
From: "pippa"
To:
Sent: Wednesday, August 05, 2009 7:23 PM
Subject: [campsite-support] Back up and restore
> Hi,
>
> as everyone knows, the site I'm developing sits on a shared host.
> Hence no shell/root access.
>
> Because I can't disrupt the production site with the work on the
> Campsite adaption I installed Campsite on one of my domains and am
> building everything right there.
>
> Now, soon I have to move the content of this installation to the
> installation on the client's domain. As this means taking down his
> primary site I would like to have a fast solution, like working it in
> but a few hours.
>
> So - I can't do a backup as described in the manual for lack of root
> access. Is there a different solution? E.g. would it suffice to
>
> Dump the MySQL database including table structure
> Save all templates and images
> Set up the same instance of Campsite on new domain
> Restore the SQL file
> Access the admin panel and readjust the publication URL
>
> ?
>
> Or what else do I need to do?
>
> Cheers,
>
> Pippa
>
>
tmp folder i am not sure it should be.. i have it in the root of the web
folder...
----- Original Message -----
From: "pippa"
To: "Gabriel Petrescu"
Sent: Saturday, August 08, 2009 11:22 PM
Subject: Re[2]: [campsite-support] Back up and restore
> Hello Gabi,
>
> Saturday, August 8, 2009, 8:51:33 PM, you wrote:
>
> GP> Pippa, you need to set the write permisions on several folders. Also
> check
> GP> the owner of the folder.
>
> GP> set 775 for:
>
> GP> images and it's sub folders
> GP> templates
>
> My host runs suPHP, folders are 755, files are 644.
>
> GP> btw, do you have a tmp folder?
>
> Where should that be?
>
> Cheers,
>
> Pippa
>
>
How did you managed to show images, caption / description at images?
Gabi
----- Original Message -----
From: "pippa"
To: "Gabriel Petrescu"
Sent: Sunday, August 09, 2009 8:45 AM
Subject: Re[4]: [campsite-support] Back up and restore
> Hello Gabriel,
>
> Saturday, August 8, 2009, 10:29:57 PM, you wrote:
>
> GP> tmp folder i am not sure it should be.. i have it in the root of the
> web
> GP> folder...
>
> I probably don't have it because I don't have ACP cache.
>
> Cheers,
>
> Pippa
>
>
GP> How did you managed to show images, caption / description at images?
Errr ... normally?
The site works so far quite normally. No idea what is defunct, as so
far everything was mostly as it should be. I don't really understand
what you are driving at.
I spent a lot of time to search for some of the templates offered for free
download...
The difference between them is mainly on desig, not functionality. So, not
quite usefull.
My issues / questions are the same from the last post to list:
---
- in admin can you search for an article? like.. I remember about an article
published some time ago.. about x subject.; and all you remember is x
subject..?
- for photos, the caption or as is called here description can be in several
languages? ex: you have the site in 2 languages and you need to put the
caption / description in both languages..
- cron scripts:
you need to run: campsite_indexer to get index to be able to use the
following code:
{{ if $campsite->image->has_image2 }}
{{ /if }}
otherwise you need the other solution:
in campsite-3.2.1-sample-templates-03-v1 you show an image at article in
section, but the main article has no image. if I use the second code, I can
get image. the article has 2 images.
it's an issue because the cron is not running or syntax issue?
- how do you put the caption in the html attribute: alt=... ?
- can you chose the place where you put photo1, photo 2..etc.. like a 6
paragraphs text and 5 photos. what you? all at the beginning? at the end? as
a column one under other?
- if you use some of the examples from gallery how do you put the caption/
description for each photo?
------
and the following:
- home: the main article should have a big photo: link on photo, title,
subtitle, abstract.
- all the other articles in home page should have photo, title, abstrat
the same in each section.
on article page: photo, click on photo you see it big, and the article
if you have more photos (5 maximum) how you manage them?
if you want a gallery inside the article can you do it? what about 3 photos
for article and a gallery?
Gabi
----- Original Message -----
From: "pippa"
To: "Gabriel Petrescu"
Sent: Sunday, August 09, 2009 1:22 PM
Subject: Re[6]: [campsite-support] Back up and restore
> Hello Gabriel,
>
> Sunday, August 9, 2009, 12:17:15 PM, you wrote:
>
> GP> How did you managed to show images, caption / description at images?
>
> Errr ... normally?
>
> The site works so far quite normally. No idea what is defunct, as so
> far everything was mostly as it should be. I don't really understand
> what you are driving at.
>
> Cheers
>
> Pippa
>
>
"Gabriel Petrescu" wrote on 08/09/2009 01:58:25 PM:
> - in admin can you search for an article? like.. I remember about an
article
> published some time ago.. about x subject.; and all you remember is x
> subject..?
It's silly, but it isn't. We've always had something more pressing to
implement. We're planning a big overhaul of the admin interface after 3.4,
so that feature will definitely be implemented there.
> - for photos, the caption or as is called here description can be in
several
> languages? ex: you have the site in 2 languages and you need to put the
> caption / description in both languages..
It can be. You can also have different captions (descriptions) for the same
photo in different articles.
> - how do you put the caption in the html attribute: alt=... ?
You can specify the alt-text for the photograph via the TinyMCE editor's
insert image popup. The caption and the alt text default to the value
entered as image description.
BTW, we are taking a fresh look at our image handling in the next major
release (3.4, so expect improvements in metadata handling)
> - can you chose the place where you put photo1, photo 2..etc.. like a 6
> paragraphs text and 5 photos. what you? all at the beginning? at the end?
as
> a column one under other?
You can either insert them via the WYSIWYG editor wherever you want within
the article text. Or you can specify where you want to have each of them
using image numbers, e.g. image no. x will always be on top of the article,
image y in a special box, image z will be on the bottom, etc.
> - if you use some of the examples from gallery how do you put the
caption/
> description for each photo?
I am not sure I understand the question (what examples?). Please provide
more info.
> ------
> and the following:
>
> - home: the main article should have a big photo: link on photo, title,
> subtitle, abstract.
> - all the other articles in home page should have photo, title, abstrat
> the same in each section.
> on article page: photo, click on photo you see it big, and the article
> if you have more photos (5 maximum) how you manage them?
> if you want a gallery inside the article can you do it? what about 3
photos
> for article and a gallery?
I believe Mugur's answer that he sent to the list provides all the pointers
for the questions above (I guess you may have missed it due to that silly
bug in our antiquated phorum). You can find it below.
All the best,
Sava
----- Forwarded by Sava Tatic/Mdlf on 08/10/2009 06:14 AM -----
You can also see an example of the article-content.tpl template from the
default demo templates installed by Campsite (attached here).
If your template doesn't work it means you made a mistake in the template,
please go to the issues list page in the admin interface and click on
preview. The preview window outputs syntax errors.
Mugur
On Thu, Jul 30, 2009 at 10:40 AM, wrote:
Author: gabitzu
Link: Add a Comment