The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple page in template / Content Slider theme
#14
I use this topic to continue the development of this theme before sharing officially.

How it works :

Create your page and make it as child from index :
[Image: management.png]
[Image: edit-page.png]
Others pages must be private otherwise they will be displayed.

In template.php:

- the function menu_css() create the css style in <head> for the menu for each child page of index.
- the function my_getPageContent2 permit to display content of child page from index.
- the function my_get_navigation(return_page_slug()) create the menu on the left. It indexes the child pages of index.

each of this function are available in functions.php.

Be Careful, this theme isn't compatible with many plugin. I've only test this :

- I18N plugin (all) not compatible
- P01-Contact not compatible
- Share 3+/5+ not compatible

Probably not compatible :
- item manager
- any other ...

Compatible :
- DM Contactable
- fancybox plugin

Things to improve:
- Creating a page and not create a child page. The priority (for menu) of each page will determine the style of the page. Priority 1: style "content" other priorities: style "panel"
---> This will probably make the theme compatible with other plugin. Must try !
- Make the theme compatible with most plugin as possible.
- Make the css compatible with any browser.

For these improvements, I'm going to need help and time. That's why I prefer to keep this topic before sharing this theme officially.

All your tips are welcome!
Reply


Messages In This Thread
Multiple page in template / Content Slider theme - by didou038 - 2012-04-08, 22:51:07



Users browsing this thread: 1 Guest(s)