You are not logged in.
Pages: 1
Hi
Currently implementing an RSS 2.0 feed for the "News" section of my BigTree website.
We have a number of news posts that are "published" but not "approved", as such we only allow the "approved" posts to show on the main site.
When creating an RSS feed, these "published" but not "approved" posts show up in the RSS feed, which is obviously not what we want, as is shown here: http://i.imgur.com/7xagjyD.png
Am I using the published/approved features incorrectly in this context? I can obviously customise /core/feeds/rss2.php to suit my needs but feel like I'm missing something quite obvious.
Thanks for any advice,
Rebecca
Hi all,
Spent a while playing around trying to get BigTree to play nice on Nginx having had searches come up blank, and have just registered to share my results on here for anyone else who they may be of use to...
server { server_name [domain] www.[domain]; listen 80; root [path to web root]/site; index index.php index.html index.htm; sendfile off; location / { try_files $uri $uri/ @rewrite; } location @rewrite { rewrite ^/(.*)$ /index.php?bigtree_htaccess_url=$1; } location ~ \.php$ { try_files $uri =404; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass [socket path]; fastcgi_index index.php; include fastcgi_params; } }
Notably the try_files order and "sendfile off;" were particularly important in ensuring things worked correctly.
This then requires routing to be set as "htaccess" in /custom/environment.php like so:
$bigtree["config"]["routing"] = "htaccess";
Got one BigTree site running very happily on Nginx 1.4.6, with another in the pipework!
Feel free to use this config for your own purposes and for documentation should you wish. Keep up the great work!
-Rebecca
Pages: 1