adrian Posted April 4, 2014 Share Posted April 4, 2014 Well you have to remove it from the template, then you can delete the actual field. Not exactly related, but if you want to delete a template - you need to remove it from any pages that have it assigned. The trash will come into play in this case - you'll need to remove the page from the trash before you can delete the template. Link to comment Share on other sites More sharing options...
PhotoWebMax Posted April 4, 2014 Share Posted April 4, 2014 Trying to get rid of the whole first/last image option and just go with a simpler add one image system... If I use this in my template the image on the front end page will not display even though I can see it on the page edit in the Admin? <img src="<?=$page->article_secondimage ?>"> Link to comment Share on other sites More sharing options...
adrian Posted April 4, 2014 Share Posted April 4, 2014 You still need to add a ->url after that. At the moment you are referencing the entire article_secondimage. You need to add the url property. Other options include, filename, description, ext etc. Link to comment Share on other sites More sharing options...
PhotoWebMax Posted April 4, 2014 Share Posted April 4, 2014 Thanks, I just discovered that was missing... So, my slightly different template, using just one image, for both main and second image Fields seems to work! I am just going to have to get used to the correct PHP placeholder syntax that gets added to my templates. This is sort of a different approach than what I am used to with MODx (TVs - template variables), etc... Link to comment Share on other sites More sharing options...
Martijn Geerts Posted April 4, 2014 Share Posted April 4, 2014 To extend adrian, look at the docs about images. Very well written. Link to comment Share on other sites More sharing options...
adrian Posted April 4, 2014 Share Posted April 4, 2014 I wish you could extend me - might be preferable to a clone (that would just be scary). Too much work, not enough sleep, don't know what task to tackle next. 1 Link to comment Share on other sites More sharing options...
Martijn Geerts Posted April 4, 2014 Share Posted April 4, 2014 You're not alone Adrian... Link to comment Share on other sites More sharing options...
apeisa Posted April 5, 2014 Share Posted April 5, 2014 1) if you have ip that can change during one session (very common with mobile connections for example) you need to turn off the session fingerprint from site/config.php 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now