Search found 62 matches

by Sendlingur
Wed Oct 09, 2019 1:10 pm
Forum: CMSMS Core
Topic: using {$entry->Picfolder} in an {assign} not working?
Replies: 3
Views: 1268

Re: using {$entry->Picfolder} in an {assign} not working?

Thanks Rolf of course it is double quotes :). The path is right now. But for some reason it looks like this <img src="https://mypage.com/uploads/images/projectx/*.jpg" width="600" height="600" alt=""> it is reading the jpg as " *.jpg ". Why is that?
by Sendlingur
Wed Oct 09, 2019 11:51 am
Forum: CMSMS Core
Topic: using {$entry->Picfolder} in an {assign} not working?
Replies: 3
Views: 1268

using {$entry->Picfolder} in an {assign} not working?

I'm trying to access a folder which contains images. The user inserts the name of the folder to a custom field in the News module. In the news detail template I have this to loop through the images in the folder. But for some reason that I haven't figured out it is like the path doesn't get assigned...
by Sendlingur
Wed Oct 09, 2019 9:33 am
Forum: CMSMS Core
Topic: unable to access image folder
Replies: 4
Views: 1784

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: 1784

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: 1207

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: 996

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: 996

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: 759

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: 1275

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: 1275

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: 823

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...
by Sendlingur
Wed Jun 26, 2019 9:32 am
Forum: CMSMS Core
Topic: feed.rss not found on this server !!!
Replies: 4
Views: 1274

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: 1274

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 40...
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: 1061

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->...
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: 1061

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 w...

Go to advanced search