Magento Forum

Where are the CMS pages Located in the file structure? 
 
Ronaldr
Sr. Member
 
Avatar
Total Posts:  124
Joined:  2008-08-21
California
 

Hello there,

I was wondering, After creating the CMS pages threw the admin panel, where are the files stored ?

Is it similar to the static blocks and stored in the database ?

I wanted to link to the CMS pages relatively, rather than using the full url.

-Thanks in Advance

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brandlive_br
Guru
 
Avatar
Total Posts:  653
Joined:  2008-05-19
Buenos Aires, Argentina
 

Yes, look at the cms_page table.
About the link… I understand that you can’t do it in that way.
If you can explain why you need to use relative paths, maybe we can help you.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ronaldr
Sr. Member
 
Avatar
Total Posts:  124
Joined:  2008-08-21
California
 

I would like to use relative paths because I’ll be moving this website to and from different servers and different domain names.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brandlive_br
Guru
 
Avatar
Total Posts:  653
Joined:  2008-05-19
Buenos Aires, Argentina
 

The paths are absolutes, but, absolutes to your secure and unsecure url.
That values (secure and unsecure url) are sotred into the core_config_data table.
You can change that values, to use another domain, or another folder into one domain.
After that, your page urls are concatenated to your secure or unsecure url.
You don’t have to worry about that issue.

(Sorry about my english… too much posts and PM’s today).

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top