- 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?
Feedback:
In some parts of the manual there are information in the hypothesis you own
the server and you can do whatever you want.
This is one approach. The other approaches are were you have jobs spitted
and some guys don't have access at certain resources.
The last option is shared hosting, fast, reliable.. where also you have some
limitations.
So it should be added the other options / solutions.
The automatical installation can generate sometimes strange ownerships of
the folders (like the web demon)..
For perl scripts run by the cron there are other options to substitute them?
Also, please use the issue preview function from the admin interface: this
will display the syntax errors found in the templates so you don't have to
wonder why something is not working.
Mugur
On Sat, Aug 8, 2009 at 10:51 PM, Gabriel Petrescu wrote:
> Hi I have several questions and some feedback:
>
> - 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?
>
> Feedback:
>
> In some parts of the manual there are information in the hypothesis you own
> the server and you can do whatever you want.
> This is one approach. The other approaches are were you have jobs spitted
> and some guys don't have access at certain resources.
> The last option is shared hosting, fast, reliable.. where also you have
> some limitations.
>
> So it should be added the other options / solutions.
>
> The automatical installation can generate sometimes strange ownerships of
> the folders (like the web demon)..
>
> For perl scripts run by the cron there are other options to substitute
> them?
>
>
>
>
>
>
The code is taken from one of the templates downloaded from source
forge.....
----- Original Message -----
From: "Mugur Rus"
To:
Sent: Monday, August 10, 2009 9:22 PM
Subject: Re: [campsite-support] several questions
> You can use images in the templates without running campsite-indexer. The
> indexer is only for article search functionality.
>
> You have a syntax error in your template:
> {{ if $campsite->image->has_image2 }}
>
> The proper code is:
> {{ if $campsite->image->has_image(2) }}
>
> Please read this page for a complete article properties:
> http://code.campware.org/manuals/campsite/3.3/index.php?id=179
>
> Also, please use the issue preview function from the admin interface: this
> will display the syntax errors found in the templates so you don't have to
> wonder why something is not working.
>
> Mugur
>
> On Sat, Aug 8, 2009 at 10:51 PM, Gabriel Petrescu
> wrote:
>
>> Hi I have several questions and some feedback:
>>
>> - 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?
>>
>> Feedback:
>>
>> In some parts of the manual there are information in the hypothesis you
>> own
>> the server and you can do whatever you want.
>> This is one approach. The other approaches are were you have jobs spitted
>> and some guys don't have access at certain resources.
>> The last option is shared hosting, fast, reliable.. where also you have
>> some limitations.
>>
>> So it should be added the other options / solutions.
>>
>> The automatical installation can generate sometimes strange ownerships of
>> the folders (like the web demon)..
>>
>> For perl scripts run by the cron there are other options to substitute
>> them?
>>
>>
>>
>>
>>
>>
>
On Mon, Aug 10, 2009 at 11:02 PM, Gabriel Petrescu wrote:
> The code is taken from one of the templates downloaded from source
> forge.....
>
>
>
> ----- Original Message ----- From: "Mugur Rus"
> To:
> Sent: Monday, August 10, 2009 9:22 PM
> Subject: Re: [campsite-support] several questions
>
>
>
> You can use images in the templates without running campsite-indexer. The
>> indexer is only for article search functionality.
>>
>> You have a syntax error in your template:
>> {{ if $campsite->image->has_image2 }}
>>
>> The proper code is:
>> {{ if $campsite->image->has_image(2) }}
>>
>> Please read this page for a complete article properties:
>> http://code.campware.org/manuals/campsite/3.3/index.php?id=179
>>
>> Also, please use the issue preview function from the admin interface: this
>> will display the syntax errors found in the templates so you don't have to
>> wonder why something is not working.
>>
>> Mugur
>>
>> On Sat, Aug 8, 2009 at 10:51 PM, Gabriel Petrescu
>> >wrote:
>>
>> Hi I have several questions and some feedback:
>>>
>>> - 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?
>>>
>>> Feedback:
>>>
>>> In some parts of the manual there are information in the hypothesis you
>>> own
>>> the server and you can do whatever you want.
>>> This is one approach. The other approaches are were you have jobs spitted
>>> and some guys don't have access at certain resources.
>>> The last option is shared hosting, fast, reliable.. where also you have
>>> some limitations.
>>>
>>> So it should be added the other options / solutions.
>>>
>>> The automatical installation can generate sometimes strange ownerships of
>>> the folders (like the web demon)..
>>>
>>> For perl scripts run by the cron there are other options to substitute
>>> them?
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>
does Campsite only work with APC cache or also with other caches? My
host tells me it's not possible to install APC with PHP running as
suPHP. He would however install any kind of cache for me which could
be installed under suPHP and can be used by Campsite.
Mugur implemented the pluggable cache feature in 3.3. Currently there is
only the "plug" for APC, however. You'd have to write or get someone to
write you one (and as far as I understand it, it's not that much of a task.
Here is what Mugur answered to Gabi a while ago:
> From:
> Mugur Rus
> Subject:
>
> Re: [campsite-support] [Campsite Support] apc / cache
>
> Please take a look at the files from the [campsite_dir]/classes/
> cache directory: CacheEngine.php and CacheEngine_APC.php.
>
> CacheEngine_APC.php is a driver for the APC caching library. You can
> write your own driver and put it in the file: CacheEngine_
> [my_library].php. The class name must be CacheEngine_[my_library]
>
> Once you write your own driver you can set it in the admin
> interface, Configure->System preferences, the Cache Engine field.
>
> For ease of writing you can just save the CacheEngine_APC.php file
> as CacheEngine_[my_library].php, rename the class and rewrite the
> content of it's methods.
>
> Mugur
From: pippa
To: Mugur Rus
Date: 08/11/2009 08:01 PM
Subject: [campsite-support] APC cache and alternatives
Hi Mugur,
does Campsite only work with APC cache or also with other caches? My
host tells me it's not possible to install APC with PHP running as
suPHP. He would however install any kind of cache for me which could
be installed under suPHP and can be used by Campsite.