cssabc123
Members-
Posts
61 -
Joined
-
Last visited
Everything posted by cssabc123
-
Any unemotional, professional, and objective answers? But it's okay any reaction is welcome. I will add that I am a PW supporter/fan myself, this is all for insight for us all. I am on your side. Thank you.
-
How many significant websites (top 500 worldwide) run on PW? The likes of Smalltalk and ADA were all well thought of systems but never realy took off. Wordpress is #1 for a reason (https://wordpress.com/activity). Your thoughts.
-
But why two menus: horizontal and vertical? Suppose to be vertical only?
-
This is what I want to render using the MarkupSimpleNavigation module. <style> .custom-restricted-width { /* To limit the menu width to the content of the menu: */ display: inline-block; /* Or set the width explicitly: */ /* width: 10em; */ } </style> <div class="pure-menu custom-restricted-width"> <span class="pure-menu-heading">Yahoo Sites</span> <ul class="pure-menu-list"> <li class="pure-menu-item"><a href="#" class="pure-menu-link">Flickr</a></li> <li class="pure-menu-item"><a href="#" class="pure-menu-link">Messenger</a></li> <li class="pure-menu-item"><a href="#" class="pure-menu-link">Sports</a></li> <li class="pure-menu-item"><a href="#" class="pure-menu-link">Finance</a></li> <li class="pure-menu-heading">More Sites</li> <li class="pure-menu-item"><a href="#" class="pure-menu-link">Games</a></li> <li class="pure-menu-item"><a href="#" class="pure-menu-link">News</a></li> <li class="pure-menu-item"><a href="#" class="pure-menu-link">OMG!</a></li> </ul> </div> This is what I tried, <!doctype html> <html> <head> <style> .custom-restricted-width { /* To limit the menu width to the content of the menu: */ display: inline-block; /* Or set the width explicitly: */ /* width: 10em; */ } </style> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Your page title</title> <link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/pure-min.css"> </head> <body> <div class="pure-menu custom-restricted-width"> <span class="pure-menu-heading">Yahoo Sites</span> <?php $treeMenu = $modules->get("MarkupSimpleNavigation"); // load the module $options = array( 'outer_tpl' => '<ul "pure-menu-list">||</ul>', 'list_tpl' => '<li class="pure-menu-item">||</li>', 'item_tpl' => '<a href="{url}" class="pure-menu-link">{title}</a>', ); echo $treeMenu->render($options); // render default menu ? ?> </div> </body> </html> Outputs a vertical and horizontal menu. But supposed to be just horizontal. What is wrong with my code?
-
no cache directory, that is why, maybe should be part of default install.
-
SS contributors 271, Joomla got 406, PW 4. You're thoughts.
-
"Make sure /site/assets/cache/ directory is writeable for PHP" is the error I'm having when installing the Pollinopolls module.
-
Make sure /site/assets/cache/ directory is writeable for PHP error when I installed using url?
-
What is the step by step PollinoPolls installation? Any link for sample usage?
-
Repeated Fields in Delayed Output Strategy
cssabc123 replied to cssabc123's topic in Getting Started
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/pure-min.css"> supposed to be in head tag before any css. That means in delayed output I have to put it in _main.php, however I need to use it in my template say basic-page.php. Is pure-min.css visible in the template? -
Repeated Fields in Delayed Output Strategy
cssabc123 replied to cssabc123's topic in Getting Started
Yup, all html can be formed in template, not even needed to split anything in _main.php. Thanks LostKobrakai. -
Repeated Fields in Delayed Output Strategy
cssabc123 replied to cssabc123's topic in Getting Started
For PageArray in Delayed Output there will be two For loops, one in template.php and _main.php, if one really one to do delayed output? -
Repeated Fields in Delayed Output Strategy
cssabc123 replied to cssabc123's topic in Getting Started
What about for instances when one need delayed output for repeated fields? How do you code it? -
I created the repeated fields for the building repeated fields example of processwire. in _main.php I executed directlyforeach($page->buildings as $building) { echo "<h2>{$building->title}</h2><p>"; echo "Height: {$building->feet_high} feet, "; echo "Floors: {$building->num_floors}, "; echo "Year built: {$building->year_built} </p>";} This works without placeholder variables in _init.php, and hence no template placeholder population. Not sure how the can be in placeholders. So for the delayed output strategy it appears some output can/must not have placeholder variables?
-
@apeisa is Padloper open source? What is the license?
-
I think this is a valid question, anybody who worked with software for sometime knows the importance of the viability of a software. Case in point Java superseded C in popularity, Dbase/Foxtpro/Clipper are no more, and not too long ago Gumby ended its journey. Some like Pygame still exist but no longer actively developed. What do you think, how Processwire will fare in longterm? By the way how many people are committed in developing Processwire?
-
Why the header and footer comes after body ? (Planets Tutorial)
cssabc123 replied to cssabc123's topic in Getting Started
Thanks for the input everyone, big help. I just found softacolous from my webhost provides different structure from what I can download from processwire.com. -
Why the header and footer comes after body ? (Planets Tutorial)
cssabc123 replied to cssabc123's topic in Getting Started
No I'm not using includes at this time, I'm just following the tutorial and I'm on page 4 (http://processwire.com/docs/tutorials/hello-worlds/page4) when I get this output. -
Can you give example or at least tell me what those APIs are in PW?
-
Will do, sorry about that. Since I already posted this one let me ask, how do I change the navigation name of Home as rendered? Also should unpublish option be disabled because home can not be unpublished anyway (possible improvement for next release)?
-
Unpublished home but it's still there? Two things: what if I don't want it totally, or If I want to change its name at least as it appear on the menu? So can I create my root page?
-
I checked the charts, interesting 10,000 to 100 for sexiness. I think PW got more active community.
-
I left the default Yes in the Access tab of Templates Edit mode. What I did instead is delete the contents of home.php and it solve the problem. Then I reset home.php to original, not sure of side effects though.
-
Session: Can't save page 1: /: Selected homepage template cannot be used because it does not define access. What to do?
-
What are the advantages of PW vs SS?