|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
tagsHello,
duh - I'm apparently lost in the manual. Is there somewhere a list of all available tags and item variables available in Campsite? I think I once stumbled across one, idiotically I was too stupid to store the link somewhere and now I can't find it again. Cheers, Pippa |
|
|
Re: tagsHi,
Here it is: http://code.campware.org/manuals/campsite/3.3/index.php?id=62 Cheers, On Tue, Aug 25, 2009 at 4:08 AM, pippa<pippaschatz@...> wrote: > Hello, > > duh - I'm apparently lost in the manual. Is there somewhere a list of > all available tags and item variables available in Campsite? I think I > once stumbled across one, idiotically I was too stupid to store the > link somewhere and now I can't find it again. > > Cheers, > > Pippa > > > -- /holman |
|
|
Re[2]: tagsHello Holman,
HR> Here it is: HR> http://code.campware.org/manuals/campsite/3.3/index.php?id=62 Hmm... not really. What I am looking for is a *complete* list somewhat like this: {{ breadcrumb }} = inserts the breadcrumb trail = modifiers are ... {{ include file="" }} = inserts content of a tpl file = modifiers ... {{ list_sections }} = lists the sections = modifiers are ... {{ $campsite->article->... }} = inserts fields = these you can ... etc. And the whole sorted according to area/what they manipulate. When I wrote I was looking for a way to insert a tag-line above the article title. I have abused the "deck" for that. But I couldn't find the relevant tag for that anywhere in the manual either. So I tried to copy what is already in the template only using "deck" instead of "name" and used {{ $campsite->article->deck }}. Obviously that works, but in the manual there is no clearcut instruction how this works and why, and above all, whether I could myself write such tags and how so. What is very frustrating and truly needs to be changed in the new manual that you plan is HOW things are explained. Right now explanations are so fragmented, that a non-coder has not a chance in hell to truly understand them. It does not really help if ways to modify a certain tag are explained in a totally different part of the manual, it needs to be done right where the tag itself is mentioned. And if indeed everyone can write his own tags (something which no simple webdesigner/webmaster used to other CMS will even guess at!!!), this needs to be explained right away, with trumpets, whistles and bells, so that people understand something very different from other CMS and also very important. Sorry for the criticisms, but I think they are very, very important. It took me a whole day to understand this. Now, I usually work for money, a whole day of wrapping my brain around such an actually little but essential thing would have cost a client or me some 300 USD or more. My current client for Campsite can be very happy that I work pro bono and want to understand the system myself. But the next user might be under much more financial or time-related pressure than me and quickly give up on Campsite like so many do. You see what I mean? It doesn't stop there, here's my next problem. When I insert pictures a table gets inserted (I actually would prefer a choice of either table - for caption ability, and no table). Somewhere in the depths of the software an hspace and a vspace of 5px is added. I would like to style the picture myself. I can style the caption via .caption (where the heck is the actual template/html code for that table?), but I can't style the picture itself and I have to deal with v/hspaces I do not want. I'd rather add a padding to that table myself, like left-right-bottom only and of much more than just 5px, and very especially without the top margin auto-added by the system which pushes the photo below the topline of the text. Also, I wished I could expand caption texts, however, as apparently the table is set to "no-wrap" that doesn't work. So where do I undo that "no-wrap"? The caption needs to wrap to accommodate a longer explanation of what's seen there. (BTW - saving the whole article kills display of the captions, this has to be a bug). Something as essential as this also needs to be inside the manual, but again I was unable to locate that info :-/. So, off my soap box :o) I hope enough of you are back home from holidays to show me how to change those table settings ;-) Cheers, Pippa |
|
|
Re: Re[2]: tags"Now, I usually work for money, a whole day of wrapping my brain around such an actually little
but essential thing would have cost a client or me some 300 USD or
more. My current client for Campsite can be very happy that I work pro
bono and want to understand the system myself. But the next user might be under much more financial or time-related pressure than me and quickly give up on Campsite like so many do. You see what I mean?" If you usually work for money, why wouldn't you spend some of that on campsite support and instead of spending a full day on a template have it in one hour? The time we spend reading, understanding your requests and finding a solution is not a short time. And when you post tens of request this time adds up. We usually spend at least 2 full days per month on answering support requests for free. So again, why would we work for free for you, so you can earn money? A user under financial or time-related pressure WOULD JUST PAY for support. For users who don't want to pay for support there is this manual and whatever help you may find on the forum. That's the way free software works: no guarantees and no support. If you want these you have to pay. Mugur On Wed, Aug 26, 2009 at 8:51 AM, pippa <pippaschatz@...> wrote: Hello Holman, |
|
|
Language code changeHi,
We have language codes in Campsite for example like "en_US" and "de_DE" (instead of normal "en" only). It was understood first at us that all the English spoken articles so far in the system would be "en_US" but now we heard they should be all "en_UK" and have UK flag as link. I can handle the flag issue, no problem. But can I safely just change all the articles that are in "en_US" to "en_UK"? What is the best way for it? Sanna @ Gene |
|
|
Re: Language code changeI think the easiest way would be to just change the language code from en_US to en_UK in the language configuration screen (admin menu->Configure->Languages). I suppose you just want to switch the articles you already wrote in en_US to en_UK. This will do the trick, there is no need to create a new language: en_UK.
Hope this helps, Mugur On Wed, Aug 26, 2009 at 2:39 PM, Generare Management Department <management@...> wrote: Hi, |
|
|
Re: Re[2]: tagsMugur Rus <mugur.rus@...> wrote on 08/26/2009 08:59:02 AM: > On Wed, Aug 26, 2009 at 8:51 AM, pippa <pippaschatz@...> wrote: > Hello Holman, > > HR> Here it is: > HR> http://code.campware.org/manuals/campsite/3.3/index.php?id=62 > > Hmm... not really. > > What I am looking for is a *complete* list somewhat like this: > > {{ breadcrumb }} = inserts the breadcrumb trail = modifiers are ... > {{ include file="" }} = inserts content of a tpl file = modifiers ... > {{ list_sections }} = lists the sections = modifiers are ... > {{ $campsite->article->... }} = inserts fields = these you can ... > etc. > And the whole sorted according to area/what they manipulate. We don't have it, and we should. It's on my todo list. I can use some help, so please send me a separate message if you'd like to join me in this effort. Pippa, you can help by providing the initial list. > When I wrote I was looking for a way to insert a tag-line above the > article title. I have abused the "deck" for that. But I couldn't find > the relevant tag for that anywhere in the manual either. So I tried to > copy what is already in the template only using "deck" instead of > "name" and used {{ $campsite->article->deck }}. > Obviously that works, but in the manual there is no clearcut > instruction how this works and why, and above all, whether I could > myself write such tags and how so. You don't need to abuse anything (as I've written before. Article types are completely flexible, so you can create any structure you want. It's described pretty decently here: http://code.campware.org/manuals/campsite/3.3/index.php?id=197&lang=en-us What's missing is a basic explanation of Campsite concepts, especially having in mind people with experiences from other CMSs. > What is very frustrating and truly needs to be changed in the new > manual that you plan is HOW things are explained. Right now > explanations are so fragmented, that a non-coder has not a chance in > hell to truly understand them. It does not really help if ways to > modify a certain tag are explained in a totally different part of the > manual, it needs to be done right where the tag itself is mentioned. Yes, you are right. The "cookbook" I have mentioned before should remedy that. > And if indeed everyone can write his own tags (something which no > simple webdesigner/webmaster used to other CMS will even guess at!!!), > this needs to be explained right away, with trumpets, whistles and > bells, so that people understand something very different from other > CMS and also very important. Indeed. We should trumpet that more. A New to Campsite? FAQ or basic intro should be helpful. Again, you, or anybody else could provide the initial list of questions (and answers, where there are some). So who wants to help me create this wiki? (with the idea of connecting it or merging it with the manual). > Sorry for the criticisms, but I think they are very, very important. > It took me a whole day to understand this. Now, I usually work for > money, a whole day of wrapping my brain around such an actually little > but essential thing would have cost a client or me some 300 USD or > more. My current client for Campsite can be very happy that I work pro > bono and want to understand the system myself. But the next user might > be under much more financial or time-related pressure than me and > quickly give up on Campsite like so many do. You see what I mean? It's commendable that you are going through the manual before you come here, but if your search for answers turns from minutes into hours, please bring the individual issues to the list in a concise form, and answer will come sooner or later (repeat the question if necessary). FYI, I'll try to rekindle our IRC channel #campsite at freenode and see if that helps people with basic issues. I can only guarantee my presence there, it's up to the rest to join or not :) All the best, Sava |
|
|
Re[4]: tagsHello Sava,
Wednesday, August 26, 2009, 8:21:27 PM, you wrote: stmo> We don't have it, and we should. It's on my todo list. I can use some help, stmo> so please send me a separate message if you'd like to join me in this stmo> effort. Pippa, you can help by providing the initial list. I am working on one, as I already told you ;-) stmo> You don't need to abuse anything (as I've written before. Article types are stmo> completely flexible, so you can create any structure you want. It's stmo> described pretty decently here: stmo> http://code.campware.org/manuals/campsite/3.3/index.php?id=197&lang=en-us I'll try this to replace the abused deck field and will keep notes. This really needs to be advertised much more as it is right now, as it is a solution to lots of demands. stmo> What's missing is a basic explanation of Campsite concepts, especially stmo> having in mind people with experiences from other CMSs. Yes, very much so. Campsite is much more versatile and stronger than many other CMS, few people would even think of such possibilities on their own. stmo> Yes, you are right. The "cookbook" I have mentioned before should remedy stmo> that. Once I've finished this project I'll be very happy to contribute what I learned while doing so. stmo> Indeed. We should trumpet that more. A New to Campsite? FAQ or basic intro stmo> should be helpful. Again, you, or anybody else could provide the initial stmo> list of questions (and answers, where there are some). So who wants to help stmo> me create this wiki? (with the idea of connecting it or merging it with the stmo> manual). See above, I am already writing this in parts relevant to the current project. stmo> It's commendable that you are going through the manual before you come stmo> here, but if your search for answers turns from minutes into hours, please stmo> bring the individual issues to the list in a concise form, and answer will stmo> come sooner or later (repeat the question if necessary). FYI, I'll try to stmo> rekindle our IRC channel #campsite at freenode and see if that helps people stmo> with basic issues. I can only guarantee my presence there, it's up to the stmo> rest to join or not :) Well, as I mentioned, I am still short of the explanation where I can set the values of the photo table. To be concise: 1. I need to set hspace and vspace to "0px" 2. I need the table cell containing the caption to "wrap" normally (meaning if a photo is 400 px and the text exceeds that width, the text should wrap into further lines of text, rather than widen the table). Pointing out where I need to look for the settings should be all, unless it's ultra-complicated. Cheers, Pippa |
|
|
Re: Re[4]: tagsHi Pippa,
pippa <pippaschatz@...> wrote on 08/26/2009 09:10:37 PM: > Well, as I mentioned, I am still short of the explanation where I can > set the values of the photo table. To be concise: > 1. I need to set hspace and vspace to "0px" > 2. I need the table cell containing the caption to "wrap" normally > (meaning if a photo is 400 px and the text exceeds that width, the > text should wrap into further lines of text, rather than widen the > table). > > Pointing out where I need to look for the settings should be all, > unless it's ultra-complicated. Well, currently it is a tad complicated as you would have to go and take a look at template_engine/metaclasses/MetaSubtitle.php class... more precisely the ProcessImageLink() function. There's where the table+image+caption are defined. Holman says it's not a paragon of clarity, so please make sure to back up the original file before experimenting. The good news is that those features are already on the 3.4 roadmap: http://trac.campware.org/campsite/ticket/2521 http://trac.campware.org/campsite/ticket/2958 The latter is already implemented. I hope this helps. All the best, Sava |
|
|
Re[6]: tagsHello Sava,
stmo> Well, currently it is a tad complicated as you would have to go and take a stmo> look at template_engine/metaclasses/MetaSubtitle.php stmo> class... more precisely the ProcessImageLink() function. There's where stmo> the table+image+caption are defined. Holman says it's not a paragon of stmo> clarity, so please make sure to back up the original file before stmo> experimenting. stmo> The good news is that those features are already on the 3.4 roadmap: stmo> http://trac.campware.org/campsite/ticket/2521 stmo> http://trac.campware.org/campsite/ticket/2958 Thanks for the info! I'd never have found that one on my own ;-) I'll see what I can do myself. And no problem, by now I've a test version running in a sandbox on my PC. ;-) Cheers, Pippa |
|
|
image templatingHello Sava,
stmo> Well, currently it is a tad complicated as you would have to go and take a stmo> look at template_engine/metaclasses/MetaSubtitle.php stmo> class... more precisely the ProcessImageLink() function. There's where stmo> the table+image+caption are defined. Holman says it's not a paragon of stmo> clarity, so please make sure to back up the original file before stmo> experimenting. Just to report back - changing the hspace and vspace to 0 was no problem and now I can style the padding via CSS very exactly. I so far couldn't pinpoint the reason for the table cell not wrapping the text, but will see what I can do via CSS or HTML. As a note to those working on this for future versions: please pull something this important (for templating) from hardcoded files. The webmaster/admin of a site should be able to set something like this at least in the admin interface or within the templates (via CSS). That way the average editor/reporter needn't bother with it, while the site owner can have it set according to his own needs. Personally I would prefer being able to assign specific templates or rather types to images, which I can define and preset. E.g.: - thumbnails (with a possibility for popup images) - inline article images (with values set by the admin with or without caption) - section images (excerpts or thumbnails or whole pictures) displayed on section pages - images for which a URI can be set, so that they can be used instead of introductory text And all that so that the reporter himself can choose between these variants (without having to specify anything else but what he wants as image) while writing his article. It also should be possible to assign the images specific CSS classes like "image_left", "image_right" or "gallery". That way CSS could be individually assigned to where in the text or what for an image is used. I once again recommend having a look at Soderlind's OS old Wordpress Imagemanager plugin, which enabled just that. Possibly some of his code can be reused or serve as a sample. Also a question - I saw that you plan to implement RSS and web 2.0 features in Campsite. When do you - roughly - expect this to be available? Cheers, Pippa |
|
|
Date in calendarHi!
In the version Campsite 3.3.2-rc2 "Speedy" we can't get the Publish date changed in the article form. The calendar doesn't open at all and there is no other wayto access to edit the date! Bug? Any correction? Sanna @ Gene |
|
|
Re: Date in calendarCreation date calendar opens and looks like saves as well but we
should be able to change the Publich date and that button for calendar doesn't even work... On 28.8.2009, at 11.01, Generare Management Department wrote: > Hi! > > In the version Campsite 3.3.2-rc2 "Speedy" > we can't get the Publish date changed in the article form. > The calendar doesn't open at all and there is no other wayto access > to edit the date! > > Bug? Any correction? > > Sanna @ Gene |
|
|
Image attachments not workingHi,
I was trying to attach an image and it goes to the server folder of images but does not get linked with the article. REPORT We are sorry, but there was a problem sending your bug report. Please take a minute to send us an email. Simply copy and paste the error report below and send it to: campsite-support@... . Thank you. Error Report Email: management@... Description: trying to add a picture to the site Error ID: 2:Campsite:3.3.2-rc2:Image.php:520 Error String: chmod() [function.chmod]: Operation not permitted Time: Fri, 28 Aug 2009 11:15:16 +0300 Backtrace: camp_report_bug() called at [:] chmod() called at [/home/webadmin/ xyz.fi/html/classes/Image.php:520] Image::OnImageUpload() called at [/ home/webadmin/xyz.fi/html/admin-files/articles/images/do_add.php:54] require_once() called at [/home/webadmin/xyz.fi/html/admin.php:136] |
|
|
Re: Image attachments not workingHi,
Looks like a permissions issue... hum, although it is weird because apache user was able to write the image in filesystem, so in theory it should be able to change permissions for the file. I'll take care of this, thank you for reporting. Best, On Fri, Aug 28, 2009 at 3:18 AM, Generare Management Department<management@...> wrote: > Hi, > > I was trying to attach an image and it goes to the server folder of images > but does not get linked with the article. > > REPORT > We are sorry, but there was a problem sending your bug report. > Please take a minute to send us an email. > > Simply copy and paste the error report below and send it to: > campsite-support@.... > > Thank you. > > > Error Report > Email: management@... Description: trying to add a picture to the > site Error ID: 2:Campsite:3.3.2-rc2:Image.php:520 Error String: chmod() > [function.chmod]: Operation not permitted Time: Fri, 28 Aug 2009 11:15:16 > +0300 Backtrace: > camp_report_bug() called at [:] chmod() called at > [/home/webadmin/xyz.fi/html/classes/Image.php:520] Image::OnImageUpload() > called at > [/home/webadmin/xyz.fi/html/admin-files/articles/images/do_add.php:54] > require_once() called at [/home/webadmin/xyz.fi/html/admin.php:136] > -- /holman |
|
|
Re: Date in calendarPlease upgrade to 3.3.2, I remember I fixed some date related bugs but maybe these fixes were not in rc2.
Mugur On Fri, Aug 28, 2009 at 11:01 AM, Generare Management Department <management@...> wrote: Hi! |
|
|
Re: Image attachments not workingchmod returns error when the file it is run against is not owned by the user running chmod; quite convoluted description but I hope it's understandable. That means the files created by apache are not owned by the apache user - apache is run in suexec mode. The quick fix for this would be to edit the Image.php file from classes directory and comment the line 520:
chmod($thumbnail, 0644); to: // chmod($thumbnail, 0644); We'll have to think of a more permanent and proper fix... Mugur On Fri, Aug 28, 2009 at 11:18 AM, Generare Management Department <management@...> wrote: Hi, |
|
|
Re: image templatingHi Pippa,
pippa <pippaschatz@...> wrote on 08/28/2009 08:26:29 AM: > Just to report back - changing the hspace and vspace to 0 was no > problem and now I can style the padding via CSS very exactly. > > I so far couldn't pinpoint the reason for the table cell not wrapping > the text, but will see what I can do via CSS or HTML. So far so good then. Please keep us posted on the progress. > As a note to those working on this for future versions: please pull > something this important (for templating) from hardcoded files. The > webmaster/admin of a site should be able to set something like this at > least in the admin interface or within the templates (via CSS). That > way the average editor/reporter needn't bother with it, while the > site owner can have it set according to his own needs. Yes, that's exactly what's planned for 3.4 ( http://trac.campware.org/campsite/ticket/2521). Please feel free to add more detail to that ticket. > Personally I would prefer being able to assign specific templates or > rather types to images, which I can define and preset. E.g.: > - thumbnails (with a possibility for popup images) > - inline article images (with values set by the admin with or without > caption) > - section images (excerpts or thumbnails or whole pictures) displayed > on section pages > - images for which a URI can be set, so that they can be used instead > of introductory text > And all that so that the reporter himself can choose between these > variants (without having to specify anything else but what he wants as > image) while writing his article. It also should be possible to assign > the images specific CSS classes like "image_left", "image_right" or > "gallery". That way CSS could be individually assigned to where in the > text or what for an image is used. I believe (someone more knowledgeable should step in here) a lot of this is doable already now via image numbers, e.g. you can do something like this: :<div align="right"> <img src="{{ uri options="image 2" }} /></div> And a lot more will be available once we relase the new thumbnail features Holman has implemented. Of course, the whole process should be much more intuitive to the reporter (the image numbers are an old workaround used by Campsite templaters from time immemorial :). And I'd definitely like to have that in the 3.4 series. > I once again recommend having a look at Soderlind's OS old Wordpress > Imagemanager plugin, which enabled just that. Possibly some of his > code can be reused or serve as a sample. I already took a look at it and it definitely has some very interesting features. We just have to think of where to "park" such functionality, so it fits well with the general logic of image management in Campsite. > Also a question - I saw that you plan to implement RSS and web 2.0 > features in Campsite. When do you - roughly - expect this to be > available? What particular tickets? (This: http://trac.campware.org/campsite/ticket/2506 ? or something else?) All the best, Sava |
|
|
Re: Date in calendarI think if you click the creation date calendar after publishing and
enter a date it actually changes the publish date, even if it looks like you're editing the creation date. But I don't have the same version. 2009/8/28 Mugur Rus <mugur.rus@...>: > Please upgrade to 3.3.2, I remember I fixed some date related bugs but maybe > these fixes were not in rc2. > > Mugur > > On Fri, Aug 28, 2009 at 11:01 AM, Generare Management Department > <management@...> wrote: >> >> Hi! >> >> In the version Campsite 3.3.2-rc2 "Speedy" >> we can't get the Publish date changed in the article form. >> The calendar doesn't open at all and there is no other wayto access to >> edit the date! >> >> Bug? Any correction? >> >> Sanna @ Gene > > |
|
|
Re: Date in calendarSebastian Olsson <sebastian.olsson@...> wrote on 08/29/2009 02:25:36 AM: > I think if you click the creation date calendar after publishing and > enter a date it actually changes the publish date, even if it looks > like you're editing the creation date. But I don't have the same > version. This was indeed fixed in the official release of 3.3.2 ( http://trac.campware.org/campsite/ticket/2966). It was a minor bug with that input field. For those who haven't upgraded, the workaround is to delete the whole date, then enter the desired date. All the best, Sava |
| < Prev | 1 - 2 | Next > |
| Free embeddable forum powered by Nabble | Forum Help |