Discussions
Activity
Sign In
How it works
Mugur Rus
Activity
Discussions
8
Comments
124
Link to contact form
Use: {{ local }} {{ unset_language }} {{ /local }} Mugur Rus Senior Software Developer, Sourcefabric mugur.rus@sourcefabric.org Cluj-Napoca, Romania +40 (0)720 528408 Skype: mugur_rus http://www.sourcefabric.org http://www.twitt…
Comment by
Mugur Rus
October 2010
permalink
Cannot upgrade to 3.4.3
Basically you would need to just list articles from the latest issue; you may select only articles that go to the front page. E.g.: {{ list_articles constraints="OnFrontPage is on" }} You should: 1. prepare a template for the…
Comment by
Mugur Rus
October 2010
permalink
constraints syntax for
Let's say you have an article type named "News" and it has a dynamic field "event_date" of type date. In the articles list you can insert this condition: {{ list_articles constraints="News event_date greater 2010-0…
Comment by
Mugur Rus
October 2010
permalink
Automatically image resize when attach new images
" Does this conversion takes place in real time ?" Yes, the resized image file will not be generated until the first request for the image. So you need to go to the frontend and view the article page. Mugur Rus Senior Software Devel…
Comment by
Mugur Rus
October 2010
permalink
Multiple Publications on same database and installation
Don't use sync to create new instances, this will just crash your sites. Campsite has config files that set paths for include files, templates etc., set the database access parameters etc. Your 2 separate instances have identical config file…
Comment by
Mugur Rus
October 2010
permalink
Automatically image resize when attach new images
> Editor Settings: > Image Resizing Ratio: 100% > Image Resizing Width: 640 pixels There is the problem: if set, image resizing ratio is used regardless of the other resizing options. So just set the image resizing ratio to 0. Mugur …
Comment by
Mugur Rus
October 2010
permalink
Automatically image resize when attach new images
Please check if the following path exists in the Campsite directory: images/image_cache/derivates Inside it you should find directories with names like "350x0", "350x270", depending on your image resize settings. Mugur …
Comment by
Mugur Rus
October 2010
permalink
Search articles with specific date
Use the following statements inside the search form: {{ camp_edit object="search" attribute="start_date" }} {{ camp_edit object="search" attribute="end_date" }} They create date input fields for start and…
Comment by
Mugur Rus
October 2010
permalink
Tip: Google Analytics filters for Facebook referrers
I don't see what can we do in Campsite since these URLs are generated externally and located on external sites. Mugur Rus Senior Software Developer, Sourcefabric mugur.rus@sourcefabric.org Cluj-Napoca, Romania +40 (0)720 528408 Skype…
Comment by
Mugur Rus
October 2010
permalink
About search in Campsite
1. Is it possible search for part of word ("tr" instead "tree")? Now full word only? not yet 2. Need more information for in search_form. How to set search scope? Read this: http://en.flossmanuals.net/Campsite/CreatingAS…
Comment by
Mugur Rus
October 2010
permalink
Short Path vs Template Path
Switch to short URL and use the tpl parameter for choosing a certain template. E.g.: http://site.com/?tpl=214 Get the template identifier from the admin interface: menu->configure->templates. The template identifier is listed in the …
Comment by
Mugur Rus
September 2010
permalink
Automatically image resize when attach new images
Images are resized and saved locally - this is transparent to the user; Campsite serves the resized version of the image (e.g. 600x400) - not the original file (e.g. 1800x1200). Mugur Rus Senior Software Developer, Sourcefabric mugur.rus@sour…
Comment by
Mugur Rus
September 2010
permalink
Short Path vs Template Path
Yes, you can switch between these URL types anytime you want. But it's better to use just one of them after you go public. The template path URL was maintained only for backward compatibility and was not tested so thoroughly - it may have …
Comment by
Mugur Rus
September 2010
permalink
Automatically image resize when attach new images
You can: - set the default resize width/height for all your article attached images from the menu->system preferences (see "Image Resizing Width" and "Image Resizing Height" fields) - set the width/height for each image wh…
Comment by
Mugur Rus
September 2010
permalink
Picture preview
"I can not see any circled icon !" Sorry, I forgot to attach the screenshot in which I circled the icon to use. Mugur Rus Senior Software Developer, Sourcefabric mugur.rus@sourcefabric.org Cluj-Napoca, Romania +40 (0)720 528408…
Comment by
Mugur Rus
September 2010
permalink
Picture preview
Dear George, First you need to attach an image to the article using the image "Attach" link. Campsite will ask you to assign it a number. Next you can embed an image in the text (see the circled icon in the image attachment) or you…
Comment by
Mugur Rus
September 2010
permalink
Presentation layer cache
"You should understand the differences between opcode caching and data caching. Each shared hosting has some opcode cacher (apc, zend etc) but with disabled data caching" Andrey, you were talking about the db layer caching, here are you…
Comment by
Mugur Rus
September 2010
permalink
Presentation layer cache
"1. APC is not enabled on shared hosting. 2. APC is unstable on Virtual Servers which based on linux containers (like openvz/virtuozzo, lxc)." Writing a Campsite driver for another PHP cache engine (xcache, eaccelerator etc.) is a *1 ho…
Comment by
Mugur Rus
September 2010
permalink
Facebook Share
Edit the file classes/Article.php, go to line 1320 in method Article::setWorkflowStatus(): 1317 if (!parent::setProperty('Published', $p_value)) { 1318 return false; 1319 } 1320 1321 CampCache::singleton()->clear('user'…
Comment by
Mugur Rus
September 2010
permalink
Plug-in Documentation
Please install Campsite with the default demo templates, go to the admin menu -> Configure -> Templates and open the following folders: - classic/tpl/blog - classic/tpl/poll There you can find templates to display blogs and polls and you…
Comment by
Mugur Rus
September 2010
permalink
source_editor.htm can't be found
1. Install Campsite on another virtual host (test host) 2. Backup your site from the production host 3. Restore the backup on the test host 4. Upgrade the test host 5. Set the publication alias for the test host in order to be able to test it …
Comment by
Mugur Rus
September 2010
permalink
source_editor.htm can't be found
3.4 is backward compatible with 3.3 and includes quite a few bug fixes. I suggest you make a clone of your site upgrade the clone. If everything works there then you can safely upgrade on the server. Mugur On Sun, Aug 29, 2010 at 9:31 AM, ew…
Comment by
Mugur Rus
August 2010
permalink
failed to upgrade campsite
Clear the Requests and Sessions tables and redo the backup. Mugur Rus Senior Software Developer, Sourcefabric mugur.rus@sourcefabric.org Cluj-Napoca, Romania +40 (0)720 528408 Skype: mugur_rus http://www.sourcefabric.org http://www.twi…
Comment by
Mugur Rus
August 2010
permalink
Submiting fixes
Hi Normando, You could checkout the git repository, make your changes send submit them as a patch - git has good possibilities on this. Or you could publish your git repository and ask as to pull the changes. Mugur On Thu, Jul 22, 2010 …
Comment by
Mugur Rus
July 2010
permalink
Tired of installing site
Please clean up the directory and install 3.4.0 from sources. Please paste here the error you see in your browser. Mugur On Sat, Jul 17, 2010 at 5:53 PM, abbus00 < campsite-support@lists.sourcefabric.org> wrote: > hi > &g…
Comment by
Mugur Rus
July 2010
permalink
Installation failed on windows machine
Dear Francesc, Thank you for your help! I made the following changes to the CampInstallationBase.php file: http://code.sourcefabric.org/changelog/campsite/?cs=14373318 ed900c3bb8e614cb7dde56a84e5d5129 I attached it here too. Please check …
Comment by
Mugur Rus
July 2010
permalink
No more plugins demo data?
Indeed, they were in 3.3 but I forgot to save the plugins data after upgrading the database to 3.4. Thank you very much for your help! Mugur Rus Senior Software Developer, Sourcefabric mugur.rus@sourcefabric.org Cluj-Napoca, Romania +40…
Comment by
Mugur Rus
July 2010
permalink
No more plugins demo data?
There are no blogs in the demo data. Mugur Rus Senior Software Developer, Sourcefabric mugur.rus@sourcefabric.org Cluj-Napoca, Romania +40 (0)720 528408 Skype: mugur_rus http://www.sourcefabric.org http://www.twitter.com/Sourcefabric …
Comment by
Mugur Rus
July 2010
permalink
No more plugins demo data?
Please make sure that the admin user type has the right to manage plugins, polls, interviews and blogs in the user types permissions screen (menu->users->staff user types) Mugur On Tue, Jul 6, 2010 at 7:42 PM, Normando Hall < cam…
Comment by
Mugur Rus
July 2010
permalink
List articles with more than one article type
"1- I have Imagemagick in my server, so the thumbnails are resize ok. But these resized images are useful only for admin area?" Thumbnails are reused if linked from the frontend. In 3.4 you can set the image width/height. E.g.: &qu…
Comment by
Mugur Rus
July 2010
permalink
More Comments
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Stop following
About
Username
Mugur Rus
Joined
April 2010
Visits
0
Last Active
January 2015
Roles
Member
Posts
132
Friends
Followed by 2 people
My Badges
Total Points: 95
Top Posters
Albert FR
1978
Martin Konecny
1860
Andrey Podshivalov
1526
Voisses Tech
1423
John Chewter
899
Daniel James
844
Roger Wilco
784
hoerich
627
Paul Baranowski
389
Cliff Wang
339