Page 1 of 2
Where do I edit the body?
Posted: Tue Dec 10, 2024 8:55 pm
by JPKeenan
I know I'm missing something stupid here.
I'm looking to change the picture and the text where the strawberry and farm picture is. That stuff on the main page.
I'm just getting the hang of PhP so I'm a novice. I've been coding on and off for a few decades so I'm not a complete moron when it comes to code.
I can hit f12 and see the html but for the life of me can't find it where it is to edit the text in the file.
I'm banging my head against the wall so any help would be much appreciated.
Re: Where do I edit the body?
Posted: Tue Dec 10, 2024 9:46 pm
by burt
That is a module. All modules are "Turn it off", "turn it on" etc.
https://phoenixcart.org/phoenixcartwiki ... tle=Layout
Re: Where do I edit the body?
Posted: Wed Dec 11, 2024 2:45 am
by JPKeenan
Thanks I was seeing and wondering about all that. Okay, so figuring out which module is which.
Not sure how much help it is now but I think it feels like the right track. Different language with different nomenclature. You've got me on the trail I think.
Want to get to the point where I can eventually give back.
Re: Where do I edit the body?
Posted: Wed Dec 11, 2024 6:22 am
by JPKeenan
The things in the green boxes are what oi want to change. Change the actual content of them.
Re: Where do I edit the body?
Posted: Wed Dec 11, 2024 6:39 am
by JPKeenan
managed to get the top one gone.
Re: Where do I edit the body?
Posted: Wed Dec 11, 2024 6:51 am
by heatherbell
JPKeenan wrote: ↑Wed Dec 11, 2024 6:22 am
The things in the green boxes are what oi want to change. Change the actual content of them.
The Modules you highlight are named
Carousel (at the top) and
Adverts.
Carousel module is an example of a
Content Module for the index page. Found from Admin dashboard > Modules>Content - see
Carousel in the list in the
index group.
You'll also see there, in the index group, a module named
π Modular index.
This is the parent module for child Layout Modules. This parent:child Layout Module system allows for innumerable layout options, a unique feature of CE Phoenix Cart. Read more here:
https://phoenixcart.org/phoenixcartwiki ... tle=Layout
Adverts module is an example of a Layout Module for the index page. Found from Admin dashboard > Modules>Layout - see
Adverts in the list in the
index group.
Click on the Carousel or Adverts module in the list and click the
Edit button to see, in the info panel (on the right), that these modules get their content from
Adverts that are assigned to a named
Advert Group.
Adverts (and their contents) can be edited/created and assigned to Advert Groups from Admin dashboard >Tools>Advert Manager.
Read more here:
https://phoenixcart.org/phoenixcartwiki ... rt_Manager
Re: Where do I edit the body?
Posted: Wed Dec 11, 2024 5:56 pm
by JPKeenan
Thanks.
I guess the feeling I'm stuck in the horse and carriage stage, thinking in HTML/CSS and looking to go into code something instead of handling things through the dashboard.
Thank you guys understanding. It's a bit like getting used to a new or rental car... which side if for the wipers, where the high beams and hazards are, ect.
Re: Where do I edit the body?
Posted: Wed Dec 11, 2024 8:13 pm
by JPKeenan
Okay, I'm starting to get it. A lot of times I just need to some back and fart around when I need a break from data entry.
Thanks for putting up with my newbe-ness.
Re: Where do I edit the body?
Posted: Thu Dec 12, 2024 3:54 am
by JPKeenan
@heatherbell @burt Thanks to the both of you.
Cracked open some of the tables, I have a better grasp of those.
Re: Where do I edit the body?
Posted: Thu Dec 12, 2024 11:38 am
by burt
You should be able to do almost everything you need to do without touching any actual code.
It takes a while to get used to modularity, rather than the old days of "go to file, find line 198, change that code from X to Y" etc.
Changing code might make updating [eg from 1.0.9.9 to 1.0.9.10] harder.