-
Posts
533 -
Joined
-
Last visited
Everything posted by adrianmak
-
there is a optional image field of a template. If I put this code in a template, for page without uploaded an image , it will throw a php error of "Call to a member function size() on a non-object" $header_image = $page->img->size(800, 250)->url;
-
could i use default language for non-English language ?
adrianmak replied to adrianmak's topic in Multi-Language Support
I did search. As a reply from Ryan for a post, being said, pw's site builder should think of what the default language it should be. Once content is built, it is not a easy switch to change default language, even though the latest dev still doesn't provide such a functionality. And it required to use a tricky redirect method for switching default language -
how to make a parent menu item without linking to a page ?
adrianmak replied to adrianmak's topic in General Support
Kongondo just pointed out that pw's url is not editable. Isn't the custom menu override url option is just for menu markup prupose, but it's not really override page's url -
how to make a parent menu item without linking to a page ?
adrianmak replied to adrianmak's topic in General Support
Thank you for redirect to your post. I have a few questions not quit understood/clear of your custom menu tree implementation. 1. the 'Main Menu' page tree is a separate tree from the site root or still under a child of the site root ? 2. Isn't the 'Main Menu' structures are inputted manually one by one ? -
how to make a parent menu item without linking to a page ?
adrianmak replied to adrianmak's topic in General Support
where could I find URL override option in page or page template? -
Home +--menu-1 +---menu-1-1 +---menu-1-2 +---menu-1-3 +---menu-1-4 +--menu-2 +---menu-2-1 +---menu-2-2 +---menu-2-3 +--menu-3 +--menu-4 menu-1 and menu-2 which are associated to a page, but without content. It just a sub-menu holder, click menu-1, or menu-2 to expand it's child menu how to make clicking of menu-1 and menu-2 without opening menu- and menu-2 page ?
-
Bootstrap 3 SASS Fontawesome Blank Site Profile
adrianmak replied to gebeer's topic in Themes and Profiles
should I first install the asset before going to install pw's profie ?- 6 replies
-
- Fontawesome
- Blank Site Profile
-
(and 2 more)
Tagged with:
-
Your website template is great for a website start-up. Thanks for sharing
-
did u use any css framework on this website? or you did it from scratch
-
I tried testing the wideRenderFile but no success. a template file $temp = wireRenderFile("test", array('content' => $page->body)); echo $temp; test.php <?php $content .= "AAAAAAAAAAAAAA"; There is not outputted content of $temp.
-
The example code shown in the blog post, $photo = $page->photos->getRandom(); $sidebar = wireRenderFile("inc/fancy_sidebar", array('photo' => $photo)); the wireRenderFile() function will auto append .php file extension to fancy_sidebar ?
-
How to manage pages at back-end for a single page website ? Isn't a single home template, all pages will display on that template
-
isn't the website is a single page design ?
-
Don't limit your thought by the name 'Page'.
-
From the first link, $db and $database are both existed, which is refer to mysqli and PDO driver resp. Should I specify $this->database in module ?
-
Isn't the Animate.css will only be activated, until the animated content is in browser viewport ? I tried the animate.css. It won't work as your website. Animation will all activate instead of, scrolling a page to the animated div and then start the animation
-
the $database is a pw's api variable or php built-in? I could not find in pw api documentation. And can it be used on template and module directly ?
-
is there any api to create db table? I have a project required user to input raw numeric data which is used for generation of charts. The default pw's pages is not quit an option for user input. I would like to create a module, enable it will create all necessary data tables ? I will build a template for data user input. Is there any db query api for db creation, table query, update, insert, delete operations ?
-
I'm eager to know how this issue is going on. My next coming project might need secure files download probably. I'm curious, the method provided by Hani, how do ppl upload files (to be secured) to the server ? thru ftp or a template with inputfieldfield ?
- 27 replies
-
- private
- protected files
-
(and 1 more)
Tagged with:
-
I should have $p->of(false); it
-
I added a new field of an existing template where this template has already hundreds of page had beed created. I put following code on home page temporary. $result = $pages->find("template=mytemplate"); foreach ($result as $p) { $p->new_field = time(); $p->save(); } After refreshing the home page, all pages with this template should be updated. I log-in to backend admin, and found that the field is still empty.
-
The jquery is great. But I'm wondering for a site with hundreds of product, it may not practical to load all products on a page
- 13 replies
-
- datatables
- structured data
-
(and 3 more)
Tagged with:
-
I'm tested on my local vm linux box