Discussions
Activity
Sign In
How it works
ljuba rankovic
Activity
Discussions
2
Comments
154
Modification of user profile in sidebar for New Custodian
Thanks Ruslan, we're going to include this change into next version of New Custodian
Comment by
ljuba rankovic
April 2013
permalink
rss image size
To have better control of image sizes in rss, you can use existing image renditions, or create new one just for this purpose. Rendition definition is created in theme.xml file, and then you also need to go to Configure/Image rendering and press butt…
Comment by
ljuba rankovic
April 2013
permalink
How to group query result?
Check here: https://wiki.sourcefabric.org/display/NsLingo/List+of+Issues Ordering options: = byNumber desc|ascbyName desc|ascbyDate desc|ascbyCreationDate desc|ascbyPublishDate desc|asc Order conditions are self-explanatory; byDate and byCreat…
Comment by
ljuba rankovic
April 2013
permalink
Comment Submit HTTP Error 500 (Internal Server Error): An unexpected condition was encountered
Hi,code looks ok (I would just suggest using {{ recaptcha }} instead of this {{ camp_edit object="captcha" attribute="code" html_code="id=\"comment-code\" tabindex=\"5\"" }} . For this to work, you …
Comment by
ljuba rankovic
March 2013
permalink
sidebar-most.tpl
Newscoop reference: https://wiki.sourcefabric.org/display/NsLingo/Newscoop+Template+Reference Smarty 3: http://www.smarty.net/docs/en/ Newscoop 3.5 cookbook: http://www.flossmanuals.net/newscoop-3-cookbook-3-5-2/ also, sample themes (New Custodian)…
Comment by
ljuba rankovic
March 2013
permalink
sidebar-most.tpl
You can do like this: {{ assign var="mydate" value=strtotime('-1 day') }} {{ $mydate=$mydate|date_format:'%Y-%m-%d' }} and then ad to list constraints date condition: list_articles length="5" ignore_secti…
Comment by
ljuba rankovic
March 2013
permalink
Fresh 4.1 install - Changing theme breaks layout
Problem is probably in image renditions that are not the same in these two themes. If this is the case, solution is easy - go to Configure / Image rendering and then choose option 'Reload renditions'.
Comment by
ljuba rankovic
March 2013
permalink
Multilanguage questions
Hello, multilinguality in Newscoop means that you can have all (or part of) content translated into other language(s). You don't need to create new publication (publications, in the end, must have different urls - site aliases). You can do thi…
Comment by
ljuba rankovic
March 2013
permalink
Captcha-code for comments
Hi,if you don't want to use reCaptcha there is still option to use Captcha inside Newscoop. You would need to adjust your comments template - instead of {{ recaptcha }} put {{ camp_edit object="captcha" attribute="code" …
Comment by
ljuba rankovic
February 2013
permalink
"Previous" and "Next" article links inside an article
Hi, here is an old solution developed for the client with just a few articles per section (meaning it can be optimized, especially for situations when section has lot of articles), try to play with it. The idea is to make a list of articles, remembe…
Comment by
ljuba rankovic
February 2013
permalink
Problems Finding Templates Location
Hi, look at /themes folder, you will see publication_1 or whatever id your pub is, and inside it theme_1 (or 2, 3... depending on whether you assigned more themes to that publication or not)
Comment by
ljuba rankovic
February 2013
permalink
Can we receive an email alert when someone submits a comment on an article?
Yes - in publication configuration (Content / Publications in main menu, then configure icon in the row of your pub) there is field 'moderator address' where all submitted comments should go.
Comment by
ljuba rankovic
February 2013
permalink
Changing things...
Ok then try to apply new color code to #container div on line 548
Comment by
ljuba rankovic
February 2013
permalink
Changing things...
Hi,colors are mostly defined in _css/colors.css; body-background declaration is in style.css, line 357. These thing you can easily find with FireBug extension for Firefox, or in Chromium on right-click by choosing 'inspect element'.
Comment by
ljuba rankovic
February 2013
permalink
Перестало отображаться содержимое публикуемых статей
Hello Timur, if you were changing field names in article type definitions, then you also need to change templates - for example if your field was called 'body' and now you call it 'full_text', you need to find all appearances of…
Comment by
ljuba rankovic
February 2013
permalink
direct link to article
yes. {{ set_article number="xxx" }} {{ uri options="article" }} you may want to wrap this in {{ local }} ... {{ /local }} to avoid changing the global context
Comment by
ljuba rankovic
December 2012
permalink
direct link to article
Hi,inside list of articles (or in another context where article is defined) you just need to say{{ uri options="article" }} and your article will be opened in template which is set as article template in your theme's settings
Comment by
ljuba rankovic
December 2012
permalink
Article is published but it shows 0 reads
Hi,in that article type you need to check 'is content' switch next to the main text field, only then it will collect statistics
Comment by
ljuba rankovic
November 2012
permalink
Home
Hi, if I understand correctly you have upgraded existing publication from 3.5.5 to 4.0.2 and then tried to apply New Custodian theme to it. The situation is that New Custodian and Rockstar are built to work with specific article types ('news…
Comment by
ljuba rankovic
November 2012
permalink
Subtitles (subheads) for long articles: splitting up into smaller chunks
'with' thing is changed now with {{ list_subtitles field_name="full_text" }} You can create bulleted list of subtitles with links like this {{ $gimme->subtitle->name }} (this should go inside list_subtitles from previo…
Comment by
ljuba rankovic
October 2012
permalink
Subtitles (subheads) for long articles: splitting up into smaller chunks
Splitting is done inside editor using 'subhead' option, and in templates this might work {{ if $gimme->article->subtitles_count(full_text) gt 1 }} {{ list_subtitles field_name="full_text" }} {{ if…
Comment by
ljuba rankovic
October 2012
permalink
DISQUS commenting?
Yes you can use Disqus or Facebook commenting systems easily; every article on Newscoop has universal number / id (you can access it by {{ $gimme->article->number }} ) and of course universal url ( {{ url options="article" }} ) if yo…
Comment by
ljuba rankovic
August 2012
permalink
Profile Data not being parsed.
There are some commercial implementations, but not yet in sample themes. I will add this as feature request for next version of Sourcefabric sample themes New Custodian and Rockstar.
Comment by
ljuba rankovic
July 2012
permalink
Profile Data not being parsed.
Hi, this is not a bug, it is just one of two possible values of these switches in user profile - it can be turned on (1) or off (0). Now, of course, template can be improved to check if value is 1 or 0 to return something more intuitive, for exampl…
Comment by
ljuba rankovic
July 2012
permalink
strangeness about list_article_topics and list_articles with topic constraint
Did you try the preview mode (from issue list, click 'preview' icon for current issue). Sometimes bottom frame doesn't show parse error even if there are some, so try looking at the top frame's html source - on the bottom of it y…
Comment by
ljuba rankovic
July 2012
permalink
Topic Cloud / list all topics in an issue
Reply to @BAUMANN+Thomas: can you provide login data so I can test?
Comment by
ljuba rankovic
July 2012
permalink
Topic Cloud / list all topics in an issue
Hi,these are all possible constraints inside article list: name number keyword OnFrontPage OnSection upload_date publish_date public type matchAllTopicsmatchAnyTopictopic is|not reads author issue section https://wiki.sourcefabric.o…
Comment by
ljuba rankovic
July 2012
permalink
Topic Cloud / list all topics in an issue
I am not sure but try to add lang parameter after the topic name here {{ list_articles ignore_issue="false" ignore_section="true" constraints="topic is $item['name']:de matchAnyTopic"}}
Comment by
ljuba rankovic
July 2012
permalink
Topic Cloud / list all topics in an issue
You can get list of articles that have specific topic(s) this way: {{ list_articles ignore_issue="true" ignore_section="true" constraints="topic is $topic1 topic is $topic2 matchalltopics" }} there is also option '…
Comment by
ljuba rankovic
June 2012
permalink
item count in list_sections / list_topics / list_articles
{{ $gimme->current_list->count }} is only valid inside the list, but you can either create two lists, first one somethnig like {{ list_articles length="1" }}{{ assign var="no_of_items" value=$gimme->current_list->cou…
Comment by
ljuba rankovic
June 2012
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
ljuba rankovic
Joined
April 2010
Visits
0
Last Active
April 2016
Roles
Member
Posts
156
Friends
Followed by 1 person
My Badges
Total Points: 90
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