ModX Evo pub_date placeholder not displaying - modx

I am displaying the pub_date for a resource inside a Ditto chunk, eg:
[+pub_date:date=`%B %d, %Y`+]
And this works fine.
But when I try to put it in a template, eg:
[*pub_date:date=`%B %d, %Y`*]
it doesnt work.
Doesn anyone know what Im doing wrong or of a better way of doing this?
(This is in Evo 1.0.4)

You have to install PHx for that. It is currently maintained at https://github.com/Temus/PHx

Related

onBackBtn=minimize does not change the back button behavior

In the settings_overload.ini we have defined onBackBtn=minimize but this doesn't seem to work.
We still get the question 'Do you want to exit Sygic GPS Navigation?'. We would like to keep the navigation running into background.
We are using Sygic app v 20.0.3 and the file is in the correct folder
can you help please
Starting from version 20.0.0 the location of the files are not more on sdcard\sygicnavigation\android, but you need to set the files in sdcard\Android\data\com.sygic.fleet\files\sygicnavigation\android

Unable to create or update an Asset\Image when saving a Pimcore object

My goal is to create / update objects by using a csv file. csv file is fine and allready heavy used.
I wrote a complete script for that, most setSomething() works very well with text, structured Datas etc.. but i'm facing a trouble with the Images. I read the doc twice...
https://pimcore.com/docs/4.6.x/Development_Documentation/Objects/Object_Classes/Data_Types/Image_Types.html
$image = Asset\Image::getByPath("/examples/example1.jpg");
$object->setImage($image);
$object->save();
and that exactly what's i did to create / update $article
$marque = Pimcore\Model\Asset\Image::getByPath("/Catalog/Marques/".$image);
$article->setEarg($marque);
$article->save();
please note that :
$image exists,
$marque is found, and is an instance of Asset\Image
setEarg($marque) is properly defined to set an Image data field
in UI all works fine
cache cleared
Is it possible i misunderstood something ?
I also searched in passed Issues, no luck.
https://github.com/pimcore/pimcore/issues
Maybe someone did face the same problem ? Anc could a hint on how to solve that ?
Regards,
I'm confused...this code is working as it should.
It seems to a cache problem, even if i cleared it. In the UI image did appear after some minutes / hour. Now it appear immedialtly. This question can be closed, but this push me to another one... how did this cache / deffer problem happened. If i find something i will update here.

OSM no Tiles / dont have .meta data

At first, what i am using:
Ubuntu 14.04 core server
And I used these two instructions:
At first I tried this instruction:
https://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/
Secondly I tried this:
https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/
First Problem:
So now i have a slippymap with only pink tiles.
I also changed the Location in the Slippymaphtml (from localhost to my server)
Secondly i also have only one .meta data (A picture from the whole world) in my /var/lib/mod_tiles/ file although i downloaded germany and north-ireland and imported them into the database.
I also checked all my .conf files and compared them with a running VMWare System which im downloaded.
Last there weren't big differences, except some paths.
And everything worked fine, I still had to download some libs.
Only the map wont't work.
Maybe you guys can help me or give me some tips for which file maybe makes the problem.
If you need more Information pls tell me.
Thank you in advance.
Im also sorry for my english, it is still not the best.

ImageResizing PsdComposer Demo is not working with simple parameter

I've tried to run the demo for PsdComposer in both 3.3.3 and 4.0.5. Let's stick to 4.0.5 since that is the latest since I'm probably doing the same wrong thing in both. The default.aspx I'm running is:
\resizer-4-0-5\Samples\PsdComposerSample\Default.aspx?text1=abcd
or
http://localhost:51482/Default.aspx?text1=abc
When I debug through default.aspx.cs I see text1 processing and SetText setting the proper data. However, I get a broken image showing. If I do not put in the text1=abcd, I get the correct image as I expect.
Here is the URL generated:
http://localhost:51482/text.psd?format=png&layerColors=&layerVisibility=dGV4dDI%3d%7c1%7c&layerRedraw=dGV4dDI%3d%7c1%7c&layerText=dGV4dDI%3d%7cYWJj%7c&renderer=psdplugin

Android 3.0 and higher version issue

Thankyou for taking the time to look at my problem. I'm working on an android application and I keep getting an error in eclipse every time I use the parent="android.Theme.Holo.Light". I have my folder created using values-v11 indicating when to use the correct theme for the correct version but I just get the error:
No resource found that matches the given name 'android.Theme.Holo.Light' in my styles.xml file.
Any idea why this is happening? Thanks in advance.
Try this:
parent="#android:style/Theme.Holo.Light"

Resources