Hi All,
So far I've changed the code for the better by using {cms_module module="CGSmartImage" .......} instead of the usual {CGSmartImage}
Not a clue why this helps, but hope it keeps working. I will add solved for now to the post.
Search found 114 matches
- Tue Jul 05, 2011 7:38 am
- Forum: Modules/Add-Ons
- Topic: [SOLVED] CGSmartImage only loads with empty cache
- Replies: 1
- Views: 827
- Sun Jul 03, 2011 4:53 pm
- Forum: Modules/Add-Ons
- Topic: [SOLVED] CGSmartImage only loads with empty cache
- Replies: 1
- Views: 827
[SOLVED] CGSmartImage only loads with empty cache
Hi All (Calguy in particular), I've used CGSmartImage to create thumbnails for the products module. When the cache of the website is cleared, this works beautiful. But after a few minutes the image path keeps clear. No image path is filled. I'm using the following code in Products: {foreach from=$it...
- Sun Jul 03, 2011 4:46 pm
- Forum: Modules/Add-Ons
- Topic: Gallery in Sitemap made simple
- Replies: 0
- Views: 628
Gallery in Sitemap made simple
Hey All, To get my portfolio based on Gallery in the sitemap.xml I added the following code to the sitemap template: {capture assign="junk"}{cms_module module='Gallery' dir='portfolio'}{/capture} {$junk} {foreach from=$images item=image} <url> <loc>{$image->file}</loc> <lastmod>{$image->fi...
- Fri Jul 01, 2011 12:12 pm
- Forum: Dutch - Nederlands
- Topic: [Opgelost] Gallery foreach loop of fields
- Replies: 3
- Views: 972
Re: Gallery foreach loop of fields
Thnx, geen idee waarom ik deze opmaak nog niet geprobeerd had. Op tijd naar bed toe vanavond.
Groeten,
Sande
Groeten,
Sande
- Fri Jul 01, 2011 7:37 am
- Forum: Dutch - Nederlands
- Topic: [Opgelost] Gallery foreach loop of fields
- Replies: 3
- Views: 972
[Opgelost] Gallery foreach loop of fields
Hey allemaal, Gisterenavond heb ik ontzettend zitten klooien met een foreach loop op de custom fields van de Gallery module. Als ik het precies zo doe als voor de images, dan krijg ik geen resultaten: {foreach from=$fields item=field} {$field->url} {/foreach} Als ik een key toevoeg, dan kan ik wel d...
- Fri Jun 10, 2011 12:00 pm
- Forum: Modules/Add-Ons
- Topic: [Gallery] Random image
- Replies: 3
- Views: 1260
Re: [Gallery] Random image
Right, I understand your problem. You're right that you can't solve that with the template. It's something that should be done before de template, while selecting the images. Jos does keep the module nice up to date. So, if you post this request in the forge, there is a good chance he will look into...
- Fri Jun 10, 2011 9:59 am
- Forum: Modules/Add-Ons
- Topic: [Gallery] Random image
- Replies: 3
- Views: 1260
Re: [Gallery] Random image
Hi, Do I understand you right: You only want to show album covers of albums in a random order? The help on Gallery says that it normally only shows pictures in a directory, not subdirs. So when using action="showrandom", it should only show pictures and albums in the root. If you make sure...
- Fri Jun 10, 2011 9:52 am
- Forum: Layout and Design (CSS & HTML)
- Topic: Strange problem
- Replies: 4
- Views: 2112
Re: Strange problem
Hi,
Maybe you could post pictures of what it should look like and what it looks like when it's uploaded? Right now the site looks fine, but maybe I'm not seeing your problem.
Maybe you could post pictures of what it should look like and what it looks like when it's uploaded? Right now the site looks fine, but maybe I'm not seeing your problem.
- Thu Jun 09, 2011 11:11 am
- Forum: Layout and Design (CSS & HTML)
- Topic: Cmsms not saving
- Replies: 5
- Views: 2203
Re: Cmsms not saving
If this is in a WYSIWYG editor, that usually cleans up code before saving. It probably has nothing to do with CMSMS but with TinyMCE. You could put the javascript in a Global Content Block within {literal}{/literal} tags and call the GCB.
Hope this works out for you.
Hope this works out for you.
- Thu Jun 09, 2011 10:34 am
- Forum: Layout and Design (CSS & HTML)
- Topic: [solved] Vertical menu's submenus and styling broken after..
- Replies: 4
- Views: 1970
Re: Vertical menu's submenus and styling broken after upgrad
Hey Mike, Are you using one template for all pages? The menumanager seems to close the <ul> on the subpages. That way the subpages don't get within two <ul> codes, but just one. That's why they all look like top pages. You are using a .tpl template. That means it's a file that gets updated when a ne...
- Thu Jun 09, 2011 10:14 am
- Forum: Layout and Design (CSS & HTML)
- Topic: show content block only if not child of certain parent-page
- Replies: 2
- Views: 1314
Re: show content block only if not child of certain parent-p
Like Ronny says, use CGSimpleSmarty. You'll need something like this:
Instead of get_parent_alias you can also use get_root_alias to go to the top page of that menu tree.
Good luck!!
Code: Select all
{if $cgsimple->get_parent_alias() != about}
{content block="sidebar"}
{/if}
Good luck!!
- Thu Jun 09, 2011 10:03 am
- Forum: Layout and Design (CSS & HTML)
- Topic: Different value for html tag on pages
- Replies: 11
- Views: 4509
Re: Different value for html tag on pages
CMSMS has an image tag. You can select an image for each page with that tag. It comes default with each page and you can access it with CG Simple Smarty. I've used that tag as follows: {$cgsimple->get_page_content($page_alias,'image','bgimg')} </__body id="page1" class="bg" {if $...
- Thu Jun 09, 2011 9:42 am
- Forum: Layout and Design (CSS & HTML)
- Topic: Layout and SEO considerations
- Replies: 2
- Views: 1430
Re: Layout and SEO considerations
Hi pschoenb, Using CSS you can solve this by positioning your header with "absolute". That way you can drag your header all the way up, even when the code is all the way to the bottom. Use something like this: </__body> <div class="container"> <div class="content"><h1>{...
- Tue Mar 29, 2011 1:49 pm
- Forum: Modules/Add-Ons
- Topic: Sort order CGGoogleMaps side bar
- Replies: 0
- Views: 438
Sort order CGGoogleMaps side bar
Hi,
Is there a way to sort the addresses in CGGooglemaps? Right now they are sorted by marker_id, but I'm looking for a way to make it alphabetically by name or address.
Thanks a lot
Is there a way to sort the addresses in CGGooglemaps? Right now they are sorted by marker_id, but I'm looking for a way to make it alphabetically by name or address.
Thanks a lot
- Sat Jan 15, 2011 10:21 am
- Forum: Aankondigingen
- Topic: The fourth CMS Made Simple Workshop
- Replies: 127
- Views: 105790
Re: The fourth CMS Made Simple Workshop
Het lijkt mij interessant om daarbij aanwezig te zijn. Afhankelijk van de datum zal ik dat ook zeker zijn. Ik heb al mijn invloed op de poll van Duketown uitgeoefend, dus ik hoor het graag. BTW, Jos, mogelijk kan je hier aandacht aan besteden in je presentatie: http://forum.cmsmadesimple.org/viewtop...