Not Allow Photo Change in Profile Edit


I also need to change the text, "You can upload a new photo below".
I thought I needed to look at /sources/hooks/systems/profiles_tabs_edit/photo.php but I can't see what I need to change. I also did not see a profiles_tab_edit folder in the sources_custom folder, to make those changes safely.
How do I edit this?
Thanks so much!


In this case, I'd just edit the CNS_EDIT_PHOTO_TAB template though. EDIT: This is wrong, bear with me.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.


Code
{+START,IF,{TAB_SINGLE_FIELD}}
{TAB_FIELDS}
{+END}
Code
{+START,IF,{TAB_SINGLE_FIELD}}
{+START,IF,{$NEQ,{TAB_CODE},photo}}
{TAB_FIELDS}
{+END}
{+END}
because this template puts things together from individual data returned by the hook.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.


I'm sorry but I was not able to understand how to edit the CNS_EDIT_PHOTO_TAB.tpl
I then tried editing the /sources_custom/hooks/systems/profiles_tabs_edit/photo.php page again. I was able to get rid of the two sections, however, the textboxes on the other tabs/pages were shortened (it changed the way the other pages were viewed). Conclusion....that idea doesn't work.
I was also unable to find where I could edit the text.


There are lots of tutorials we have on template editing in general but basically under Style > Themes you'll find an edit templates link for each theme. To edit that template specifically, well you're probably removing some stuff, and I guess adding a link to your page?
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.


I meant I did not know what to edit in that page. I am comfortable using common, basic php. In fact, I have added more than 20 php pages to my site.
I love the program! It isn't the program; it is me. I have difficulty understanding how to edit the pages the way the pages are set up.
In the meantime, I got rid of the photo tab and its contents by adding a page in: sources_custom/hooks/systems/profiles_tabs_edit/photo.php.
Thank you, Chris!