Jump to content

Recommended Posts

Posted

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.

Posted

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 ?>">

Posted

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.

Posted

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

Posted

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

  • Like 1
Posted

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

  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...