Search found 48 matches

by pWorker
Tue Oct 04, 2016 11:26 am
Forum: Modules/Add-Ons
Topic: CROP news file upload
Replies: 14
Views: 5717

Re: CROP news file upload

Hey friends, there is a fatal error in my hdd, so i have to use a rent pc for the next days... (perfectly timed). It sounds doable. I`ll give it a try by myself, otherwise i`m going to spend money. While i was waiting for my pc to be fixed, i did research about cg smartimage. Isn`t it possible (how...
by pWorker
Fri Sep 23, 2016 12:42 pm
Forum: Modules/Add-Ons
Topic: CROP news file upload
Replies: 14
Views: 5717

Re: CROP news file upload

Hey velden, Another idea: why don't you allow the submission of the original image and send the cropping coordinates in other fields. Then use that data to manipulate the uploaded image server-side? that would be the top solution, because: I need the cropped image only as preview image, and the ori...
by pWorker
Fri Sep 23, 2016 10:23 am
Forum: Modules/Add-Ons
Topic: CROP news file upload
Replies: 14
Views: 5717

Re: CROP news file upload

Hi, thanks for your responses. Well, as i could understand so far, i would have to manipulate the action.editarticle.php file, and there, i have to adjust the logic for the custom fields. Is it possible to set the value of a specific custom_field (type multipart) (if isset) to be the src attribute ...
by pWorker
Thu Sep 22, 2016 1:58 pm
Forum: Modules/Add-Ons
Topic: CROP news file upload
Replies: 14
Views: 5717

Re: CROP news file upload

Hi velden, very good hint with the event manager, i didnt even noticed it before ... Perhaps it's possible to submit the base64 as a string by a hidden form field and use a UDT (called by those events) to create a file from it. Or if dimensions are ok just use the base64 itself in a data uri That`s...
by pWorker
Thu Sep 22, 2016 10:00 am
Forum: Modules/Add-Ons
Topic: CROP news file upload
Replies: 14
Views: 5717

Re: CROP news file upload

Code (editarticle.tpl): <__script__ type="text/javascript"> $(document).ready(function () { $('[name$=apply],[name$=submit]').hide(); $('#edit_news').dirtyForm({ onDirty : function () { $('[name$=apply],[name$=submit]').show('slow'); } }); $(document).on('cmsms_textchange', function (even...
by pWorker
Thu Sep 22, 2016 9:42 am
Forum: Modules/Add-Ons
Topic: CROP news file upload
Replies: 14
Views: 5717

Re: CROP news file upload

Hi velden, thanks for your answer. I have to say, sometimes i`m really disappointed of the cmsms functionality. The custom cropping of an image shouldn`t be an issue in 2016, think of all social media platforms where it is set as standard... All plugins i saw, only support postprocessing of uploade...
by pWorker
Tue Sep 20, 2016 2:23 pm
Forum: Modules/Add-Ons
Topic: CROP news file upload
Replies: 14
Views: 5717

CROP news file upload

Hi all, is there an efficient way to implement jCrop to the editarticle section of the news module (also for Frontend)? I want to jCrop if a selection of an image has be done and the result shall be stored as field->value to the db. Or are there other ways to implement custom cropping? Main Problem...
by pWorker
Mon Sep 19, 2016 9:02 am
Forum: Tips and Tricks
Topic: news browsecat by $node.PARAM
Replies: 0
Views: 2283

news browsecat by $node.PARAM

Hey, i`m manipulating the news module at the moment (filter- and sortfunctions will follow) and this easy trick helps to filter by the $node. values: .news_category_id (string) = 1 .news_category_name (string) = General .parent_id (string) = -1 .hierarchy (string) = 00001 .item_order (string) = 1 ....
by pWorker
Mon Sep 19, 2016 8:06 am
Forum: Modules/Add-Ons
Topic: cgsimple question
Replies: 1
Views: 1006

Re: cgsimple question

Hey,

that works for me:

{cgsimple::get_page_title([$aboutsummary])}

{cgsimple::get_page_title(aboutsummary)}

Original module hint:

Code: Select all

The title of the current page is {cgsimple::get_page_title()}
mfg
by pWorker
Fri Sep 16, 2016 9:08 am
Forum: Modules/Add-Ons
Topic: More News items on display?
Replies: 3
Views: 1701

Re: More News items on display?

{news number='6'} = 6 articles (default sort order)
{news number='12' pagelimit='6'} = 2 pages a 6 articles

::)
by pWorker
Fri Sep 16, 2016 9:02 am
Forum: Modules/Add-Ons
Topic: CGBlog - Show Empty Categories in Browse Category Template
Replies: 3
Views: 1167

Re: CGBlog - Show Empty Categories in Browse Category Templa

Hi, In my opinion your code is correct as it is ... is the template set as default browsecat template in the CGBlog template tab? Otherwise just add {browsecattemplate="YOURTEMPLATE"} within your {cgblog} call. If that doesn`t help, add {get_template_vars} at the end of that template. The...
by pWorker
Mon Sep 12, 2016 12:33 pm
Forum: Modules/Add-Ons
Topic: NEWS displayed on another webpage
Replies: 2
Views: 1149

Re: NEWS displayed on another webpage

[solved]:

Because of the fact, that both pages would use cmsms, i`m now using MultiDomains-Module. Now i can handle multiple domains with one cmsms installation. Got it setupped in minutes.

Hope it also helps someone else.
by pWorker
Mon Sep 12, 2016 7:57 am
Forum: Modules/Add-Ons
Topic: NEWS displayed on another webpage
Replies: 2
Views: 1149

Re: NEWS displayed on another webpage

Nobody? I`m now looking for a solution for my Problem: I have NEWS on my website, global News as you could say. Now, I have another website on which specific NEWS content from the global page has to be shown. Which is the best way to share content (There are 2 different domains, but installation co...
by pWorker
Fri Sep 09, 2016 11:28 am
Forum: Modules/Add-Ons
Topic: CGBlog - Show Empty Categories in Browse Category Template
Replies: 3
Views: 1167

Re: CGBlog - Show Empty Categories in Browse Category Templa

Hi, i think it`s written in your CGBlog-standard-browsecat-template. There has to be an {if} condition in the for each loop which only gives you a linked entry back if count>0. If you change that condition, you will have to convert (the then created) empty categories entries in spans without or wit...
by pWorker
Fri Sep 09, 2016 10:52 am
Forum: Modules/Add-Ons
Topic: NEWS displayed on another webpage
Replies: 2
Views: 1149

NEWS displayed on another webpage

Hey all, i have a problem (cmsms 2+): I want to display news from http://www.a.de at http://www.b.de . A solution was to include (via php Udt) a separate page content from http://www.a.de , but this has to be allowed by the embed_url setting which is not adviced to change for security reasons. Warn...

Go to advanced search