Search found 60 matches

by Sendlingur
Wed Oct 09, 2019 9:33 am
Forum: CMSMS Core
Topic: unable to access image folder
Replies: 4
Views: 722

Re: unable to access image folder

I'm aware of that, I've tried all kinds of paths but with out any luck.
Could you please guide me on what would be the correct modification to access the image folder?
by Sendlingur
Tue Oct 08, 2019 11:35 am
Forum: CMSMS Core
Topic: unable to access image folder
Replies: 4
Views: 722

unable to access image folder

I'm trying to display images from this folder uploads/images/mypicfolder to do that I'm using this snippet, which I got from https://cmscanbesimple.org/blog/list-images : $url = isset($params['/uploads/images/ ']) ? $params['/uploads/images/ '] : ''; $dir = cmsms()->config['root_path'] . DIRECTORY_S...
by Sendlingur
Fri Sep 20, 2019 5:08 pm
Forum: CMSMS Core
Topic: search results links should not use default template
Replies: 3
Views: 560

search results links should not use default template

I'm using the search module on my page. I have a results page that displays the search results. The search searches through the news module and displays the title as a link to the page. My problem is that I have different details page for each news category and when the user hits a link on the searc...
by Sendlingur
Wed Sep 04, 2019 1:11 pm
Forum: CMSMS Core
Topic: Is it possible to customize the News module backend view??
Replies: 3
Views: 469

Re: Is it possible to customize the News module backend view

thank you so much Rolf I'll check those tuts out.
by Sendlingur
Wed Sep 04, 2019 11:25 am
Forum: CMSMS Core
Topic: Is it possible to customize the News module backend view??
Replies: 3
Views: 469

Is it possible to customize the News module backend view??

Hi all I've few categories in my news module. Each is for different types of article. Some categories uses a lot of custom fields for images, addon text, etc. but articles in other categories are not using the custom fields. So my question is: Is it possible to customize the Backend vies of the News...
by Sendlingur
Fri Aug 23, 2019 4:02 pm
Forum: CMSMS Core
Topic: problem to add file path to javascript variable
Replies: 1
Views: 394

problem to add file path to javascript variable

I've been spending most of my day trying to figure out how to pass a filepath to a javascript variable in an external .js file. I have done this before in a plain .php / .js files, but never in CMSMS. What I need is to get the path from this file {$entry->file_location}/{$fields.Audio1->displayvalue...
by Sendlingur
Mon Aug 12, 2019 3:51 pm
Forum: CMSMS Core
Topic: showing children on parent page?
Replies: 3
Views: 604

Re: showing children on parent page?

if I do "{Navigator childrenof=$page_alias}" it generates the whole menu. But I only want to see the children of one specific page.
by Sendlingur
Mon Aug 12, 2019 2:28 pm
Forum: CMSMS Core
Topic: showing children on parent page?
Replies: 3
Views: 604

showing children on parent page?

I'm wondering..... is there a way to display all child pages of parent page on the parent page?
by Sendlingur
Wed Jun 26, 2019 9:39 am
Forum: CMSMS Core
Topic: changing urls path????
Replies: 1
Views: 364

changing urls path????

I have a url to a rss feed "www.mypage.com/index.php?page=feed.rss" is it possible to change the url to "www.mypage.com/?page=feed.rss". I'm asking because this page was updated few days ago from cmsms 1.x to cmsms 2.x and I would like to keep the old path to the rss feed. on the old version the pat...
by Sendlingur
Wed Jun 26, 2019 9:32 am
Forum: CMSMS Core
Topic: feed.rss not found on this server !!!
Replies: 4
Views: 585

Re: feed.rss not found on this server !!!

No I don't have pretty urls installed.

it was an cache issue. it is working now.

I still have the feed.rss in the alias and the feed is working.

where can I find the "page URL" field under Options? I only see "page alias"?
by Sendlingur
Tue Jun 25, 2019 4:14 pm
Forum: CMSMS Core
Topic: feed.rss not found on this server !!!
Replies: 4
Views: 585

feed.rss not found on this server !!!

I'm implementing a RSS feed to my page. I always get 404 not found when I click the link to the page. I'm totally lost here and I have tried to do all fixes that I have thought of. I'm using the News module and in general this is working but when I add ".rss" to the page alias I get the 404. below i...
by Sendlingur
Thu May 23, 2019 4:06 pm
Forum: CMSMS Core
Topic: if file exists show it, if not don't show anything
Replies: 2
Views: 524

Re: if file exists show it, if not don't show anything

Ok I figured this Out. I made it work by doing the following: {capture name="cust_img"}{$entry->fields.Image2->displayvalue}{/capture} {if empty($smarty.capture.cust_img)} {else} <div class="col-md-6"> <img src="{$entry->file_location}/{$fields.Image2->displayvalue}{$entry->fields.Image2->displayval...
by Sendlingur
Thu May 23, 2019 3:34 pm
Forum: CMSMS Core
Topic: if file exists show it, if not don't show anything
Replies: 2
Views: 524

if file exists show it, if not don't show anything

I'm using this snippet to display file in a div if it exist. {if file_exists($entry->fields.Image2)} <div class="col-md-6"> <img src="{$entry->file_location}/{$fields.Image2->displayvalue}{$entry->fields.Image2->displayvalue}" class="img-responsive"> </div> {/if} if I write it this way the image is ...
by Sendlingur
Wed May 22, 2019 3:32 pm
Forum: CMSMS Core
Topic: troubles with {if}]{elseif}{else}
Replies: 1
Views: 431

troubles with {if}]{elseif}{else}

I've been trying to make this if statement work as I want it to: it is a part of a bigger loop that iterates through a bunch of articles. If $entry->fields is empty it should get an image from {$entry->file_location} If $entry->fields is still empty after that the code should look for image in the c...
by Sendlingur
Fri Mar 15, 2019 9:48 am
Forum: Modules/Add-Ons
Topic: how to not display img tag if image don´t exists
Replies: 2
Views: 674

Re: how to not display img tag if image don´t exists

Thank you so much, this works perfectly :)

Go to advanced search